itemengine-cypress-automation 1.0.276-updatedRepo12thDec-303c8a0.0 → 1.0.277
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ChartsLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/Compass/compassEditTabBasicsSection.js +5 -11
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +5 -7
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +0 -8
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +0 -8
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +0 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +0 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +0 -2
- package/cypress/e2e/ILC/EssayResponse/toolSettings.js +2 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAlternateAnswerPopup.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +2 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +4 -2
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +2 -4
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +0 -1
- package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +1 -2
- package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +0 -2
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +0 -6
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +2 -3
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +0 -2
- package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +4 -3
- package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +0 -4
- package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +3 -2
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +0 -5
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
- package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +0 -3
- package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +3 -6
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +1 -23
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -476
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +5 -7
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
- package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
- package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
- package/cypress/pages/audioPlayerPage.js +2 -2
- package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
- package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +1 -19
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
- package/cypress/pages/components/essayResponseCommonComponents.js +5 -6
- package/cypress/pages/components/imageCanvasComponent.js +2 -2
- package/cypress/pages/components/layoutSectionComponent.js +2 -6
- package/cypress/pages/components/numberLineCommonComponent.js +5 -12
- package/cypress/pages/components/playbackControlsBaseComponent.js +0 -5
- package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/drawingResponsePage.js +1 -18
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +2 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +6 -19
- package/cypress/pages/gridFillPage.js +3 -2
- package/cypress/pages/listOrderingPage.js +12 -19
- package/cypress/pages/matchingPage.js +2 -16
- package/cypress/pages/textEntryMathPage.js +4 -716
- package/cypress/pages/textEntryMathWithImagePage.js +5 -133
- package/package.json +1 -1
- package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +0 -129
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +0 -384
@@ -90,16 +90,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
90
90
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(3, 15);
|
91
91
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
92
92
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
93
|
-
fillInTheGapsDropdownPage.steps.
|
94
|
-
fillInTheGapsDropdownPage.steps.
|
93
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
94
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
95
95
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
96
96
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
97
97
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
98
98
|
/*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')
|
99
99
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
100
100
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
101
|
-
fillInTheGapsDropdownPage.steps.
|
102
|
-
fillInTheGapsDropdownPage.steps.
|
101
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
102
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
103
103
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
104
104
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
105
105
|
});
|
@@ -110,16 +110,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
110
110
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
|
111
111
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
112
112
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
113
|
-
fillInTheGapsDropdownPage.steps.
|
114
|
-
fillInTheGapsDropdownPage.steps.
|
113
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
114
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
115
115
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
116
116
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
117
117
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
118
118
|
/*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')
|
119
119
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
120
120
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
121
|
-
fillInTheGapsDropdownPage.steps.
|
122
|
-
fillInTheGapsDropdownPage.steps.
|
121
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
122
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
123
123
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
124
124
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
125
125
|
});
|
@@ -131,7 +131,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
131
131
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
132
132
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
133
133
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
134
|
-
fillInTheGapsDropdownPage.steps.
|
134
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
135
135
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
136
136
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
137
137
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -139,7 +139,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
139
139
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
140
140
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
141
141
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
142
|
-
fillInTheGapsDropdownPage.steps.
|
142
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
143
143
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
144
144
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
145
145
|
});
|
@@ -149,16 +149,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
149
149
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
150
150
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
|
151
151
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
152
|
-
fillInTheGapsDropdownPage.steps.
|
153
|
-
fillInTheGapsDropdownPage.steps.
|
152
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
153
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
154
154
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
155
155
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
156
156
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
157
157
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
158
158
|
/*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')
|
159
159
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
160
|
-
fillInTheGapsDropdownPage.steps.
|
161
|
-
fillInTheGapsDropdownPage.steps.
|
160
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
161
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
162
162
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
163
163
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
164
164
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -171,7 +171,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
171
171
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
172
172
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
173
173
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
174
|
-
fillInTheGapsDropdownPage.steps.
|
174
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
175
175
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
176
176
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
177
177
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -179,7 +179,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
179
179
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
180
180
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
181
181
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
182
|
-
fillInTheGapsDropdownPage.steps.
|
182
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
183
183
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
184
184
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
185
185
|
});
|
@@ -91,16 +91,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
|
|
91
91
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
|
92
92
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
93
93
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
94
|
-
fillInTheGapsDropdownPage.steps.
|
95
|
-
fillInTheGapsDropdownPage.steps.
|
94
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
95
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
96
96
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
97
97
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
98
98
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
99
99
|
/*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')
|
100
100
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
101
101
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
102
|
-
fillInTheGapsDropdownPage.steps.
|
103
|
-
fillInTheGapsDropdownPage.steps.
|
102
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
103
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
104
104
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
105
105
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
106
106
|
});
|
@@ -112,16 +112,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
|
|
112
112
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
|
113
113
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
114
114
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
115
|
-
fillInTheGapsDropdownPage.steps.
|
116
|
-
fillInTheGapsDropdownPage.steps.
|
115
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
116
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
117
117
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
118
118
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
119
119
|
fillInTheGapsDropdownPage.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
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
122
122
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
123
|
-
fillInTheGapsDropdownPage.steps.
|
124
|
-
fillInTheGapsDropdownPage.steps.
|
123
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
124
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
125
125
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
126
126
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
127
127
|
});
|
@@ -133,14 +133,14 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
|
|
133
133
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
134
134
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
135
135
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
136
|
-
fillInTheGapsDropdownPage.steps.
|
136
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
137
137
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
138
138
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
139
139
|
/*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')
|
140
140
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
141
141
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
142
142
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
143
|
-
fillInTheGapsDropdownPage.steps.
|
143
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
144
144
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
145
145
|
});
|
146
146
|
|
@@ -149,16 +149,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
|
|
149
149
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
150
150
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
|
151
151
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
152
|
-
fillInTheGapsDropdownPage.steps.
|
153
|
-
fillInTheGapsDropdownPage.steps.
|
152
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
153
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
154
154
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
155
155
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
156
156
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
157
157
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
158
158
|
/*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')
|
159
159
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
160
|
-
fillInTheGapsDropdownPage.steps.
|
161
|
-
fillInTheGapsDropdownPage.steps.
|
160
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
161
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
162
162
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
163
163
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
164
164
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -171,7 +171,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
|
|
171
171
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
172
172
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
173
173
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
174
|
-
fillInTheGapsDropdownPage.steps.
|
174
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
175
175
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
176
176
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
177
177
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -179,7 +179,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
|
|
179
179
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
180
180
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
181
181
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
182
|
-
fillInTheGapsDropdownPage.steps.
|
182
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
183
183
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
184
184
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
185
185
|
});
|
@@ -91,16 +91,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
91
91
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
|
92
92
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
93
93
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
94
|
-
fillInTheGapsDropdownPage.steps.
|
95
|
-
fillInTheGapsDropdownPage.steps.
|
94
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
95
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
96
96
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
97
97
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
98
98
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
99
99
|
/*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');
|
100
100
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
101
101
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
102
|
-
fillInTheGapsDropdownPage.steps.
|
103
|
-
fillInTheGapsDropdownPage.steps.
|
102
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
103
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
104
104
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
105
105
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
106
106
|
});
|
@@ -111,16 +111,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
111
111
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(3, 15);
|
112
112
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
113
113
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
114
|
-
fillInTheGapsDropdownPage.steps.
|
115
|
-
fillInTheGapsDropdownPage.steps.
|
114
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
115
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
116
116
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
117
117
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
118
118
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
119
119
|
/*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');
|
120
120
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
121
121
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
122
|
-
fillInTheGapsDropdownPage.steps.
|
123
|
-
fillInTheGapsDropdownPage.steps.
|
122
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
123
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
124
124
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
125
125
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
126
126
|
});
|
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
132
132
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
133
133
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
134
134
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
135
|
-
fillInTheGapsDropdownPage.steps.
|
135
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
136
136
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
137
137
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
138
138
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -140,7 +140,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
140
140
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
141
141
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
142
142
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
143
|
-
fillInTheGapsDropdownPage.steps.
|
143
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
144
144
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
145
145
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
146
146
|
});
|
@@ -150,16 +150,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
150
150
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
151
151
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
|
152
152
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
153
|
-
fillInTheGapsDropdownPage.steps.
|
154
|
-
fillInTheGapsDropdownPage.steps.
|
153
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
154
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
155
155
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
156
156
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
157
157
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
158
158
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
159
159
|
/*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')
|
160
160
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
161
|
-
fillInTheGapsDropdownPage.steps.
|
162
|
-
fillInTheGapsDropdownPage.steps.
|
161
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
162
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
163
163
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
164
164
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
165
165
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -172,7 +172,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
172
172
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
173
173
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
174
174
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
175
|
-
fillInTheGapsDropdownPage.steps.
|
175
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
176
176
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
177
177
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
178
178
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -180,7 +180,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
|
|
180
180
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
181
181
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
182
182
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
183
|
-
fillInTheGapsDropdownPage.steps.
|
183
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
184
184
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
185
185
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
186
186
|
});
|
package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/responseLevelAlternateAnswerBasicScoring.js
CHANGED
@@ -41,7 +41,7 @@ describe('Create item page - Fill in the gaps with drop down: Response level alt
|
|
41
41
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 1, dropdownOption: correctAnswerArray[2] }]);
|
42
42
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 10);
|
43
43
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
44
|
-
fillInTheGapsDropdownPage.steps.
|
44
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
45
45
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
46
46
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
47
47
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf']);
|
@@ -149,6 +149,7 @@ describe('Create item page - Fill in the gaps drop down: Drop down alternate ans
|
|
149
149
|
});
|
150
150
|
|
151
151
|
it('When user opens the alternate answer popup for another drop down, then alternate answer popup with the title and options as per the corresponding drop down should be displayed', () => {
|
152
|
+
fillInTheGapsDropdownPage.steps.cancelDropdownAlternateAnswersPopup();
|
152
153
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
153
154
|
fillInTheGapsDropdownPage.steps.clickOnAddAlternateButton(2);
|
154
155
|
utilities.verifyInnerText(fillInTheGapsDropdownPage.alternateAnswerPopupTitle(), 'Dropzone 2 alternate answer(s)');
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { fillInTheGapsDropdownPage } from "../../../pages";
|
2
|
-
import { dialogBoxBase } from "../../../pages";
|
3
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
3
|
|
5
4
|
const optionsForDropdown = ['Flower', 'Petal', 'Stem', 'Branch'];
|
@@ -35,7 +34,6 @@ describe('Create Item page - Fill in the gaps with dropdown: Specify correct ans
|
|
35
34
|
fillInTheGapsDropdownPage.tests.verifyAutoScoredAddAlternativeAnswerButtonAndValidation();
|
36
35
|
|
37
36
|
it('When user has added points and selected an option in dropdown in the \'Correct\' accordion, then the user should be able to add alternative answer for the question using \'Add alternative answer\' button', () => {
|
38
|
-
dialogBoxBase.steps.closeWarningPopup();
|
39
37
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, optionsForDropdown[0]);
|
40
38
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, optionsForDropdown[1]);
|
41
39
|
fillInTheGapsDropdownPage.steps.allotPoints(10);
|
@@ -39,7 +39,7 @@ describe('Create Item page: Tool settings', () => {
|
|
39
39
|
rulerPage.steps.expandRotationDropdown();
|
40
40
|
rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
|
41
41
|
rulerPage.steps.enterInputToOpacityInputField(60);
|
42
|
-
rulerPage.steps.
|
42
|
+
rulerPage.steps.checkAddShowHideButtonCheckbox();
|
43
43
|
toolSettingsComponent.steps.clickOnOkButton();
|
44
44
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
|
45
45
|
toolSettingsComponent.steps.verifyToolSelectedState(0);
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js
CHANGED
@@ -60,7 +60,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
|
|
60
60
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Branch': 2 });
|
61
61
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
62
62
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
63
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
63
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
64
64
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
65
65
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
66
66
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
@@ -68,7 +68,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
|
|
68
68
|
/*cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the dropzone incorrect response and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
69
69
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
70
70
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
71
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
71
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
72
72
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
73
73
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
74
74
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
|
|
79
79
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 1, 'Stem': 2 })
|
80
80
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
81
81
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
82
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
82
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
85
85
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
|
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
88
88
|
/*cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete and clicks on \'Check answer\' button, then no icon should be displayed besides the incomplete and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
89
89
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
90
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
90
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
91
91
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
92
92
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
93
93
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
85
85
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
86
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
86
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
89
89
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -91,7 +91,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
91
91
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
92
92
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
93
93
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
94
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
94
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
95
95
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
96
96
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
97
97
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -103,7 +103,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
104
104
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
105
105
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
106
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
106
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
108
108
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
109
109
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -111,7 +111,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
111
111
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
112
112
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
113
113
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
114
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
114
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
117
117
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -124,16 +124,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
124
124
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
126
126
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
127
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
128
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
127
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
128
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
130
130
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
131
131
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
132
132
|
/*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion, incorrect icon should be displayed besides the responses from the alternative accordion and no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
133
133
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
134
134
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
135
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
136
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
135
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
136
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
137
137
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
138
138
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
139
139
|
});
|
@@ -164,16 +164,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
164
164
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
165
165
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
166
166
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
167
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
168
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
167
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
168
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
169
169
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
170
170
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
171
171
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
172
172
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
173
173
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
174
174
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
175
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
176
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
175
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
176
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
177
177
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
178
178
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
179
179
|
});
|
@@ -184,8 +184,8 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
184
184
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
185
185
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
186
186
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
187
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
188
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
187
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
188
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
191
191
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -82,7 +82,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
82
82
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
85
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
85
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
86
86
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -90,7 +90,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
90
90
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
91
91
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
92
92
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
93
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
93
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
94
94
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
95
95
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
96
96
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
102
102
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
104
104
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
105
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
105
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
106
106
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
108
108
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -110,7 +110,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
110
110
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
111
111
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
112
112
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
113
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
113
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
114
114
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -124,7 +124,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
124
124
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
126
126
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
127
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
127
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
128
128
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
130
130
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
132
132
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
133
133
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
134
134
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
135
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
135
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
136
136
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
137
137
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
138
138
|
});
|
@@ -163,16 +163,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
163
163
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
164
164
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
165
165
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
166
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
167
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
166
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
167
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
168
168
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
169
169
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
170
170
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
171
171
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
172
172
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
173
173
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
174
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
175
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
174
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
175
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
176
176
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
177
177
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
178
178
|
});
|
@@ -183,16 +183,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
183
183
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
184
184
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
185
185
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
186
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
187
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
186
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
187
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
188
188
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
191
191
|
/*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, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
192
192
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
193
193
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
194
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
195
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
194
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
195
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
196
196
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
197
197
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
198
198
|
});
|