feat(bundler-webpack): add api field in sass-loader option type #461
Annotations
2 errors and 4 notices
e2e/tests/hmr.spec.ts#L53
1) [chromium] › hmr.spec.ts:44: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: "Updated foo"
Received string: "HMR foo"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #rendered-foo + p')
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
- locator resolved to <p>HMR foo</p>
- unexpected value "HMR foo"
51 | await expect(frontmatterLocator).toHaveText('HMR foo')
52 | await hmrUpdateFrontmatter()
> 53 | await expect(frontmatterLocator).toHaveText('Updated foo')
| ^
54 | })
55 |
56 | test('should update title correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:53:38
|
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
|
|
|
|
|
This job succeeded
Loading