refactor: remove temp page files and load page component via bundler (close #1584) #522
Annotations
2 errors and 4 notices
e2e/tests/hmr.spec.ts#L62
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: "HMR content"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
60 | await page.goto('hmr/content.html')
61 |
> 62 | await expect(contentLocator).toHaveText('HMR content')
| ^
63 | await hmrUpdateContent()
64 | await expect(contentLocator).toHaveText('Updated content')
65 | })
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:62:34
|
e2e/tests/hmr.spec.ts#L74
2) [chromium] › hmr.spec.ts:67: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')
72 | await page.goto('hmr/frontmatter.html')
73 |
> 74 | await expect(frontmatterLocator).toHaveText('HMR foo')
| ^
75 | await hmrUpdateFrontmatter()
76 | await expect(frontmatterLocator).toHaveText('Updated foo')
77 | })
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:74:38
|
|
|
|
|
This job succeeded
Loading