mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-16 20:35:09 +00:00
QA: back button workaround for Safari
Bug T85802 Change-Id: I4a3b360ffddbab5c22ca1eb3b03c45159425de70
This commit is contained in:
parent
9119af8534
commit
c3a7bb5782
|
@ -9,7 +9,8 @@ When /^I click the previous arrow$/ do
|
|||
end
|
||||
|
||||
When /^I press the browser back button$/ do
|
||||
$browser.back
|
||||
# $browser.back doesn't work for Safari. This is a workaround for https://code.google.com/p/selenium/issues/detail?id=3771
|
||||
on(E2ETestPage).execute_script("window.history.back();");
|
||||
end
|
||||
|
||||
Then /^the image and metadata of the next image should appear$/ do
|
||||
|
|
Loading…
Reference in a new issue