feat(client): add markdown content hooks #571
Annotations
4 errors, 1 warning, and 1 notice
E2E test (base /):
e2e/tests/content-hooks.spec.ts#L48
1) [chromium] › 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
|
E2E test (base /):
e2e/tests/content-hooks.spec.ts#L48
1) [chromium] › 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
|
E2E test (base /):
e2e/tests/content-hooks.spec.ts#L48
1) [chromium] › 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 test (base /)
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E test (base /)
1 failed
[chromium] › content-hooks.spec.ts:41:1 › should call content change hook ──────────────────────
73 passed (40.7s)
|
Loading