Skip to content

fix(cli): fix dev pages watcher #705

fix(cli): fix dev pages watcher

fix(cli): fix dev pages watcher #705

Triggered via pull request October 14, 2025 12:50
Status Success
Total duration 7m 2s
Artifacts

e2e.yml

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

Annotations

5 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#L134
1) [chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation 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') 132 | // navigate to frontmatter page 133 | await frontmatterPageLinkLocator.click() > 134 | await expect(frontmatterLocator).toHaveText('HMR foo') | ^ 135 | 136 | // update frontmatter page 137 | await hmrUpdateFrontmatter() at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:134:38
[chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation: e2e/tests/hmr.spec.ts#L122
2) [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: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/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: 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:96:3 β€Ί should update content and frontmatter and title correctly after navigation: e2e/tests/hmr.spec.ts#L146
1) [chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation Error: expect(locator).toHaveText(expected) failed Locator: locator('.e2e-theme-content #content + p') Expected: "Updated content" Timeout: 5000ms Error: element(s) not found Call log: - Expect "toHaveText" with timeout 5000ms - waiting for locator('.e2e-theme-content #content + p') 3 Γ— locator resolved to <p>HMR content</p> - unexpected value "HMR content" 144 | // update content page 145 | await hmrUpdateContent() > 146 | await expect(contentLocator).toHaveText('Updated content') | ^ 147 | 148 | // navigate to back title page 149 | await titlePageLinkLocator.click() at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
🎭 Playwright Run Summary
71 passed (14.9s)
🎭 Playwright Run Summary
75 passed (25.0s)
🎭 Playwright Run Summary
71 passed (14.8s)
🎭 Playwright Run Summary
75 passed (26.3s)
🎭 Playwright Run Summary
71 passed (15.3s)
🎭 Playwright Run Summary
75 passed (26.0s)
🎭 Playwright Run Summary
71 passed (16.7s)
🎭 Playwright Run Summary
75 passed (26.8s)
🎭 Playwright Run Summary
71 passed (16.2s)
🎭 Playwright Run Summary
75 passed (25.9s)
🎭 Playwright Run Summary
71 passed (16.0s)
🎭 Playwright Run Summary
75 passed (28.4s)
🎭 Playwright Run Summary
71 passed (24.7s)
🎭 Playwright Run Summary
76 passed (33.0s)
🎭 Playwright Run Summary
71 passed (24.7s)
🎭 Playwright Run Summary
76 passed (33.8s)
🎭 Playwright Run Summary
71 passed (25.2s)
🎭 Playwright Run Summary
76 passed (30.0s)
🎭 Playwright Run Summary
71 passed (28.1s)
🎭 Playwright Run Summary
76 passed (32.1s)
🎭 Playwright Run Summary
71 passed (23.5s)
🎭 Playwright Run Summary
76 passed (32.7s)
🎭 Playwright Run Summary
71 passed (24.0s)
🎭 Playwright Run Summary
76 passed (37.6s)
🎭 Playwright Run Summary
71 passed (26.0s)
🎭 Playwright Run Summary
76 passed (34.9s)
🎭 Playwright Run Summary
71 passed (25.9s)
🎭 Playwright Run Summary
76 passed (36.0s)
🎭 Playwright Run Summary
71 passed (23.8s)
🎭 Playwright Run Summary
75 passed (32.4s)
🎭 Playwright Run Summary
71 passed (23.7s)
🎭 Playwright Run Summary
75 passed (34.3s)
🎭 Playwright Run Summary
71 passed (29.5s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation 75 passed (48.4s)
🎭 Playwright Run Summary
71 passed (42.7s)
🎭 Playwright Run Summary
76 passed (49.1s)
🎭 Playwright Run Summary
71 passed (21.4s)
🎭 Playwright Run Summary
2 flaky [chromium] β€Ί tests/hmr.spec.ts:57:3 β€Ί should update content correctly ────────────────────────── [chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation 73 passed (39.5s)
🎭 Playwright Run Summary
71 passed (38.1s)
🎭 Playwright Run Summary
75 passed (31.7s)
🎭 Playwright Run Summary
71 passed (33.8s)
🎭 Playwright Run Summary
76 passed (48.0s)
🎭 Playwright Run Summary
71 passed (39.9s)
🎭 Playwright Run Summary
76 passed (51.5s)
🎭 Playwright Run Summary
71 passed (25.5s)
🎭 Playwright Run Summary
75 passed (34.6s)
🎭 Playwright Run Summary
71 passed (24.7s)
🎭 Playwright Run Summary
75 passed (34.5s)
🎭 Playwright Run Summary
71 passed (32.1s)
🎭 Playwright Run Summary
75 passed (31.9s)
🎭 Playwright Run Summary
71 passed (27.2s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation 74 passed (43.1s)
🎭 Playwright Run Summary
71 passed (23.2s)
🎭 Playwright Run Summary
75 passed (33.7s)
🎭 Playwright Run Summary
71 passed (26.0s)
🎭 Playwright Run Summary
75 passed (34.6s)
🎭 Playwright Run Summary
71 passed (20.9s)
🎭 Playwright Run Summary
75 passed (27.3s)
🎭 Playwright Run Summary
71 passed (22.6s)
🎭 Playwright Run Summary
75 passed (30.5s)
🎭 Playwright Run Summary
71 passed (42.2s)
🎭 Playwright Run Summary
76 passed (48.4s)
🎭 Playwright Run Summary
71 passed (39.9s)
🎭 Playwright Run Summary
76 passed (53.6s)
🎭 Playwright Run Summary
71 passed (33.5s)
🎭 Playwright Run Summary
76 passed (50.0s)
🎭 Playwright Run Summary
71 passed (41.4s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί tests/hmr.spec.ts:96:3 β€Ί should update content and frontmatter and title correctly after navigation 75 passed (45.7s)
🎭 Playwright Run Summary
71 passed (46.2s)
🎭 Playwright Run Summary
76 passed (53.4s)
🎭 Playwright Run Summary
71 passed (38.1s)
🎭 Playwright Run Summary
76 passed (47.1s)