fix: fix route resolving error with hash and queries (close #1561) #418
Annotations
2 errors and 72 notices
[chromium] βΊ hmr.spec.ts:56:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L64
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: /Updated Title/
Received string: "HMR Title | VuePress E2E"
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
62 | await expect(titleLocator).toHaveText('HMR Title')
63 | await hmrUpdateTitle()
> 64 | await expect(page).toHaveTitle(/Updated Title/)
| ^
65 | await expect(titleLocator).toHaveText('Updated Title')
66 | })
67 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:24
|
[chromium] βΊ hmr.spec.ts:44:3 βΊ should update frontmatter correctly:
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
|
π Playwright Run Summary
53 passed (13.8s)
|
π Playwright Run Summary
50 passed (10.5s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:56:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
52 passed (21.4s)
|
π Playwright Run Summary
50 passed (10.3s)
|
π Playwright Run Summary
53 passed (15.6s)
|
π Playwright Run Summary
50 passed (11.9s)
|
π Playwright Run Summary
53 passed (14.9s)
|
π Playwright Run Summary
50 passed (11.9s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:44:3 βΊ should update frontmatter correctly ββββββββββββββββββββββββββββ
52 passed (19.6s)
|
π Playwright Run Summary
50 passed (11.1s)
|
π Playwright Run Summary
53 passed (15.6s)
|
π Playwright Run Summary
50 passed (10.2s)
|
π Playwright Run Summary
53 passed (15.1s)
|
π Playwright Run Summary
50 passed (13.2s)
|
π Playwright Run Summary
53 passed (15.8s)
|
π Playwright Run Summary
50 passed (13.3s)
|
π Playwright Run Summary
53 passed (16.6s)
|
π Playwright Run Summary
50 passed (13.6s)
|
π Playwright Run Summary
53 passed (16.5s)
|
π Playwright Run Summary
50 passed (13.5s)
|
π Playwright Run Summary
53 passed (23.4s)
|
π Playwright Run Summary
50 passed (19.9s)
|
π Playwright Run Summary
53 passed (23.5s)
|
π Playwright Run Summary
50 passed (18.7s)
|
π Playwright Run Summary
53 passed (22.7s)
|
π Playwright Run Summary
50 passed (18.7s)
|
π Playwright Run Summary
53 passed (22.7s)
|
π Playwright Run Summary
50 passed (18.6s)
|
π Playwright Run Summary
53 passed (25.3s)
|
π Playwright Run Summary
50 passed (21.4s)
|
π Playwright Run Summary
53 passed (25.0s)
|
π Playwright Run Summary
50 passed (21.6s)
|
π Playwright Run Summary
53 passed (13.1s)
|
π Playwright Run Summary
50 passed (10.0s)
|
π Playwright Run Summary
53 passed (15.8s)
|
π Playwright Run Summary
50 passed (11.3s)
|
π Playwright Run Summary
53 passed (19.4s)
|
π Playwright Run Summary
50 passed (14.7s)
|
π Playwright Run Summary
53 passed (20.1s)
|
π Playwright Run Summary
50 passed (16.5s)
|
π Playwright Run Summary
53 passed (24.3s)
|
π Playwright Run Summary
50 passed (21.5s)
|
π Playwright Run Summary
53 passed (25.9s)
|
π Playwright Run Summary
50 passed (20.2s)
|
π Playwright Run Summary
53 passed (22.1s)
|
π Playwright Run Summary
50 passed (19.0s)
|
π Playwright Run Summary
53 passed (30.4s)
|
π Playwright Run Summary
50 passed (19.3s)
|
π Playwright Run Summary
53 passed (31.4s)
|
π Playwright Run Summary
50 passed (27.4s)
|
π Playwright Run Summary
53 passed (38.3s)
|
π Playwright Run Summary
50 passed (27.6s)
|
π Playwright Run Summary
53 passed (18.9s)
|
π Playwright Run Summary
50 passed (13.8s)
|
π Playwright Run Summary
53 passed (23.0s)
|
π Playwright Run Summary
50 passed (17.9s)
|
π Playwright Run Summary
53 passed (30.5s)
|
π Playwright Run Summary
50 passed (25.0s)
|
π Playwright Run Summary
53 passed (32.2s)
|
π Playwright Run Summary
50 passed (25.0s)
|
π Playwright Run Summary
53 passed (26.8s)
|
π Playwright Run Summary
50 passed (17.3s)
|
π Playwright Run Summary
53 passed (21.1s)
|
π Playwright Run Summary
50 passed (17.5s)
|
π Playwright Run Summary
53 passed (28.3s)
|
π Playwright Run Summary
50 passed (18.2s)
|
π Playwright Run Summary
53 passed (21.3s)
|
π Playwright Run Summary
50 passed (17.9s)
|
π Playwright Run Summary
53 passed (36.8s)
|
π Playwright Run Summary
50 passed (27.2s)
|
π Playwright Run Summary
53 passed (32.0s)
|
π Playwright Run Summary
50 passed (26.9s)
|