Skip to content

Commit

Permalink
MDL-72873 behat: Fix behat tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyatregubov committed Dec 16, 2021
1 parent d051e7d commit 0439597
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion admin/tool/behat/tests/behat/data_generators.feature
Expand Up @@ -382,7 +382,7 @@ Feature: Set up contextual data for tests
| enableoutcomes | 1 |
When I log in as "admin"
And I am on "Course 1" course homepage
And I navigate to "Outcomes" in current page administration
And I navigate to "More > Outcomes" in the course gradebook
Then I should see "Grade outcome 1" in the "#addoutcomes" "css_element"
And I should see "Grade outcome 2" in the "#removeoutcomes" "css_element"
And I press "Manage outcomes"
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/tests/behat/outcome_grading.feature
Expand Up @@ -35,7 +35,7 @@ Feature: Outcome grading
| Scale | Test Scale |
And I press "Save changes"
And I am on "Course 1" course homepage
And I navigate to "Outcomes" in current page administration
And I navigate to "More > Outcomes" in the course gradebook
And I set the field "Available standard outcomes" to "Outcome Test"
And I click on "#add" "css_element"
And I log out
Expand Down
4 changes: 2 additions & 2 deletions mod/assign/tests/behat/quickgrading.feature
Expand Up @@ -54,7 +54,7 @@ Feature: In an assignment, teachers grade multiple students on one page
| enableoutcomes | 1 |
When I log in as "teacher1"
And I am on "Course 1" course homepage
And I navigate to "Outcomes" in current page administration
And I navigate to "More > Outcomes" in the course gradebook
And I press "Manage outcomes"
And I press "Add a new outcome"
And I follow "Add a new scale"
Expand All @@ -63,7 +63,7 @@ Feature: In an assignment, teachers grade multiple students on one page
| Scale | Noob, Nub, 1337, HaXor |
And I press "Save changes"
And I am on "Course 1" course homepage
And I navigate to "Outcomes" in current page administration
And I navigate to "More > Outcomes" in the course gradebook
And I press "Manage outcomes"
And I press "Add a new outcome"
And I set the following fields to these values:
Expand Down

0 comments on commit 0439597

Please sign in to comment.