refactor: remove temp page files and load page component via bundler (close #1584) #510
Triggered via pull request
September 10, 2024 17:05
Status
Success
Total duration
9m 56s
Artifacts
–
Annotations
5 errors and 72 notices
[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/?home=true"
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"
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] βΊ 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] βΊ 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] βΊ hmr.spec.ts:67:3 βΊ should update frontmatter correctly:
e2e/tests/hmr.spec.ts#L76
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: "Updated foo"
Received string: "HMR foo"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #rendered-foo + p')
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
74 | await expect(frontmatterLocator).toHaveText('HMR foo')
75 | await hmrUpdateFrontmatter()
> 76 | await expect(frontmatterLocator).toHaveText('Updated foo')
| ^
77 | })
78 |
79 | test('should update title correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:76:38
|
[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
|
π Playwright Run Summary
71 passed (28.6s)
|
π Playwright Run Summary
67 passed (21.1s)
|
π Playwright Run Summary
71 passed (27.0s)
|
π Playwright Run Summary
67 passed (21.2s)
|
π Playwright Run Summary
71 passed (21.3s)
|
π Playwright Run Summary
67 passed (16.9s)
|
π Playwright Run Summary
71 passed (22.0s)
|
π Playwright Run Summary
67 passed (16.8s)
|
π Playwright Run Summary
71 passed (21.0s)
|
π Playwright Run Summary
67 passed (16.4s)
|
π Playwright Run Summary
71 passed (22.1s)
|
π Playwright Run Summary
67 passed (16.5s)
|
π Playwright Run Summary
71 passed (40.3s)
|
π Playwright Run Summary
67 passed (25.3s)
|
π Playwright Run Summary
71 passed (29.7s)
|
π Playwright Run Summary
67 passed (22.0s)
|
π Playwright Run Summary
71 passed (28.4s)
|
π Playwright Run Summary
67 passed (22.1s)
|
π Playwright Run Summary
71 passed (34.6s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ router\navigate-by-router.spec.ts:20:1 βΊ should preserve query ββββββββββββββββββββ
66 passed (24.9s)
|
π Playwright Run Summary
71 passed (22.2s)
|
π Playwright Run Summary
67 passed (15.4s)
|
π Playwright Run Summary
71 passed (21.3s)
|
π Playwright Run Summary
67 passed (15.5s)
|
π Playwright Run Summary
71 passed (32.3s)
|
π Playwright Run Summary
67 passed (25.4s)
|
π Playwright Run Summary
71 passed (32.1s)
|
π Playwright Run Summary
67 passed (25.3s)
|
π Playwright Run Summary
71 passed (43.4s)
|
π Playwright Run Summary
67 passed (36.3s)
|
π Playwright Run Summary
71 passed (50.4s)
|
π Playwright Run Summary
67 passed (36.3s)
|
π Playwright Run Summary
71 passed (50.2s)
|
π Playwright Run Summary
67 passed (35.8s)
|
π Playwright Run Summary
71 passed (43.2s)
|
π Playwright Run Summary
67 passed (35.4s)
|
π Playwright Run Summary
71 passed (31.7s)
|
π Playwright Run Summary
67 passed (25.4s)
|
π Playwright Run Summary
71 passed (31.5s)
|
π Playwright Run Summary
67 passed (25.4s)
|
π Playwright Run Summary
71 passed (22.0s)
|
π Playwright Run Summary
67 passed (15.8s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
70 passed (26.5s)
|
π Playwright Run Summary
67 passed (15.7s)
|
π Playwright Run Summary
71 passed (29.8s)
|
π Playwright Run Summary
67 passed (24.0s)
|
π Playwright Run Summary
71 passed (29.9s)
|
π Playwright Run Summary
67 passed (24.1s)
|
π Playwright Run Summary
71 passed (21.4s)
|
π Playwright Run Summary
67 passed (15.8s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
70 passed (28.4s)
|
π Playwright Run Summary
67 passed (15.8s)
|
π Playwright Run Summary
71 passed (29.1s)
|
π Playwright Run Summary
67 passed (21.4s)
|
π Playwright Run Summary
71 passed (25.3s)
|
π Playwright Run Summary
67 passed (19.7s)
|
π Playwright Run Summary
2 flaky
[chromium] βΊ hmr.spec.ts:67:3 βΊ should update frontmatter correctly ββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
69 passed (31.7s)
|
π Playwright Run Summary
67 passed (15.5s)
|
π Playwright Run Summary
71 passed (23.1s)
|
π Playwright Run Summary
67 passed (15.7s)
|
π Playwright Run Summary
71 passed (42.6s)
|
π Playwright Run Summary
67 passed (34.8s)
|
π Playwright Run Summary
71 passed (45.5s)
|
π Playwright Run Summary
67 passed (34.7s)
|
π Playwright Run Summary
71 passed (38.0s)
|
π Playwright Run Summary
67 passed (29.2s)
|
π Playwright Run Summary
71 passed (41.8s)
|
π Playwright Run Summary
67 passed (34.2s)
|
π Playwright Run Summary
71 passed (27.6s)
|
π Playwright Run Summary
67 passed (20.9s)
|
π Playwright Run Summary
71 passed (36.3s)
|
π Playwright Run Summary
67 passed (22.0s)
|