test(e2e): add case for importing styles from packages #437
Annotations
3 errors and 1 notice
e2e/tests/imports/style-exports.spec.ts#L8
1) [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
|
|
|
|
This job failed
Loading