refactor: upgrade eslint and fix lint and type errors #482
Annotations
2 errors and 72 notices
[chromium] βΊ hmr.spec.ts:56:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L61
1) [chromium] βΊ hmr.spec.ts:56: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 ""
59 | await page.goto('hmr/title.html')
60 |
> 61 | await expect(page).toHaveTitle(/HMR Title/)
| ^
62 | await expect(titleLocator).toHaveText('HMR Title')
63 | await hmrUpdateTitle()
64 | await expect(page).toHaveTitle(/Updated Title/)
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:61:24
|
[chromium] βΊ hmr.spec.ts:56:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L61
1) [chromium] βΊ hmr.spec.ts:56: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 ""
59 | await page.goto('hmr/title.html')
60 |
> 61 | await expect(page).toHaveTitle(/HMR Title/)
| ^
62 | await expect(titleLocator).toHaveText('HMR Title')
63 | await hmrUpdateTitle()
64 | await expect(page).toHaveTitle(/Updated Title/)
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:61:24
|
π Playwright Run Summary
69 passed (21.1s)
|
π Playwright Run Summary
66 passed (14.9s)
|
π Playwright Run Summary
69 passed (19.6s)
|
π Playwright Run Summary
66 passed (15.8s)
|
π Playwright Run Summary
69 passed (19.9s)
|
π Playwright Run Summary
66 passed (16.0s)
|
π Playwright Run Summary
69 passed (21.0s)
|
π Playwright Run Summary
66 passed (16.0s)
|
π Playwright Run Summary
69 passed (19.8s)
|
π Playwright Run Summary
66 passed (15.9s)
|
π Playwright Run Summary
69 passed (20.8s)
|
π Playwright Run Summary
66 passed (15.9s)
|
π Playwright Run Summary
69 passed (23.7s)
|
π Playwright Run Summary
66 passed (20.1s)
|
π Playwright Run Summary
69 passed (25.4s)
|
π Playwright Run Summary
66 passed (20.4s)
|
π Playwright Run Summary
69 passed (26.6s)
|
π Playwright Run Summary
66 passed (22.1s)
|
π Playwright Run Summary
69 passed (27.3s)
|
π Playwright Run Summary
66 passed (22.0s)
|
π Playwright Run Summary
69 passed (28.9s)
|
π Playwright Run Summary
66 passed (24.8s)
|
π Playwright Run Summary
69 passed (29.3s)
|
π Playwright Run Summary
66 passed (24.7s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:56:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
68 passed (32.7s)
|
π Playwright Run Summary
66 passed (21.3s)
|
π Playwright Run Summary
69 passed (27.2s)
|
π Playwright Run Summary
66 passed (19.4s)
|
π Playwright Run Summary
69 passed (30.6s)
|
π Playwright Run Summary
66 passed (26.2s)
|
π Playwright Run Summary
69 passed (30.5s)
|
π Playwright Run Summary
66 passed (26.4s)
|
π Playwright Run Summary
69 passed (21.6s)
|
π Playwright Run Summary
66 passed (16.5s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:56:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
68 passed (33.9s)
|
π Playwright Run Summary
66 passed (16.9s)
|
π Playwright Run Summary
69 passed (26.6s)
|
π Playwright Run Summary
66 passed (21.3s)
|
π Playwright Run Summary
69 passed (31.8s)
|
π Playwright Run Summary
66 passed (21.3s)
|
π Playwright Run Summary
69 passed (19.7s)
|
π Playwright Run Summary
66 passed (15.9s)
|
π Playwright Run Summary
69 passed (25.0s)
|
π Playwright Run Summary
66 passed (16.4s)
|
π Playwright Run Summary
69 passed (31.5s)
|
π Playwright Run Summary
66 passed (21.5s)
|
π Playwright Run Summary
69 passed (24.6s)
|
π Playwright Run Summary
66 passed (21.7s)
|
π Playwright Run Summary
69 passed (29.7s)
|
π Playwright Run Summary
66 passed (21.0s)
|
π Playwright Run Summary
69 passed (26.5s)
|
π Playwright Run Summary
66 passed (21.1s)
|
π Playwright Run Summary
69 passed (40.6s)
|
π Playwright Run Summary
66 passed (36.0s)
|
π Playwright Run Summary
69 passed (44.7s)
|
π Playwright Run Summary
66 passed (36.0s)
|
π Playwright Run Summary
69 passed (30.9s)
|
π Playwright Run Summary
66 passed (21.7s)
|
π Playwright Run Summary
69 passed (28.0s)
|
π Playwright Run Summary
66 passed (21.9s)
|
π Playwright Run Summary
69 passed (23.6s)
|
π Playwright Run Summary
66 passed (19.4s)
|
π Playwright Run Summary
69 passed (28.0s)
|
π Playwright Run Summary
66 passed (20.6s)
|
π Playwright Run Summary
69 passed (39.3s)
|
π Playwright Run Summary
66 passed (33.2s)
|
π Playwright Run Summary
69 passed (41.9s)
|
π Playwright Run Summary
66 passed (33.2s)
|
π Playwright Run Summary
69 passed (42.1s)
|
π Playwright Run Summary
66 passed (35.0s)
|
π Playwright Run Summary
69 passed (40.5s)
|
π Playwright Run Summary
66 passed (34.7s)
|