feat(utils): sync latest sanitizeFileName logic from rollup #545
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)
|