feat(markdown): support single line code import syntax (close #1355) #444
Annotations
2 errors and 4 notices
e2e/tests/hmr.spec.ts#L82
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: /Updated Title/
Received string: "HMR Title | VuePress E2E"
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">…</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "HMR Title | VuePress E2E"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "HMR Title | VuePress E2E"
80 | // update title page
81 | await hmrUpdateTitle()
> 82 | await expect(page).toHaveTitle(/Updated Title/)
| ^
83 | await expect(titleLocator).toHaveText('Updated Title')
84 |
85 | // navigate to frontmatter page
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:82:24
|
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
|
|
|
|
|
This job succeeded
Loading