Skip to content

Commit

Permalink
Increase timeouts in the "must check that pasting html just keep the …
Browse files Browse the repository at this point in the history
…text" integration test

This is temporary fix to reduce the number of intermittent failures for
this test until we have the permanent fix tracked in mozilla#17931.
  • Loading branch information
timvandermeij committed Apr 16, 2024
1 parent 921fae5 commit 4c55877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/freetext_editor_spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3661,7 +3661,7 @@ describe("FreeText Editor", () => {

// Nothing should change, so it's hard to wait on something.
// eslint-disable-next-line no-restricted-syntax
await waitForTimeout(100);
await waitForTimeout(250);

text = await getText(editorSelector);
expect(text).withContext(`In ${browserName}`).toEqual(lastText);
Expand All @@ -3683,7 +3683,7 @@ describe("FreeText Editor", () => {

// Nothing should change, so it's hard to wait on something.
// eslint-disable-next-line no-restricted-syntax
await waitForTimeout(100);
await waitForTimeout(250);

const html = await getHTML();
expect(html).withContext(`In ${browserName}`).toEqual(prevHTML);
Expand Down

0 comments on commit 4c55877

Please sign in to comment.