feat(client): add markdown content hooks #564
Annotations
2 errors and 4 notices
E2E test (base /e2e/):
e2e\tests\router\navigate-by-router.spec.ts#L16
1) [chromium] › router\navigate-by-router.spec.ts:14:1 › should navigate to 404 page correctly ───
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://127.0.0.1:9080/e2e/404.html"
Received string: "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
9 × locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
14 | test('should navigate to 404 page correctly', async ({ page }) => {
15 | await page.locator('#not-found').click()
> 16 | await expect(page).toHaveURL(`${BASE}404.html`)
| ^
17 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
18 | })
19 |
at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:16:22
|
E2E test (base /):
e2e\tests\router\navigate-by-router.spec.ts#L34
1) [chromium] › router\navigate-by-router.spec.ts:32:1 › should preserve hash ────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://127.0.0.1:9080/404.html#404"
Received string: "http://127.0.0.1:9080/router/navigate-by-router.html"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
9 × locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html"
32 | test('should preserve hash', async ({ page }) => {
33 | await page.locator('#not-found-with-hash').click()
> 34 | await expect(page).toHaveURL(`${BASE}404.html#404`)
| ^
35 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
36 | })
37 |
at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:34:22
|
E2E test (base /e2e/)
71 passed (27.1s)
|
E2E test (base /e2e/)
1 flaky
[chromium] › router\navigate-by-router.spec.ts:14:1 › should navigate to 404 page correctly ────
66 passed (22.1s)
|
E2E test (base /)
71 passed (36.1s)
|
E2E test (base /)
1 flaky
[chromium] › router\navigate-by-router.spec.ts:32:1 › should preserve hash ─────────────────────
66 passed (22.6s)
|
Loading