refactor: upgrade eslint and fix lint and type errors #479
Annotations
1 error and 4 notices
e2e/tests/hmr.spec.ts#L51
1) [chromium] › hmr.spec.ts:44: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')
49 | await page.goto('hmr/frontmatter.html')
50 |
> 51 | await expect(frontmatterLocator).toHaveText('HMR foo')
| ^
52 | await hmrUpdateFrontmatter()
53 | await expect(frontmatterLocator).toHaveText('Updated foo')
54 | })
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:51:38
|
|
|
|
|
This job succeeded
Loading