Browser tests e.g.[[ https://integration.wikimedia.org/ci/job/selenium-MinervaNeue/BROWSER=chrome,MEDIAWIKI_ENVIRONMENT=beta,PLATFORM=Linux,label=BrowserTests/13/ | job 13 ]]are failing occasionally:
timed out after 10 seconds, waiting for {:class=>"mw-notification", :tag_name=>"div"} to become present (Watir::Wait::TimeoutError) /mnt/home/jenkins-deploy/.gem/2.1.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/wait.rb:44:in `until' /mnt/home/jenkins-deploy/.gem/2.1.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/wait.rb:223:in `wait_until_present' /mnt/home/jenkins-deploy/.gem/2.1.0/gems/page-object-1.1.0/lib/page-object/platforms/watir_webdriver/element.rb:160:in `when_present' /srv/jenkins-workspace/workspace/selenium-MinervaNeue/BROWSER/chrome/MEDIAWIKI_ENVIRONMENT/beta/PLATFORM/Linux/label/BrowserTests/tests/browser/features/step_definitions/common_article_steps.rb:30:in `block in <top (required)>'
Browser tests tend to fail on the step I should see a toast notification
When you watch the associated videos the toast is visible but for some reason not matching the step.
It's possible the toast disappears before it can be checked or the selector is wrong.
This didn't used to be an issue. :/