The test Lexeme:Forms FormId counter is not decremented when old revision is restored fails occasionally in CI with the error message: element (".lemma-widget_edit") still not visible after 10000ms
Example failure: https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Wikibase/+/527549/
"stack trace" from the selenium node job log (https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php70-docker/26829/console):
11:21:27 1) Lexeme:Forms FormId counter is not decremented when old revision is restored: 11:21:27 element (".lemma-widget_edit") still not visible after 10000ms 11:21:27 Error: element (".lemma-widget_edit") still not visible after 10000ms 11:21:27 at elements(".lemma-widget_edit") - isVisible.js:54:17 11:21:27 at isVisible(".lemma-widget_edit") - waitForVisible.js:73:22
Looking at video recording of the failed test runs it looks like the UI JavaScript is not loaded (UI is not fully "initialized").
Acceptance criteria:
- The reason of unrelated failure of the test is documented here in the task as a comment
- The reason of failures has been removed/worked around
Currently on investigation