Fix one failing E2E test on Firefox, skip the other one by rmunn · Pull Request #1809 · sillsdev/web-languageforge
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.
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
deleted the
debt/failing-firefox-e2e
branch
rmunn
mentioned this pull request
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters