test(e2e): add vue-components cases #502
Annotations
6 errors and 72 notices
[chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation:
e2e/tests/hmr.spec.ts#L77
1) [chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter 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 ""
75 |
76 | await page.goto('hmr/title.html')
> 77 | await expect(page).toHaveTitle(/HMR Title/)
| ^
78 | await expect(titleLocator).toHaveText('HMR Title')
79 |
80 | // update title page
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:77:24
|
[chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation:
e2e/tests/hmr.spec.ts#L77
1) [chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter 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 ""
75 |
76 | await page.goto('hmr/title.html')
> 77 | await expect(page).toHaveTitle(/HMR Title/)
| ^
78 | await expect(titleLocator).toHaveText('HMR Title')
79 |
80 | // update title page
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:77:24
|
[chromium] βΊ hmr.spec.ts:44:3 βΊ should update frontmatter correctly:
e2e/tests/hmr.spec.ts#L51
1) [chromium] βΊ hmr.spec.ts:44: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')
49 | await page.goto('hmr/frontmatter.html')
50 |
> 51 | await expect(frontmatterLocator).toHaveText('HMR foo')
| ^
52 | await hmrUpdateFrontmatter()
53 | await expect(frontmatterLocator).toHaveText('Updated foo')
54 | })
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:51:38
|
[chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation:
e2e/tests/hmr.spec.ts#L93
1) [chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #rendered-foo + p')
Expected string: "Updated foo"
Received: <element(s) not found>
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"
91 | // update frontmatter page
92 | await hmrUpdateFrontmatter()
> 93 | await expect(frontmatterLocator).toHaveText('Updated foo')
| ^
94 |
95 | // navigate to back title page
96 | await page.locator('.e2e-theme-content #link-to-title + p > a').click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:93:38
|
[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: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/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
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation β
69 passed (24.5s)
|
π Playwright Run Summary
67 passed (15.2s)
|
π Playwright Run Summary
70 passed (19.9s)
|
π Playwright Run Summary
67 passed (15.5s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation β
69 passed (25.3s)
|
π Playwright Run Summary
67 passed (15.3s)
|
π Playwright Run Summary
70 passed (21.4s)
|
π Playwright Run Summary
67 passed (16.2s)
|
π Playwright Run Summary
70 passed (21.5s)
|
π Playwright Run Summary
67 passed (16.7s)
|
π Playwright Run Summary
70 passed (21.3s)
|
π Playwright Run Summary
67 passed (16.6s)
|
π Playwright Run Summary
70 passed (23.5s)
|
π Playwright Run Summary
67 passed (17.3s)
|
π Playwright Run Summary
70 passed (21.2s)
|
π Playwright Run Summary
67 passed (15.0s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:44:3 βΊ should update frontmatter correctly ββββββββββββββββββββββββββββ
69 passed (27.9s)
|
π Playwright Run Summary
67 passed (15.4s)
|
π Playwright Run Summary
70 passed (22.3s)
|
π Playwright Run Summary
67 passed (16.3s)
|
π Playwright Run Summary
70 passed (24.3s)
|
π Playwright Run Summary
67 passed (19.9s)
|
π Playwright Run Summary
70 passed (26.6s)
|
π Playwright Run Summary
67 passed (19.4s)
|
π Playwright Run Summary
70 passed (20.7s)
|
π Playwright Run Summary
67 passed (16.6s)
|
π Playwright Run Summary
70 passed (21.3s)
|
π Playwright Run Summary
67 passed (16.6s)
|
π Playwright Run Summary
70 passed (29.9s)
|
π Playwright Run Summary
67 passed (24.1s)
|
π Playwright Run Summary
70 passed (30.0s)
|
π Playwright Run Summary
67 passed (24.1s)
|
π Playwright Run Summary
70 passed (29.5s)
|
π Playwright Run Summary
67 passed (22.4s)
|
π Playwright Run Summary
70 passed (27.5s)
|
π Playwright Run Summary
67 passed (25.8s)
|
π Playwright Run Summary
70 passed (30.9s)
|
π Playwright Run Summary
67 passed (25.9s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation β
69 passed (39.1s)
|
π Playwright Run Summary
67 passed (25.8s)
|
π Playwright Run Summary
70 passed (32.1s)
|
π Playwright Run Summary
67 passed (26.5s)
|
π Playwright Run Summary
70 passed (31.1s)
|
π Playwright Run Summary
67 passed (26.6s)
|
π Playwright Run Summary
70 passed (31.5s)
|
π Playwright Run Summary
67 passed (21.9s)
|
π Playwright Run Summary
70 passed (27.7s)
|
π Playwright Run Summary
2 flaky
[chromium] βΊ router\navigate-by-router.spec.ts:20:1 βΊ should preserve query ββββββββββββββββββββ
[chromium] βΊ router\navigate-by-router.spec.ts:26:1 βΊ should preserve query and hash βββββββββββ
65 passed (29.6s)
|
π Playwright Run Summary
70 passed (27.2s)
|
π Playwright Run Summary
67 passed (21.9s)
|
π Playwright Run Summary
70 passed (34.6s)
|
π Playwright Run Summary
67 passed (23.0s)
|
π Playwright Run Summary
70 passed (33.2s)
|
π Playwright Run Summary
67 passed (21.7s)
|
π Playwright Run Summary
70 passed (27.0s)
|
π Playwright Run Summary
67 passed (21.8s)
|
π Playwright Run Summary
70 passed (40.6s)
|
π Playwright Run Summary
67 passed (36.6s)
|
π Playwright Run Summary
70 passed (42.3s)
|
π Playwright Run Summary
67 passed (34.7s)
|
π Playwright Run Summary
70 passed (23.7s)
|
π Playwright Run Summary
67 passed (19.6s)
|
π Playwright Run Summary
70 passed (27.3s)
|
π Playwright Run Summary
67 passed (20.5s)
|
π Playwright Run Summary
70 passed (50.0s)
|
π Playwright Run Summary
67 passed (35.0s)
|
π Playwright Run Summary
70 passed (40.9s)
|
π Playwright Run Summary
67 passed (34.5s)
|
π Playwright Run Summary
70 passed (42.2s)
|
π Playwright Run Summary
67 passed (35.9s)
|
π Playwright Run Summary
70 passed (47.6s)
|
π Playwright Run Summary
67 passed (37.1s)
|