MOBILE-3806 courseoverview: Fix filter courses

main
Pau Ferrer Ocaña 2021-11-29 10:04:21 +01:00
parent bc9895dc82
commit 1c59cd2700
2 changed files with 2 additions and 7 deletions

View File

@ -91,10 +91,6 @@ Feature: Test course list shown on app start tab
And I should find "Course 5" in the app
And I should find "Toad 6" in the app
When I press "Display options" near "Course overview" in the app
And I press "Filter my courses" in the app
# TODO field should be "Filter my courses"
And I set the field "search text" to "fr" in the app
Then I should find "C3" in the app
@ -110,8 +106,7 @@ Feature: Test course list shown on app start tab
And I should not find "Course 5" in the app
And I should not find "Toad 6" in the app
When I press "Display options" near "Course overview" in the app
And I press "Filter my courses" in the app
When I set the field "search text" to "" in the app
Then I should find "C1" in the app
And I should find "C2" in the app
And I should find "C3" in the app

View File

@ -733,7 +733,7 @@ class behat_app extends behat_base {
* Currently this only works for input fields which must be identified using a partial or
* exact match on the placeholder text.
*
* @Given /^I set the field "((?:[^"]|\\")+)" to "((?:[^"]|\\")+)" in the app$/
* @Given /^I set the field "((?:[^"]|\\")+)" to "((?:[^"]|\\")*)" in the app$/
* @param string $field Text identifying field
* @param string $value Value for field
* @throws DriverException If the field set doesn't work