refactor: upgrade eslint and fix lint and type errors #480
Annotations
2 errors and 72 notices
[chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation:
e2e/tests/hmr.spec.ts#L82
1) [chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /Updated Title/
Received string: "VuePress E2E"
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "VuePress E2E"
80 | // update title page
81 | await hmrUpdateTitle()
> 82 | await expect(page).toHaveTitle(/Updated Title/)
| ^
83 | await expect(titleLocator).toHaveText('Updated Title')
84 |
85 | // navigate to frontmatter page
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:82:24
|
[chromium] βΊ imports/conditional-exports.spec.ts:4:1 βΊ should load different files correctly:
e2e/tests/imports/conditional-exports.spec.ts#L7
1) [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
|
π Playwright Run Summary
69 passed (20.2s)
|
π Playwright Run Summary
66 passed (16.0s)
|
π Playwright Run Summary
69 passed (22.2s)
|
π Playwright Run Summary
66 passed (16.1s)
|
π Playwright Run Summary
69 passed (20.5s)
|
π Playwright Run Summary
66 passed (14.7s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:68:3 βΊ should update title and frontmatter correctly after navigation β
68 passed (25.3s)
|
π Playwright Run Summary
66 passed (14.7s)
|
π Playwright Run Summary
69 passed (19.6s)
|
π Playwright Run Summary
66 passed (16.0s)
|
π Playwright Run Summary
69 passed (23.2s)
|
π Playwright Run Summary
66 passed (15.9s)
|
π Playwright Run Summary
69 passed (29.1s)
|
π Playwright Run Summary
66 passed (25.0s)
|
π Playwright Run Summary
69 passed (29.6s)
|
π Playwright Run Summary
66 passed (25.1s)
|
π Playwright Run Summary
69 passed (27.2s)
|
π Playwright Run Summary
66 passed (22.9s)
|
π Playwright Run Summary
69 passed (31.6s)
|
π Playwright Run Summary
66 passed (26.0s)
|
π Playwright Run Summary
69 passed (26.2s)
|
π Playwright Run Summary
66 passed (20.6s)
|
π Playwright Run Summary
69 passed (30.4s)
|
π Playwright Run Summary
66 passed (20.6s)
|
π Playwright Run Summary
69 passed (28.9s)
|
π Playwright Run Summary
66 passed (24.2s)
|
π Playwright Run Summary
69 passed (29.8s)
|
π Playwright Run Summary
66 passed (24.2s)
|
π Playwright Run Summary
69 passed (30.7s)
|
π Playwright Run Summary
66 passed (26.6s)
|
π Playwright Run Summary
69 passed (31.2s)
|
π Playwright Run Summary
66 passed (26.2s)
|
π Playwright Run Summary
69 passed (26.6s)
|
π Playwright Run Summary
66 passed (21.1s)
|
π Playwright Run Summary
69 passed (29.2s)
|
π Playwright Run Summary
66 passed (21.2s)
|
π Playwright Run Summary
69 passed (21.6s)
|
π Playwright Run Summary
66 passed (15.2s)
|
π Playwright Run Summary
69 passed (28.2s)
|
π Playwright Run Summary
66 passed (19.6s)
|
π Playwright Run Summary
69 passed (25.3s)
|
π Playwright Run Summary
66 passed (19.4s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ imports/conditional-exports.spec.ts:4:1 βΊ should load different files correctly βββ
68 passed (32.8s)
|
π Playwright Run Summary
66 passed (18.9s)
|
π Playwright Run Summary
69 passed (27.8s)
|
π Playwright Run Summary
66 passed (21.1s)
|
π Playwright Run Summary
69 passed (24.2s)
|
π Playwright Run Summary
66 passed (20.5s)
|
π Playwright Run Summary
69 passed (40.7s)
|
π Playwright Run Summary
66 passed (35.7s)
|
π Playwright Run Summary
69 passed (42.0s)
|
π Playwright Run Summary
66 passed (35.8s)
|
π Playwright Run Summary
69 passed (31.1s)
|
π Playwright Run Summary
66 passed (22.1s)
|
π Playwright Run Summary
69 passed (28.2s)
|
π Playwright Run Summary
66 passed (21.9s)
|
π Playwright Run Summary
69 passed (31.5s)
|
π Playwright Run Summary
66 passed (21.5s)
|
π Playwright Run Summary
69 passed (27.3s)
|
π Playwright Run Summary
66 passed (21.2s)
|
π Playwright Run Summary
69 passed (43.0s)
|
π Playwright Run Summary
66 passed (34.8s)
|
π Playwright Run Summary
69 passed (40.0s)
|
π Playwright Run Summary
66 passed (34.9s)
|
π Playwright Run Summary
69 passed (39.5s)
|
π Playwright Run Summary
66 passed (33.2s)
|
π Playwright Run Summary
69 passed (43.9s)
|
π Playwright Run Summary
66 passed (33.3s)
|
π Playwright Run Summary
69 passed (39.5s)
|
π Playwright Run Summary
66 passed (28.9s)
|
π Playwright Run Summary
69 passed (49.6s)
|
π Playwright Run Summary
66 passed (31.7s)
|