docs: update Flutter Web Example #2800
Annotations
4 errors, 2 warnings, and 1 notice
tests/playwright/protect-page-login.spec.ts#L28
1) [chromium] › protect-page-login.spec.ts:25:7 › protect-page-login › flutter_web_redirect › able to use login and sign up
Error: expect(received).toHaveURL(expected)
Expected pattern: /.*\/ui\/login.*/
Received string: "http://localhost:3005/.ory/self-service/login/browser"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for selector ":root"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
26 | await page.goto(app.url, { waitUntil: "networkidle" })
27 |
> 28 | await expect(page).toHaveURL(/.*\/ui\/login.*/)
| ^
29 |
30 | await page.click('[data-testid="signup-link"]')
31 | await expect(page).toHaveURL(/.*\/ui\/registration.*/)
at /home/runner/work/docs/docs/tests/playwright/protect-page-login.spec.ts:28:28
|
tests/playwright/protect-page-login.spec.ts#L28
1) [chromium] › protect-page-login.spec.ts:25:7 › protect-page-login › flutter_web_redirect › able to use login and sign up
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toHaveURL(expected)
Expected pattern: /.*\/ui\/login.*/
Received string: "http://localhost:3005/.ory/self-service/login/browser"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for selector ":root"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
26 | await page.goto(app.url, { waitUntil: "networkidle" })
27 |
> 28 | await expect(page).toHaveURL(/.*\/ui\/login.*/)
| ^
29 |
30 | await page.click('[data-testid="signup-link"]')
31 | await expect(page).toHaveURL(/.*\/ui\/registration.*/)
at /home/runner/work/docs/docs/tests/playwright/protect-page-login.spec.ts:28:28
|
tests/playwright/protect-page-login.spec.ts#L28
1) [chromium] › protect-page-login.spec.ts:25:7 › protect-page-login › flutter_web_redirect › able to use login and sign up
Retry #2 ---------------------------------------------------------------------------------------
Error: expect(received).toHaveURL(expected)
Expected pattern: /.*\/ui\/login.*/
Received string: "http://localhost:3005/.ory/self-service/login/browser"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for selector ":root"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
- selector resolved to <html>…</html>
- unexpected value "http://localhost:3005/.ory/self-service/login/browser"
26 | await page.goto(app.url, { waitUntil: "networkidle" })
27 |
> 28 | await expect(page).toHaveURL(/.*\/ui\/login.*/)
| ^
29 |
30 | await page.click('[data-testid="signup-link"]')
31 | await expect(page).toHaveURL(/.*\/ui\/registration.*/)
at /home/runner/work/docs/docs/tests/playwright/protect-page-login.spec.ts:28:28
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
[chromium] › protect-page-login.spec.ts#L1
[chromium] › protect-page-login.spec.ts took 1m
|
|
The logs for this run have expired and are no longer available.
Loading