mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Remove expensive sleep for beta warning
Change-Id: Ibc06d98fc1a180a0be0e1538188b13759fcbc364
This commit is contained in:
parent
d5b51e5204
commit
6414f6559f
|
@ -43,7 +43,7 @@ When(/^I edit the page with (.+)$/) do |input_string|
|
|||
try.times do
|
||||
#This begin/rescue clause dismisses the VE warning message when it exists, and does not fail when it does not exist
|
||||
begin
|
||||
sleep 1 #Chrome seems to not honor when_present correctly as of 5 Dec 2013
|
||||
#should not be needed because try.times should handle the beta_warning. sleep 1 #Chrome seems to not honor when_present correctly as of 5 Dec 2013
|
||||
page.beta_warning_element.when_present.click
|
||||
rescue
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue