refactor: remove temp page files and load page component via bundler (close #1584) #535
Annotations
2 errors and 4 notices
E2E test (base /):
e2e\tests\router\navigate-by-router.spec.ts#L10
1) [chromium] › router\navigate-by-router.spec.ts:8:1 › should navigate to home correctly ────────
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://127.0.0.1:9080/"
Received string: "http://127.0.0.1:9080/router/navigate-by-router.html"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html"
8 | test('should navigate to home correctly', async ({ page }) => {
9 | await page.locator('#home').click()
> 10 | await expect(page).toHaveURL(BASE)
| ^
11 | await expect(page.locator('#home-h2')).toHaveText('Home H2')
12 | })
13 |
at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:10:22
|
E2E test (base /e2e/):
e2e\tests\router\navigate-by-router.spec.ts#L40
1) [chromium] › router\navigate-by-router.spec.ts:38:1 › should preserve hash and query ──────────
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://127.0.0.1:9080/e2e/404.html#404?notFound=true"
Received string: "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html"
38 | test('should preserve hash and query', async ({ page }) => {
39 | await page.locator('#not-found-with-hash-and-query').click()
> 40 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`)
| ^
41 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
42 | })
43 |
at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:40:22
|
E2E test (base /)
71 passed (32.4s)
|
E2E test (base /)
1 flaky
[chromium] › router\navigate-by-router.spec.ts:8:1 › should navigate to home correctly ─────────
66 passed (23.7s)
|
E2E test (base /e2e/)
71 passed (27.3s)
|
E2E test (base /e2e/)
1 flaky
[chromium] › router\navigate-by-router.spec.ts:38:1 › should preserve hash and query ───────────
66 passed (24.2s)
|
Loading