Skip to content

feat(utils): sync latest sanitizeFileName logic from rollup #545

feat(utils): sync latest sanitizeFileName logic from rollup

feat(utils): sync latest sanitizeFileName logic from rollup #545

Triggered via pull request October 9, 2024 17:47
Status Success
Total duration 6m 42s
Artifacts

e2e.yml

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

Annotations

7 errors and 72 notices
[chromium] β€Ί hmr.spec.ts:57:3 β€Ί should update content correctly: e2e/tests/hmr.spec.ts#L62
1) [chromium] β€Ί hmr.spec.ts:57:3 β€Ί should update content correctly ─────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-content #content + p') Expected string: "HMR content" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-content #content + p') 60 | await page.goto('hmr/content.html') 61 | > 62 | await expect(contentLocator).toHaveText('HMR content') | ^ 63 | await hmrUpdateContent() 64 | await expect(contentLocator).toHaveText('Updated content') 65 | }) at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:62:34
[chromium] β€Ί hmr.spec.ts:57:3 β€Ί should update content correctly: e2e/tests/hmr.spec.ts#L64
1) [chromium] β€Ί hmr.spec.ts:57:3 β€Ί should update content correctly ─────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.e2e-theme-content #content + p') Expected string: "Updated content" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-content #content + p') - locator resolved to <p>HMR content</p> - unexpected value "HMR content" - locator resolved to <p>HMR content</p> - unexpected value "HMR content" 62 | await expect(contentLocator).toHaveText('HMR content') 63 | await hmrUpdateContent() > 64 | await expect(contentLocator).toHaveText('Updated content') | ^ 65 | }) 66 | 67 | test('should update frontmatter correctly', async ({ page }) => { at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
[chromium] β€Ί hmr.spec.ts:67:3 β€Ί should update frontmatter correctly: e2e/tests/hmr.spec.ts#L74
1) [chromium] β€Ί hmr.spec.ts:67: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: "HMR foo" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.e2e-theme-content #rendered-foo + p') 72 | await page.goto('hmr/frontmatter.html') 73 | > 74 | await expect(frontmatterLocator).toHaveText('HMR foo') | ^ 75 | await hmrUpdateFrontmatter() 76 | await expect(frontmatterLocator).toHaveText('Updated foo') 77 | }) at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:74:38
[chromium] β€Ί router\navigate-by-router.spec.ts:8:1 β€Ί should navigate to home correctly: e2e\tests\router\navigate-by-router.spec.ts#L10
1) [chromium] β€Ί router\navigate-by-router.spec.ts:8:1 β€Ί should navigate to home correctly ──────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/e2e/" Received string: "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" 8 | test('should navigate to home correctly', async ({ page }) => { 9 | await page.locator('#home').click() > 10 | await expect(page).toHaveURL(BASE) | ^ 11 | await expect(page.locator('#home-h2')).toHaveText('Home H2') 12 | }) 13 | at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:10:22
[chromium] β€Ί router\navigate-by-router.spec.ts:8:1 β€Ί should navigate to home correctly: e2e\tests\router\navigate-by-router.spec.ts#L10
1) [chromium] β€Ί router\navigate-by-router.spec.ts:8:1 β€Ί should navigate to home correctly ──────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/e2e/" Received string: "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/e2e/router/navigate-by-router.html" 8 | test('should navigate to home correctly', async ({ page }) => { 9 | await page.locator('#home').click() > 10 | await expect(page).toHaveURL(BASE) | ^ 11 | await expect(page.locator('#home-h2')).toHaveText('Home H2') 12 | }) 13 | at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:10:22
[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] β€Ί router\navigate-by-router.spec.ts:20:1 β€Ί should preserve query: e2e\tests\router\navigate-by-router.spec.ts#L22
1) [chromium] β€Ί router\navigate-by-router.spec.ts:20:1 β€Ί should preserve query ─────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/?home=true" Received string: "http://127.0.0.1:9080/router/navigate-by-router.html" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/router/navigate-by-router.html" 20 | test('should preserve query', async ({ page }) => { 21 | await page.locator('#home-with-query').click() > 22 | await expect(page).toHaveURL(`${BASE}?home=true`) | ^ 23 | await expect(page.locator('#home-h2')).toHaveText('Home H2') 24 | }) 25 | at D:\a\core\core\e2e\tests\router\navigate-by-router.spec.ts:22:22
🎭 Playwright Run Summary
71 passed (24.3s)
🎭 Playwright Run Summary
67 passed (16.9s)
🎭 Playwright Run Summary
71 passed (24.7s)
🎭 Playwright Run Summary
67 passed (16.9s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί hmr.spec.ts:57:3 β€Ί should update content correctly ──────────────────────────────── 70 passed (30.4s)
🎭 Playwright Run Summary
67 passed (16.7s)
🎭 Playwright Run Summary
71 passed (24.1s)
🎭 Playwright Run Summary
67 passed (16.7s)
🎭 Playwright Run Summary
71 passed (24.1s)
🎭 Playwright Run Summary
67 passed (16.9s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί hmr.spec.ts:57:3 β€Ί should update content correctly ──────────────────────────────── 70 passed (30.6s)
🎭 Playwright Run Summary
67 passed (16.9s)
🎭 Playwright Run Summary
71 passed (25.5s)
🎭 Playwright Run Summary
67 passed (16.7s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί hmr.spec.ts:67:3 β€Ί should update frontmatter correctly ──────────────────────────── 70 passed (33.2s)
🎭 Playwright Run Summary
67 passed (17.5s)
🎭 Playwright Run Summary
71 passed (29.0s)
🎭 Playwright Run Summary
67 passed (22.1s)
🎭 Playwright Run Summary
71 passed (37.0s)
🎭 Playwright Run Summary
67 passed (23.6s)
🎭 Playwright Run Summary
71 passed (35.4s)
🎭 Playwright Run Summary
67 passed (25.4s)
🎭 Playwright Run Summary
71 passed (35.5s)
🎭 Playwright Run Summary
67 passed (25.4s)
🎭 Playwright Run Summary
71 passed (36.5s)
🎭 Playwright Run Summary
67 passed (25.3s)
🎭 Playwright Run Summary
71 passed (36.5s)
🎭 Playwright Run Summary
67 passed (25.8s)
🎭 Playwright Run Summary
71 passed (37.2s)
🎭 Playwright Run Summary
67 passed (26.5s)
🎭 Playwright Run Summary
71 passed (36.7s)
🎭 Playwright Run Summary
67 passed (26.9s)
🎭 Playwright Run Summary
71 passed (31.3s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί router\navigate-by-router.spec.ts:8:1 β€Ί should navigate to home correctly ───────── 66 passed (30.0s)
🎭 Playwright Run Summary
71 passed (39.5s)
🎭 Playwright Run Summary
67 passed (23.5s)
🎭 Playwright Run Summary
71 passed (26.9s)
🎭 Playwright Run Summary
67 passed (21.6s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί imports/conditional-exports.spec.ts:4:1 β€Ί should load different files correctly ─── 70 passed (40.3s)
🎭 Playwright Run Summary
67 passed (17.4s)
🎭 Playwright Run Summary
71 passed (48.0s)
🎭 Playwright Run Summary
67 passed (37.3s)
🎭 Playwright Run Summary
71 passed (54.4s)
🎭 Playwright Run Summary
67 passed (38.6s)
🎭 Playwright Run Summary
71 passed (28.1s)
🎭 Playwright Run Summary
67 passed (20.7s)
🎭 Playwright Run Summary
71 passed (26.5s)
🎭 Playwright Run Summary
67 passed (19.7s)
🎭 Playwright Run Summary
71 passed (32.6s)
🎭 Playwright Run Summary
67 passed (21.9s)
🎭 Playwright Run Summary
71 passed (30.8s)
🎭 Playwright Run Summary
67 passed (21.9s)
🎭 Playwright Run Summary
71 passed (35.2s)
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί router\navigate-by-router.spec.ts:20:1 β€Ί should preserve query ──────────────────── 66 passed (24.8s)
🎭 Playwright Run Summary
71 passed (30.5s)
🎭 Playwright Run Summary
67 passed (23.2s)
🎭 Playwright Run Summary
71 passed (50.5s)
🎭 Playwright Run Summary
67 passed (30.6s)
🎭 Playwright Run Summary
71 passed (43.0s)
🎭 Playwright Run Summary
67 passed (36.0s)
🎭 Playwright Run Summary
71 passed (30.1s)
🎭 Playwright Run Summary
67 passed (21.4s)
🎭 Playwright Run Summary
71 passed (38.7s)
🎭 Playwright Run Summary
67 passed (26.4s)
🎭 Playwright Run Summary
71 passed (53.4s)
🎭 Playwright Run Summary
67 passed (37.3s)
🎭 Playwright Run Summary
71 passed (46.7s)
🎭 Playwright Run Summary
67 passed (36.3s)
🎭 Playwright Run Summary
71 passed (47.0s)
🎭 Playwright Run Summary
67 passed (36.3s)
🎭 Playwright Run Summary
71 passed (46.9s)
🎭 Playwright Run Summary
67 passed (36.2s)