Skip to content

feat(client): add markdown content hooks #575

feat(client): add markdown content hooks

feat(client): add markdown content hooks #575

Triggered via pull request February 10, 2025 16:13
Status Failure
Total duration 6m 49s
Artifacts

e2e.yml

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

Annotations

42 errors, 20 warnings, and 45 notices
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 7 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
e2e (ubuntu-latest, 22, vite)
Process completed with exit code 1.
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 7 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
e2e (ubuntu-latest, 20, vite)
Process completed with exit code 1.
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 7 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
e2e (ubuntu-latest, 18, vite)
Process completed with exit code 1.
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 7 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /Users/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /Users/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 7 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /Users/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
e2e (macos-latest, 18, vite)
Process completed with exit code 1.
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /Users/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /Users/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /Users/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/hmr.spec.ts:67:3 β€Ί should update frontmatter correctly: e2e/tests/hmr.spec.ts#L74
2) [chromium] β€Ί tests/hmr.spec.ts:67: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') 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/imports/conditional-exports.spec.ts:4:1 β€Ί should load different files correctly: e2e/tests/imports/conditional-exports.spec.ts#L7
3) [chromium] β€Ί tests/imports/conditional-exports.spec.ts:4:1 β€Ί should load different files correctly Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-content p') Expected string: "browser-mjs" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-content p') 5 | await page.goto('imports/conditional-exports.html') 6 | > 7 | await expect(page.locator('.e2e-theme-content p')).toHaveText('browser-mjs') | ^ 8 | 9 | if (COMMAND === 'build') { 10 | expect( at /Users/runner/work/core/core/e2e/tests/imports/conditional-exports.spec.ts:7:54
e2e (macos-latest, 20, vite)
Process completed with exit code 1.
[chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e\tests\content-hooks.spec.ts#L48
1) [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 7 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at D:\a\core\core\e2e\tests\content-hooks.spec.ts:48:31
[chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e\tests\content-hooks.spec.ts#L48
1) [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at D:\a\core\core\e2e\tests\content-hooks.spec.ts:48:31
[chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e\tests\content-hooks.spec.ts#L48
1) [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at D:\a\core\core\e2e\tests\content-hooks.spec.ts:48:31
e2e (windows-latest, 18, vite)
Process completed with exit code 1.
[chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e\tests\content-hooks.spec.ts#L48
1) [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 7 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at D:\a\core\core\e2e\tests\content-hooks.spec.ts:48:31
[chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e\tests\content-hooks.spec.ts#L48
1) [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at D:\a\core\core\e2e\tests\content-hooks.spec.ts:48:31
[chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e\tests\content-hooks.spec.ts#L48
1) [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at D:\a\core\core\e2e\tests\content-hooks.spec.ts:48:31
e2e (windows-latest, 20, vite)
Process completed with exit code 1.
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 7 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /Users/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /Users/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e/tests/content-hooks.spec.ts#L48
1) [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at /Users/runner/work/core/core/e2e/tests/content-hooks.spec.ts:48:31
[chromium] β€Ί tests/hmr.spec.ts:57:3 β€Ί should update content correctly: e2e/tests/hmr.spec.ts#L62
2) [chromium] β€Ί tests/hmr.spec.ts:57:3 β€Ί should update content correctly ───────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-content #content + p') Expected string: "HMR content" Received: <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
3) [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/imports/conditional-exports.spec.ts:4:1 β€Ί should load different files correctly: e2e/tests/imports/conditional-exports.spec.ts#L7
4) [chromium] β€Ί tests/imports/conditional-exports.spec.ts:4:1 β€Ί should load different files correctly Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-content p') Expected string: "browser-mjs" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-content p') 5 | await page.goto('imports/conditional-exports.html') 6 | > 7 | await expect(page.locator('.e2e-theme-content p')).toHaveText('browser-mjs') | ^ 8 | 9 | if (COMMAND === 'build') { 10 | expect( at /Users/runner/work/core/core/e2e/tests/imports/conditional-exports.spec.ts:7:54
e2e (macos-latest, 22, vite)
Process completed with exit code 1.
[chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e\tests\content-hooks.spec.ts#L48
1) [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 7 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at D:\a\core\core\e2e\tests\content-hooks.spec.ts:48:31
[chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e\tests\content-hooks.spec.ts#L48
1) [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at D:\a\core\core\e2e\tests\content-hooks.spec.ts:48:31
[chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook: e2e\tests\content-hooks.spec.ts#L48
1) [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.markdown-content-hooks .markdown-content-change') Expected string: "changedCount: 1" Received string: "changedCount: 0" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.markdown-content-hooks .markdown-content-change') 9 Γ— locator resolved to <p class="markdown-content-change">changedCount: 0</p> - unexpected value "changedCount: 0" 46 | 47 | await updateMarkdownContent() > 48 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 1 : 0}`) // 1 | ^ 49 | 50 | await updateMarkdownContent() 51 | await expect(changeLocator).toHaveText(`changedCount: ${IS_DEV ? 2 : 0}`) // 2 at D:\a\core\core\e2e\tests\content-hooks.spec.ts:48:31
e2e (windows-latest, 22, vite)
Process completed with exit code 1.
e2e result
Process completed with exit code 1.
e2e (ubuntu-latest, 22, vite)
Cache not found for keys: node-cache-Linux-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (ubuntu-latest, 20, vite)
Cache not found for keys: node-cache-Linux-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (ubuntu-latest, 18, vite)
Cache not found for keys: node-cache-Linux-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (macos-latest, 18, vite)
Cache not found for keys: node-cache-macOS-arm64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (macos-latest, 20, vite)
Cache not found for keys: node-cache-macOS-arm64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (windows-latest, 18, vite)
Cache not found for keys: node-cache-Windows-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (ubuntu-latest, 22, webpack)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
e2e (ubuntu-latest, 22, webpack)
Cache not found for keys: node-cache-Linux-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (ubuntu-latest, 20, webpack)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
e2e (ubuntu-latest, 20, webpack)
Cache not found for keys: node-cache-Linux-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (ubuntu-latest, 18, webpack)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
e2e (ubuntu-latest, 18, webpack)
Cache not found for keys: node-cache-Linux-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (windows-latest, 20, vite)
Cache not found for keys: node-cache-Windows-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (windows-latest, 22, vite)
Cache not found for keys: node-cache-Windows-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (windows-latest, 18, webpack)
Cache not found for keys: node-cache-Windows-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (windows-latest, 18, webpack)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
e2e (windows-latest, 20, webpack)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
e2e (windows-latest, 20, webpack)
Cache not found for keys: node-cache-Windows-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
e2e (windows-latest, 22, webpack)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
e2e (windows-latest, 22, webpack)
Cache not found for keys: node-cache-Windows-x64-pnpm-e957ab4128bccea984b92433c46830526f663eff3027bc10de19ee45b89bf161
🎭 Playwright Run Summary
1 failed [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ──────────────── 73 passed (40.2s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ──────────────── 73 passed (40.8s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ──────────────── 73 passed (40.8s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ──────────────── 73 passed (52.5s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ──────────────── 2 flaky [chromium] β€Ί tests/hmr.spec.ts:67:3 β€Ί should update frontmatter correctly ────────────────────── [chromium] β€Ί tests/imports/conditional-exports.spec.ts:4:1 β€Ί should load different files correctly 71 passed (58.6s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ──────────────── 73 passed (51.4s)
🎭 Playwright Run Summary
74 passed (32.7s)
🎭 Playwright Run Summary
70 passed (23.5s)
🎭 Playwright Run Summary
74 passed (33.8s)
🎭 Playwright Run Summary
70 passed (23.5s)
🎭 Playwright Run Summary
74 passed (33.0s)
🎭 Playwright Run Summary
70 passed (23.3s)
🎭 Playwright Run Summary
74 passed (34.3s)
🎭 Playwright Run Summary
70 passed (23.3s)
🎭 Playwright Run Summary
74 passed (35.7s)
🎭 Playwright Run Summary
70 passed (24.2s)
🎭 Playwright Run Summary
74 passed (33.2s)
🎭 Playwright Run Summary
70 passed (24.3s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ──────────────── 73 passed (54.8s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί tests/content-hooks.spec.ts:41:1 β€Ί should call content change hook ──────────────── 3 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 [chromium] β€Ί tests/imports/conditional-exports.spec.ts:4:1 β€Ί should load different files correctly 70 passed (1.0m)
🎭 Playwright Run Summary
74 passed (33.7s)
🎭 Playwright Run Summary
70 passed (23.7s)
🎭 Playwright Run Summary
74 passed (30.7s)
🎭 Playwright Run Summary
70 passed (21.7s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί tests\content-hooks.spec.ts:41:1 β€Ί should call content change hook ──────────────── 73 passed (53.2s)
🎭 Playwright Run Summary
74 passed (30.0s)
🎭 Playwright Run Summary
70 passed (21.8s)
🎭 Playwright Run Summary
74 passed (29.8s)
🎭 Playwright Run Summary
70 passed (24.7s)
🎭 Playwright Run Summary
74 passed (43.4s)
🎭 Playwright Run Summary
70 passed (34.7s)
🎭 Playwright Run Summary
74 passed (48.1s)
🎭 Playwright Run Summary
70 passed (35.0s)
🎭 Playwright Run Summary
74 passed (27.1s)
🎭 Playwright Run Summary
70 passed (21.7s)
🎭 Playwright Run Summary
74 passed (32.0s)
🎭 Playwright Run Summary
70 passed (21.0s)
🎭 Playwright Run Summary
74 passed (47.6s)
🎭 Playwright Run Summary
70 passed (34.3s)
🎭 Playwright Run Summary
74 passed (42.4s)
🎭 Playwright Run Summary
70 passed (33.4s)
🎭 Playwright Run Summary
74 passed (42.9s)
🎭 Playwright Run Summary
70 passed (33.1s)
🎭 Playwright Run Summary
74 passed (49.0s)
🎭 Playwright Run Summary
70 passed (34.3s)