test(e2e): add more test cases for hmr #505
Annotations
1 error and 4 notices
e2e/tests/hmr.spec.ts#L138
1) [chromium] › hmr.spec.ts:96:3 › should update content and frontmatter and title correctly after navigation
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #rendered-foo + p')
Expected string: "Updated foo"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #rendered-foo + p')
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
136 | // update frontmatter page
137 | await hmrUpdateFrontmatter()
> 138 | await expect(frontmatterLocator).toHaveText('Updated foo')
| ^
139 |
140 | // navigate to content page
141 | await contentPageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:138:38
|
|
|
|
|
This job succeeded
Loading