feat(client): add markdown content hooks #567
Annotations
9 errors and 3 notices
E2E test (base /e2e/):
e2e\tests\content-hooks.spec.ts#L1
1) [chromium] › content-hooks.spec.ts:65:1 › should call content before unmount hook ─────────────
Test timeout of 30000ms exceeded.
|
E2E test (base /e2e/):
e2e\tests\content-hooks.spec.ts#L70
1) [chromium] › content-hooks.spec.ts:65:1 › should call content before unmount hook ─────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.e2e-theme-nav a[href="/"]')
68 | )
69 | await page.goto('content-hooks/content.html')
> 70 | await page.locator('.e2e-theme-nav a[href="/"]').click()
| ^
71 |
72 | await expect(beforeUnmountLocator).toHaveText(
73 | 'beforeUnmount: /content-hooks/content.html',
at D:\a\core\core\e2e\tests\content-hooks.spec.ts:70:52
|
E2E test (base /e2e/):
e2e\tests\content-hooks.spec.ts#L1
1) [chromium] › content-hooks.spec.ts:65:1 › should call content before unmount hook ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
E2E test (base /e2e/):
e2e\tests\content-hooks.spec.ts#L70
1) [chromium] › content-hooks.spec.ts:65:1 › should call content before unmount hook ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.e2e-theme-nav a[href="/"]')
68 | )
69 | await page.goto('content-hooks/content.html')
> 70 | await page.locator('.e2e-theme-nav a[href="/"]').click()
| ^
71 |
72 | await expect(beforeUnmountLocator).toHaveText(
73 | 'beforeUnmount: /content-hooks/content.html',
at D:\a\core\core\e2e\tests\content-hooks.spec.ts:70:52
|
E2E test (base /e2e/):
e2e\tests\content-hooks.spec.ts#L1
1) [chromium] › content-hooks.spec.ts:65:1 › should call content before unmount hook ─────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
E2E test (base /e2e/):
e2e\tests\content-hooks.spec.ts#L70
1) [chromium] › content-hooks.spec.ts:65:1 › should call content before unmount hook ─────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.e2e-theme-nav a[href="/"]')
68 | )
69 | await page.goto('content-hooks/content.html')
> 70 | await page.locator('.e2e-theme-nav a[href="/"]').click()
| ^
71 |
72 | await expect(beforeUnmountLocator).toHaveText(
73 | 'beforeUnmount: /content-hooks/content.html',
at D:\a\core\core\e2e\tests\content-hooks.spec.ts:70:52
|
E2E test (base /e2e/):
e2e\tests\content-hooks.spec.ts#L55
2) [chromium] › content-hooks.spec.ts:48: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"
53 |
54 | await updateMarkdownContent()
> 55 | await expect(changeLocator).toHaveText(
| ^
56 | `changedCount: ${IS_DEV ? changeCount : 0}`,
57 | ) // 1
58 |
at D:\a\core\core\e2e\tests\content-hooks.spec.ts:55:31
|
E2E test (base /e2e/)
Process completed with exit code 1.
|
E2E test (base /):
e2e\tests\content-hooks.spec.ts#L55
1) [chromium] › content-hooks.spec.ts:48: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"
53 |
54 | await updateMarkdownContent()
> 55 | await expect(changeLocator).toHaveText(
| ^
56 | `changedCount: ${IS_DEV ? changeCount : 0}`,
57 | ) // 1
58 |
at D:\a\core\core\e2e\tests\content-hooks.spec.ts:55:31
|
E2E test (base /e2e/)
1 failed
[chromium] › content-hooks.spec.ts:65:1 › should call content before unmount hook ──────────────
1 flaky
[chromium] › content-hooks.spec.ts:48:1 › should call content change hook ──────────────────────
72 passed (2.4m)
|
E2E test (base /)
1 flaky
[chromium] › content-hooks.spec.ts:48:1 › should call content change hook ──────────────────────
73 passed (55.2s)
|
E2E test (base /)
70 passed (34.4s)
|
Loading