Línea 2... |
Línea 2... |
2 |
Feature: In a lesson activity, students can review the answers they gave to questions
|
2 |
Feature: In a lesson activity, students can review the answers they gave to questions
|
3 |
To review questions of a lesson
|
3 |
To review questions of a lesson
|
4 |
As a student
|
4 |
As a student
|
5 |
I need to complete a lesson answering all of the questions.
|
5 |
I need to complete a lesson answering all of the questions.
|
Línea -... |
Línea 6... |
- |
|
6 |
|
6 |
|
7 |
@javascript @accessibility
|
7 |
Scenario: Student answers questions and then reviews them.
|
8 |
Scenario: Student answers questions and then reviews them.
|
8 |
Given the following "users" exist:
|
9 |
Given the following "users" exist:
|
9 |
| username | firstname | lastname | email |
|
10 |
| username | firstname | lastname | email |
|
10 |
| teacher1 | Teacher | 1 | teacher1@example.com |
|
11 |
| teacher1 | Teacher | 1 | teacher1@example.com |
|
Línea 87... |
Línea 88... |
87 |
And I should see "You have answered 2 correctly out of 3 attempts."
|
88 |
And I should see "You have answered 2 correctly out of 3 attempts."
|
88 |
And I should see "Paper is made from trees."
|
89 |
And I should see "Paper is made from trees."
|
89 |
And I should see "Correct answer 2"
|
90 |
And I should see "Correct answer 2"
|
90 |
And I press "Continue"
|
91 |
And I press "Continue"
|
91 |
And I should see "Congratulations - end of lesson reached"
|
92 |
And I should see "Congratulations - end of lesson reached"
|
- |
|
93 |
# Check assessibility at the lesson start page.
|
- |
|
94 |
# Attempts heading should be at correct heading level.
|
- |
|
95 |
And I am on the "Test lesson name" "lesson activity" page
|
- |
|
96 |
And the "[role=main]" "css_element" should meet accessibility standards with "best-practice" extra tests
|