Skip to content

fix(cli): fix dev pages watcher #704

fix(cli): fix dev pages watcher

fix(cli): fix dev pages watcher #704

Triggered via pull request October 14, 2025 12:38
Status Success
Total duration 11m 13s
Artifacts

e2e.yml

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

Annotations

7 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
3) [chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation Error: expect(page).toHaveTitle(expected) failed Expected pattern: /HMR Title/ Received string: "" Timeout: 5000ms Call log: - Expect "toHaveTitle" with timeout 5000ms 9 Γ— 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/hmr.spec.ts:79:3 β€Ί should update title correctly: e2e/tests/hmr.spec.ts#L87
2) [chromium] β€Ί tests/hmr.spec.ts:79:3 β€Ί should update title correctly ─────────────────────────── Error: expect(page).toHaveTitle(expected) failed Expected pattern: /HMR Title/ Received string: "" Timeout: 5000ms Call log: - Expect "toHaveTitle" with timeout 5000ms 9 Γ— 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] β€Ί tests/hmr.spec.ts:67:3 β€Ί should update frontmatter correctly: e2e/tests/hmr.spec.ts#L74
1) [chromium] β€Ί tests/hmr.spec.ts:67:3 β€Ί should update frontmatter correctly ───────────────────── Error: expect(locator).toHaveText(expected) failed Locator: locator('.e2e-theme-content #rendered-foo + p') Expected: "HMR foo" Timeout: 5000ms Error: 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] β€Ί tests/hmr.spec.ts:67:3 β€Ί should update frontmatter correctly: e2e/tests/hmr.spec.ts#L76
2) [chromium] β€Ί tests/hmr.spec.ts:67:3 β€Ί should update frontmatter correctly ───────────────────── Error: expect(locator).toHaveText(expected) failed Locator: locator('.e2e-theme-content #rendered-foo + p') Expected: "Updated foo" Timeout: 5000ms Error: element(s) not found Call log: - Expect "toHaveText" with timeout 5000ms - waiting for locator('.e2e-theme-content #rendered-foo + p') 2 Γ— 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] β€Ί tests/hmr.spec.ts:57:3 β€Ί should update content correctly: e2e/tests/hmr.spec.ts#L62
1) [chromium] β€Ί tests/hmr.spec.ts:57:3 β€Ί should update content correctly ───────────────────────── Error: expect(locator).toHaveText(expected) failed Locator: locator('.e2e-theme-content #content + p') Expected: "HMR content" Timeout: 5000ms Error: 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
[chromium] β€Ί tests/composables/on-content-updated.spec.ts:40:1 β€Ί should call content hook on beforeUnmount: e2e/tests/composables/on-content-updated.spec.ts#L47
1) [chromium] β€Ί tests/composables/on-content-updated.spec.ts:40:1 β€Ί should call content hook on beforeUnmount Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.e2e-theme-nav ul > li > a').first() 45 | ) 46 | > 47 | await page.locator('.e2e-theme-nav ul > li > a').nth(0).click() | ^ 48 | 49 | await expect(beforeUnmountLocator).toHaveText('beforeUnmount: /') 50 | }) at /Users/runner/work/core/core/e2e/tests/composables/on-content-updated.spec.ts:47:59
[chromium] β€Ί tests/composables/on-content-updated.spec.ts:40:1 β€Ί should call content hook on beforeUnmount: e2e/tests/composables/on-content-updated.spec.ts#L0
1) [chromium] β€Ί tests/composables/on-content-updated.spec.ts:40:1 β€Ί should call content hook on beforeUnmount Test timeout of 30000ms exceeded.
🎭 Playwright Run Summary
71 passed (17.0s)
🎭 Playwright Run Summary
75 passed (26.5s)
🎭 Playwright Run Summary
71 passed (16.7s)
🎭 Playwright Run Summary
75 passed (26.8s)
🎭 Playwright Run Summary
71 passed (15.2s)
🎭 Playwright Run Summary
75 passed (25.3s)
🎭 Playwright Run Summary
71 passed (15.1s)
🎭 Playwright Run Summary
75 passed (26.0s)
🎭 Playwright Run Summary
71 passed (24.7s)
🎭 Playwright Run Summary
76 passed (33.3s)
🎭 Playwright Run Summary
71 passed (25.0s)
🎭 Playwright Run Summary
76 passed (34.4s)
🎭 Playwright Run Summary
71 passed (15.2s)
🎭 Playwright Run Summary
75 passed (25.7s)
🎭 Playwright Run Summary
71 passed (15.1s)
🎭 Playwright Run Summary
75 passed (27.1s)
🎭 Playwright Run Summary
71 passed (23.4s)
🎭 Playwright Run Summary
76 passed (31.8s)
🎭 Playwright Run Summary
71 passed (23.3s)
🎭 Playwright Run Summary
76 passed (33.2s)
🎭 Playwright Run Summary
71 passed (25.7s)
🎭 Playwright Run Summary
76 passed (34.2s)
🎭 Playwright Run Summary
71 passed (25.5s)
🎭 Playwright Run Summary
76 passed (36.0s)
🎭 Playwright Run Summary
71 passed (37.0s)
🎭 Playwright Run Summary
76 passed (44.5s)
🎭 Playwright Run Summary
71 passed (37.2s)
🎭 Playwright Run Summary
76 passed (45.9s)
🎭 Playwright Run Summary
71 passed (35.4s)
🎭 Playwright Run Summary
76 passed (43.5s)
🎭 Playwright Run Summary
71 passed (38.5s)
🎭 Playwright Run Summary
76 passed (59.3s)
🎭 Playwright Run Summary
71 passed (31.5s)
🎭 Playwright Run Summary
76 passed (35.7s)
🎭 Playwright Run Summary
71 passed (30.5s)
🎭 Playwright Run Summary
76 passed (40.7s)
🎭 Playwright Run Summary
71 passed (24.6s)
🎭 Playwright Run Summary
75 passed (34.0s)
🎭 Playwright Run Summary
71 passed (25.4s)
🎭 Playwright Run Summary
75 passed (37.6s)
🎭 Playwright Run Summary
71 passed (27.9s)
🎭 Playwright Run Summary
75 passed (32.7s)
🎭 Playwright Run Summary
71 passed (23.5s)
🎭 Playwright Run Summary
75 passed (35.1s)
🎭 Playwright Run Summary
71 passed (24.4s)
🎭 Playwright Run Summary
75 passed (35.5s)
🎭 Playwright Run Summary
71 passed (25.9s)
🎭 Playwright Run Summary
75 passed (39.8s)
🎭 Playwright Run Summary
71 passed (25.3s)
🎭 Playwright Run Summary
76 passed (31.1s)
🎭 Playwright Run Summary
71 passed (25.1s)
🎭 Playwright Run Summary
76 passed (32.4s)
🎭 Playwright Run Summary
71 passed (29.9s)
🎭 Playwright Run Summary
76 passed (37.5s)
🎭 Playwright Run Summary
71 passed (33.9s)
🎭 Playwright Run Summary
76 passed (41.9s)
🎭 Playwright Run Summary
71 passed (29.9s)
🎭 Playwright Run Summary
3 flaky [chromium] β€Ί tests/hmr.spec.ts:67:3 β€Ί should update frontmatter correctly ────────────────────── [chromium] β€Ί tests/hmr.spec.ts:79:3 β€Ί should update title correctly ──────────────────────────── [chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation 72 passed (48.4s)
🎭 Playwright Run Summary
71 passed (26.1s)
🎭 Playwright Run Summary
75 passed (32.5s)
🎭 Playwright Run Summary
71 passed (40.3s)
🎭 Playwright Run Summary
76 passed (46.2s)
🎭 Playwright Run Summary
71 passed (39.0s)
🎭 Playwright Run Summary
76 passed (49.9s)
🎭 Playwright Run Summary
71 passed (28.9s)
🎭 Playwright Run Summary
2 flaky [chromium] β€Ί tests/hmr.spec.ts:57:3 β€Ί should update content correctly ────────────────────────── [chromium] β€Ί tests/hmr.spec.ts:67:3 β€Ί should update frontmatter correctly ────────────────────── 73 passed (39.7s)
🎭 Playwright Run Summary
71 passed (21.7s)
🎭 Playwright Run Summary
75 passed (29.5s)
🎭 Playwright Run Summary
71 passed (32.4s)
🎭 Playwright Run Summary
75 passed (38.2s)
🎭 Playwright Run Summary
71 passed (35.4s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί tests/composables/on-content-updated.spec.ts:40:1 β€Ί should call content hook on beforeUnmount 74 passed (1.3m)