fix: fix route resolving error with hash and queries (close #1561) #427
Annotations
1 error and 4 notices
E2E test (base /):
e2e/tests/hmr.spec.ts#L77
1) [chromium] › hmr.spec.ts:68:3 › should update title and frontmatter correctly after navigation
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /HMR Title/
Received string: "Updated Title | VuePress E2E"
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en-US">…</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "Updated Title | VuePress E2E"
75 |
76 | await page.goto('hmr/title.html')
> 77 | await expect(page).toHaveTitle(/HMR Title/)
| ^
78 | await expect(titleLocator).toHaveText('HMR Title')
79 |
80 | // update title page
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:77:24
|
E2E test (base /e2e/)
67 passed (16.6s)
|
E2E test (base /e2e/)
64 passed (12.8s)
|
E2E test (base /)
1 flaky
[chromium] › hmr.spec.ts:68:3 › should update title and frontmatter correctly after navigation ─
66 passed (22.5s)
|
E2E test (base /)
64 passed (12.3s)
|
The logs for this run have expired and are no longer available.
Loading