refactor: remove temp page files and load page component via bundler (close #1584) #523
Triggered via pull request
September 11, 2024 13:23
Status
Failure
Total duration
5m 38s
Artifacts
–
Annotations
19 errors and 63 notices
[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] βΊ 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.
|
[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, 20, webpack)
Process completed with exit code 1.
|
[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:67:3 βΊ should update frontmatter correctly:
e2e/tests/hmr.spec.ts#L74
2) [chromium] βΊ hmr.spec.ts:67: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: "HMR foo"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #rendered-foo + p')
72 | await page.goto('hmr/frontmatter.html')
73 |
> 74 | await expect(frontmatterLocator).toHaveText('HMR foo')
| ^
75 | await hmrUpdateFrontmatter()
76 | await expect(frontmatterLocator).toHaveText('Updated foo')
77 | })
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:74:38
|
[chromium] βΊ imports/conditional-exports.spec.ts:4:1 βΊ should load different files correctly:
e2e/tests/imports/conditional-exports.spec.ts#L7
1) [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] βΊ router\navigate-by-router.spec.ts:26:1 βΊ should preserve query and hash:
e2e\tests\router\navigate-by-router.spec.ts#L28
1) [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:26:1 βΊ should preserve query and hash:
e2e\tests\router\navigate-by-router.spec.ts#L28
1) [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/e2e/?home=true#home"
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"
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
|
e2e result
Process completed with exit code 1.
|
π Playwright Run Summary
71 passed (19.2s)
|
π Playwright Run Summary
67 passed (15.4s)
|
π Playwright Run Summary
71 passed (19.9s)
|
π Playwright Run Summary
67 passed (15.3s)
|
π Playwright Run Summary
71 passed (19.9s)
|
π Playwright Run Summary
67 passed (15.3s)
|
π Playwright Run Summary
71 passed (19.5s)
|
π Playwright Run Summary
67 passed (15.3s)
|
π Playwright Run Summary
71 passed (19.0s)
|
π Playwright Run Summary
67 passed (15.9s)
|
π Playwright Run Summary
71 passed (19.4s)
|
π Playwright Run Summary
67 passed (15.9s)
|
π Playwright Run Summary
71 passed (19.6s)
|
π Playwright Run Summary
67 passed (15.4s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
70 passed (27.7s)
|
π Playwright Run Summary
67 passed (15.8s)
|
π Playwright Run Summary
71 passed (26.2s)
|
π Playwright Run Summary
67 passed (25.9s)
|
π Playwright Run Summary
71 passed (27.3s)
|
π Playwright Run Summary
67 passed (21.4s)
|
π Playwright Run Summary
71 passed (32.2s)
|
π Playwright Run Summary
67 passed (25.3s)
|
π Playwright Run Summary
71 passed (31.7s)
|
π Playwright Run Summary
67 passed (25.3s)
|
π Playwright Run Summary
71 passed (31.9s)
|
π Playwright Run Summary
67 passed (24.4s)
|
π Playwright Run Summary
71 passed (32.4s)
|
π Playwright Run Summary
67 passed (24.3s)
|
π Playwright Run Summary
71 passed (33.3s)
|
π Playwright Run Summary
67 passed (26.9s)
|
π Playwright Run Summary
71 passed (31.9s)
|
π Playwright Run Summary
67 passed (26.5s)
|
π Playwright Run Summary
1 failed
[chromium] βΊ layouts.spec.ts:17:1 βΊ NotFound βββββββββββββββββββββββββββββββββββββββββββββββββββ
70 passed (1.2m)
|
π Playwright Run Summary
71 passed (27.3s)
|
π Playwright Run Summary
67 passed (21.0s)
|
π Playwright Run Summary
71 passed (24.5s)
|
π Playwright Run Summary
67 passed (20.2s)
|
π Playwright Run Summary
71 passed (24.2s)
|
π Playwright Run Summary
67 passed (19.7s)
|
π Playwright Run Summary
71 passed (26.3s)
|
π Playwright Run Summary
67 passed (20.0s)
|
π 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
71 passed (24.2s)
|
π Playwright Run Summary
67 passed (19.9s)
|
π Playwright Run Summary
2 flaky
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:67:3 βΊ should update frontmatter correctly ββββββββββββββββββββββββββββ
69 passed (42.1s)
|
π Playwright Run Summary
67 passed (21.7s)
|
π Playwright Run Summary
71 passed (28.2s)
|
π Playwright Run Summary
67 passed (23.5s)
|
π Playwright Run Summary
71 passed (43.6s)
|
π Playwright Run Summary
67 passed (23.1s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ imports/conditional-exports.spec.ts:4:1 βΊ should load different files correctly βββ
70 passed (25.3s)
|
π Playwright Run Summary
67 passed (15.8s)
|
π Playwright Run Summary
71 passed (20.3s)
|
π Playwright Run Summary
67 passed (15.7s)
|
π Playwright Run Summary
71 passed (35.7s)
|
π Playwright Run Summary
67 passed (22.3s)
|
π Playwright Run Summary
71 passed (28.3s)
|
π Playwright Run Summary
67 passed (23.3s)
|
π Playwright Run Summary
71 passed (31.3s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ router\navigate-by-router.spec.ts:26:1 βΊ should preserve query and hash βββββββββββ
66 passed (23.8s)
|
π Playwright Run Summary
71 passed (27.4s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ router\navigate-by-router.spec.ts:26:1 βΊ should preserve query and hash βββββββββββ
66 passed (23.6s)
|