mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
[BrowserTest] prevent premature click of Edit button
Change-Id: Ibce2bf0f75e0639bbd3b90f2dc73716e43797841
This commit is contained in:
parent
14753500a6
commit
9b93c2c4fd
|
@ -15,6 +15,7 @@ When(/^I enter and save a (.+) edit$/) do |count|
|
||||||
end
|
end
|
||||||
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)
|
||||||
|
sleep 2
|
||||||
step "I click Edit for VisualEditor"
|
step "I click Edit for VisualEditor"
|
||||||
step "I insert the text #{edit_text}"
|
step "I insert the text #{edit_text}"
|
||||||
step "I click Save page"
|
step "I click Save page"
|
||||||
|
|
Loading…
Reference in a new issue