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
@@ -92,16 +92,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
92
92
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
93
93
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
94
94
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
95
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
96
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
95
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
96
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
97
97
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
98
98
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
99
99
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
100
100
|
/*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 correctly answered dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
101
101
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
102
102
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
103
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
104
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
103
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
104
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
105
105
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
106
106
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
107
107
|
});
|
@@ -112,16 +112,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
112
112
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
118
118
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
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 correctly answered dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
126
126
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
127
127
|
});
|
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
133
133
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
134
134
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
135
135
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
136
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
136
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
137
137
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
138
138
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
139
139
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -141,7 +141,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
141
141
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
142
142
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
143
143
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
144
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
144
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
145
145
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
146
146
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
147
147
|
});
|
@@ -153,7 +153,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
153
153
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
154
154
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
155
155
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
156
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
156
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
157
157
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
158
158
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
159
159
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -161,7 +161,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
161
161
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
162
162
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
163
163
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
164
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
164
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
165
165
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
166
166
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
167
167
|
});
|
@@ -171,16 +171,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
171
171
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: alternateAnswerArray[2] }]);
|
172
172
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
178
178
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
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 correctly answered dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
186
186
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -192,16 +192,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
192
192
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
193
193
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
194
194
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
195
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
196
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
195
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
196
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
197
197
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
198
198
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
199
199
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
200
200
|
/*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 dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
201
201
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
202
202
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
203
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
204
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
203
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
204
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
205
205
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
206
206
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
207
207
|
});
|
@@ -92,16 +92,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
92
92
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
93
93
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
94
94
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
95
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
96
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
95
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
96
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
97
97
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
98
98
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
99
99
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
100
100
|
/*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 correctly answered dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
|
101
101
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
102
102
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
103
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
104
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
103
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
104
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
105
105
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
106
106
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
107
107
|
});
|
@@ -112,16 +112,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
112
112
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
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 correctly answered dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
126
126
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
127
127
|
});
|
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
133
133
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
134
134
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
135
135
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
136
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
136
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
137
137
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
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: All or n
|
|
141
141
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
142
142
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
143
143
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
144
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
144
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
145
145
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
146
146
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
147
147
|
});
|
@@ -153,7 +153,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
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: All or n
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
166
166
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
167
167
|
});
|
@@ -171,16 +171,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
171
171
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
172
172
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
178
178
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
179
179
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
180
180
|
/*cy.log('When the user has attempted the question with equal number of correct dropdowns from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correctly answered dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
186
186
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -192,16 +192,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
192
192
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
193
193
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
194
194
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
195
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
196
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
195
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
196
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
197
197
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
198
198
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
199
199
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
200
200
|
/*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 dropdowns, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
|
201
201
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
202
202
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
203
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
204
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
203
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
204
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
205
205
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
206
206
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
207
207
|
});
|
@@ -145,16 +145,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
145
145
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
146
146
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
147
147
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
148
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
149
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
148
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
149
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
150
150
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
151
151
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
152
152
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
153
153
|
/*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, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
|
154
154
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
155
155
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
156
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
157
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
156
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
157
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
158
158
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
159
159
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
160
160
|
});
|
@@ -165,16 +165,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
165
165
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
166
166
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
167
167
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
168
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
169
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
168
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
169
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
170
170
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
171
171
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
172
172
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
173
173
|
/*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, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
|
174
174
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
175
175
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
176
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
177
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
176
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
177
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
178
178
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
179
179
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
180
180
|
});
|
@@ -186,7 +186,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
186
186
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
187
187
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
188
188
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
189
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
189
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
190
190
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
191
191
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
192
192
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -194,7 +194,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
194
194
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
195
195
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
196
196
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
197
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
197
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
198
198
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
199
199
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
200
200
|
});
|
@@ -206,7 +206,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
206
206
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
207
207
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
208
208
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
209
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
209
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
210
210
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
211
211
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
212
212
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -214,7 +214,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
214
214
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
215
215
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
216
216
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
217
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
217
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
218
218
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
219
219
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
220
220
|
});
|
@@ -224,16 +224,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
224
224
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
225
225
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
226
226
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
227
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
228
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
227
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
228
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
229
229
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
230
230
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
231
231
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
232
232
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
233
233
|
/*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 correctly answered dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
|
234
234
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
235
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
236
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
235
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
236
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
237
237
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
238
238
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
239
239
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -245,16 +245,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
245
245
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
|
246
246
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
247
247
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
248
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
249
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
248
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
249
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
250
250
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
251
251
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
252
252
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
253
253
|
/*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 dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
|
254
254
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
255
255
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
256
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
257
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
256
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
257
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
258
258
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
259
259
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
260
260
|
});
|
@@ -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(alternateAnswerArray);
|
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(6, 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(alternateAnswerArray);
|
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, 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(alternateAnswerArray);
|
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(alternateAnswerArray);
|
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: alternateAnswerArray[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(alternateAnswerArray);
|
179
179
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
180
180
|
/*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 dropdown, no icon should be displayed beside unattempted dropdown, 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(alternateAnswerArray);
|
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,7 +94,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
94
94
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
95
95
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
96
96
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
97
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
97
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
98
98
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
99
99
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
100
100
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
102
102
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
103
103
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
104
104
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
|
105
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
105
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
106
106
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
107
107
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
108
108
|
});
|
@@ -113,16 +113,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
113
113
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(7, 15);
|
114
114
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
115
115
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
116
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
117
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
116
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
117
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
118
118
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
119
119
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
120
120
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
121
121
|
/*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')
|
122
122
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
123
123
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
124
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
125
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
124
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
125
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
126
126
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
127
127
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
128
128
|
});
|
@@ -134,7 +134,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
134
134
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
135
135
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
136
136
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
137
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
137
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
138
138
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
139
139
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
140
140
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -142,7 +142,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
142
142
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
143
143
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
144
144
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
145
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
145
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
146
146
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
147
147
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
148
148
|
});
|
@@ -154,7 +154,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
154
154
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
155
155
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
156
156
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
157
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
157
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
158
158
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
159
159
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
160
160
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -162,7 +162,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
162
162
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
163
163
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
|
164
164
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
165
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
165
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
166
166
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
167
167
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
168
168
|
});
|
@@ -172,16 +172,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
172
172
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
173
173
|
fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(4, 15);
|
174
174
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
175
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
176
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
175
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
176
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
177
177
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
178
178
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
179
179
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
180
180
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
181
181
|
/*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')
|
182
182
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
183
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
184
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
183
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
184
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
185
185
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
|
186
186
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
187
187
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -194,7 +194,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
194
194
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
195
195
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
196
196
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
197
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
197
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
198
198
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
199
199
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
200
200
|
fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -202,7 +202,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
202
202
|
fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
|
203
203
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
204
204
|
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
205
|
-
fillInTheGapsOverImageDropdownPage.steps.
|
205
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
206
206
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
207
207
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
208
208
|
});
|