Skip to content

refactor: remove temp page files and load page component via bundler (close #1584) #524

refactor: remove temp page files and load page component via bundler (close #1584)

refactor: remove temp page files and load page component via bundler (close #1584) #524

Triggered via pull request September 11, 2024 13:31
Status Failure
Total duration 5m 19s
Artifacts

e2e.yml

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

Annotations

17 errors and 63 notices
[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
[chromium] β€Ί hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation: e2e/tests/hmr.spec.ts#L122
2) [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: "" 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 "" 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] β€Ί hmr.spec.ts:79:3 β€Ί should update title correctly: e2e/tests/hmr.spec.ts#L87
1) [chromium] β€Ί hmr.spec.ts:79: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 "" 85 | await page.goto('hmr/title.html') 86 | > 87 | await expect(page).toHaveTitle(/HMR Title/) | ^ 88 | await expect(titleLocator).toHaveText('HMR Title') 89 | await expect(renderedTitleLocator).toHaveText('HMR Title') 90 | await hmrUpdateTitle() at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:87:24
[chromium] β€Ί imports/conditional-exports.spec.ts:4:1 β€Ί should load different files correctly: e2e/tests/imports/conditional-exports.spec.ts#L7
2) [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
[chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound: e2e\tests\layouts.spec.ts#L19
1) [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-not-found') Expected string: "404 Not Found" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-not-found') 17 | test('NotFound', async ({ page }) => { 18 | await page.goto('404.html') > 19 | await expect(page.locator('.e2e-theme-not-found')).toHaveText('404 Not Found') | ^ 20 | }) 21 | at D:\a\core\core\e2e\tests\layouts.spec.ts:19:54
[chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound: e2e\tests\layouts.spec.ts#L19
1) [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-not-found') Expected string: "404 Not Found" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-not-found') 17 | test('NotFound', async ({ page }) => { 18 | await page.goto('404.html') > 19 | await expect(page.locator('.e2e-theme-not-found')).toHaveText('404 Not Found') | ^ 20 | }) 21 | at D:\a\core\core\e2e\tests\layouts.spec.ts:19:54
[chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound: e2e\tests\layouts.spec.ts#L19
1) [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-not-found') Expected string: "404 Not Found" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-not-found') 17 | test('NotFound', async ({ page }) => { 18 | await page.goto('404.html') > 19 | await expect(page.locator('.e2e-theme-not-found')).toHaveText('404 Not Found') | ^ 20 | }) 21 | at D:\a\core\core\e2e\tests\layouts.spec.ts:19:54
e2e (windows-latest, 20, webpack)
Process completed with exit code 1.
[chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound: e2e\tests\layouts.spec.ts#L19
1) [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-not-found') Expected string: "404 Not Found" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-not-found') 17 | test('NotFound', async ({ page }) => { 18 | await page.goto('404.html') > 19 | await expect(page.locator('.e2e-theme-not-found')).toHaveText('404 Not Found') | ^ 20 | }) 21 | at D:\a\core\core\e2e\tests\layouts.spec.ts:19:54
[chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound: e2e\tests\layouts.spec.ts#L19
1) [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-not-found') Expected string: "404 Not Found" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-not-found') 17 | test('NotFound', async ({ page }) => { 18 | await page.goto('404.html') > 19 | await expect(page.locator('.e2e-theme-not-found')).toHaveText('404 Not Found') | ^ 20 | }) 21 | at D:\a\core\core\e2e\tests\layouts.spec.ts:19:54
[chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound: e2e\tests\layouts.spec.ts#L19
1) [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-not-found') Expected string: "404 Not Found" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-not-found') 17 | test('NotFound', async ({ page }) => { 18 | await page.goto('404.html') > 19 | await expect(page.locator('.e2e-theme-not-found')).toHaveText('404 Not Found') | ^ 20 | }) 21 | at D:\a\core\core\e2e\tests\layouts.spec.ts:19:54
e2e (windows-latest, 22, webpack)
Process completed with exit code 1.
[chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound: e2e\tests\layouts.spec.ts#L19
1) [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-not-found') Expected string: "404 Not Found" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-not-found') 17 | test('NotFound', async ({ page }) => { 18 | await page.goto('404.html') > 19 | await expect(page.locator('.e2e-theme-not-found')).toHaveText('404 Not Found') | ^ 20 | }) 21 | at D:\a\core\core\e2e\tests\layouts.spec.ts:19:54
[chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound: e2e\tests\layouts.spec.ts#L19
1) [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-not-found') Expected string: "404 Not Found" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-not-found') 17 | test('NotFound', async ({ page }) => { 18 | await page.goto('404.html') > 19 | await expect(page.locator('.e2e-theme-not-found')).toHaveText('404 Not Found') | ^ 20 | }) 21 | at D:\a\core\core\e2e\tests\layouts.spec.ts:19:54
[chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound: e2e\tests\layouts.spec.ts#L19
1) [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-not-found') Expected string: "404 Not Found" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-not-found') 17 | test('NotFound', async ({ page }) => { 18 | await page.goto('404.html') > 19 | await expect(page.locator('.e2e-theme-not-found')).toHaveText('404 Not Found') | ^ 20 | }) 21 | at D:\a\core\core\e2e\tests\layouts.spec.ts:19:54
e2e (windows-latest, 18, webpack)
Process completed with exit code 1.
e2e result
Process completed with exit code 1.
🎭 Playwright Run Summary
71 passed (19.7s)
🎭 Playwright Run Summary
67 passed (16.7s)
🎭 Playwright Run Summary
71 passed (20.5s)
🎭 Playwright Run Summary
67 passed (16.7s)
🎭 Playwright Run Summary
71 passed (20.8s)
🎭 Playwright Run Summary
67 passed (16.9s)
🎭 Playwright Run Summary
71 passed (20.0s)
🎭 Playwright Run Summary
67 passed (15.9s)
🎭 Playwright Run Summary
71 passed (20.7s)
🎭 Playwright Run Summary
67 passed (16.9s)
🎭 Playwright Run Summary
71 passed (22.2s)
🎭 Playwright Run Summary
67 passed (17.0s)
🎭 Playwright Run Summary
71 passed (24.8s)
🎭 Playwright Run Summary
67 passed (19.6s)
🎭 Playwright Run Summary
71 passed (28.1s)
🎭 Playwright Run Summary
67 passed (21.1s)
🎭 Playwright Run Summary
71 passed (32.0s)
🎭 Playwright Run Summary
67 passed (24.8s)
🎭 Playwright Run Summary
71 passed (32.4s)
🎭 Playwright Run Summary
67 passed (24.6s)
🎭 Playwright Run Summary
71 passed (31.1s)
🎭 Playwright Run Summary
67 passed (25.2s)
🎭 Playwright Run Summary
71 passed (32.7s)
🎭 Playwright Run Summary
67 passed (25.3s)
🎭 Playwright Run Summary
71 passed (33.5s)
🎭 Playwright Run Summary
67 passed (26.7s)
🎭 Playwright Run Summary
71 passed (34.3s)
🎭 Playwright Run Summary
67 passed (27.2s)
🎭 Playwright Run Summary
2 flaky [chromium] β€Ί hmr.spec.ts:57:3 β€Ί should update content correctly ──────────────────────────────── [chromium] β€Ί hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation 69 passed (43.5s)
🎭 Playwright Run Summary
67 passed (24.1s)
🎭 Playwright Run Summary
71 passed (36.1s)
🎭 Playwright Run Summary
67 passed (26.8s)
🎭 Playwright Run Summary
71 passed (37.7s)
🎭 Playwright Run Summary
67 passed (21.7s)
🎭 Playwright Run Summary
71 passed (27.0s)
🎭 Playwright Run Summary
67 passed (21.7s)
🎭 Playwright Run Summary
71 passed (27.2s)
🎭 Playwright Run Summary
67 passed (21.8s)
🎭 Playwright Run Summary
71 passed (34.1s)
🎭 Playwright Run Summary
67 passed (23.5s)
🎭 Playwright Run Summary
71 passed (24.5s)
🎭 Playwright Run Summary
67 passed (20.1s)
🎭 Playwright Run Summary
71 passed (30.8s)
🎭 Playwright Run Summary
67 passed (19.8s)
🎭 Playwright Run Summary
2 flaky [chromium] β€Ί hmr.spec.ts:79:3 β€Ί should update title correctly ────────────────────────────────── [chromium] β€Ί imports/conditional-exports.spec.ts:4:1 β€Ί should load different files correctly ─── 69 passed (34.9s)
🎭 Playwright Run Summary
67 passed (23.5s)
🎭 Playwright Run Summary
71 passed (26.8s)
🎭 Playwright Run Summary
67 passed (18.0s)
🎭 Playwright Run Summary
71 passed (30.9s)
🎭 Playwright Run Summary
67 passed (23.6s)
🎭 Playwright Run Summary
71 passed (27.5s)
🎭 Playwright Run Summary
67 passed (21.1s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ─────────────────────────────────────────────────── 70 passed (1.1m)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ─────────────────────────────────────────────────── 70 passed (1.1m)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί layouts.spec.ts:17:1 β€Ί NotFound ─────────────────────────────────────────────────── 70 passed (1.2m)
🎭 Playwright Run Summary
71 passed (19.3s)
🎭 Playwright Run Summary
67 passed (15.4s)
🎭 Playwright Run Summary
71 passed (20.6s)
🎭 Playwright Run Summary
67 passed (15.8s)
🎭 Playwright Run Summary
71 passed (34.9s)
🎭 Playwright Run Summary
67 passed (21.4s)
🎭 Playwright Run Summary
71 passed (27.6s)
🎭 Playwright Run Summary
67 passed (21.4s)