Skip to content

feat(client): add markdown content hooks #564

feat(client): add markdown content hooks

feat(client): add markdown content hooks #564

Triggered via pull request December 12, 2024 15:34
Status Success
Total duration 6m 27s
Artifacts

e2e.yml

on: pull_request
Matrix: e2e
e2e result
0s
e2e result
Fit to window
Zoom out
Zoom in

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)