fix: update basePath config in index.js #2846
Annotations
4 errors, 2 warnings, and 1 notice
tests/playwright/protect-page-login.spec.ts#L43
1) [chromium] › protect-page-login.spec.ts:25:7 › protect-page-login › express.js › able to use login and sign up
Error: expect(received).toHaveURL(expected)
Expected string: "http://localhost:3002/"
Received string: "chrome-error://chromewebdata/"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for selector ":root"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
41 | )
42 | } else {
> 43 | await expect(page).toHaveURL(app.url)
| ^
44 | await expect(page.locator("body")).toContainText(email)
45 | }
46 | })
at /home/runner/work/docs/docs/tests/playwright/protect-page-login.spec.ts:43:30
|
tests/playwright/protect-page-login.spec.ts#L43
1) [chromium] › protect-page-login.spec.ts:25:7 › protect-page-login › express.js › able to use login and sign up
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toHaveURL(expected)
Expected string: "http://localhost:3002/"
Received string: "chrome-error://chromewebdata/"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for selector ":root"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
41 | )
42 | } else {
> 43 | await expect(page).toHaveURL(app.url)
| ^
44 | await expect(page.locator("body")).toContainText(email)
45 | }
46 | })
at /home/runner/work/docs/docs/tests/playwright/protect-page-login.spec.ts:43:30
|
tests/playwright/protect-page-login.spec.ts#L43
1) [chromium] › protect-page-login.spec.ts:25:7 › protect-page-login › express.js › able to use login and sign up
Retry #2 ---------------------------------------------------------------------------------------
Error: expect(received).toHaveURL(expected)
Expected string: "http://localhost:3002/"
Received string: "chrome-error://chromewebdata/"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for selector ":root"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
- selector resolved to <html>…</html>
- unexpected value "chrome-error://chromewebdata/"
41 | )
42 | } else {
> 43 | await expect(page).toHaveURL(app.url)
| ^
44 | await expect(page.locator("body")).toContainText(email)
45 | }
46 | })
at /home/runner/work/docs/docs/tests/playwright/protect-page-login.spec.ts:43:30
|
|
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 2m
|
|
The logs for this run have expired and are no longer available.
Loading