fix: fix route resolving error with hash and queries (close #1561) #418
Annotations
1 error and 4 notices
E2E test (base /e2e/):
e2e/tests/hmr.spec.ts#L53
1) [chromium] › hmr.spec.ts:44:3 › should update frontmatter correctly ───────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #rendered-foo + p')
Expected string: "Updated foo"
Received string: "HMR foo"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #rendered-foo + p')
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
51 | await expect(frontmatterLocator).toHaveText('HMR foo')
52 | await hmrUpdateFrontmatter()
> 53 | await expect(frontmatterLocator).toHaveText('Updated foo')
| ^
54 | })
55 |
56 | test('should update title correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:53:38
|
E2E test (base /e2e/)
1 flaky
[chromium] › hmr.spec.ts:44:3 › should update frontmatter correctly ────────────────────────────
52 passed (19.6s)
|
E2E test (base /e2e/)
50 passed (11.1s)
|
E2E test (base /)
53 passed (15.6s)
|
E2E test (base /)
50 passed (10.2s)
|
Loading