refactor: remove temp page files and load page component via bundler (close #1584) #537
Annotations
2 errors and 4 notices
E2E test (base /):
e2e/tests/hmr.spec.ts#L87
1) [chromium] › hmr.spec.ts:79:3 › should update title correctly ─────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /HMR Title/
Received string: ""
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
85 | await page.goto('hmr/title.html')
86 |
> 87 | await expect(page).toHaveTitle(/HMR Title/)
| ^
88 | await expect(titleLocator).toHaveText('HMR Title')
89 | await expect(renderedTitleLocator).toHaveText('HMR Title')
90 | await hmrUpdateTitle()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:87:24
|
E2E test (base /):
e2e/tests/imports/conditional-exports.spec.ts#L7
2) [chromium] › imports/conditional-exports.spec.ts:4:1 › should load different files correctly ──
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content p')
Expected string: "browser-mjs"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content p')
5 | await page.goto('imports/conditional-exports.html')
6 |
> 7 | await expect(page.locator('.e2e-theme-content p')).toHaveText('browser-mjs')
| ^
8 |
9 | if (COMMAND === 'build') {
10 | expect(
at /Users/runner/work/core/core/e2e/tests/imports/conditional-exports.spec.ts:7:54
|
E2E test (base /e2e/)
71 passed (20.6s)
|
E2E test (base /e2e/)
67 passed (16.9s)
|
E2E test (base /)
2 flaky
[chromium] › hmr.spec.ts:79:3 › should update title correctly ──────────────────────────────────
[chromium] › imports/conditional-exports.spec.ts:4:1 › should load different files correctly ───
69 passed (33.5s)
|
E2E test (base /)
67 passed (16.7s)
|
Loading