Could be a genuine bug.
|Resolved||• Gilles||T87831 Improve reliability of cucumber tests|
|Resolved||• Gilles||T89087 "Clicking the image closes the download menu" browser test failing on IE|
- Mentioned In
- rMEXT0f09fd5e4186: Updated mediawiki/extensions Project: mediawiki/extensions/MultimediaViewer…
rMEXTe35103c99c2d: Updated mediawiki/extensions Project: mediawiki/extensions/MultimediaViewer…
rMEXT1bcb031c5e1d: Updated mediawiki/extensions Project: mediawiki/extensions/MultimediaViewer…
rEMMV7b897e9c07db: Workaround for Safari web driver
rEMMV94ac32835d63: Click in the top-left corner of the image when trying to close the download…
rEMMV8c37b7abb4cd: Wait for the download menu to appear before closing it
This wasn't sufficient, the issue turns out to be that in IE the test will have the image click land on the download dialog, which means it won't close. Clicking in the top-left corner instead fixes the test.
Sadly it seems like Safari's web driver doesn't support the mouse move command: https://integration.wikimedia.org/ci/job/browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-os_x_10.9-safari-sauce/471/testReport/junit/%28root%29/Download%20menu/Clicking_the_image_closes_the_download_menu/
I guess I'll check if the function exists and use the old general click if it's not there.