Skip to content

Commit

Permalink
MDL-80725 lang: Fix Behat regressions related to the question rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Feb 1, 2024
1 parent cb831f8 commit b175313
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion mod/feedback/tests/behat/export_import.feature
Expand Up @@ -28,7 +28,7 @@ Feature: Exporting and importing feedbacks
| Question | this is an information question |
| Label | info |
| Information type | Course |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | label text |
And I add a "Longer text answer" question to the feedback with:
| Question | this is a longer text answer |
Expand Down
18 changes: 9 additions & 9 deletions mod/feedback/tests/behat/multichoice.feature
Expand Up @@ -31,7 +31,7 @@ Feature: Testing multichoice questions in feedback
| Label | multichoice1 |
| Multiple choice type | Multiple choice - single answer |
| Multiple choice values | option a\noption b\noption c |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | this is the first page of the feedback |
And I select "Add a page break" from the "typ" singleselect
And I add a "Multiple choice" question to the feedback with:
Expand All @@ -40,7 +40,7 @@ Feature: Testing multichoice questions in feedback
| Multiple choice type | Multiple choice - single answer |
| Multiple choice values | option d\noption e\noption f |
| Required | 1 |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | this is the second page of the feedback |
And I select "Add a page break" from the "typ" singleselect
And I add a "Multiple choice" question to the feedback with:
Expand All @@ -51,7 +51,7 @@ Feature: Testing multichoice questions in feedback
| Hide the "Not selected" option | Yes |
| Dependence item | multichoice2 |
| Dependence value | option d |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | this is the third page of the feedback |
And I log out
And I am on the "Learning experience" "feedback activity" page logged in as student1
Expand Down Expand Up @@ -171,7 +171,7 @@ Feature: Testing multichoice questions in feedback
| Label | multichoice1 |
| Multiple choice type | Multiple choice - multiple answers |
| Multiple choice values | option a\noption b\noption c |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | this is the first page of the feedback |
And I select "Add a page break" from the "typ" singleselect
And I add a "Multiple choice" question to the feedback with:
Expand All @@ -180,7 +180,7 @@ Feature: Testing multichoice questions in feedback
| Multiple choice type | Multiple choice - multiple answers |
| Multiple choice values | option d\noption e\noption f |
| Required | 1 |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | this is the second page of the feedback |
And I select "Add a page break" from the "typ" singleselect
And I add a "Multiple choice" question to the feedback with:
Expand All @@ -190,7 +190,7 @@ Feature: Testing multichoice questions in feedback
| Multiple choice values | option g\noption h\noption i |
| Dependence item | multichoice2 |
| Dependence value | option d |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | this is the third page of the feedback |
And I log out
# Login as the first student.
Expand Down Expand Up @@ -310,7 +310,7 @@ Feature: Testing multichoice questions in feedback
| Label | multichoice1 |
| Multiple choice type | Multiple choice - single answer allowed (drop-down menu) |
| Multiple choice values | option a\noption b\noption c |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | this is the first page of the feedback |
And I select "Add a page break" from the "typ" singleselect
And I add a "Multiple choice" question to the feedback with:
Expand All @@ -319,7 +319,7 @@ Feature: Testing multichoice questions in feedback
| Multiple choice type | Multiple choice - single answer allowed (drop-down menu) |
| Multiple choice values | option d\noption e\noption f |
| Required | 1 |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | this is the second page of the feedback |
And I select "Add a page break" from the "typ" singleselect
And I add a "Multiple choice" question to the feedback with:
Expand All @@ -329,7 +329,7 @@ Feature: Testing multichoice questions in feedback
| Multiple choice values | option g\noption h\noption i |
| Dependence item | multichoice2 |
| Dependence value | option d |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | this is the third page of the feedback |
And I log out
And I am on the "Learning experience" "feedback activity" page logged in as student1
Expand Down
2 changes: 1 addition & 1 deletion mod/feedback/tests/behat/question_types.feature
Expand Up @@ -28,7 +28,7 @@ Feature: Test creating different types of feedback questions for anonymous feedb
| Question | this is an information question |
| Label | info |
| Information type | Course |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | label text |
And I add a "Longer text answer" question to the feedback with:
| Question | this is a longer text answer |
Expand Down
2 changes: 1 addition & 1 deletion mod/feedback/tests/behat/question_types_non_anon.feature
Expand Up @@ -32,7 +32,7 @@ Feature: Test creating different types of feedback questions for non-anonymous f
| Question | this is a response time question |
| Label | curtime |
| Information type | Responses time |
And I add a "Label" question to the feedback with:
And I add a "Text and media area" question to the feedback with:
| Contents | label text |
And I add a "Longer text answer" question to the feedback with:
| Question | this is a longer text answer |
Expand Down

0 comments on commit b175313

Please sign in to comment.