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 801a097 commit 310f7a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/freetext_editor_spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3563,7 +3563,7 @@ describe("FreeText Editor", () => {
await closePages(pages);
});

it("must check that pasting html just keep the text", async () => {
fit("must check that pasting html just keep the text", async () => {

Check failure on line 3566 in test/integration/freetext_editor_spec.mjs

View workflow job for this annotation

GitHub Actions / Lint (lts/*)

Unexpected fit
await Promise.all(
pages.map(async ([browserName, page]) => {
await switchToFreeText(page);
Expand Down 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 310f7a9

Please sign in to comment.