refactor: remove temp page files and load page component via bundler (close #1584) #535
Annotations
18 errors and 63 notices
[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] βΊ hmr.spec.ts:67:3 βΊ should update frontmatter correctly:
e2e/tests/hmr.spec.ts#L74
1) [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] βΊ 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] βΊ router\navigate-by-router.spec.ts:8:1 βΊ should navigate to home correctly:
e2e\tests\router\navigate-by-router.spec.ts#L10
1) [chromium] βΊ router\navigate-by-router.spec.ts:8:1 βΊ should navigate to home correctly ββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://127.0.0.1:9080/"
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"
8 | test('should navigate to home correctly', async ({ page }) => {
9 | await page.locator('#home').click()
> 10 | await expect(page).toHaveURL(BASE)
| ^
11 | await expect(page.locator('#home-h2')).toHaveText('Home H2')
12 | })
13 |
at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:10:22
|
[chromium] βΊ router\navigate-by-router.spec.ts:38:1 βΊ should preserve hash and query:
e2e\tests\router\navigate-by-router.spec.ts#L40
1) [chromium] βΊ router\navigate-by-router.spec.ts:38:1 βΊ should preserve hash and query ββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://127.0.0.1:9080/e2e/404.html#404?notFound=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"
38 | test('should preserve hash and query', async ({ page }) => {
39 | await page.locator('#not-found-with-hash-and-query').click()
> 40 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`)
| ^
41 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
42 | })
43 |
at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:40: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')
- 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"
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 result
Process completed with exit code 1.
|
π Playwright Run Summary
1 failed
[chromium] βΊ layouts.spec.ts:17:1 βΊ NotFound βββββββββββββββββββββββββββββββββββββββββββββββββββ
70 passed (1.1m)
|
π Playwright Run Summary
71 passed (27.8s)
|
π Playwright Run Summary
67 passed (22.0s)
|
π Playwright Run Summary
71 passed (33.5s)
|
π Playwright Run Summary
67 passed (21.9s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:67:3 βΊ should update frontmatter correctly ββββββββββββββββββββββββββββ
70 passed (24.9s)
|
π Playwright Run Summary
67 passed (15.7s)
|
π Playwright Run Summary
71 passed (20.4s)
|
π Playwright Run Summary
67 passed (15.2s)
|
π Playwright Run Summary
71 passed (20.2s)
|
π Playwright Run Summary
67 passed (16.9s)
|
π Playwright Run Summary
71 passed (20.7s)
|
π Playwright Run Summary
67 passed (16.7s)
|
π Playwright Run Summary
71 passed (21.3s)
|
π Playwright Run Summary
67 passed (17.6s)
|
π Playwright Run Summary
71 passed (21.5s)
|
π Playwright Run Summary
67 passed (17.3s)
|
π Playwright Run Summary
71 passed (21.9s)
|
π Playwright Run Summary
67 passed (17.5s)
|
π Playwright Run Summary
71 passed (24.9s)
|
π Playwright Run Summary
67 passed (19.4s)
|
π 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.3m)
|
π Playwright Run Summary
71 passed (30.5s)
|
π Playwright Run Summary
67 passed (21.0s)
|
π Playwright Run Summary
71 passed (31.4s)
|
π Playwright Run Summary
67 passed (23.5s)
|
π Playwright Run Summary
71 passed (20.3s)
|
π Playwright Run Summary
67 passed (15.3s)
|
π Playwright Run Summary
71 passed (20.1s)
|
π Playwright Run Summary
67 passed (15.5s)
|
π Playwright Run Summary
71 passed (31.3s)
|
π Playwright Run Summary
67 passed (25.4s)
|
π Playwright Run Summary
71 passed (31.0s)
|
π Playwright Run Summary
67 passed (25.4s)
|
π Playwright Run Summary
71 passed (32.4s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ router\navigate-by-router.spec.ts:8:1 βΊ should navigate to home correctly βββββββββ
66 passed (23.7s)
|
π Playwright Run Summary
71 passed (27.3s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ router\navigate-by-router.spec.ts:38:1 βΊ should preserve hash and query βββββββββββ
66 passed (24.2s)
|
π Playwright Run Summary
71 passed (33.5s)
|
π Playwright Run Summary
67 passed (26.7s)
|
π Playwright Run Summary
71 passed (32.3s)
|
π Playwright Run Summary
67 passed (26.6s)
|
π Playwright Run Summary
71 passed (33.2s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ router\navigate-by-router.spec.ts:32:1 βΊ should preserve hash βββββββββββββββββββββ
66 passed (24.3s)
|
π Playwright Run Summary
71 passed (28.3s)
|
π Playwright Run Summary
67 passed (21.8s)
|
π Playwright Run Summary
71 passed (30.9s)
|
π Playwright Run Summary
67 passed (24.4s)
|
π Playwright Run Summary
71 passed (31.5s)
|
π Playwright Run Summary
67 passed (24.2s)
|
π Playwright Run Summary
71 passed (27.0s)
|
π Playwright Run Summary
67 passed (21.1s)
|
π Playwright Run Summary
71 passed (24.5s)
|
π Playwright Run Summary
67 passed (20.5s)
|
π Playwright Run Summary
71 passed (19.6s)
|
π Playwright Run Summary
67 passed (15.0s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
70 passed (27.2s)
|
π Playwright Run Summary
67 passed (15.5s)
|
π Playwright Run Summary
71 passed (29.0s)
|
π Playwright Run Summary
67 passed (22.9s)
|
π Playwright Run Summary
71 passed (30.8s)
|
π Playwright Run Summary
67 passed (23.3s)
|