feat(core): allow non-default-export client config file #405
Annotations
5 errors and 1 notice
E2E test (base /):
e2e/tests/client-config/no-export.spec.ts#L8
1) [chromium] › client-config/no-export.spec.ts:3:1 › should import styles in client config file not exports
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('#title')
Expected string: "32px"
Received: <element(s) not found>
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('#title')
6 | await page.goto('markdown/anchor.html', { waitUntil: 'domcontentloaded' })
7 |
> 8 | await expect(page.locator('#title')).toHaveCSS('font-size', '32px')
| ^
9 | })
10 |
at /Users/runner/work/core/core/e2e/tests/client-config/no-export.spec.ts:8:40
|
E2E test (base /):
e2e/tests/client-config/no-export.spec.ts#L8
1) [chromium] › client-config/no-export.spec.ts:3:1 › should import styles in client config file not exports
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('#title')
Expected string: "32px"
Received: <element(s) not found>
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('#title')
6 | await page.goto('markdown/anchor.html', { waitUntil: 'domcontentloaded' })
7 |
> 8 | await expect(page.locator('#title')).toHaveCSS('font-size', '32px')
| ^
9 | })
10 |
at /Users/runner/work/core/core/e2e/tests/client-config/no-export.spec.ts:8:40
|
E2E test (base /):
e2e/tests/client-config/no-export.spec.ts#L8
1) [chromium] › client-config/no-export.spec.ts:3:1 › should import styles in client config file not exports
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('#title')
Expected string: "32px"
Received: <element(s) not found>
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('#title')
6 | await page.goto('markdown/anchor.html', { waitUntil: 'domcontentloaded' })
7 |
> 8 | await expect(page.locator('#title')).toHaveCSS('font-size', '32px')
| ^
9 | })
10 |
at /Users/runner/work/core/core/e2e/tests/client-config/no-export.spec.ts:8:40
|
E2E test (base /):
e2e/tests/imports/conditional-exports.spec.ts#L7
2) [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
|
E2E test (base /)
Process completed with exit code 1.
|
E2E test (base /)
1 failed
[chromium] › client-config/no-export.spec.ts:3:1 › should import styles in client config file not exports
1 flaky
[chromium] › imports/conditional-exports.spec.ts:4:1 › should load different files correctly ───
47 passed (41.2s)
|
Loading