Skip to content

feat(core)!: remove headers field from page data #554

feat(core)!: remove headers field from page data

feat(core)!: remove headers field from page data #554

Triggered via pull request October 10, 2024 02:17
@Mister-HopeMister-Hope
synchronize #1613
header
Status Success
Total duration 6m 19s
Artifacts

e2e.yml

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

Annotations

6 errors 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') - locator resolved to <html lang="en">…</html> - unexpected value "" - 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" 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:20:1 β€Ί should preserve query: e2e\tests\router\navigate-by-router.spec.ts#L22
1) [chromium] β€Ί router\navigate-by-router.spec.ts:20:1 β€Ί should preserve query ─────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/e2e/?home=true" 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') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" 20 | test('should preserve query', async ({ page }) => { 21 | await page.locator('#home-with-query').click() > 22 | await expect(page).toHaveURL(`${BASE}?home=true`) | ^ 23 | await expect(page.locator('#home-h2')).toHaveText('Home H2') 24 | }) 25 | at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:22:22
[chromium] β€Ί router\navigate-by-router.spec.ts:20:1 β€Ί should preserve query: e2e\tests\router\navigate-by-router.spec.ts#L22
1) [chromium] β€Ί router\navigate-by-router.spec.ts:20:1 β€Ί should preserve query ─────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/e2e/?home=true" 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') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" 20 | test('should preserve query', async ({ page }) => { 21 | await page.locator('#home-with-query').click() > 22 | await expect(page).toHaveURL(`${BASE}?home=true`) | ^ 23 | await expect(page.locator('#home-h2')).toHaveText('Home H2') 24 | }) 25 | at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:22:22
[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/404.html" Received string: "http://127.0.0.1:9080/router/navigate-by-router.html" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/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:26:1 β€Ί should preserve query and hash: e2e\tests\router\navigate-by-router.spec.ts#L28
2) [chromium] β€Ί router\navigate-by-router.spec.ts:26:1 β€Ί should preserve query and hash ────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/?home=true#home" Received string: "http://127.0.0.1:9080/router/navigate-by-router.html" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" 26 | test('should preserve query and hash', async ({ page }) => { 27 | await page.locator('#home-with-query-and-hash').click() > 28 | await expect(page).toHaveURL(`${BASE}?home=true#home`) | ^ 29 | await expect(page.locator('#home-h2')).toHaveText('Home H2') 30 | }) 31 | at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:28:22
[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') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - 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
🎭 Playwright Run Summary
71 passed (24.9s)
🎭 Playwright Run Summary
67 passed (16.1s)
🎭 Playwright Run Summary
71 passed (26.3s)
🎭 Playwright Run Summary
67 passed (16.2s)
🎭 Playwright Run Summary
71 passed (23.8s)
🎭 Playwright Run Summary
67 passed (16.6s)
🎭 Playwright Run Summary
71 passed (24.2s)
🎭 Playwright Run Summary
67 passed (16.7s)
🎭 Playwright Run Summary
71 passed (24.5s)
🎭 Playwright Run Summary
67 passed (17.1s)
🎭 Playwright Run Summary
71 passed (25.0s)
🎭 Playwright Run Summary
67 passed (17.0s)
🎭 Playwright Run Summary
71 passed (25.0s)
🎭 Playwright Run Summary
67 passed (16.7s)
🎭 Playwright Run Summary
71 passed (24.0s)
🎭 Playwright Run Summary
67 passed (16.6s)
🎭 Playwright Run Summary
71 passed (29.1s)
🎭 Playwright Run Summary
67 passed (22.0s)
🎭 Playwright Run Summary
71 passed (30.7s)
🎭 Playwright Run Summary
67 passed (21.8s)
🎭 Playwright Run Summary
71 passed (34.7s)
🎭 Playwright Run Summary
67 passed (25.4s)
🎭 Playwright Run Summary
71 passed (35.7s)
🎭 Playwright Run Summary
67 passed (25.5s)
🎭 Playwright Run Summary
71 passed (34.7s)
🎭 Playwright Run Summary
67 passed (24.3s)
🎭 Playwright Run Summary
71 passed (36.3s)
🎭 Playwright Run Summary
67 passed (24.3s)
🎭 Playwright Run Summary
71 passed (36.7s)
🎭 Playwright Run Summary
67 passed (26.6s)
🎭 Playwright Run Summary
71 passed (36.9s)
🎭 Playwright Run Summary
67 passed (26.6s)
🎭 Playwright Run Summary
71 passed (31.0s)
🎭 Playwright Run Summary
67 passed (23.2s)
🎭 Playwright Run Summary
71 passed (36.5s)
🎭 Playwright Run Summary
67 passed (23.2s)
🎭 Playwright Run Summary
71 passed (30.9s)
🎭 Playwright Run Summary
67 passed (19.6s)
🎭 Playwright Run Summary
71 passed (27.8s)
🎭 Playwright Run Summary
67 passed (23.6s)
🎭 Playwright Run Summary
71 passed (26.4s)
🎭 Playwright Run Summary
67 passed (17.9s)
🎭 Playwright Run Summary
71 passed (32.2s)
🎭 Playwright Run Summary
67 passed (20.6s)
🎭 Playwright Run Summary
71 passed (26.0s)
🎭 Playwright Run Summary
67 passed (16.0s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation 70 passed (33.0s)
🎭 Playwright Run Summary
67 passed (16.3s)
🎭 Playwright Run Summary
71 passed (28.6s)
🎭 Playwright Run Summary
67 passed (19.9s)
🎭 Playwright Run Summary
71 passed (31.5s)
🎭 Playwright Run Summary
67 passed (22.1s)
🎭 Playwright Run Summary
71 passed (31.4s)
🎭 Playwright Run Summary
67 passed (21.5s)
🎭 Playwright Run Summary
71 passed (30.2s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί router\navigate-by-router.spec.ts:20:1 β€Ί should preserve query ──────────────────── 66 passed (28.9s)
🎭 Playwright Run Summary
71 passed (47.7s)
🎭 Playwright Run Summary
67 passed (38.1s)
🎭 Playwright Run Summary
71 passed (53.7s)
🎭 Playwright Run Summary
67 passed (38.3s)
🎭 Playwright Run Summary
71 passed (44.6s)
🎭 Playwright Run Summary
2 flaky [chromium] β€Ί router\navigate-by-router.spec.ts:14:1 β€Ί should navigate to 404 page correctly ──── [chromium] β€Ί router\navigate-by-router.spec.ts:26:1 β€Ί should preserve query and hash ─────────── 65 passed (30.5s)
🎭 Playwright Run Summary
71 passed (31.2s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί router\navigate-by-router.spec.ts:14:1 β€Ί should navigate to 404 page correctly ──── 66 passed (25.4s)
🎭 Playwright Run Summary
71 passed (54.2s)
🎭 Playwright Run Summary
67 passed (38.7s)
🎭 Playwright Run Summary
71 passed (47.4s)
🎭 Playwright Run Summary
67 passed (36.8s)
🎭 Playwright Run Summary
71 passed (44.7s)
🎭 Playwright Run Summary
67 passed (35.5s)
🎭 Playwright Run Summary
71 passed (48.1s)
🎭 Playwright Run Summary
67 passed (35.1s)