MDL-78684 behat: fix behat failures

This commit is contained in:
Simey Lameze 2023-08-17 20:59:26 +08:00
parent b391e3e78c
commit d1c2ae134a
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,7 @@ Feature: I need to export grades as text
And the following "grade grades" exist: And the following "grade grades" exist:
| gradeitem | user | grade | | gradeitem | user | grade |
| Test assignment name | student1 | 80.00 | | Test assignment name | student1 | 80.00 |
And I am on the "Course 1" course page logged in as teacher1 And I am on the "Course 1" "grades > Grader report > View" page logged in as "teacher1"
@javascript @javascript
Scenario: Export grades as text Scenario: Export grades as text

View file

@ -19,6 +19,7 @@ Feature: Given we have opted to search for a grade item, Lets find and search th
Scenario: A teacher can search for and find a grade item to view Scenario: A teacher can search for and find a grade item to view
Given I am on the "Course 1" "grades > Single view > View" page logged in as "teacher1" Given I am on the "Course 1" "grades > Single view > View" page logged in as "teacher1"
And I change window size to "large"
And I click on "Grade items" "link" in the ".page-toggler" "css_element" And I click on "Grade items" "link" in the ".page-toggler" "css_element"
When I click on ".search-widget[data-searchtype='grade']" "css_element" When I click on ".search-widget[data-searchtype='grade']" "css_element"
Then I confirm "Test assignment one" in "grade" search within the gradebook widget exists Then I confirm "Test assignment one" in "grade" search within the gradebook widget exists