Skip to content

refactor(client): use set to store content updated callbacks #622

refactor(client): use set to store content updated callbacks

refactor(client): use set to store content updated callbacks #622

Triggered via pull request February 25, 2025 09:17
Status Success
Total duration 5m 35s
Artifacts

e2e.yml

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

Annotations

4 errors and 72 notices
[chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation: e2e/tests/hmr.spec.ts#L122
1) [chromium] β€Ί tests/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') 9 Γ— 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
[chromium] β€Ί tests\router\navigate-by-router.spec.ts:38:1 β€Ί should preserve hash and query: e2e\tests\router\navigate-by-router.spec.ts#L40
1) [chromium] β€Ί tests\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/404.html#404?notFound=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') 8 Γ— locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/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] β€Ί tests\router\navigate-by-router.spec.ts:38:1 β€Ί should preserve hash and query: e2e\tests\router\navigate-by-router.spec.ts#L40
1) [chromium] β€Ί tests\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/404.html#404?notFound=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') 8 Γ— locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/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] β€Ί tests\router\navigate-by-router.spec.ts:14:1 β€Ί should navigate to 404 page correctly: e2e\tests\router\navigate-by-router.spec.ts#L16
1) [chromium] β€Ί tests\router\navigate-by-router.spec.ts:14:1 β€Ί should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/e2e/404.html" 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') 9 Γ— locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" 14 | test('should navigate to 404 page correctly', async ({ page }) => { 15 | await page.locator('#not-found').click() > 16 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 17 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 18 | }) 19 | at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:16:22
🎭 Playwright Run Summary
73 passed (22.5s)
🎭 Playwright Run Summary
69 passed (16.2s)
🎭 Playwright Run Summary
73 passed (24.9s)
🎭 Playwright Run Summary
69 passed (16.0s)
🎭 Playwright Run Summary
73 passed (22.2s)
🎭 Playwright Run Summary
69 passed (14.7s)
🎭 Playwright Run Summary
73 passed (22.6s)
🎭 Playwright Run Summary
69 passed (14.7s)
🎭 Playwright Run Summary
73 passed (22.5s)
🎭 Playwright Run Summary
69 passed (15.0s)
🎭 Playwright Run Summary
73 passed (23.6s)
🎭 Playwright Run Summary
69 passed (14.8s)
🎭 Playwright Run Summary
73 passed (27.2s)
🎭 Playwright Run Summary
69 passed (15.1s)
🎭 Playwright Run Summary
73 passed (22.6s)
🎭 Playwright Run Summary
69 passed (15.1s)
🎭 Playwright Run Summary
73 passed (25.9s)
🎭 Playwright Run Summary
69 passed (17.6s)
🎭 Playwright Run Summary
73 passed (25.4s)
🎭 Playwright Run Summary
69 passed (19.3s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation 72 passed (35.4s)
🎭 Playwright Run Summary
69 passed (16.9s)
🎭 Playwright Run Summary
73 passed (27.3s)
🎭 Playwright Run Summary
69 passed (18.4s)
🎭 Playwright Run Summary
74 passed (29.2s)
🎭 Playwright Run Summary
69 passed (21.6s)
🎭 Playwright Run Summary
74 passed (33.0s)
🎭 Playwright Run Summary
69 passed (22.6s)
🎭 Playwright Run Summary
74 passed (32.4s)
🎭 Playwright Run Summary
69 passed (22.3s)
🎭 Playwright Run Summary
74 passed (32.8s)
🎭 Playwright Run Summary
69 passed (23.2s)
🎭 Playwright Run Summary
74 passed (33.8s)
🎭 Playwright Run Summary
69 passed (23.2s)
🎭 Playwright Run Summary
74 passed (34.2s)
🎭 Playwright Run Summary
69 passed (23.3s)
🎭 Playwright Run Summary
74 passed (36.4s)
🎭 Playwright Run Summary
69 passed (24.4s)
🎭 Playwright Run Summary
74 passed (35.2s)
🎭 Playwright Run Summary
69 passed (24.6s)
🎭 Playwright Run Summary
74 passed (38.1s)
🎭 Playwright Run Summary
69 passed (25.2s)
🎭 Playwright Run Summary
74 passed (35.4s)
🎭 Playwright Run Summary
69 passed (25.8s)
🎭 Playwright Run Summary
73 passed (27.9s)
🎭 Playwright Run Summary
69 passed (20.6s)
🎭 Playwright Run Summary
73 passed (28.8s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί tests\router\navigate-by-router.spec.ts:38:1 β€Ί should preserve hash and query ───── 68 passed (22.4s)
🎭 Playwright Run Summary
73 passed (36.8s)
🎭 Playwright Run Summary
69 passed (21.8s)
🎭 Playwright Run Summary
73 passed (30.0s)
🎭 Playwright Run Summary
69 passed (20.4s)
🎭 Playwright Run Summary
73 passed (37.4s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί tests\router\navigate-by-router.spec.ts:38:1 β€Ί should preserve hash and query ───── 68 passed (27.0s)
🎭 Playwright Run Summary
73 passed (32.6s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί tests\router\navigate-by-router.spec.ts:14:1 β€Ί should navigate to 404 page correctly 68 passed (26.4s)
🎭 Playwright Run Summary
74 passed (48.2s)
🎭 Playwright Run Summary
69 passed (33.5s)
🎭 Playwright Run Summary
74 passed (42.5s)
🎭 Playwright Run Summary
69 passed (33.4s)
🎭 Playwright Run Summary
74 passed (42.6s)
🎭 Playwright Run Summary
69 passed (33.8s)
🎭 Playwright Run Summary
74 passed (49.4s)
🎭 Playwright Run Summary
69 passed (33.7s)
🎭 Playwright Run Summary
74 passed (29.1s)
🎭 Playwright Run Summary
69 passed (20.2s)
🎭 Playwright Run Summary
74 passed (32.6s)
🎭 Playwright Run Summary
69 passed (22.3s)
🎭 Playwright Run Summary
74 passed (49.2s)
🎭 Playwright Run Summary
69 passed (36.8s)
🎭 Playwright Run Summary
74 passed (55.6s)
🎭 Playwright Run Summary
69 passed (40.1s)