test: update coverage collecting rules #527
Annotations
1 error and 4 notices
e2e/tests/hmr.spec.ts#L64
1) [chromium] › 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: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
|
|
|
|
This job succeeded
Loading