mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
Merge "[browser test] increase wait for save to complete"
This commit is contained in:
commit
da475dd4b1
|
@ -9,7 +9,7 @@ When(/^I enter and save the first edit$/) do
|
||||||
end
|
end
|
||||||
|
|
||||||
When(/^I enter and save a (.+) edit$/) do |count|
|
When(/^I enter and save a (.+) edit$/) do |count|
|
||||||
sleep 2 # Wait for the save confirmation to disappear
|
sleep 10 # Wait for the save confirmation to disappear
|
||||||
edit_text = "Editing with " + Random.rand.to_s
|
edit_text = "Editing with " + Random.rand.to_s
|
||||||
instance_variable_set("@#{count}_edit_text", edit_text)
|
instance_variable_set("@#{count}_edit_text", edit_text)
|
||||||
step "I click Edit for VisualEditor"
|
step "I click Edit for VisualEditor"
|
||||||
|
|
Loading…
Reference in a new issue