Skip to content

Commit

Permalink
fix behat test
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippImhof committed Dec 10, 2024
1 parent 94f6454 commit 76e0af0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions tests/behat/form.feature
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,39 @@ Feature: Validation and display of the form
And quiz "Quiz 1" contains the following questions:
| question | page | maxmark |
| Q1 | 1 | 1.0 |
And quiz "Quiz 2" contains the following questions:
| question | page | maxmark |
| Q1 | 1 | 1.0 |
And quiz "Quiz 3" contains the following questions:
| question | page | maxmark |
| Q1 | 1 | 1.0 |
And quiz "Quiz 4" contains the following questions:
| question | page | maxmark |
| Q1 | 1 | 1.0 |
And quiz "Quiz 5" contains the following questions:
| question | page | maxmark |
| Q1 | 1 | 1.0 |
And quiz "Quiz 6" contains the following questions:
| question | page | maxmark |
| Q1 | 1 | 1.0 |
And user "student1" has attempted "Quiz 1" with responses:
| slot | response |
| 1 | The first student's answer. |
And user "student1" has attempted "Quiz 2" with responses:
| slot | response |
| 1 | The first student's answer. |
And user "student1" has attempted "Quiz 3" with responses:
| slot | response |
| 1 | The first student's answer. |
And user "student1" has attempted "Quiz 4" with responses:
| slot | response |
| 1 | The first student's answer. |
And user "student1" has attempted "Quiz 5" with responses:
| slot | response |
| 1 | The first student's answer. |
And user "student1" has attempted "Quiz 6" with responses:
| slot | response |
| 1 | The first student's answer. |

Scenario: Invalid form values should trigger an error message
When I am on the "Quiz 1" "quiz_essaydownload > essaydownload report" page logged in as "teacher1"
Expand Down

0 comments on commit 76e0af0

Please sign in to comment.