[BrowserTest] prevent premature click of Edit button

Change-Id: Ibce2bf0f75e0639bbd3b90f2dc73716e43797841
This commit is contained in:
Cmcmahon 2014-07-25 11:15:52 -07:00
parent 14753500a6
commit 9b93c2c4fd

View file

@ -15,6 +15,7 @@ When(/^I enter and save a (.+) edit$/) do |count|
end
edit_text = "Editing with " + Random.rand.to_s
instance_variable_set("@#{count}_edit_text", edit_text)
sleep 2
step "I click Edit for VisualEditor"
step "I insert the text #{edit_text}"
step "I click Save page"