Fix book redirects #356
Annotations
4 errors and 1 notice
[chrome] › git-scm.spec.js:201:1 › book:
tests/git-scm.spec.js#L203
1) [chrome] › git-scm.spec.js:201:1 › book ───────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:5000/book/en/v2"
Received string: "http://localhost:5000/book/"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
201 | test('book', async ({ page }) => {
202 | await page.goto(`${url}book/`)
> 203 | await expect(page).toHaveURL(`${url}book/en/v2`)
| ^
204 |
205 | await page.goto(`${url}book`)
206 | await expect(page).toHaveURL(`${url}book/en/v2`)
at /home/runner/work/git-scm.com/git-scm.com/tests/git-scm.spec.js:203:22
|
[chrome] › git-scm.spec.js:201:1 › book:
tests/git-scm.spec.js#L203
1) [chrome] › git-scm.spec.js:201:1 › book ───────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:5000/book/en/v2"
Received string: "http://localhost:5000/book/"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
201 | test('book', async ({ page }) => {
202 | await page.goto(`${url}book/`)
> 203 | await expect(page).toHaveURL(`${url}book/en/v2`)
| ^
204 |
205 | await page.goto(`${url}book`)
206 | await expect(page).toHaveURL(`${url}book/en/v2`)
at /home/runner/work/git-scm.com/git-scm.com/tests/git-scm.spec.js:203:22
|
[chrome] › git-scm.spec.js:201:1 › book:
tests/git-scm.spec.js#L203
1) [chrome] › git-scm.spec.js:201:1 › book ───────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:5000/book/en/v2"
Received string: "http://localhost:5000/book/"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:5000/book/"
201 | test('book', async ({ page }) => {
202 | await page.goto(`${url}book/`)
> 203 | await expect(page).toHaveURL(`${url}book/en/v2`)
| ^
204 |
205 | await page.goto(`${url}book`)
206 | await expect(page).toHaveURL(`${url}book/en/v2`)
at /home/runner/work/git-scm.com/git-scm.com/tests/git-scm.spec.js:203:22
|
build
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[chrome] › git-scm.spec.js:201:1 › book ────────────────────────────────────────────────────────
6 passed (21.7s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pages
Expired
|
362 MB |
|
playwright-report
Expired
|
534 KB |
|