Skip to content

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

refactor: upgrade eslint and fix lint and type errors

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

Triggered via pull request August 15, 2024 15:01
Status Success
Total duration 6m 16s
Artifacts

e2e.yml

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

Annotations

2 errors and 72 notices
[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
[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
🎭 Playwright Run Summary
69 passed (19.8s)
🎭 Playwright Run Summary
66 passed (15.9s)
🎭 Playwright Run Summary
69 passed (20.6s)
🎭 Playwright Run Summary
66 passed (15.9s)
🎭 Playwright Run Summary
69 passed (21.2s)
🎭 Playwright Run Summary
66 passed (14.7s)
🎭 Playwright Run Summary
69 passed (19.6s)
🎭 Playwright Run Summary
66 passed (14.8s)
🎭 Playwright Run Summary
69 passed (21.3s)
🎭 Playwright Run Summary
66 passed (16.6s)
🎭 Playwright Run Summary
69 passed (21.0s)
🎭 Playwright Run Summary
66 passed (16.5s)
🎭 Playwright Run Summary
69 passed (28.8s)
🎭 Playwright Run Summary
66 passed (23.9s)
🎭 Playwright Run Summary
69 passed (28.5s)
🎭 Playwright Run Summary
66 passed (23.7s)
🎭 Playwright Run Summary
69 passed (29.6s)
🎭 Playwright Run Summary
66 passed (25.4s)
🎭 Playwright Run Summary
69 passed (30.2s)
🎭 Playwright Run Summary
66 passed (25.2s)
🎭 Playwright Run Summary
69 passed (23.9s)
🎭 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 (34.7s)
🎭 Playwright Run Summary
66 passed (20.9s)
🎭 Playwright Run Summary
69 passed (30.3s)
🎭 Playwright Run Summary
66 passed (26.3s)
🎭 Playwright Run Summary
69 passed (29.9s)
🎭 Playwright Run Summary
66 passed (26.2s)
🎭 Playwright Run Summary
69 passed (25.8s)
🎭 Playwright Run Summary
66 passed (22.6s)
🎭 Playwright Run Summary
69 passed (39.2s)
🎭 Playwright Run Summary
66 passed (23.0s)
🎭 Playwright Run Summary
69 passed (20.0s)
🎭 Playwright Run Summary
66 passed (15.1s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί hmr.spec.ts:68:3 β€Ί should update title and frontmatter correctly after navigation ─ 68 passed (26.6s)
🎭 Playwright Run Summary
66 passed (15.2s)
🎭 Playwright Run Summary
69 passed (26.6s)
🎭 Playwright Run Summary
66 passed (21.1s)
🎭 Playwright Run Summary
69 passed (30.4s)
🎭 Playwright Run Summary
66 passed (21.4s)
🎭 Playwright Run Summary
69 passed (32.6s)
🎭 Playwright Run Summary
66 passed (21.4s)
🎭 Playwright Run Summary
69 passed (26.9s)
🎭 Playwright Run Summary
66 passed (21.3s)
🎭 Playwright Run Summary
69 passed (28.1s)
🎭 Playwright Run Summary
66 passed (21.3s)
🎭 Playwright Run Summary
69 passed (25.3s)
🎭 Playwright Run Summary
66 passed (21.2s)
🎭 Playwright Run Summary
69 passed (40.7s)
🎭 Playwright Run Summary
66 passed (35.6s)
🎭 Playwright Run Summary
69 passed (42.2s)
🎭 Playwright Run Summary
66 passed (35.7s)
🎭 Playwright Run Summary
69 passed (22.0s)
🎭 Playwright Run Summary
66 passed (17.2s)
🎭 Playwright Run Summary
69 passed (23.6s)
🎭 Playwright Run Summary
66 passed (17.3s)
🎭 Playwright Run Summary
69 passed (29.8s)
🎭 Playwright Run Summary
66 passed (20.9s)
🎭 Playwright Run Summary
69 passed (26.6s)
🎭 Playwright Run Summary
66 passed (21.0s)
🎭 Playwright Run Summary
69 passed (41.8s)
🎭 Playwright Run Summary
66 passed (35.2s)
🎭 Playwright Run Summary
69 passed (40.8s)
🎭 Playwright Run Summary
66 passed (35.2s)
🎭 Playwright Run Summary
69 passed (40.8s)
🎭 Playwright Run Summary
66 passed (34.6s)
🎭 Playwright Run Summary
69 passed (42.6s)
🎭 Playwright Run Summary
66 passed (34.6s)
🎭 Playwright Run Summary
69 passed (30.3s)
🎭 Playwright Run Summary
66 passed (23.2s)
🎭 Playwright Run Summary
69 passed (38.9s)
🎭 Playwright Run Summary
66 passed (25.9s)