Skip to content

Commit

Permalink
MDL-37750 behat: More time for AJAX-related actions
Browse files Browse the repository at this point in the history
When we want to assert against data coming
from an AJAX request with 1 second we don't
have enough time to ensure the elements are
loaded
  • Loading branch information
David Monllao committed Feb 13, 2013
1 parent 7339d6c commit cd65dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/tool/behat/tests/behat/data_generators.feature
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ Feature: Set up contextual data for tests
Then the "groups" select box should contain "Group 1 (1)"
And the "groups" select box should contain "Group 2 (1)"
And I select "Group 1 (1)" from "groups"
And I wait "1" seconds
And I wait "5" seconds
And the "members" select box should contain "Student 1"
And I select "Group 2 (1)" from "groups"
And I wait "1" seconds
And I wait "5" seconds
And the "members" select box should contain "Student 2"

0 comments on commit cd65dc3

Please sign in to comment.