itemengine-cypress-automation 1.0.201-28thMayRepoUpdate-e720349.0 → 1.0.201
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioPlayerNew/headerSection.js +1 -1
- package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +4 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionMinimumAndPenaltyScoring.js +18 -18
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +5 -7
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +5 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/conditionalCheckboxScoring.js +28 -28
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +4 -3
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -2
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeigtsCorrectPointsGreaterThanAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/ImageHighlight/additionalSettings.js +3 -3
- package/cypress/e2e/ILC/ImageHighlight/editTabScoring.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialEqualWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/ListOrderingNew/additionalSettings.js +2 -1
- package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +0 -14
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -12
- package/cypress/e2e/ILC/NumberLineLabel/layoutSection.js +6 -2
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +2 -0
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsBasic.js +1 -2
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/additionalSettings.js +2 -2
- package/cypress/e2e/ILC/TextSelection/editTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/TextSelection/headerSection.js +3 -2
- package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +1 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInPreviewTab.js +3 -1
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +4 -4
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsStandardRecorderStyle.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +3 -2
- package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +1 -1
- package/cypress/pages/audioPlayerPage.js +2 -0
- package/cypress/pages/chartsLinePage.js +2 -2
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +3 -1
- package/cypress/pages/components/commonComponents.js +1 -0
- package/cypress/pages/components/createQuestionBasePage.js +1 -1
- package/cypress/pages/components/draggableOptionContainer.js +2 -2
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -0
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +2 -2
- package/cypress/pages/components/imageCanvasComponent.js +10 -0
- package/cypress/pages/dialogBoxBase.js +3 -2
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +2 -23
- package/cypress/pages/drawingResponsePage.js +1 -1
- package/cypress/pages/fillInTheGapsOverImageTextPage.js +2 -1
- package/cypress/pages/listOrderingPage.js +9 -6
- package/cypress/pages/numberLineLabelPage.js +2 -0
- package/cypress/pages/numberLinePage.js +55 -54
- package/cypress/pages/textSelectionPage.js +0 -3
- package/cypress/pages/videoResponsePage.js +5 -1
- package/package.json +2 -2
@@ -23,7 +23,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
23
23
|
it('When all conditional checkboxes are unchecked and user attempts the question with incorrect casing then full points should be awarded and when user clicks on \'Check answer\' button, green check mark beside the correct response field and a status message with text \'Your answer is correct\' should be displayed', () => {
|
24
24
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'floWer is diSplayed' }]);
|
25
25
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
26
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
26
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
27
27
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
28
28
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
29
29
|
});
|
@@ -34,7 +34,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
34
34
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
35
35
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'flower is Displayed' }]);
|
36
36
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
37
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
37
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
38
38
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
39
39
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
40
40
|
});
|
@@ -43,7 +43,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
43
43
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
44
44
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is displayed' }]);
|
45
45
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
46
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
46
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
47
47
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
48
48
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
49
49
|
});
|
@@ -54,7 +54,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
54
54
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
55
55
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'flower is Displayed in this image' }]);
|
56
56
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
57
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
57
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
58
58
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
59
59
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
60
60
|
});
|
@@ -63,7 +63,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
63
63
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
64
64
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'This image has Flower' }]);
|
65
65
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
66
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
66
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
67
67
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
68
68
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
69
69
|
});
|
@@ -72,7 +72,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
72
72
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
73
73
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is displayed in this image' }]);
|
74
74
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
75
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
75
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
76
76
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
77
77
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
78
78
|
});
|
@@ -84,7 +84,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
84
84
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
85
85
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: ' flower is Displayed ' }]);
|
86
86
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
87
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
87
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
88
88
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
89
89
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
90
90
|
});
|
@@ -93,7 +93,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
93
93
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
94
94
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flo wer is displayed' }]);
|
95
95
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
96
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
96
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
97
97
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
98
98
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
99
99
|
});
|
@@ -102,7 +102,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
102
102
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
103
103
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: ' Flower is displayed ' }]);
|
104
104
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
105
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
105
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
106
106
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
107
107
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
108
108
|
});
|
@@ -114,7 +114,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
114
114
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
115
115
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'flower is Displayes' }]);
|
116
116
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
117
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
117
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
118
118
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
119
119
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
120
120
|
});
|
@@ -123,7 +123,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
123
123
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
124
124
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flowrr is displayes' }]);
|
125
125
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
126
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
126
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
127
127
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
128
128
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
129
129
|
});
|
@@ -132,7 +132,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
132
132
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
133
133
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is displayes' }]);
|
134
134
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
135
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
135
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
136
136
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
137
137
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
138
138
|
});
|
@@ -155,7 +155,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
155
155
|
it('When all conditional checkboxes are unchecked and user attempts the question with a sentence which includes the answer then zero points should be awarded and when user clicks on \'Check answer\' button, red cross mark beside the response field and a status message with text \'Your answer is incorrect\' should be displayed', () => {
|
156
156
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is displayed in this image' }]);
|
157
157
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
158
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
158
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
159
159
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
160
160
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
161
161
|
});
|
@@ -166,7 +166,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
166
166
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
167
167
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Image contains fruit' }]);
|
168
168
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
169
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
169
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
170
170
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
171
171
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
172
172
|
});
|
@@ -175,7 +175,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
175
175
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
176
176
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'This image contains flower' }]);
|
177
177
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
178
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
178
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
179
179
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
180
180
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
181
181
|
});
|
@@ -184,7 +184,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
184
184
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
185
185
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is displayed in this image' }]);
|
186
186
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
187
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
187
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
188
188
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
189
189
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
190
190
|
});
|
@@ -193,7 +193,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
193
193
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
194
194
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is displayed' }]);
|
195
195
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
196
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
196
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
197
197
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
198
198
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
199
199
|
});
|
@@ -216,7 +216,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
216
216
|
it('When all conditional checkboxes are unchecked and user attempts the question with extra spaces before and after the correct answer then zero points should be awarded and when user clicks on \'Check answer\' button, red cross mark beside the response field and a status message with text \'Your answer is incorrect\' should be displayed', () => {
|
217
217
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: ' Flower is displayed ' }]);
|
218
218
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
219
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
219
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
220
220
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
221
221
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
222
222
|
});
|
@@ -227,7 +227,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
227
227
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
228
228
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is dis played' }]);
|
229
229
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
230
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
230
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
231
231
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
232
232
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
233
233
|
});
|
@@ -236,7 +236,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
236
236
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
237
237
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: ' Flower is displayed ' }]);
|
238
238
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
239
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
239
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
240
240
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
241
241
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
242
242
|
});
|
@@ -245,7 +245,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
245
245
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
246
246
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is displayed' }]);
|
247
247
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
248
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
248
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
249
249
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
250
250
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
251
251
|
});
|
@@ -256,7 +256,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
256
256
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
257
257
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flo wer is displayes' }]);
|
258
258
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
259
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
259
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
260
260
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
261
261
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
262
262
|
});
|
@@ -265,7 +265,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
265
265
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
266
266
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: ' Fkower is dispkayed ' }]);
|
267
267
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
268
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
268
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
269
269
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
270
270
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
271
271
|
});
|
@@ -274,7 +274,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
274
274
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
275
275
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: ' Flower is displayes ' }]);
|
276
276
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
277
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
277
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
278
278
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
279
279
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
280
280
|
});
|
@@ -297,7 +297,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
297
297
|
it('When all conditional checkboxes are unchecked and user attempts the question with single letter mistake then zero points should be awarded and when user clicks on \'Check answer\' button, red cross mark beside the response field and a status message with text \'Your answer is incorrect\' should be displayed', () => {
|
298
298
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is displayes' }]);
|
299
299
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
300
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
300
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
301
301
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
302
302
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
303
303
|
});
|
@@ -308,7 +308,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
308
308
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
309
309
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Floeer is displayes' }]);
|
310
310
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);
|
311
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
311
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
312
312
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
313
313
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
314
314
|
});
|
@@ -317,7 +317,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
317
317
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
318
318
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Floeer is displayed' }]);
|
319
319
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
320
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
320
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
321
321
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
322
322
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
323
323
|
});
|
@@ -326,7 +326,7 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
|
|
326
326
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
327
327
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower is displayed' }]);
|
328
328
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(10, 10);
|
329
|
-
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
329
|
+
//fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
330
330
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
331
331
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
332
332
|
});
|
@@ -185,7 +185,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
185
185
|
it('When the user attempts the question correctly along with an incorrect response, then penalty points should get deducted from the awarded points', () => {
|
186
186
|
fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
|
187
187
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Seed' }]);
|
188
|
-
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(
|
188
|
+
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(11, 20);
|
189
189
|
});
|
190
190
|
|
191
191
|
it('When the user attempts the question correctly along with multiple incorrect responses, then penalty points should get deducted from the awarded points only once, the deducted penalty points should not increase as per number of attempted incorrect responses', () => {
|
@@ -29,15 +29,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
29
29
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
30
30
|
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaNumeration();
|
31
31
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
32
|
+
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
32
33
|
});
|
33
34
|
|
34
35
|
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, correct/incorrect status message should not be displayed and correct answer section with all correct answers along with numeration should be displayed', () => {
|
35
36
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Roots' }]);
|
36
37
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
|
37
38
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
38
|
-
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(
|
39
|
+
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
39
40
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
40
|
-
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(
|
41
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
41
42
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
42
43
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
43
44
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -104,9 +105,8 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
104
105
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(80);
|
105
106
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
106
107
|
fillInTheGapsOverImageTextPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
107
|
-
fillInTheGapsOverImageTextPage.steps.allotPoints(
|
108
|
+
fillInTheGapsOverImageTextPage.steps.allotPoints(20);
|
108
109
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
109
|
-
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
110
110
|
});
|
111
111
|
|
112
112
|
it('When the user selects \'Award minimum score\' from the minimum scoring dropdown, does not attempt the question and switches to grading view, then the user should be awarded with minimum points', () => {
|
@@ -149,10 +149,10 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
|
|
149
149
|
fillInTheGapsOverImageTextPage.steps.selectResponseArea(0);
|
150
150
|
fillInTheGapsOverImageTextPage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[1]);
|
151
151
|
fillInTheGapsOverImageTextPage.steps.selectResponseArea(1);
|
152
|
-
fillInTheGapsOverImageTextPage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[
|
152
|
+
fillInTheGapsOverImageTextPage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[7]);
|
153
153
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
154
154
|
fillInTheGapsOverImageTextPage.steps.verifyTextContainerPointerStyleInPreviewTab(textContainerPointerStyles[1], 0);
|
155
|
-
fillInTheGapsOverImageTextPage.steps.verifyTextContainerPointerStyleInPreviewTab(textContainerPointerStyles[
|
155
|
+
fillInTheGapsOverImageTextPage.steps.verifyTextContainerPointerStyleInPreviewTab(textContainerPointerStyles[7], 1);
|
156
156
|
});
|
157
157
|
|
158
158
|
it('When user insert text and changes color for text in edit tab, then inserted text should be displayed in canvas in preview tab', () => {
|
@@ -274,7 +274,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
|
|
274
274
|
|
275
275
|
fillInTheGapsOverImageTextPage.tests.verifyTextColorPopupFunctionality();
|
276
276
|
|
277
|
-
|
277
|
+
it('When the user clicks on the \'Edit color\' present in an \'Text color\' popup, then a select color popup should be displayed', () => {
|
278
278
|
fillInTheGapsOverImageTextPage.steps.clickOnEditColorButton();
|
279
279
|
fillInTheGapsOverImageTextPage.steps.verifyColorPopupIsDisplayed();
|
280
280
|
});
|
@@ -294,6 +294,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
|
|
294
294
|
});
|
295
295
|
|
296
296
|
it('When the user modifies the selected color in the color popup and clicks on \'Cancel\' button, then the popup should close, the color block should not change and the modifications in the color popup should not persist', () => {
|
297
|
+
fillInTheGapsOverImageTextPage.steps.selectInsertedTextBox(0);
|
297
298
|
fillInTheGapsOverImageTextPage.steps.clickOnTextColorButton();
|
298
299
|
fillInTheGapsOverImageTextPage.steps.clickOnEditColorButton()
|
299
300
|
fillInTheGapsOverImageTextPage.steps.addInputToHexInputField('#00002E');
|
@@ -350,7 +350,7 @@ describe('Create item page - Image highlight: Partial different weights', () =>
|
|
350
350
|
imageHighlightPage.steps.allotTotalPenaltyPoints(4);
|
351
351
|
imageHighlightPage.steps.switchToPreviewTab();
|
352
352
|
imageHighlightPage.steps.highlightARegionInPreviewTab(3);
|
353
|
-
imageHighlightPage.steps.verifyPreviewScore(-
|
353
|
+
imageHighlightPage.steps.verifyPreviewScore(-2, 20);
|
354
354
|
});
|
355
355
|
|
356
356
|
it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
|
@@ -392,7 +392,7 @@ describe('Create item page - Image highlight: Partial different weights', () =>
|
|
392
392
|
imageHighlightPage.steps.allotPenaltyPointsForEachIncorrectOption(4);
|
393
393
|
imageHighlightPage.steps.switchToPreviewTab();
|
394
394
|
imageHighlightPage.steps.highlightARegionInPreviewTab(3);
|
395
|
-
imageHighlightPage.steps.verifyPreviewScore(-
|
395
|
+
imageHighlightPage.steps.verifyPreviewScore(-4, 20);
|
396
396
|
});
|
397
397
|
|
398
398
|
it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
|
@@ -270,12 +270,12 @@ describe('Create Item page - Image highlight: Partial different weights with alt
|
|
270
270
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 4'], [1, 2]);
|
271
271
|
imageHighlightPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
272
272
|
|
273
|
-
cy.log('Overachiever case: When the user clicks on \'Check answer\' button, green check-mark icons should be displayed for the correct tab option, red cross-mark icon should be displayed for the alternate tab options, correct answers container should not be displayed and correct/incorrect answer label and its border should not be displayed')
|
273
|
+
/*cy.log('Overachiever case: When the user clicks on \'Check answer\' button, green check-mark icons should be displayed for the correct tab option, red cross-mark icon should be displayed for the alternate tab options, correct answers container should not be displayed and correct/incorrect answer label and its border should not be displayed')
|
274
274
|
imageHighlightPage.steps.checkAnswer();
|
275
275
|
imageHighlightPage.steps.verifyCorrectHighlightRegion(0);
|
276
276
|
imageHighlightPage.steps.verifyIncorrectHighlightRegion(1);
|
277
277
|
imageHighlightPage.steps.verifyIncorrectHighlightRegion(2);
|
278
|
-
imageHighlightPage.steps.verifyHiddenHighlightRegion(3)
|
278
|
+
imageHighlightPage.steps.verifyHiddenHighlightRegion(3);*/
|
279
279
|
});
|
280
280
|
});
|
281
281
|
});
|
@@ -60,7 +60,7 @@ describe('Create Item page - Image highlight : Additional settings', () => {
|
|
60
60
|
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(1);
|
61
61
|
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(2);
|
62
62
|
imageHighlightPage.steps.allotPoints(10);
|
63
|
-
imageHighlightPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
63
|
+
//imageHighlightPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
64
64
|
imageHighlightPage.steps.expandAdditionalSettings();
|
65
65
|
});
|
66
66
|
|
@@ -71,10 +71,10 @@ describe('Create Item page - Image highlight : Additional settings', () => {
|
|
71
71
|
imageHighlightPage.steps.verifyHighlightNumerationNotExist();
|
72
72
|
});
|
73
73
|
|
74
|
-
it('When user clicks on \'Check answer\' button then the numeration should not be displayed in the highlight regions', () => {
|
74
|
+
/*it('When user clicks on \'Check answer\' button then the numeration should not be displayed in the highlight regions', () => {
|
75
75
|
imageHighlightPage.steps.checkAnswer();
|
76
76
|
imageHighlightPage.steps.verifyHighlightNumerationNotExist();
|
77
|
-
})
|
77
|
+
});*/
|
78
78
|
|
79
79
|
it(`When the user switches to the "Grading view", then the "${option}" numeration should be displayed in the highlight regions as well as correct answer options in the correct answer section`, () => {
|
80
80
|
imageHighlightPage.steps.switchToGradingView();
|
@@ -287,7 +287,7 @@ describe('Create item page - Image highlight: Scoring section', () => {
|
|
287
287
|
imageHighlightPage.steps.allotPoints(9);
|
288
288
|
imageHighlightPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
289
289
|
imageHighlightPage.steps.verifyPartialDifferentWeightsOptionLabelAndPoints(0, 4.5);
|
290
|
-
imageHighlightPage.steps.verifyPartialDifferentWeightsOptionLabelAndPoints(
|
290
|
+
imageHighlightPage.steps.verifyPartialDifferentWeightsOptionLabelAndPoints(1, 4.5);
|
291
291
|
});
|
292
292
|
});
|
293
293
|
|
package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialDifferentWeightsBasic.js
CHANGED
@@ -53,14 +53,14 @@ describe('Create Item page - List ordering: Preview tab scoring', () => {
|
|
53
53
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
54
54
|
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
55
55
|
listOrderingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
56
|
-
cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, correct/incorrect status message and correct answer section should not be displayed')
|
56
|
+
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, correct/incorrect status message and correct answer section should not be displayed')
|
57
57
|
listOrderingPage.steps.checkAnswer();
|
58
58
|
listOrderingPage.steps.verifyIncorrectOptionIconHorizontalOrientation('flower');
|
59
59
|
listOrderingPage.steps.verifyIncorrectOptionIconHorizontalOrientation('plant');
|
60
60
|
listOrderingPage.steps.verifyIncorrectOptionIconHorizontalOrientation('seed');
|
61
61
|
listOrderingPage.steps.verifyIncorrectOptionIconHorizontalOrientation('sprout');
|
62
62
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
63
|
-
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists()
|
63
|
+
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();*/
|
64
64
|
});
|
65
65
|
|
66
66
|
it('When the user attempts the question partially correct, then the user should be awarded points of the correctly attempted responses and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, correct/incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
@@ -77,14 +77,14 @@ describe('Create Item page - List ordering: Preview tab scoring', () => {
|
|
77
77
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
78
78
|
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
79
79
|
listOrderingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
80
|
-
cy.log('When user attempts the question partially correct and clicks on \'Check Answer\' button, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, correct/incorrect status message and correct answer section should not be displayed')
|
80
|
+
/*cy.log('When user attempts the question partially correct and clicks on \'Check Answer\' button, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, correct/incorrect status message and correct answer section should not be displayed')
|
81
81
|
listOrderingPage.steps.checkAnswer();
|
82
82
|
listOrderingPage.steps.verifyIncorrectOptionIconHorizontalOrientation('plant');
|
83
83
|
listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('sprout');
|
84
84
|
listOrderingPage.steps.verifyIncorrectOptionIconHorizontalOrientation('seed');
|
85
85
|
listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('flower');
|
86
86
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
87
|
-
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists()
|
87
|
+
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();*/
|
88
88
|
});
|
89
89
|
|
90
90
|
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct/incorrect status message and correct answer section should not be displayed', () => {
|
@@ -101,14 +101,14 @@ describe('Create Item page - List ordering: Preview tab scoring', () => {
|
|
101
101
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
102
102
|
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
103
103
|
listOrderingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
104
|
-
cy.log('When user attempts the question correctly and clicks on the \'Check Answer\' button, then correct icons should be displayed beside all the correct responses, correct/incorrect status message and correct answer section should not be displayed')
|
104
|
+
/*cy.log('When user attempts the question correctly and clicks on the \'Check Answer\' button, then correct icons should be displayed beside all the correct responses, correct/incorrect status message and correct answer section should not be displayed')
|
105
105
|
listOrderingPage.steps.checkAnswer();
|
106
106
|
listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('sprout');
|
107
107
|
listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('seed');
|
108
108
|
listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('plant');
|
109
109
|
listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('flower');
|
110
110
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
111
|
-
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists()
|
111
|
+
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();*/
|
112
112
|
});
|
113
113
|
});
|
114
114
|
});
|