From 9b93c2c4fdbb713d0e5fc4321375e2f4de00f50b Mon Sep 17 00:00:00 2001 From: Cmcmahon Date: Fri, 25 Jul 2014 11:15:52 -0700 Subject: [PATCH] [BrowserTest] prevent premature click of Edit button Change-Id: Ibce2bf0f75e0639bbd3b90f2dc73716e43797841 --- .../features/step_definitions/multiedit_workflow_steps.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ve-mw/tests/browser/features/step_definitions/multiedit_workflow_steps.rb b/modules/ve-mw/tests/browser/features/step_definitions/multiedit_workflow_steps.rb index b0fc9e5ed1..3e29f5d6d5 100644 --- a/modules/ve-mw/tests/browser/features/step_definitions/multiedit_workflow_steps.rb +++ b/modules/ve-mw/tests/browser/features/step_definitions/multiedit_workflow_steps.rb @@ -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"