MDL-56614 behat: Fixed steps to use new definition

This commit is contained in:
Rajesh Taneja 2016-12-07 07:10:35 +08:00
parent be1b12490e
commit 9bad658aaf
No known key found for this signature in database
GPG key ID: B363F7FB787F80E4
8 changed files with 20 additions and 20 deletions

View file

@ -44,7 +44,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I log in as "teacher1"
And I follow "Course 1"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Not marked" in the "I'm the student's first submission" "table_row"
And I click on "Grade" "link" in the "I'm the student's first submission" "table_row"
And I set the field "Grade out of 100" to "50"
@ -54,7 +54,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "In review" in the "I'm the student's first submission" "table_row"
@javascript
@ -65,7 +65,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
And I click on "Grade" "link" in the "I'm the student's first submission" "table_row"
And I set the field "Marking workflow state" to "Released"
@ -73,7 +73,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Released" in the "I'm the student's first submission" "table_row"
And I set the field "Grading action" to "Reveal student identities"
And I press "Continue"
@ -92,7 +92,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
And I set the field "Grading action" to "Reveal student identities"
And I press "Continue"
@ -102,7 +102,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Released" in the "Student 1" "table_row"
And I log out
And I log in as "student1"