MDL-74276 report: Update behat tests to account for new page.

This commit is contained in:
Peter Dias 2022-03-25 13:10:58 +08:00
parent 3eb80e7386
commit 2c27a33213
28 changed files with 51 additions and 51 deletions

View file

@ -46,7 +46,7 @@ Feature: Automatic completion in the choice activity
Scenario: Overriding automatic choice completion for a user
Given I am on the "Course 1" course page logged in as teacher1
And I navigate to "Reports" in current page administration
And I select "Activity completion" from the "Report type" singleselect
And I click on "Activity completion" "link"
And I click on "Student 1, What to drink?: Not completed" "link"
And I press "Save changes"
And I log out

View file

@ -54,7 +54,7 @@ Feature: Manual completion in the choice activity
Scenario: Overriding a manual choice completion for a user to done
Given I am on the "Course 1" course page logged in as teacher1
And I navigate to "Reports" in current page administration
And I select "Activity completion" from the "Report type" singleselect
And I click on "Activity completion" "link"
And I click on "Student 1, What to drink?: Not completed" "link"
And I press "Save changes"
And I log out
@ -71,7 +71,7 @@ Feature: Manual completion in the choice activity
And I log out
And I am on the "Course 1" course page logged in as teacher1
And I navigate to "Reports" in current page administration
And I select "Activity completion" from the "Report type" singleselect
And I click on "Activity completion" "link"
And I click on "Student 1, What to drink?: Completed" "link"
And I press "Save changes"
And I log out

View file

@ -60,7 +60,7 @@ Feature: Set a quiz to be marked complete when the student uses all attempts all
And "Test quiz name" should have the "Receive a pass grade or complete all available attempts" completion condition
And I am on "Course 1" course homepage
And I navigate to "Reports" in current page administration
And I select "Activity completion" from the "Report type" singleselect
And I click on "Activity completion" "link"
And "<expectedactivitycompletion>" "icon" should exist in the "Student 1" "table_row"
Examples:

View file

@ -58,5 +58,5 @@ Feature: Set a quiz to be marked complete when the student completes a minimum a
And "Test quiz name" should have the "Make attempts: 2" completion condition
And I am on "Course 1" course homepage
And I navigate to "Reports" in current page administration
And I select "Activity completion" from the "Report type" singleselect
And I click on "Activity completion" "link"
And "Completed" "icon" should exist in the "Student 1" "table_row"

View file

@ -52,5 +52,5 @@ Feature: Set a quiz to be marked complete when the student passes
And I log in as "teacher1"
And I am on "Course 1" course homepage
And I navigate to "Reports" in current page administration
And I select "Activity completion" from the "Report type" singleselect
And I click on "Activity completion" "link"
And "Completed" "icon" should exist in the "Student 1" "table_row"

View file

@ -76,7 +76,7 @@ Feature: View activity completion in the quiz activity
And I log in as "teacher1"
And I am on "Course 1" course homepage
And I navigate to "Reports" in current page administration
And I select "Activity completion" from the "Report type" singleselect
And I click on "Activity completion" "link"
And "<expectedactivitycompletion>" "icon" should exist in the "Student 1" "table_row"
Examples: