Skip to content

Fix: initialize undomanager for empty document #124

Fix: initialize undomanager for empty document

Fix: initialize undomanager for empty document #124

Triggered via pull request November 19, 2025 14:44
Status Failure
Total duration 5m 57s
Artifacts 1

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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