test(e2e): add more test cases for hmr #505
Annotations
4 errors and 72 notices
[chromium] βΊ hmr.spec.ts:67:3 βΊ should update frontmatter correctly:
e2e/tests/hmr.spec.ts#L76
1) [chromium] βΊ hmr.spec.ts:67: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"
74 | await expect(frontmatterLocator).toHaveText('HMR foo')
75 | await hmrUpdateFrontmatter()
> 76 | await expect(frontmatterLocator).toHaveText('Updated foo')
| ^
77 | })
78 |
79 | test('should update title correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:76:38
|
[chromium] βΊ hmr.spec.ts:67:3 βΊ should update frontmatter correctly:
e2e/tests/hmr.spec.ts#L74
1) [chromium] βΊ hmr.spec.ts:67:3 βΊ should update frontmatter correctly βββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #rendered-foo + p')
Expected string: "HMR foo"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #rendered-foo + p')
72 | await page.goto('hmr/frontmatter.html')
73 |
> 74 | await expect(frontmatterLocator).toHaveText('HMR foo')
| ^
75 | await hmrUpdateFrontmatter()
76 | await expect(frontmatterLocator).toHaveText('Updated foo')
77 | })
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:74:38
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L122
1) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /HMR Title/
Received string: "Updated Title | VuePress E2E"
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-US">β¦</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "Updated Title | VuePress E2E"
- locator resolved to <html lang="en-US">β¦</html>
- unexpected value "Updated Title | VuePress E2E"
120 | // start from title page
121 | await page.goto('hmr/title.html')
> 122 | await expect(page).toHaveTitle(/HMR Title/)
| ^
123 | await expect(titleLocator).toHaveText('HMR Title')
124 | await expect(renderedTitleLocator).toHaveText('HMR Title')
125 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:122:24
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L138
1) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #rendered-foo + p')
Expected string: "Updated foo"
Received: <element(s) not found>
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"
136 | // update frontmatter page
137 | await hmrUpdateFrontmatter()
> 138 | await expect(frontmatterLocator).toHaveText('Updated foo')
| ^
139 |
140 | // navigate to content page
141 | await contentPageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:138:38
|
π Playwright Run Summary
71 passed (20.2s)
|
π Playwright Run Summary
67 passed (15.4s)
|
π Playwright Run Summary
71 passed (23.9s)
|
π Playwright Run Summary
67 passed (15.4s)
|
π Playwright Run Summary
71 passed (21.2s)
|
π Playwright Run Summary
67 passed (16.4s)
|
π Playwright Run Summary
71 passed (21.5s)
|
π Playwright Run Summary
67 passed (16.5s)
|
π Playwright Run Summary
71 passed (23.1s)
|
π Playwright Run Summary
67 passed (15.3s)
|
π Playwright Run Summary
71 passed (20.5s)
|
π Playwright Run Summary
67 passed (15.2s)
|
π Playwright Run Summary
71 passed (26.9s)
|
π Playwright Run Summary
67 passed (20.1s)
|
π Playwright Run Summary
71 passed (25.2s)
|
π Playwright Run Summary
67 passed (20.2s)
|
π Playwright Run Summary
71 passed (21.3s)
|
π Playwright Run Summary
67 passed (16.7s)
|
π Playwright Run Summary
71 passed (21.4s)
|
π Playwright Run Summary
67 passed (16.7s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:67:3 βΊ should update frontmatter correctly ββββββββββββββββββββββββββββ
70 passed (33.0s)
|
π Playwright Run Summary
67 passed (15.6s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
70 passed (28.6s)
|
π Playwright Run Summary
67 passed (15.9s)
|
π Playwright Run Summary
71 passed (26.2s)
|
π Playwright Run Summary
67 passed (20.9s)
|
π Playwright Run Summary
71 passed (29.1s)
|
π Playwright Run Summary
67 passed (21.3s)
|
π Playwright Run Summary
71 passed (22.4s)
|
π Playwright Run Summary
67 passed (16.2s)
|
π Playwright Run Summary
71 passed (29.1s)
|
π Playwright Run Summary
67 passed (20.7s)
|
π Playwright Run Summary
71 passed (29.1s)
|
π Playwright Run Summary
67 passed (23.8s)
|
π Playwright Run Summary
71 passed (29.2s)
|
π Playwright Run Summary
67 passed (23.9s)
|
π Playwright Run Summary
71 passed (30.8s)
|
π Playwright Run Summary
67 passed (25.2s)
|
π Playwright Run Summary
71 passed (31.6s)
|
π Playwright Run Summary
67 passed (25.3s)
|
π Playwright Run Summary
1 flaky
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
70 passed (38.9s)
|
π Playwright Run Summary
67 passed (26.4s)
|
π Playwright Run Summary
71 passed (32.4s)
|
π Playwright Run Summary
67 passed (26.5s)
|
π Playwright Run Summary
71 passed (28.7s)
|
π Playwright Run Summary
67 passed (21.4s)
|
π Playwright Run Summary
71 passed (27.1s)
|
π Playwright Run Summary
67 passed (21.2s)
|
π Playwright Run Summary
71 passed (28.6s)
|
π Playwright Run Summary
67 passed (21.9s)
|
π Playwright Run Summary
71 passed (37.5s)
|
π Playwright Run Summary
67 passed (23.2s)
|
π Playwright Run Summary
71 passed (32.7s)
|
π Playwright Run Summary
67 passed (21.9s)
|
π Playwright Run Summary
71 passed (27.3s)
|
π Playwright Run Summary
67 passed (21.6s)
|
π Playwright Run Summary
71 passed (43.1s)
|
π Playwright Run Summary
67 passed (34.9s)
|
π Playwright Run Summary
71 passed (44.6s)
|
π Playwright Run Summary
67 passed (35.3s)
|
π Playwright Run Summary
71 passed (43.8s)
|
π Playwright Run Summary
67 passed (36.3s)
|
π Playwright Run Summary
71 passed (43.6s)
|
π Playwright Run Summary
67 passed (36.2s)
|
π Playwright Run Summary
71 passed (25.4s)
|
π Playwright Run Summary
67 passed (20.0s)
|
π Playwright Run Summary
71 passed (28.5s)
|
π Playwright Run Summary
67 passed (20.1s)
|
π Playwright Run Summary
71 passed (45.8s)
|
π Playwright Run Summary
67 passed (35.9s)
|
π Playwright Run Summary
71 passed (48.8s)
|
π Playwright Run Summary
67 passed (38.4s)
|