Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions packages/desktop/test/e2e/editor-input.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ test.describe('Editor input and source-mode roundtrip', () => {

test('Typing into the editor appends content', async() => {
await typeIntoEditor(page, ' typed-token')
await page.waitForTimeout(400)
const markdown = await getMarkdownContent(page, app)
expect(markdown).toContain('typed-token')
await expect.poll(async() => await getMarkdownContent(page, app)).toContain('typed-token')
})
})

Expand Down Expand Up @@ -127,7 +125,6 @@ test.describe('Title-bar word counter (item 24)', () => {
// add a word).
await placeCaretInEditor(page)
await typeIntoEditor(page, ' four five 浣犲ソ')
await page.waitForTimeout(400)

// The counter updates async after the json-change round-trip; it must have
// strictly increased over the pre-typing baseline.
Expand Down
Loading