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-71912 behat: Updating various tests using assign steps.
- Loading branch information
Showing
6 changed files
with
11 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,7 +110,7 @@ Feature: availability_grade | |
When I am on the "A1" "assign activity" page logged in as teacher1 | ||
|
||
# Give the assignment 40%. | ||
And I navigate to "View all submissions" in current page administration | ||
And I follow "View all submissions" | ||
# 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" | ||
|
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 |
---|---|---|
|
@@ -61,7 +61,7 @@ Feature: Allow to mark course as completed without cron for activity completion | |
@javascript | ||
Scenario: Update course completion when teacher grades a single assignment | ||
Given I am on the "Test assignment name" "assign activity" page logged in as teacher1 | ||
And I navigate to "View all submissions" in current page administration | ||
And I follow "View all submissions" | ||
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" | ||
|
@@ -90,7 +90,7 @@ Feature: Allow to mark course as completed without cron for activity completion | |
And I set the field "Assignment - Test assignment name2" to "1" | ||
And I press "Save changes" | ||
And I am on the "Test assignment name" "assign activity" page | ||
And I navigate to "View all submissions" in current page administration | ||
And I follow "View all submissions" | ||
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" | ||
|
@@ -101,7 +101,7 @@ Feature: Allow to mark course as completed without cron for activity completion | |
And I should see "Status: In progress" | ||
And I log out | ||
And I am on the "Test assignment name2" "assign activity" page logged in as teacher1 | ||
And I navigate to "View all submissions" in current page administration | ||
And I follow "View all submissions" | ||
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" | ||
|
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