Fix book redirects #356
Annotations
4 errors and 1 notice
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
|
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
|
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
|
|
|
The logs for this run have expired and are no longer available.
Loading