feat(client): add markdown content hooks #564
Annotations
4 errors, 7 warnings, and 72 notices
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L122
1) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title 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')
2 Γ locator resolved to <html lang="en">β¦</html>
- unexpected value ""
7 Γ locator resolved to <html lang="en-US">β¦</html>
- unexpected value "Updated Title | VuePress E2E"
120 | // start from title page
121 | await page.goto('hmr/title.html')
> 122 | await expect(page).toHaveTitle(/HMR Title/)
| ^
123 | await expect(titleLocator).toHaveText('HMR Title')
124 | await expect(renderedTitleLocator).toHaveText('HMR Title')
125 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:122:24
|
[chromium] βΊ router\navigate-by-router.spec.ts:14:1 βΊ should navigate to 404 page correctly:
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
|
[chromium] βΊ router\navigate-by-router.spec.ts:32:1 βΊ should preserve hash:
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
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L62
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "HMR content"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
60 | await page.goto('hmr/content.html')
61 |
> 62 | await expect(contentLocator).toHaveText('HMR content')
| ^
63 | await hmrUpdateContent()
64 | await expect(contentLocator).toHaveText('Updated content')
65 | })
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:62:34
|
e2e (ubuntu-latest, 20, vite)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e (ubuntu-latest, 22, vite)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e (ubuntu-latest, 18, vite)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e (ubuntu-latest, 22, webpack)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e (ubuntu-latest, 20, webpack)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e (ubuntu-latest, 18, webpack)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e result
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
π Playwright Run Summary
71 passed (21.8s)
|
π Playwright Run Summary
67 passed (14.4s)
|
π Playwright Run Summary
71 passed (22.0s)
|
π Playwright Run Summary
67 passed (14.5s)
|
π Playwright Run Summary
71 passed (24.1s)
|
π Playwright Run Summary
67 passed (14.8s)
|
π Playwright Run Summary
71 passed (22.5s)
|
π Playwright Run Summary
67 passed (14.9s)
|
π Playwright Run Summary
71 passed (22.2s)
|
π Playwright Run Summary
67 passed (14.7s)
|
π Playwright Run Summary
71 passed (22.3s)
|
π Playwright Run Summary
67 passed (14.8s)
|
π Playwright Run Summary
71 passed (25.3s)
|
π Playwright Run Summary
67 passed (22.2s)
|
π Playwright Run Summary
71 passed (28.7s)
|
π Playwright Run Summary
67 passed (17.6s)
|
π Playwright Run Summary
71 passed (25.3s)
|
π Playwright Run Summary
67 passed (18.7s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
70 passed (32.5s)
|
π Playwright Run Summary
67 passed (18.8s)
|
π Playwright Run Summary
71 passed (33.3s)
|
π Playwright Run Summary
67 passed (23.2s)
|
π Playwright Run Summary
71 passed (34.4s)
|
π Playwright Run Summary
67 passed (23.2s)
|
π Playwright Run Summary
71 passed (32.9s)
|
π Playwright Run Summary
67 passed (22.9s)
|
π Playwright Run Summary
71 passed (33.1s)
|
π Playwright Run Summary
67 passed (22.8s)
|
π Playwright Run Summary
71 passed (35.0s)
|
π Playwright Run Summary
67 passed (24.4s)
|
π Playwright Run Summary
71 passed (33.3s)
|
π Playwright Run Summary
67 passed (24.2s)
|
π Playwright Run Summary
71 passed (27.1s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ router\navigate-by-router.spec.ts:14:1 βΊ should navigate to 404 page correctly ββββ
66 passed (22.1s)
|
π Playwright Run Summary
71 passed (36.1s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ router\navigate-by-router.spec.ts:32:1 βΊ should preserve hash βββββββββββββββββββββ
66 passed (22.6s)
|
π Playwright Run Summary
71 passed (30.6s)
|
π Playwright Run Summary
67 passed (20.5s)
|
π Playwright Run Summary
71 passed (34.3s)
|
π Playwright Run Summary
67 passed (20.7s)
|
π Playwright Run Summary
71 passed (31.0s)
|
π Playwright Run Summary
67 passed (19.3s)
|
π Playwright Run Summary
71 passed (26.1s)
|
π Playwright Run Summary
67 passed (18.5s)
|
π Playwright Run Summary
71 passed (28.4s)
|
π Playwright Run Summary
67 passed (28.0s)
|
π Playwright Run Summary
71 passed (34.8s)
|
π Playwright Run Summary
67 passed (25.3s)
|
π Playwright Run Summary
71 passed (23.7s)
|
π Playwright Run Summary
67 passed (14.6s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
70 passed (31.5s)
|
π Playwright Run Summary
67 passed (16.2s)
|
π Playwright Run Summary
71 passed (42.4s)
|
π Playwright Run Summary
67 passed (33.7s)
|
π Playwright Run Summary
71 passed (47.8s)
|
π Playwright Run Summary
67 passed (35.1s)
|
π Playwright Run Summary
71 passed (26.3s)
|
π Playwright Run Summary
67 passed (19.2s)
|
π Playwright Run Summary
71 passed (27.9s)
|
π Playwright Run Summary
67 passed (18.8s)
|
π Playwright Run Summary
71 passed (34.0s)
|
π Playwright Run Summary
67 passed (20.2s)
|
π Playwright Run Summary
71 passed (27.1s)
|
π Playwright Run Summary
67 passed (19.6s)
|
π Playwright Run Summary
71 passed (41.6s)
|
π Playwright Run Summary
67 passed (32.1s)
|
π Playwright Run Summary
71 passed (48.4s)
|
π Playwright Run Summary
67 passed (33.6s)
|
π Playwright Run Summary
71 passed (48.7s)
|
π Playwright Run Summary
67 passed (33.6s)
|
π Playwright Run Summary
71 passed (42.8s)
|
π Playwright Run Summary
67 passed (33.0s)
|