Skip to content

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

refactor: upgrade eslint and fix lint and type errors

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

Triggered via pull request August 16, 2024 03:38
Status Success
Total duration 4m 54s
Artifacts

e2e.yml

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

Annotations

3 errors and 72 notices
[chromium] β€Ί hmr.spec.ts:44:3 β€Ί should update frontmatter correctly: e2e/tests/hmr.spec.ts#L53
1) [chromium] β€Ί hmr.spec.ts:44:3 β€Ί should update frontmatter correctly ─────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-content #rendered-foo + p') Expected string: "Updated foo" Received string: "HMR foo" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-content #rendered-foo + p') - locator resolved to <p>HMR foo</p> - unexpected value "HMR foo" - locator resolved to <p>HMR foo</p> - unexpected value "HMR foo" - locator resolved to <p>HMR foo</p> - unexpected value "HMR foo" - locator resolved to <p>HMR foo</p> - unexpected value "HMR foo" - locator resolved to <p>HMR foo</p> - unexpected value "HMR foo" - locator resolved to <p>HMR foo</p> - unexpected value "HMR foo" - locator resolved to <p>HMR foo</p> - unexpected value "HMR foo" - locator resolved to <p>HMR foo</p> - unexpected value "HMR foo" - locator resolved to <p>HMR foo</p> - unexpected value "HMR foo" 51 | await expect(frontmatterLocator).toHaveText('HMR foo') 52 | await hmrUpdateFrontmatter() > 53 | await expect(frontmatterLocator).toHaveText('Updated foo') | ^ 54 | }) 55 | 56 | test('should update title correctly', async ({ page }) => { at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:53:38
[chromium] β€Ί imports/style-exports.spec.ts:3:1 β€Ί should load dynamic imported styles correctly: e2e/tests/imports/style-exports.spec.ts#L8
2) [chromium] β€Ί imports/style-exports.spec.ts:3:1 β€Ί should load dynamic imported styles correctly Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.style-exports') Expected string: "dynamic import" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.style-exports') 6 | const locator = page.locator('.style-exports') 7 | > 8 | await expect(locator).toHaveText('dynamic import') | ^ 9 | await expect(locator).toHaveCSS('font-size', '20px') 10 | }) 11 | at /Users/runner/work/core/core/e2e/tests/imports/style-exports.spec.ts:8:25
[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: "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" 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 /home/runner/work/core/core/e2e/tests/hmr.spec.ts:77:24
🎭 Playwright Run Summary
69 passed (20.0s)
🎭 Playwright Run Summary
66 passed (16.0s)
🎭 Playwright Run Summary
69 passed (20.4s)
🎭 Playwright Run Summary
66 passed (15.9s)
🎭 Playwright Run Summary
69 passed (20.5s)
🎭 Playwright Run Summary
66 passed (14.8s)
🎭 Playwright Run Summary
69 passed (19.7s)
🎭 Playwright Run Summary
66 passed (14.7s)
🎭 Playwright Run Summary
69 passed (19.8s)
🎭 Playwright Run Summary
66 passed (16.0s)
🎭 Playwright Run Summary
69 passed (21.9s)
🎭 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 (24.4s)
🎭 Playwright Run Summary
66 passed (17.2s)
🎭 Playwright Run Summary
69 passed (24.0s)
🎭 Playwright Run Summary
66 passed (20.8s)
🎭 Playwright Run Summary
69 passed (26.0s)
🎭 Playwright Run Summary
66 passed (20.8s)
🎭 Playwright Run Summary
2 flaky [chromium] β€Ί hmr.spec.ts:44:3 β€Ί should update frontmatter correctly ──────────────────────────── [chromium] β€Ί imports/style-exports.spec.ts:3:1 β€Ί should load dynamic imported styles correctly ─ 67 passed (33.1s)
🎭 Playwright Run Summary
66 passed (20.8s)
🎭 Playwright Run Summary
69 passed (23.3s)
🎭 Playwright Run Summary
66 passed (15.1s)
🎭 Playwright Run Summary
69 passed (20.9s)
🎭 Playwright Run Summary
66 passed (16.3s)
🎭 Playwright Run Summary
69 passed (25.0s)
🎭 Playwright Run Summary
66 passed (17.5s)
🎭 Playwright Run Summary
69 passed (28.0s)
🎭 Playwright Run Summary
66 passed (23.7s)
🎭 Playwright Run Summary
69 passed (29.2s)
🎭 Playwright Run Summary
66 passed (23.6s)
🎭 Playwright Run Summary
69 passed (29.8s)
🎭 Playwright Run Summary
66 passed (25.2s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation ─ 68 passed (36.4s)
🎭 Playwright Run Summary
66 passed (25.3s)
🎭 Playwright Run Summary
69 passed (30.3s)
🎭 Playwright Run Summary
66 passed (25.0s)
🎭 Playwright Run Summary
69 passed (29.6s)
🎭 Playwright Run Summary
66 passed (26.0s)
🎭 Playwright Run Summary
69 passed (33.6s)
🎭 Playwright Run Summary
66 passed (26.0s)
🎭 Playwright Run Summary
69 passed (28.1s)
🎭 Playwright Run Summary
66 passed (25.5s)
🎭 Playwright Run Summary
69 passed (30.6s)
🎭 Playwright Run Summary
66 passed (22.1s)
🎭 Playwright Run Summary
69 passed (26.8s)
🎭 Playwright Run Summary
66 passed (21.3s)
🎭 Playwright Run Summary
69 passed (27.7s)
🎭 Playwright Run Summary
66 passed (21.5s)
🎭 Playwright Run Summary
69 passed (30.9s)
🎭 Playwright Run Summary
66 passed (21.5s)
🎭 Playwright Run Summary
69 passed (30.7s)
🎭 Playwright Run Summary
66 passed (21.4s)
🎭 Playwright Run Summary
69 passed (27.2s)
🎭 Playwright Run Summary
66 passed (21.6s)
🎭 Playwright Run Summary
69 passed (41.2s)
🎭 Playwright Run Summary
66 passed (36.1s)
🎭 Playwright Run Summary
69 passed (43.1s)
🎭 Playwright Run Summary
66 passed (36.0s)
🎭 Playwright Run Summary
69 passed (42.6s)
🎭 Playwright Run Summary
66 passed (35.3s)
🎭 Playwright Run Summary
69 passed (41.7s)
🎭 Playwright Run Summary
66 passed (36.6s)
🎭 Playwright Run Summary
69 passed (23.4s)
🎭 Playwright Run Summary
66 passed (18.4s)
🎭 Playwright Run Summary
69 passed (25.6s)
🎭 Playwright Run Summary
66 passed (19.9s)
🎭 Playwright Run Summary
69 passed (39.9s)
🎭 Playwright Run Summary
66 passed (33.3s)
🎭 Playwright Run Summary
69 passed (43.6s)
🎭 Playwright Run Summary
66 passed (33.4s)