forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-72179 behat: Make use of page resolvers
- Loading branch information
1 parent
f14dbe0
commit 776f4bd
Showing
167 changed files
with
1,652 additions
and
2,901 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,13 +86,12 @@ Feature: availability_grade | |
And I set the field "Minimum grade percentage (inclusive)" to "10" | ||
And I press "Save and return to course" | ||
|
||
And I log out | ||
|
||
# Log in as student without a grade yet. | ||
When I log out | ||
And I log in as "student1" | ||
And I am on "Course 1" course homepage | ||
When I am on the "A1" "assign activity" page logged in as student1 | ||
|
||
# Do the assignment. | ||
And I follow "A1" | ||
And I click on "Add submission" "button" | ||
And I set the field "Online text" to "Q" | ||
And I click on "Save changes" "button" | ||
|
@@ -103,25 +102,22 @@ Feature: availability_grade | |
And I should not see "P3" in the "region-main" "region" | ||
And I should not see "P4" in the "region-main" "region" | ||
And I should see "A1" in the "region-main" "region" | ||
And I log out | ||
|
||
# Log back in as teacher. | ||
When I log out | ||
And I log in as "teacher1" | ||
And I am on "Course 1" course homepage | ||
When I am on the "A1" "assign activity" page logged in as teacher1 | ||
|
||
# Give the assignment 40%. | ||
And I follow "A1" | ||
And I navigate to "View all submissions" in current page administration | ||
# Pick the grade link in the row that has [email protected] in it. | ||
And I click on "Grade" "link" in the "[email protected]" "table_row" | ||
And I set the field "Grade out of 100" to "40" | ||
And I click on "Save changes" "button" | ||
And I click on "Edit settings" "link" | ||
And I log out | ||
|
||
# Log back in as student. | ||
And I log out | ||
And I log in as "student1" | ||
And I am on "Course 1" course homepage | ||
And I am on the "Course 1" course page logged in as student1 | ||
|
||
# Check pages are visible. | ||
Then I should see "P2" in the "region-main" "region" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.