kiwix / kiwix-js

Fully portable & lightweight ZIM reader in Javascript
https://www.kiwix.org/
GNU General Public License v3.0
304 stars 130 forks source link

Unit tests on Firefox sometimes assert in TestCafé before the test has finished (so they fail) #1058

Closed Jaifroid closed 7 months ago

Jaifroid commented 1 year ago

Seems to be a timeout issue, which TestCafé is supposed to be immune to. We might have to force the driver to sleep for a while, even though this is not supposed to be a thing with TestCafé.

Jaifroid commented 1 year ago

Probably just need to increase the timeouts and test several times.

Jaifroid commented 1 year ago

Though, this failure is extremely rare. The Selenium-based tests in fact fall over randomly more often. See #1069.

Jaifroid commented 7 months ago

I don't think we need to fix this. Especially if we move Unit tests to a more standard platform than QUnit. See #1187.