mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 04:43:18 +00:00
Wait for the download menu to appear before closing it
In practice doing this quickly still works, but the browser test in IE catches the menu at exactly the wrong time (when it appears briefly before disappearing). Bug: T89087 Change-Id: I4076943bf33a566ec882f69d17f6a3a9f1a28002
This commit is contained in:
parent
520c23143c
commit
8c37b7abb4
|
@ -10,6 +10,7 @@ Feature: Download menu
|
|||
|
||||
Scenario: Clicking the image closes the download menu
|
||||
When I click the download icon
|
||||
And the download menu appears
|
||||
And I click the image
|
||||
Then the download menu should disappear
|
||||
|
||||
|
|
|
@ -43,6 +43,10 @@ When /^the download size options disappears$/ do
|
|||
on(E2ETestPage).mmv_download_size_menu_element.when_not_present
|
||||
end
|
||||
|
||||
When /^the download menu appears$/ do
|
||||
on(E2ETestPage).mmv_download_menu_element.when_present
|
||||
end
|
||||
|
||||
Then /^the download menu should appear$/ do
|
||||
expect(on(E2ETestPage).mmv_download_menu_element.when_present).to be_visible
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue