mirror of
https://github.com/moodle/moodle.git
synced 2025-02-25 12:33:18 +01:00
Merge branch 'MDL-77784' of https://github.com/paulholden/moodle
This commit is contained in:
commit
f41300bce0
@ -167,7 +167,7 @@ Feature: Basic use of the Manual grading report
|
||||
And I should see "Separate groups: All participants"
|
||||
Then I should see "Sorry, but you need to be part of a group to see this page."
|
||||
|
||||
@javascript @editor_atto
|
||||
@javascript
|
||||
Scenario: Manual grading report with attempts to be graded
|
||||
Given the following "questions" exist:
|
||||
| questioncategory | qtype | name | user | questiontext |
|
||||
@ -175,27 +175,24 @@ Feature: Basic use of the Manual grading report
|
||||
And quiz "Quiz 2" contains the following questions:
|
||||
| question | page |
|
||||
| Essay Q1 | 1 |
|
||||
And I log out
|
||||
When I am on the "Quiz 2" "mod_quiz > View" page logged in as "student1"
|
||||
And I press "Attempt quiz"
|
||||
And I set the field with xpath "//*[contains(concat(' ', @class, ' '), ' editor_atto_content ')]" to "This is my attempt 1"
|
||||
And I set the field "Answer text Question 1" to "This is my attempt 1"
|
||||
And I follow "Finish attempt ..."
|
||||
And I press "Submit all and finish"
|
||||
And I click on "Submit all and finish" "button" in the "Submit all your answers and finish?" "dialogue"
|
||||
And I click on "Finish review" "link"
|
||||
And I press "Re-attempt quiz"
|
||||
And I set the field with xpath "//*[contains(concat(' ', @class, ' '), ' editor_atto_content ')]" to "This is my attempt 2"
|
||||
And I set the field "Answer text Question 1" to "This is my attempt 2"
|
||||
And I follow "Finish attempt ..."
|
||||
And I press "Submit all and finish"
|
||||
And I click on "Submit all and finish" "button" in the "Submit all your answers and finish?" "dialogue"
|
||||
And I click on "Finish review" "link"
|
||||
And I press "Re-attempt quiz"
|
||||
And I set the field with xpath "//*[contains(concat(' ', @class, ' '), ' editor_atto_content ')]" to "This is my attempt 3"
|
||||
And I set the field "Answer text Question 1" to "This is my attempt 3"
|
||||
And I follow "Finish attempt ..."
|
||||
And I press "Submit all and finish"
|
||||
And I click on "Submit all and finish" "button" in the "Submit all your answers and finish?" "dialogue"
|
||||
And I log out
|
||||
|
||||
And I am on the "Quiz 2" "mod_quiz > Manual grading report" page logged in as "teacher1"
|
||||
And I follow "Also show questions that have been graded automatically"
|
||||
And I should see "Essay Q1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user