Fix one failing E2E test on Firefox, skip the other one by rmunn · Pull Request #1809 · sillsdev/web-languageforge

@rmunn added the testing

Pertaining to unit or e2e testing

label

May 6, 2024

myieye

megahirt

It seems that reloading the page immediately after editing an entry
isn't triggering the autosave on Firefox. We can work around this by
navigating to another entry before reloading, which does trigger the
autosave.
There appears to be a Playwright bug with locator.fill() on Firefox,
where the locator waits forever for the textarea to be editable. This
happens even if you have added "expect(...).toBeEditable()" immediately
before the locator.fill(). Since this bug appears to be Firefox-specific,
we will simply skip this test on Firefox until the bug is solved.

@rmunn

Firefox is slower on this test for some reason, and we do want to make
sure it doesn't time out and make an otherwise-green test run go red.

@rmunn rmunn deleted the debt/failing-firefox-e2e branch

May 13, 2024 06:50

@rmunn rmunn mentioned this pull request

May 13, 2024

6 tasks