Then the "Submission status" of the assignment "Testing diary" should be "Submitted for grading"

Assert a line of the "Submission status" table of an assignment of the scenario's course, as the student sees it ("Submission status", "Grading status", "Online text", …).

Examples

Then the "Submission status" of the assignment "Testing diary" should be "Submitted for grading"
Then the "Grading status" of the assignment "Testing diary" should be "Not graded"
And the "Submission status" of the assignment "Testing diary" should be "No submissions have been made yet"
Then the "Grading status" of the assignment "Testing diary" should be "Graded"
And the "Online text" of the assignment "Testing diary" should be "Found a defect in the login form."

Pattern

Then(/^the "([^"]*)" of the assignment "([^"]*)" should be "([^"]*)"$/, …)

Part of @webship-js/moodle-steps (github.com/webship/moodle-steps), a step pack for Webship-js 2.0.x.