itemengine-cypress-automation 1.0.275 → 1.0.277-revert-134-updatedRepo12thDec-108a6c6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ChartsLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/Compass/compassEditTabBasicsSection.js +5 -11
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +5 -7
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +0 -8
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +0 -8
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +0 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +0 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +0 -2
- package/cypress/e2e/ILC/EssayResponse/toolSettings.js +2 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAlternateAnswerPopup.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +2 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +2 -4
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +0 -1
- package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +1 -2
- package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +0 -2
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +0 -6
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +2 -3
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +0 -2
- package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +4 -3
- package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +0 -4
- package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +3 -2
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +0 -5
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
- package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +0 -3
- package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +3 -6
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +1 -23
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -476
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +5 -7
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
- package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
- package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
- package/cypress/pages/audioPlayerPage.js +2 -2
- package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
- package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +1 -19
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
- package/cypress/pages/components/essayResponseCommonComponents.js +5 -6
- package/cypress/pages/components/imageCanvasComponent.js +2 -2
- package/cypress/pages/components/layoutSectionComponent.js +2 -6
- package/cypress/pages/components/numberLineCommonComponent.js +5 -12
- package/cypress/pages/components/playbackControlsBaseComponent.js +0 -5
- package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/drawingResponsePage.js +1 -18
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +2 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +6 -19
- package/cypress/pages/gridFillPage.js +3 -2
- package/cypress/pages/listOrderingPage.js +12 -19
- package/cypress/pages/matchingPage.js +2 -16
- package/cypress/pages/textEntryMathPage.js +4 -716
- package/cypress/pages/textEntryMathWithImagePage.js +5 -133
- package/package.json +1 -1
- package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +0 -129
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +0 -384
@@ -147,15 +147,15 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
147
147
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
148
148
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
149
149
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
150
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
151
|
-
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1)
|
150
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
151
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
152
152
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
153
153
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
154
154
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
155
155
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
156
156
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
157
157
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
158
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
158
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
159
159
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
160
160
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
161
161
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -167,7 +167,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
167
167
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
168
168
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
169
169
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
170
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
170
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
171
171
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
172
172
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
173
173
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -175,7 +175,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
175
175
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
176
176
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
177
177
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
178
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
178
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
179
179
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
180
180
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
181
181
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -188,16 +188,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
188
188
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
191
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
192
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
191
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
192
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
193
193
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
194
194
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
195
195
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
196
196
|
/*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion, incorrect icon should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
197
197
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
198
198
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
199
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
200
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
199
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
200
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
201
201
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
202
202
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
203
203
|
});
|
@@ -228,16 +228,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
228
228
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
229
229
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
230
230
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
231
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
232
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
231
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
232
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
233
233
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
234
234
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
235
235
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
236
236
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
237
237
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
238
238
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
239
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
240
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
239
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
240
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
241
241
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
242
242
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
243
243
|
});
|
@@ -248,16 +248,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
248
248
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
249
249
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
250
250
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
251
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
252
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
251
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
252
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
253
253
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
254
254
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
255
255
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
256
256
|
/*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, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
257
257
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
258
258
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
259
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
260
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
259
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
260
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
261
261
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
262
262
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
263
263
|
});
|
@@ -66,9 +66,9 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
|
|
66
66
|
|
67
67
|
it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed and the correct answer section should be displayed with correct answers', () => {
|
68
68
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
69
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
70
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
71
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
69
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
70
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
71
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
72
72
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
73
73
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
74
74
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToStudentView();
|
@@ -97,7 +97,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
|
|
97
97
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Roots': 2 });
|
98
98
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
99
99
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
100
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
100
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
101
101
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
102
102
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
@@ -105,7 +105,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
|
|
105
105
|
/*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct, some incomplete, some incorrect options, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
106
106
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
108
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
108
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
109
109
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
110
110
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
111
111
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -115,7 +115,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
|
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.resetQuestionPreview();
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 1, 'Stem': 2 });
|
117
117
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
118
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
118
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
119
119
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
120
120
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
121
121
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -123,7 +123,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
|
|
123
123
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
124
124
|
/*cy.log('When user clicks on Check answer button after he attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
126
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
126
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
127
127
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
128
128
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(6, 15);
|
85
85
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
86
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
86
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
89
89
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -91,7 +91,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
91
91
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
92
92
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, status message and correct answer section should not be displayed')
|
93
93
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
94
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
94
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
95
95
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
96
96
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
97
97
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -103,7 +103,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
104
104
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(9, 15);
|
105
105
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
106
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
106
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
108
108
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
109
109
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -111,7 +111,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
111
111
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
112
112
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
|
113
113
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
114
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
114
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
117
117
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -125,7 +125,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
126
126
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
127
127
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
128
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
128
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
130
130
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
131
131
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
133
133
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
134
134
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
135
135
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
136
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
136
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
137
137
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
138
138
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
139
139
|
});
|
@@ -184,16 +184,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
184
184
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(7, 15);
|
185
185
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
186
186
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
187
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
188
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
187
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
188
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
191
191
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
192
192
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
|
193
193
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
194
194
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
195
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
196
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
195
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
196
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
197
197
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
198
198
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
199
199
|
});
|
@@ -204,16 +204,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
204
204
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
205
205
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
206
206
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
207
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
208
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
207
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
208
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
209
209
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
210
210
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
211
211
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
212
212
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
|
213
213
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
214
214
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
215
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
216
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
215
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
216
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
217
217
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
218
218
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
219
219
|
});
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js
CHANGED
@@ -40,16 +40,16 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
40
40
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Roots': 2 });
|
41
41
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
42
42
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
43
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
44
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
43
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
44
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
45
45
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
46
46
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
47
47
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
48
48
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
49
49
|
/*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' red cross-marks should be displayed besides all incorrect responses, a status message should not be displayed and correct answer section should not be displayed')
|
50
50
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
51
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
52
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
51
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
52
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
53
53
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
54
54
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
55
55
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -61,7 +61,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
61
61
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(9, 20);
|
62
62
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
63
63
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
64
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
64
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
65
65
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
66
66
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
67
67
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
@@ -69,7 +69,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
69
69
|
/*cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
|
70
70
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
71
71
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
72
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
72
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
73
73
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
74
74
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
75
75
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -80,7 +80,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
80
80
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
81
81
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(11, 20);
|
82
82
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
83
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
83
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
85
85
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
86
86
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -88,7 +88,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
89
89
|
/*cy.log('When the user attempts the question partially correct with all the responses correctly attempted but one response incomplete and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
|
90
90
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
91
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
91
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
92
92
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
93
93
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
94
94
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(9, 15);
|
85
85
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
86
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
86
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
89
89
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -91,7 +91,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
91
91
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
92
92
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, a status message and correct answer section should not be displayed')
|
93
93
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
94
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
94
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
95
95
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
96
96
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
97
97
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -103,7 +103,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
104
104
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(8, 15);
|
105
105
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
106
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
106
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
108
108
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
109
109
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -111,7 +111,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
111
111
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
112
112
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message and correct answer section should not be displayed')
|
113
113
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
114
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
114
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
117
117
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -125,7 +125,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
126
126
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
127
127
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
128
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
128
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
130
130
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
131
131
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
133
133
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
134
134
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
135
135
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
136
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
136
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
137
137
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
138
138
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
139
139
|
});
|
@@ -184,16 +184,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
184
184
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(7, 15);
|
185
185
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
186
186
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
187
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
188
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
187
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
188
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
191
191
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
192
192
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message and correct answer section should not be displayed')
|
193
193
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
194
194
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
195
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
196
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
195
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
196
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
197
197
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
198
198
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
199
199
|
});
|
@@ -204,16 +204,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
204
204
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
205
205
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
206
206
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
207
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
208
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
207
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
208
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
209
209
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
210
210
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
211
211
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
212
212
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message and correct answer section should not be displayed')
|
213
213
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
214
214
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
215
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
216
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
215
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
216
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
217
217
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
218
218
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
219
219
|
});
|
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(9, 15);
|
85
85
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
86
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
86
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
89
89
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -91,7 +91,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
91
91
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
92
92
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
|
93
93
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
94
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
94
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
95
95
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
96
96
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
97
97
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -103,7 +103,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
104
104
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(6, 15);
|
105
105
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
106
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
106
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
108
108
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
109
109
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -111,7 +111,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
111
111
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
112
112
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
113
113
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
114
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
114
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
117
117
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -125,7 +125,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
126
126
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
127
127
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
128
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
128
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
130
130
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
131
131
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
133
133
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
134
134
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
135
135
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
136
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
136
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
137
137
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
138
138
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
139
139
|
});
|
@@ -184,16 +184,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
184
184
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(7, 15);
|
185
185
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
186
186
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
187
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
188
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
187
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
188
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
191
191
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
192
192
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
193
193
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
194
194
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
195
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
196
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
195
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
196
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
197
197
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
198
198
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
199
199
|
});
|
@@ -204,16 +204,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
204
204
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
205
205
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
206
206
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
207
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
208
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
207
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
208
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
209
209
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
210
210
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
211
211
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
212
212
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
213
213
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
214
214
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
215
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
216
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
215
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
216
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
217
217
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
218
218
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
219
219
|
});
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js
CHANGED
@@ -40,16 +40,16 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
40
40
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Roots': 2 });
|
41
41
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
42
42
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
43
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
44
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
43
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
44
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
45
45
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
46
46
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
47
47
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
48
48
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
49
49
|
/*cy.log('When user clicks on Check answer button after he attempts the question incorrectly incorrect icons should be displayed besides all incorrect responses, status message and correct answer section should not be displayed')
|
50
50
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
51
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
52
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
51
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
52
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
53
53
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
54
54
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
55
55
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -61,7 +61,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
61
61
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(5, 15);
|
62
62
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
63
63
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
64
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
64
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
65
65
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
66
66
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
67
67
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
@@ -69,7 +69,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
69
69
|
/*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct, some incomplete, some incorrect options, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
|
70
70
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
71
71
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
72
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
72
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
73
73
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
74
74
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
75
75
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -80,7 +80,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
80
80
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
81
81
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
82
82
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
83
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
83
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
85
85
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
86
86
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -88,7 +88,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
89
89
|
/*cy.log('When user clicks on Check answer button after he attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
|
90
90
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
91
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
91
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
92
92
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
93
93
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
94
94
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|