refactor: remove temp page files and load page component via bundler (close #1584) #506
Annotations
151 errors and 27 notices
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (ubuntu-latest, 20, vite)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (ubuntu-latest, 18, vite)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L138
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #rendered-foo + p')
Expected string: "Updated foo"
Received string: ""
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></p>
- unexpected value ""
- locator resolved to <p></p>
- unexpected value ""
- locator resolved to <p></p>
- unexpected value ""
- locator resolved to <p></p>
- unexpected value ""
- locator resolved to <p></p>
- unexpected value ""
- locator resolved to <p></p>
- unexpected value ""
- locator resolved to <p></p>
- unexpected value ""
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
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (ubuntu-latest, 18, webpack)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e\tests\hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at D:\a\core\core\e2e\tests\hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e\tests\hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at D:\a\core\core\e2e\tests\hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e\tests\hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at D:\a\core\core\e2e\tests\hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e\tests\hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at D:\a\core\core\e2e\tests\hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e\tests\hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at D:\a\core\core\e2e\tests\hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e\tests\hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at D:\a\core\core\e2e\tests\hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e\tests\hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at D:\a\core\core\e2e\tests\hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e\tests\hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at D:\a\core\core\e2e\tests\hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e\tests\hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at D:\a\core\core\e2e\tests\hmr.spec.ts:146:34
|
e2e (windows-latest, 20, vite)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e\tests\hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at D:\a\core\core\e2e\tests\hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e\tests\hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at D:\a\core\core\e2e\tests\hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e\tests\hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at D:\a\core\core\e2e\tests\hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e\tests\hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at D:\a\core\core\e2e\tests\hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e\tests\hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at D:\a\core\core\e2e\tests\hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e\tests\hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at D:\a\core\core\e2e\tests\hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e\tests\hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at D:\a\core\core\e2e\tests\hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e\tests\hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at D:\a\core\core\e2e\tests\hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e\tests\hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at D:\a\core\core\e2e\tests\hmr.spec.ts:146:34
|
e2e (windows-latest, 18, vite)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (ubuntu-latest, 22, vite)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (ubuntu-latest, 20, webpack)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e\tests\hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at D:\a\core\core\e2e\tests\hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e\tests\hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at D:\a\core\core\e2e\tests\hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e\tests\hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at D:\a\core\core\e2e\tests\hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e\tests\hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at D:\a\core\core\e2e\tests\hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e\tests\hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at D:\a\core\core\e2e\tests\hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e\tests\hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at D:\a\core\core\e2e\tests\hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e\tests\hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at D:\a\core\core\e2e\tests\hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e\tests\hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at D:\a\core\core\e2e\tests\hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e\tests\hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at D:\a\core\core\e2e\tests\hmr.spec.ts:146:34
|
e2e (windows-latest, 22, vite)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L62
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "HMR content"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
60 | await page.goto('hmr/content.html')
61 |
> 62 | await expect(contentLocator).toHaveText('HMR content')
| ^
63 | await hmrUpdateContent()
64 | await expect(contentLocator).toHaveText('Updated content')
65 | })
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:62:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L62
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "HMR content"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
60 | await page.goto('hmr/content.html')
61 |
> 62 | await expect(contentLocator).toHaveText('HMR content')
| ^
63 | await hmrUpdateContent()
64 | await expect(contentLocator).toHaveText('Updated content')
65 | })
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:62:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L87
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
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 ""
85 | await page.goto('hmr/title.html')
86 |
> 87 | await expect(page).toHaveTitle(/HMR Title/)
| ^
88 | await expect(titleLocator).toHaveText('HMR Title')
89 | await expect(renderedTitleLocator).toHaveText('HMR Title')
90 | await hmrUpdateTitle()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:87:24
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L122
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
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 ""
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
|
e2e (macos-latest, 18, vite)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /home/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (ubuntu-latest, 22, webpack)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L87
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
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 ""
85 | await page.goto('hmr/title.html')
86 |
> 87 | await expect(page).toHaveTitle(/HMR Title/)
| ^
88 | await expect(titleLocator).toHaveText('HMR Title')
89 | await expect(renderedTitleLocator).toHaveText('HMR Title')
90 | await hmrUpdateTitle()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:87:24
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (macos-latest, 20, vite)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (macos-latest, 18, webpack)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (macos-latest, 20, webpack)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L87
2) [chromium] βΊ hmr.spec.ts:79: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 ""
85 | await page.goto('hmr/title.html')
86 |
> 87 | await expect(page).toHaveTitle(/HMR Title/)
| ^
88 | await expect(titleLocator).toHaveText('HMR Title')
89 | await expect(renderedTitleLocator).toHaveText('HMR Title')
90 | await hmrUpdateTitle()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:87:24
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (macos-latest, 22, vite)
Process completed with exit code 1.
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly:
e2e/tests/hmr.spec.ts#L64
1) [chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly βββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
62 | await expect(contentLocator).toHaveText('HMR content')
63 | await hmrUpdateContent()
> 64 | await expect(contentLocator).toHaveText('Updated content')
| ^
65 | })
66 |
67 | test('should update frontmatter correctly', async ({ page }) => {
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:64:34
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly:
e2e/tests/hmr.spec.ts#L92
2) [chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly βββββββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content h1')
Expected string: "Updated Title"
Received string: "HMR Title"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content h1')
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
- locator resolved to <h1 tabindex="-1" id="hmr-title">β¦</h1>
- unexpected value "HMR Title"
90 | await hmrUpdateTitle()
91 | await expect(page).toHaveTitle(/Updated Title/)
> 92 | await expect(titleLocator).toHaveText('Updated Title')
| ^
93 | await expect(renderedTitleLocator).toHaveText('Updated Title')
94 | })
95 |
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:92:32
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [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 #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation:
e2e/tests/hmr.spec.ts#L146
3) [chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.e2e-theme-content #content + p')
Expected string: "Updated content"
Received string: "HMR content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.e2e-theme-content #content + p')
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
- locator resolved to <p>HMR content</p>
- unexpected value "HMR content"
144 | // update content page
145 | await hmrUpdateContent()
> 146 | await expect(contentLocator).toHaveText('Updated content')
| ^
147 |
148 | // navigate to back title page
149 | await titlePageLinkLocator.click()
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:146:34
|
e2e (macos-latest, 22, webpack)
Process completed with exit code 1.
|
e2e result
Process completed with exit code 1.
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.2m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.3m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.5m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.5m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.6m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.3m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.4m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.5m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.2m)
|
π Playwright Run Summary
71 passed (43.1s)
|
π Playwright Run Summary
67 passed (35.8s)
|
π Playwright Run Summary
71 passed (43.7s)
|
π Playwright Run Summary
67 passed (35.7s)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.4m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.3m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.4m)
|
π Playwright Run Summary
71 passed (43.9s)
|
π Playwright Run Summary
67 passed (36.1s)
|
π Playwright Run Summary
71 passed (43.0s)
|
π Playwright Run Summary
67 passed (35.1s)
|
π Playwright Run Summary
71 passed (42.3s)
|
π Playwright Run Summary
67 passed (34.6s)
|
π Playwright Run Summary
71 passed (44.2s)
|
π Playwright Run Summary
67 passed (34.5s)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.4m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.4m)
|
π Playwright Run Summary
3 failed
[chromium] βΊ hmr.spec.ts:57:3 βΊ should update content correctly ββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:79:3 βΊ should update title correctly ββββββββββββββββββββββββββββββββββ
[chromium] βΊ hmr.spec.ts:96:3 βΊ should update content and frontmatter and title correctly after navigation
68 passed (1.4m)
|