Skip to content

feat(markdown): support single line code import syntax (close #1355) #444

feat(markdown): support single line code import syntax (close #1355)

feat(markdown): support single line code import syntax (close #1355) #444

Triggered via push June 19, 2024 12:27
Status Success
Total duration 6m 40s
Artifacts

e2e.yml

on: push
Matrix: e2e
e2e result
0s
e2e result
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 72 notices
[chromium] › hmr.spec.ts:68:3 › should update title and frontmatter correctly after navigation: 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
[chromium] › imports/conditional-exports.spec.ts:4:1 › should load different files correctly: 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
[chromium] › hmr.spec.ts:44:3 › should update frontmatter correctly: 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
[chromium] › hmr.spec.ts:56:3 › should update title correctly: e2e/tests/hmr.spec.ts#L61
2) [chromium] › hmr.spec.ts:56:3 › should update title correctly ───────────────────────────────── 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 "" 59 | await page.goto('hmr/title.html') 60 | > 61 | await expect(page).toHaveTitle(/HMR Title/) | ^ 62 | await expect(titleLocator).toHaveText('HMR Title') 63 | await hmrUpdateTitle() 64 | await expect(page).toHaveTitle(/Updated Title/) at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:61:24
[chromium] › hmr.spec.ts:56:3 › should update title correctly: e2e/tests/hmr.spec.ts#L61
1) [chromium] › hmr.spec.ts:56:3 › should update title correctly ───────────────────────────────── 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 "" 59 | await page.goto('hmr/title.html') 60 | > 61 | await expect(page).toHaveTitle(/HMR Title/) | ^ 62 | await expect(titleLocator).toHaveText('HMR Title') 63 | await hmrUpdateTitle() 64 | await expect(page).toHaveTitle(/Updated Title/) at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:61:24
🎭 Playwright Run Summary
69 passed (22.0s)
🎭 Playwright Run Summary
66 passed (14.8s)
🎭 Playwright Run Summary
69 passed (19.9s)
🎭 Playwright Run Summary
66 passed (14.8s)
🎭 Playwright Run Summary
69 passed (19.9s)
🎭 Playwright Run Summary
66 passed (15.9s)
🎭 Playwright Run Summary
69 passed (20.9s)
🎭 Playwright Run Summary
66 passed (15.7s)
🎭 Playwright Run Summary
69 passed (20.0s)
🎭 Playwright Run Summary
66 passed (15.8s)
🎭 Playwright Run Summary
69 passed (22.4s)
🎭 Playwright Run Summary
66 passed (15.9s)
🎭 Playwright Run Summary
69 passed (27.6s)
🎭 Playwright Run Summary
66 passed (21.3s)
🎭 Playwright Run Summary
69 passed (28.3s)
🎭 Playwright Run Summary
66 passed (21.6s)
🎭 Playwright Run Summary
69 passed (29.0s)
🎭 Playwright Run Summary
66 passed (22.9s)
🎭 Playwright Run Summary
69 passed (29.7s)
🎭 Playwright Run Summary
66 passed (23.0s)
🎭 Playwright Run Summary
69 passed (31.1s)
🎭 Playwright Run Summary
66 passed (23.4s)
🎭 Playwright Run Summary
69 passed (30.0s)
🎭 Playwright Run Summary
66 passed (24.2s)
🎭 Playwright Run Summary
2 flaky [chromium] › hmr.spec.ts:68:3 › should update title and frontmatter correctly after navigation ─ [chromium] › imports/conditional-exports.spec.ts:4:1 › should load different files correctly ─── 67 passed (27.9s)
🎭 Playwright Run Summary
66 passed (12.4s)
🎭 Playwright Run Summary
69 passed (19.3s)
🎭 Playwright Run Summary
66 passed (13.5s)
🎭 Playwright Run Summary
69 passed (33.3s)
🎭 Playwright Run Summary
66 passed (21.8s)
🎭 Playwright Run Summary
69 passed (27.1s)
🎭 Playwright Run Summary
66 passed (21.5s)
🎭 Playwright Run Summary
69 passed (26.5s)
🎭 Playwright Run Summary
66 passed (21.2s)
🎭 Playwright Run Summary
69 passed (32.5s)
🎭 Playwright Run Summary
66 passed (21.3s)
🎭 Playwright Run Summary
69 passed (22.1s)
🎭 Playwright Run Summary
66 passed (14.7s)
🎭 Playwright Run Summary
2 flaky [chromium] › hmr.spec.ts:44:3 › should update frontmatter correctly ──────────────────────────── [chromium] › hmr.spec.ts:56:3 › should update title correctly ────────────────────────────────── 67 passed (32.1s)
🎭 Playwright Run Summary
66 passed (12.4s)
🎭 Playwright Run Summary
69 passed (32.8s)
🎭 Playwright Run Summary
66 passed (23.8s)
🎭 Playwright Run Summary
69 passed (29.8s)
🎭 Playwright Run Summary
66 passed (23.6s)
🎭 Playwright Run Summary
69 passed (44.0s)
🎭 Playwright Run Summary
66 passed (42.4s)
🎭 Playwright Run Summary
1 flaky [chromium] › hmr.spec.ts:56:3 › should update title correctly ────────────────────────────────── 68 passed (37.7s)
🎭 Playwright Run Summary
66 passed (26.3s)
🎭 Playwright Run Summary
69 passed (30.0s)
🎭 Playwright Run Summary
66 passed (20.9s)
🎭 Playwright Run Summary
69 passed (26.6s)
🎭 Playwright Run Summary
66 passed (20.1s)
🎭 Playwright Run Summary
69 passed (48.1s)
🎭 Playwright Run Summary
66 passed (32.9s)
🎭 Playwright Run Summary
69 passed (41.7s)
🎭 Playwright Run Summary
66 passed (30.8s)
🎭 Playwright Run Summary
69 passed (41.0s)
🎭 Playwright Run Summary
66 passed (31.7s)
🎭 Playwright Run Summary
69 passed (48.8s)
🎭 Playwright Run Summary
66 passed (32.9s)
🎭 Playwright Run Summary
69 passed (20.8s)
🎭 Playwright Run Summary
66 passed (15.7s)
🎭 Playwright Run Summary
69 passed (24.3s)
🎭 Playwright Run Summary
66 passed (15.9s)
🎭 Playwright Run Summary
69 passed (41.9s)
🎭 Playwright Run Summary
66 passed (30.5s)
🎭 Playwright Run Summary
69 passed (43.2s)
🎭 Playwright Run Summary
66 passed (30.4s)
🎭 Playwright Run Summary
69 passed (1.2m)
🎭 Playwright Run Summary
66 passed (58.4s)
🎭 Playwright Run Summary
69 passed (1.3m)
🎭 Playwright Run Summary
66 passed (52.1s)