Fix: initialize undomanager for empty document #124
Annotations
7 errors and 1 notice
|
test
Process completed with exit code 1.
|
|
[chromium] βΊ playwright/e2e/offline.spec.ts:45:1 βΊ typing offline and coming back online:
playwright/support/sections/EditorSection.ts#L42
2) [chromium] βΊ playwright/e2e/offline.spec.ts:45:1 βΊ typing offline and coming back online ββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
at support/sections/EditorSection.ts:42
40 | await this.type('## ')
41 | await this.type(name)
> 42 | await expect(this.getHeading({ name })).toBeVisible()
| ^
43 | }
44 |
45 | public getMenu(name: string): Locator {
at EditorSection.typeHeading (/home/runner/work/text/text/playwright/support/sections/EditorSection.ts:42:43)
at /home/runner/work/text/text/playwright/e2e/offline.spec.ts:52:2
|
|
[chromium] βΊ playwright/e2e/offline.spec.ts:45:1 βΊ typing offline and coming back online:
playwright/support/sections/EditorSection.ts#L42
2) [chromium] βΊ playwright/e2e/offline.spec.ts:45:1 βΊ typing offline and coming back online ββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
at support/sections/EditorSection.ts:42
40 | await this.type('## ')
41 | await this.type(name)
> 42 | await expect(this.getHeading({ name })).toBeVisible()
| ^
43 | }
44 |
45 | public getMenu(name: string): Locator {
at EditorSection.typeHeading (/home/runner/work/text/text/playwright/support/sections/EditorSection.ts:42:43)
at /home/runner/work/text/text/playwright/e2e/offline.spec.ts:52:2
|
|
[chromium] βΊ playwright/e2e/offline.spec.ts:45:1 βΊ typing offline and coming back online:
playwright/support/sections/EditorSection.ts#L42
2) [chromium] βΊ playwright/e2e/offline.spec.ts:45:1 βΊ typing offline and coming back online ββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
at support/sections/EditorSection.ts:42
40 | await this.type('## ')
41 | await this.type(name)
> 42 | await expect(this.getHeading({ name })).toBeVisible()
| ^
43 | }
44 |
45 | public getMenu(name: string): Locator {
at EditorSection.typeHeading (/home/runner/work/text/text/playwright/support/sections/EditorSection.ts:42:43)
at /home/runner/work/text/text/playwright/e2e/offline.spec.ts:52:2
|
|
[chromium] βΊ playwright/e2e/change-mime-type.spec.ts:17:2 βΊ Changing mimetype from markdown to plaintext βΊ resets the document session and indexed db:
playwright/support/sections/EditorSection.ts#L42
1) [chromium] βΊ playwright/e2e/change-mime-type.spec.ts:17:2 βΊ Changing mimetype from markdown to plaintext βΊ resets the document session and indexed db
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
at support/sections/EditorSection.ts:42
40 | await this.type('## ')
41 | await this.type(name)
> 42 | await expect(this.getHeading({ name })).toBeVisible()
| ^
43 | }
44 |
45 | public getMenu(name: string): Locator {
at EditorSection.typeHeading (/home/runner/work/text/text/playwright/support/sections/EditorSection.ts:42:43)
at /home/runner/work/text/text/playwright/e2e/change-mime-type.spec.ts:22:3
|
|
[chromium] βΊ playwright/e2e/change-mime-type.spec.ts:17:2 βΊ Changing mimetype from markdown to plaintext βΊ resets the document session and indexed db:
playwright/support/sections/EditorSection.ts#L42
1) [chromium] βΊ playwright/e2e/change-mime-type.spec.ts:17:2 βΊ Changing mimetype from markdown to plaintext βΊ resets the document session and indexed db
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
at support/sections/EditorSection.ts:42
40 | await this.type('## ')
41 | await this.type(name)
> 42 | await expect(this.getHeading({ name })).toBeVisible()
| ^
43 | }
44 |
45 | public getMenu(name: string): Locator {
at EditorSection.typeHeading (/home/runner/work/text/text/playwright/support/sections/EditorSection.ts:42:43)
at /home/runner/work/text/text/playwright/e2e/change-mime-type.spec.ts:22:3
|
|
[chromium] βΊ playwright/e2e/change-mime-type.spec.ts:17:2 βΊ Changing mimetype from markdown to plaintext βΊ resets the document session and indexed db:
playwright/support/sections/EditorSection.ts#L42
1) [chromium] βΊ playwright/e2e/change-mime-type.spec.ts:17:2 βΊ Changing mimetype from markdown to plaintext βΊ resets the document session and indexed db
Error: expect(locator).toBeVisible() failed
Locator: locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.editor').first().getByRole('textbox').getByRole('heading', { name: 'Hello world' })
at support/sections/EditorSection.ts:42
40 | await this.type('## ')
41 | await this.type(name)
> 42 | await expect(this.getHeading({ name })).toBeVisible()
| ^
43 | }
44 |
45 | public getMenu(name: string): Locator {
at EditorSection.typeHeading (/home/runner/work/text/text/playwright/support/sections/EditorSection.ts:42:43)
at /home/runner/work/text/text/playwright/e2e/change-mime-type.spec.ts:22:3
|
|
π Playwright Run Summary
2 failed
[chromium] βΊ playwright/e2e/change-mime-type.spec.ts:17:2 βΊ Changing mimetype from markdown to plaintext βΊ resets the document session and indexed db
[chromium] βΊ playwright/e2e/offline.spec.ts:45:1 βΊ typing offline and coming back online βββββββ
13 passed (4.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
14.5 MB |
sha256:3d31468558cba844ad9ffe9c3ca4f2ab58e6996716c7f42e326768f08eb02e23
|
|