Skip to content

Commit

Permalink
MDL-52357 behat: add 2 sec delay to ensure window is stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajesh Taneja committed Dec 1, 2015
1 parent c18acb8 commit 0049d25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions question/type/ddwtos/tests/behat/preview.feature
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Feature: Preview a drag-drop into text question
Scenario: Preview a question using the mouse.
When I click on "Preview" "link" in the "Drag to text" "table_row"
And I switch to "questionpreview" window
# Increase window size and wait 2 seconds to ensure elements are placed properly by js.
And I change window size to "medium"
And I wait "2" seconds
And I drag "quick" to space "1" in the drag and drop into text question
And I drag "fox" to space "2" in the drag and drop into text question
And I drag "assiduous" to space "3" in the drag and drop into text question
Expand Down

0 comments on commit 0049d25

Please sign in to comment.