feat(client): add markdown content hooks #566
Annotations
5 errors, 1 warning, and 2 notices
E2E test (base /):
e2e/tests/content-hooks.spec.ts#L54
1) [chromium] › content-hooks.spec.ts:47: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')
9 × locator resolved to <p class="markdown-content-change">changedCount: 0</p>
- unexpected value "changedCount: 0"
52 |
53 | await updateMarkdownContent()
> 54 | await expect(changeLocator).toHaveText(`changedCount: ${changeCount}`) // 1
| ^
55 |
56 | await updateMarkdownContent()
57 | await expect(changeLocator).toHaveText(`changedCount: ${changeCount}`) // 2
at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:54:31
|
E2E test (base /):
e2e/tests/content-hooks.spec.ts#L54
1) [chromium] › content-hooks.spec.ts:47: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: 2"
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"
52 |
53 | await updateMarkdownContent()
> 54 | await expect(changeLocator).toHaveText(`changedCount: ${changeCount}`) // 1
| ^
55 |
56 | await updateMarkdownContent()
57 | await expect(changeLocator).toHaveText(`changedCount: ${changeCount}`) // 2
at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:54:31
|
E2E test (base /):
e2e/tests/content-hooks.spec.ts#L54
1) [chromium] › content-hooks.spec.ts:47: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"
52 |
53 | await updateMarkdownContent()
> 54 | await expect(changeLocator).toHaveText(`changedCount: ${changeCount}`) // 1
| ^
55 |
56 | await updateMarkdownContent()
57 | await expect(changeLocator).toHaveText(`changedCount: ${changeCount}`) // 2
at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:54:31
|
E2E test (base /):
e2e/tests/content-hooks.spec.ts#L54
1) [chromium] › content-hooks.spec.ts:47: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"
52 |
53 | await updateMarkdownContent()
> 54 | await expect(changeLocator).toHaveText(`changedCount: ${changeCount}`) // 1
| ^
55 |
56 | await updateMarkdownContent()
57 | await expect(changeLocator).toHaveText(`changedCount: ${changeCount}`) // 2
at /home/runner/work/core/core/e2e/tests/content-hooks.spec.ts:54: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 flaky
[chromium] › content-hooks.spec.ts:47:1 › should call content change hook ──────────────────────
73 passed (43.1s)
|
E2E test (base /)
1 failed
[chromium] › content-hooks.spec.ts:47:1 › should call content change hook ──────────────────────
69 passed (35.3s)
|
Loading