WMDE-Fisch added a comment. I made some progress in analysing the problem. It seems to occur because the browser window on SauceLabs gets resized during the testing session. When I start the tests on SauceLabs from my local machine the resize always happens at the beginning of the test. See:
https://saucelabs.com/tests/ab00ca5e947b46479acdd2d7d95bbdac When I run the same test on Jenkins and SauceLabs the resize happens in the middle of the test. See: https://saucelabs.com/jobs/83f77171d0a143fba92a7b94f879ceeb https://integration.wikimedia.org/ci/view/BrowserTests/view/Wikidata/job/browsertests-Wikidata-WikidataTests-linux-chrome-sauce-DEBUG/1/testReport/junit/%28root%29/Setting%20ranks%20of%20statements/Click_the_rank_selector/ Note that the above use the old mediawiki_selenium gem. I also did some changes and experimented with mw_selenium 1.1.0. But still there was a resize in the middle of the process: https://saucelabs.com/jobs/66b5a466fd764b15bcf878ce9c57f328 https://integration.wikimedia.org/ci/view/BrowserTests/view/Wikidata/job/browsertests-Wikidata-WikidataTests-linux-chrome-sauce-DEBUG/4/testReport/junit/%28root%29/Setting%20snaktypes%20of%20statements/Change_the_snaktype__outline_example_____novalue___/ TASK DETAIL https://phabricator.wikimedia.org/T92619 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: WMDE-Fisch Cc: Liuxinyu970226, Tobi_WMDE_SW, zeljkofilipin, WMDE-Fisch, Aklapper, Wikidata-bugs, aude, greg _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs