mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-16 20:35:09 +00:00
Merge "QA: back button workaround for Safari"
This commit is contained in:
commit
87591ab67f
|
@ -9,7 +9,8 @@ When /^I click the previous arrow$/ do
|
||||||
end
|
end
|
||||||
|
|
||||||
When /^I press the browser back button$/ do
|
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
|
end
|
||||||
|
|
||||||
Then /^the image and metadata of the next image should appear$/ do
|
Then /^the image and metadata of the next image should appear$/ do
|
||||||
|
|
Loading…
Reference in a new issue