fix: fix route resolving error with hash and queries (close #1561) #416
Annotations
2 errors and 4 notices
E2E test (base /e2e/):
e2e/tests/hmr.spec.ts#L61
1) [chromium] › hmr.spec.ts:56:3 › should update title correctly ─────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /HMR Title/
Received string: ""
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">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
59 | await page.goto('hmr/title.html')
60 |
> 61 | await expect(page).toHaveTitle(/HMR Title/)
| ^
62 | await expect(titleLocator).toHaveText('HMR Title')
63 | await hmrUpdateTitle()
64 | await expect(page).toHaveTitle(/Updated Title/)
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:61:24
|
E2E test (base /):
e2e/tests/imports/conditional-exports.spec.ts#L7
1) [chromium] › imports/conditional-exports.spec.ts:4:1 › should load different files correctly ──
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content p')
Expected string: "browser-mjs"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content p')
5 | await page.goto('imports/conditional-exports.html')
6 |
> 7 | await expect(page.locator('.e2e-theme-content p')).toHaveText('browser-mjs')
| ^
8 |
9 | if (COMMAND === 'build') {
10 | expect(
at /Users/runner/work/core/core/e2e/tests/imports/conditional-exports.spec.ts:7:54
|
E2E test (base /e2e/)
1 flaky
[chromium] › hmr.spec.ts:56:3 › should update title correctly ──────────────────────────────────
49 passed (31.7s)
|
E2E test (base /e2e/)
47 passed (21.1s)
|
E2E test (base /)
1 flaky
[chromium] › imports/conditional-exports.spec.ts:4:1 › should load different files correctly ───
49 passed (41.1s)
|
E2E test (base /)
47 passed (24.1s)
|
Loading