diff --git a/tests/behat/filter.feature b/tests/behat/filter.feature index 2a72bd13..b1e78131 100644 --- a/tests/behat/filter.feature +++ b/tests/behat/filter.feature @@ -27,33 +27,45 @@ Feature: Filtering in Studentquiz view. When I am on the "StudentQuiz Test 1" "mod_studentquiz > View" page logged in as "admin" And I click on "Show more..." "link" Then I set the field "Rating value" to "TF 01" + And I press "id_submitbutton" And I should see "You must enter a number here." And I set the field "Rating value" to "" + And I press "id_submitbutton" And I should not see "You must enter a number here." And I set the field "Difficulty value" to "TF 01" + And I press "id_submitbutton" And I should see "You must enter a number here." And I set the field "Difficulty value" to "" + And I press "id_submitbutton" And I should not see "You must enter a number here." And I set the field "Comments value" to "TF 01" + And I press "id_submitbutton" And I should see "You must enter a number here." And I set the field "Comments value" to "" + And I press "id_submitbutton" And I should not see "You must enter a number here." And I set the field "My attempts value" to "TF 01" + And I press "id_submitbutton" And I should see "You must enter a number here." And I set the field "My attempts value" to "" + And I press "id_submitbutton" And I should not see "You must enter a number here." And I set the field "My difficulty value" to "TF 01" + And I press "id_submitbutton" And I should see "You must enter a number here." And I set the field "My difficulty value" to "" + And I press "id_submitbutton" And I should not see "You must enter a number here." And I set the field "My Rating value" to "TF 01" + And I press "id_submitbutton" And I should see "You must enter a number here." And I set the field "My Rating value" to "" + And I press "id_submitbutton" And I should not see "You must enter a number here." And I set the following fields to these values: