Skip to content

refactor: upgrade eslint and fix lint and type errors #484

refactor: upgrade eslint and fix lint and type errors

refactor: upgrade eslint and fix lint and type errors #484

Triggered via pull request August 16, 2024 04:05
Status Failure
Total duration 5m 26s
Artifacts

e2e.yml

on: pull_request
Matrix: e2e
e2e result
0s
e2e result
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 71 notices
[chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation: e2e/tests/hmr.spec.ts#L77
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: /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 "" 75 | 76 | await page.goto('hmr/title.html') > 77 | await expect(page).toHaveTitle(/HMR Title/) | ^ 78 | await expect(titleLocator).toHaveText('HMR Title') 79 | 80 | // update title page at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:77:24
[chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation: e2e/tests/hmr.spec.ts#L77
1) [chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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 "" 75 | 76 | await page.goto('hmr/title.html') > 77 | await expect(page).toHaveTitle(/HMR Title/) | ^ 78 | await expect(titleLocator).toHaveText('HMR Title') 79 | 80 | // update title page at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:77:24
[chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation: e2e/tests/hmr.spec.ts#L77
1) [chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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 "" 75 | 76 | await page.goto('hmr/title.html') > 77 | await expect(page).toHaveTitle(/HMR Title/) | ^ 78 | await expect(titleLocator).toHaveText('HMR Title') 79 | 80 | // update title page at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:77:24
e2e (macos-latest, 20, vite)
Process completed with exit code 1.
[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: "VuePress E2E" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - 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" - locator resolved to <html lang="en-US">…</html> - unexpected value "VuePress E2E" - locator resolved to <html lang="en-US">…</html> - unexpected value "VuePress E2E" 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 /home/runner/work/core/core/e2e/tests/hmr.spec.ts:61:24
[chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation: e2e/tests/hmr.spec.ts#L77
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: /HMR Title/ Received string: "Updated Title | VuePress E2E" 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-US">…</html> - unexpected value "Updated Title | VuePress E2E" - locator resolved to <html lang="en-US">…</html> - unexpected value "Updated Title | VuePress E2E" - locator resolved to <html lang="en-US">…</html> - unexpected value "Updated Title | VuePress E2E" - locator resolved to <html lang="en-US">…</html> - unexpected value "Updated Title | VuePress E2E" - locator resolved to <html lang="en-US">…</html> - unexpected value "Updated Title | VuePress E2E" - locator resolved to <html lang="en-US">…</html> - unexpected value "Updated Title | VuePress E2E" - locator resolved to <html lang="en-US">…</html> - unexpected value "Updated Title | VuePress E2E" 75 | 76 | await page.goto('hmr/title.html') > 77 | await expect(page).toHaveTitle(/HMR Title/) | ^ 78 | await expect(titleLocator).toHaveText('HMR Title') 79 | 80 | // update title page at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:77:24
e2e result
Process completed with exit code 1.
🎭 Playwright Run Summary
69 passed (19.3s)
🎭 Playwright Run Summary
66 passed (14.6s)
🎭 Playwright Run Summary
69 passed (19.9s)
🎭 Playwright Run Summary
66 passed (14.6s)
🎭 Playwright Run Summary
69 passed (19.8s)
🎭 Playwright Run Summary
66 passed (14.5s)
🎭 Playwright Run Summary
69 passed (19.7s)
🎭 Playwright Run Summary
66 passed (14.5s)
🎭 Playwright Run Summary
69 passed (20.9s)
🎭 Playwright Run Summary
66 passed (15.9s)
🎭 Playwright Run Summary
69 passed (23.8s)
🎭 Playwright Run Summary
66 passed (16.5s)
🎭 Playwright Run Summary
69 passed (19.8s)
🎭 Playwright Run Summary
66 passed (16.0s)
🎭 Playwright Run Summary
69 passed (20.3s)
🎭 Playwright Run Summary
66 passed (15.8s)
🎭 Playwright Run Summary
69 passed (25.7s)
🎭 Playwright Run Summary
66 passed (21.5s)
🎭 Playwright Run Summary
69 passed (29.3s)
🎭 Playwright Run Summary
66 passed (22.8s)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation ─ 68 passed (35.5s)
🎭 Playwright Run Summary
69 passed (22.1s)
🎭 Playwright Run Summary
66 passed (15.2s)
🎭 Playwright Run Summary
69 passed (28.8s)
🎭 Playwright Run Summary
66 passed (24.9s)
🎭 Playwright Run Summary
69 passed (29.5s)
🎭 Playwright Run Summary
66 passed (24.9s)
🎭 Playwright Run Summary
69 passed (30.4s)
🎭 Playwright Run Summary
66 passed (26.0s)
🎭 Playwright Run Summary
69 passed (30.0s)
🎭 Playwright Run Summary
66 passed (26.1s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί hmr.spec.ts:56:3 β€Ί should update title correctly ────────────────────────────────── 68 passed (34.7s)
🎭 Playwright Run Summary
66 passed (23.8s)
🎭 Playwright Run Summary
69 passed (29.1s)
🎭 Playwright Run Summary
66 passed (23.9s)
🎭 Playwright Run Summary
69 passed (25.3s)
🎭 Playwright Run Summary
66 passed (20.3s)
🎭 Playwright Run Summary
69 passed (23.8s)
🎭 Playwright Run Summary
66 passed (20.8s)
🎭 Playwright Run Summary
69 passed (27.4s)
🎭 Playwright Run Summary
66 passed (21.5s)
🎭 Playwright Run Summary
69 passed (32.0s)
🎭 Playwright Run Summary
66 passed (21.8s)
🎭 Playwright Run Summary
69 passed (22.2s)
🎭 Playwright Run Summary
66 passed (15.7s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation ─ 68 passed (37.3s)
🎭 Playwright Run Summary
66 passed (17.8s)
🎭 Playwright Run Summary
69 passed (27.5s)
🎭 Playwright Run Summary
66 passed (21.0s)
🎭 Playwright Run Summary
69 passed (26.2s)
🎭 Playwright Run Summary
66 passed (21.2s)
🎭 Playwright Run Summary
69 passed (30.1s)
🎭 Playwright Run Summary
66 passed (21.4s)
🎭 Playwright Run Summary
69 passed (27.3s)
🎭 Playwright Run Summary
66 passed (21.5s)
🎭 Playwright Run Summary
69 passed (40.9s)
🎭 Playwright Run Summary
66 passed (36.1s)
🎭 Playwright Run Summary
69 passed (44.1s)
🎭 Playwright Run Summary
66 passed (36.0s)
🎭 Playwright Run Summary
69 passed (23.7s)
🎭 Playwright Run Summary
66 passed (20.2s)
🎭 Playwright Run Summary
69 passed (27.5s)
🎭 Playwright Run Summary
66 passed (20.3s)
🎭 Playwright Run Summary
69 passed (41.7s)
🎭 Playwright Run Summary
66 passed (35.3s)
🎭 Playwright Run Summary
69 passed (39.5s)
🎭 Playwright Run Summary
66 passed (34.5s)
🎭 Playwright Run Summary
69 passed (39.4s)
🎭 Playwright Run Summary
66 passed (33.4s)
🎭 Playwright Run Summary
69 passed (41.0s)
🎭 Playwright Run Summary
66 passed (33.1s)