commit
03debebb06
|
@ -453,7 +453,7 @@ Feature: Test basic usage of one course in app
|
||||||
Then I should find "Course summary" in the app
|
Then I should find "Course summary" in the app
|
||||||
And I should find "Course" in the app
|
And I should find "Course" in the app
|
||||||
|
|
||||||
When I press "Course" "ion-button" in the app
|
When I press "View course" "ion-button" in the app
|
||||||
Then the header should be "Course 1" in the app
|
Then the header should be "Course 1" in the app
|
||||||
And I should find "Choice course 1" in the app
|
And I should find "Choice course 1" in the app
|
||||||
And I should find "assignment" in the app
|
And I should find "assignment" in the app
|
||||||
|
|
|
@ -88,7 +88,7 @@ Feature: Test basic usage of courses in app
|
||||||
|
|
||||||
When I press "Course 4" in the app
|
When I press "Course 4" in the app
|
||||||
Then I should find "Course 4" in the app
|
Then I should find "Course 4" in the app
|
||||||
And the header should be "Course summary" in the app
|
And I should find "Course summary" in the app
|
||||||
|
|
||||||
When I press the back button in the app
|
When I press the back button in the app
|
||||||
And I set the field "Search" to "Course" in the app
|
And I set the field "Search" to "Course" in the app
|
||||||
|
|
|
@ -811,6 +811,8 @@ class behat_app extends behat_base {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check that it worked as expected.
|
// Check that it worked as expected.
|
||||||
|
usleep(1000000);
|
||||||
|
|
||||||
$result = $this->evaluate_script("return window.behat.isSelected($locatorjson);");
|
$result = $this->evaluate_script("return window.behat.isSelected($locatorjson);");
|
||||||
|
|
||||||
switch ($result) {
|
switch ($result) {
|
||||||
|
|
Loading…
Reference in New Issue