Skip to content

test(e2e): add vue-components cases #502

test(e2e): add vue-components cases

test(e2e): add vue-components cases #502

Triggered via push September 10, 2024 03:27
Status Success
Total duration 5m 1s
Artifacts

e2e.yml

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

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)