itemengine-cypress-automation 1.0.278-revert-134-updatedRepo12thDec-5aacd81.0 → 1.0.278
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -2
- 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 +11 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +5 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +7 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +6 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +8 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +6 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +4 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +2 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -0
- package/cypress/e2e/ILC/EssayResponse/toolSettings.js +8 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -0
- 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 +0 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +2 -0
- 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 +4 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
- 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 +4 -2
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +1 -0
- package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +2 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +6 -0
- 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 +3 -2
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +2 -0
- 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 +2 -1
- package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +3 -4
- package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +4 -0
- package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +2 -3
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +5 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
- package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +3 -0
- package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +6 -3
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +6 -6
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +23 -1
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +476 -0
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +129 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +7 -5
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +384 -0
- 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 +19 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
- package/cypress/pages/components/essayResponseCommonComponents.js +6 -5
- package/cypress/pages/components/imageCanvasComponent.js +2 -2
- package/cypress/pages/components/layoutSectionComponent.js +6 -2
- package/cypress/pages/components/numberLineCommonComponent.js +12 -5
- package/cypress/pages/components/playbackControlsBaseComponent.js +5 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/drawingResponsePage.js +18 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -2
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -6
- package/cypress/pages/gridFillPage.js +2 -3
- package/cypress/pages/listOrderingPage.js +19 -12
- package/cypress/pages/matchingPage.js +16 -2
- package/cypress/pages/textEntryMathPage.js +715 -3
- package/cypress/pages/textEntryMathWithImagePage.js +133 -5
- package/package.json +1 -1
@@ -93,7 +93,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
93
93
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
94
94
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
95
95
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
96
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
96
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
97
97
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
98
98
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
99
99
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -101,7 +101,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
101
101
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
102
102
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
103
103
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
104
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
104
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
105
105
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
106
106
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
107
107
|
});
|
@@ -112,16 +112,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
112
112
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(7, 15);
|
113
113
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
114
114
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
115
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
116
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
115
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
116
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
117
117
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
118
118
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
119
119
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
120
120
|
/*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message and correct answer section should not be displayed')
|
121
121
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
122
122
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
123
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
124
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
123
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
124
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
125
125
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
126
126
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
127
127
|
});
|
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
133
133
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
134
134
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
135
135
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
136
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
136
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
137
137
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
138
138
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
139
139
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -141,7 +141,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
141
141
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
142
142
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
143
143
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
144
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
144
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
145
145
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
146
146
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
147
147
|
});
|
@@ -153,7 +153,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
153
153
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
154
154
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
155
155
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
156
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
156
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
157
157
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
158
158
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
159
159
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -161,7 +161,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
161
161
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
162
162
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
163
163
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
164
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
164
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
165
165
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
166
166
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
167
167
|
});
|
@@ -171,16 +171,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
171
171
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
172
172
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
|
173
173
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
174
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
175
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
174
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
175
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
176
176
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
177
177
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
178
178
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
179
179
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
180
180
|
/*cy.log('When the user has attempted the question with common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message and correct answer section should not be displayed')
|
181
181
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
182
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
183
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
182
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
183
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
184
184
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
185
185
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
186
186
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -193,7 +193,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
193
193
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
194
194
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
195
195
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
196
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
196
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
197
197
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
198
198
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
199
199
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -201,7 +201,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
201
201
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
202
202
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
203
203
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
204
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
204
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
205
205
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
206
206
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
207
207
|
});
|
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
94
94
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(3, 15);
|
95
95
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
96
96
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
97
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
98
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
97
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
98
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
99
99
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
100
100
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
101
101
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
102
102
|
/*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 dropdowns, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
103
103
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
104
104
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
105
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
106
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
105
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
106
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
107
107
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
108
108
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
109
109
|
});
|
@@ -114,16 +114,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
114
114
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
|
115
115
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
116
116
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
117
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
118
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
117
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
118
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
119
119
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
120
120
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
121
121
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
122
122
|
/*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
123
123
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
124
124
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
125
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
126
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
125
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
126
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
127
127
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
129
129
|
});
|
@@ -135,7 +135,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
135
135
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
136
136
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
137
137
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
138
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
138
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
139
139
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
140
140
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
141
141
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -143,7 +143,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
143
143
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
144
144
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
145
145
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
146
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
146
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
147
147
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
148
148
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
149
149
|
});
|
@@ -153,16 +153,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
153
153
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
154
154
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
|
155
155
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
156
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
157
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
156
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
157
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
158
158
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
159
159
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
160
160
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
161
161
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
162
162
|
/*cy.log('When the user has attempted the question with common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
163
163
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
164
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
165
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
164
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
165
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
166
166
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
167
167
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
168
168
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -175,7 +175,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
175
175
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
176
176
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
177
177
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
178
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
178
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
179
179
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
180
180
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
181
181
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -183,7 +183,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
183
183
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
184
184
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
185
185
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
186
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
186
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
187
187
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
188
188
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
189
189
|
});
|
@@ -95,16 +95,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
95
95
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
|
96
96
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
97
97
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
98
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
99
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
98
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
99
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
100
100
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
101
101
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
102
102
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
103
103
|
/*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 dropdowns, correct/incorrect status message and correct answer section should not be displayed')
|
104
104
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
105
105
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
106
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
107
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
106
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
107
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
108
108
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
109
109
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
110
110
|
});
|
@@ -115,16 +115,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
115
115
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
|
116
116
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
117
117
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
118
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
119
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
118
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
119
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
120
120
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
121
121
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
122
122
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
123
123
|
/*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message and correct answer section should not be displayed')
|
124
124
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
125
125
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
126
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
127
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
126
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
127
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
128
128
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
129
129
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
130
130
|
});
|
@@ -136,14 +136,14 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
136
136
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
137
137
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
138
138
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
139
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
139
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
140
140
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
141
141
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
142
142
|
/*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 dropdown with correct accordion response, incorrect icon should be displayed beside dropdown with the alternative accordion response, correct/incorrect status message and correct answer section should not be displayed')
|
143
143
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
144
144
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
145
145
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
146
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
146
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
147
147
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
148
148
|
});
|
149
149
|
|
@@ -152,16 +152,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
152
152
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
153
153
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
|
154
154
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
155
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
156
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
155
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
156
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
157
157
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
158
158
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
159
159
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
160
160
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
161
161
|
/*cy.log('When the user has attempted the question with the common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct dropdown, no icon should be displayed beside unattempted dropdown, correct/incorrect status message and correct answer section should not be displayed')
|
162
162
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
163
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
164
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
163
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
164
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
165
165
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
166
166
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
167
167
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -174,7 +174,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
174
174
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
175
175
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
176
176
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
177
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
177
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
178
178
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
179
179
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
180
180
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -182,7 +182,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
182
182
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
183
183
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
184
184
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
185
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
185
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
186
186
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
187
187
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
188
188
|
});
|
@@ -95,16 +95,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
95
95
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
|
96
96
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
97
97
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
98
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
99
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
98
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
99
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
100
100
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
101
101
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
102
102
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
103
103
|
/*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 dropdowns, correct/incorrect status message should not be displayed and correct answer section should not be displayed');
|
104
104
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
105
105
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
106
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
107
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
106
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
107
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
108
108
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
109
109
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
110
110
|
});
|
@@ -115,16 +115,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
115
115
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(3, 15);
|
116
116
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
117
117
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
118
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
119
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
118
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
119
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
120
120
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
121
121
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
122
122
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
123
123
|
/*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message should not be displayed and correct answer section should not be displayed');
|
124
124
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
125
125
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
126
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
127
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
126
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
127
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
128
128
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
129
129
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
130
130
|
});
|
@@ -136,7 +136,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
136
136
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
137
137
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
138
138
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
139
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
139
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
140
140
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
141
141
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
142
142
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -144,7 +144,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
144
144
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
145
145
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
146
146
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
147
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
147
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
148
148
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
149
149
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
150
150
|
});
|
@@ -154,16 +154,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
154
154
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
155
155
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
|
156
156
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
157
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
158
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
157
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
158
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
159
159
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
160
160
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
161
161
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
162
162
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
163
163
|
/*cy.log('When the user has attempted the question with common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correctly answered dropdown, no icon should be displayed beside unattempted dropdown, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
164
164
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
165
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
166
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
165
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
166
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
167
167
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
168
168
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
169
169
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -176,7 +176,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
176
176
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
177
177
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
178
178
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
179
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
179
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
180
180
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
181
181
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
182
182
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -184,7 +184,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
184
184
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
185
185
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
186
186
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
187
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
187
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
188
188
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
189
189
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
190
190
|
});
|
@@ -81,7 +81,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
81
81
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
82
82
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
83
83
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
84
|
-
fillInTheGapsOverImageTextPage.steps.
|
84
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
85
85
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
86
86
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
87
87
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -89,7 +89,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
89
89
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
90
90
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
91
91
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
92
|
-
fillInTheGapsOverImageTextPage.steps.
|
92
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
93
93
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
94
94
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
95
95
|
});
|
@@ -100,16 +100,16 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
100
100
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
|
101
101
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
102
102
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
103
|
-
fillInTheGapsOverImageTextPage.steps.
|
104
|
-
fillInTheGapsOverImageTextPage.steps.
|
103
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
104
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
105
105
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
106
106
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
107
107
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
108
108
|
/*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 for unattempted response area, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
109
109
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
110
110
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
111
|
-
fillInTheGapsOverImageTextPage.steps.
|
112
|
-
fillInTheGapsOverImageTextPage.steps.
|
111
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
112
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
113
113
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
114
114
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
115
115
|
});
|
@@ -121,7 +121,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
121
121
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
122
122
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
123
123
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
124
|
-
fillInTheGapsOverImageTextPage.steps.
|
124
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
125
125
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
126
126
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
127
127
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -129,7 +129,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
129
129
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
130
130
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
131
131
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
132
|
-
fillInTheGapsOverImageTextPage.steps.
|
132
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
133
133
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
134
134
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
135
135
|
});
|
@@ -141,7 +141,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
141
141
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
142
142
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
143
143
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
144
|
-
fillInTheGapsOverImageTextPage.steps.
|
144
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
145
145
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
146
146
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
147
147
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -149,7 +149,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
149
149
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
150
150
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
151
151
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
152
|
-
fillInTheGapsOverImageTextPage.steps.
|
152
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
153
153
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
154
154
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
155
155
|
});
|
@@ -159,16 +159,16 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
159
159
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
160
160
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
|
161
161
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
162
|
-
fillInTheGapsOverImageTextPage.steps.
|
163
|
-
fillInTheGapsOverImageTextPage.steps.
|
162
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
163
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
164
164
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
165
165
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
166
166
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
167
167
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
168
168
|
/*cy.log('When the user has attempted the question with common response between 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 for unattempted response area, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
169
169
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
170
|
-
fillInTheGapsOverImageTextPage.steps.
|
171
|
-
fillInTheGapsOverImageTextPage.steps.
|
170
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
171
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
172
172
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
173
173
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
174
174
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -180,16 +180,16 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
180
180
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
|
181
181
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
182
182
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
183
|
-
fillInTheGapsOverImageTextPage.steps.
|
184
|
-
fillInTheGapsOverImageTextPage.steps.
|
183
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
184
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
185
185
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
186
186
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
187
187
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
188
188
|
/*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 for unattempted response area, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
189
189
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
190
190
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
191
|
-
fillInTheGapsOverImageTextPage.steps.
|
192
|
-
fillInTheGapsOverImageTextPage.steps.
|
191
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
192
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
193
193
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
194
194
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
195
195
|
});
|