itemengine-cypress-automation 1.0.278-revert-134-updatedRepo12thDec-5aacd81.0 → 1.0.279-4092Changes-71debc9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +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
@@ -89,16 +89,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
89
89
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
90
90
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
91
91
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
92
|
-
fillInTheGapsDropdownPage.steps.
|
93
|
-
fillInTheGapsDropdownPage.steps.
|
92
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
93
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
94
94
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
95
95
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
96
96
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
97
97
|
/*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')
|
98
98
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
99
99
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
100
|
-
fillInTheGapsDropdownPage.steps.
|
101
|
-
fillInTheGapsDropdownPage.steps.
|
100
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
101
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
102
102
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
103
103
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
104
104
|
});
|
@@ -109,16 +109,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
109
109
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
110
110
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
111
111
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
112
|
-
fillInTheGapsDropdownPage.steps.
|
113
|
-
fillInTheGapsDropdownPage.steps.
|
112
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
113
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
114
114
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
115
115
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
116
116
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
117
117
|
/*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')
|
118
118
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
119
119
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
120
|
-
fillInTheGapsDropdownPage.steps.
|
121
|
-
fillInTheGapsDropdownPage.steps.
|
120
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
121
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
122
122
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
123
123
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
124
124
|
});
|
@@ -130,7 +130,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
130
130
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
131
131
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
132
132
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
133
|
-
fillInTheGapsDropdownPage.steps.
|
133
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
134
134
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
135
135
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
136
136
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -138,7 +138,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
138
138
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
139
139
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
140
140
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
141
|
-
fillInTheGapsDropdownPage.steps.
|
141
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
142
142
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
143
143
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
144
144
|
});
|
@@ -150,7 +150,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
150
150
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
151
151
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
152
152
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
153
|
-
fillInTheGapsDropdownPage.steps.
|
153
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
154
154
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
155
155
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
156
156
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -158,7 +158,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
158
158
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
159
159
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
160
160
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
161
|
-
fillInTheGapsDropdownPage.steps.
|
161
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
162
162
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
163
163
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
164
164
|
});
|
@@ -168,16 +168,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
168
168
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: alternateAnswerArray[2] }]);
|
169
169
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
170
170
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
171
|
-
fillInTheGapsDropdownPage.steps.
|
172
|
-
fillInTheGapsDropdownPage.steps.
|
171
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
172
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
173
173
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
174
174
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
175
175
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
176
176
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
177
177
|
/*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')
|
178
178
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
179
|
-
fillInTheGapsDropdownPage.steps.
|
180
|
-
fillInTheGapsDropdownPage.steps.
|
179
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
180
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
181
181
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
182
182
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
183
183
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -189,16 +189,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
189
189
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
190
190
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
191
191
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
192
|
-
fillInTheGapsDropdownPage.steps.
|
193
|
-
fillInTheGapsDropdownPage.steps.
|
192
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
193
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
194
194
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
195
195
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
196
196
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
197
197
|
/*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')
|
198
198
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
199
199
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
200
|
-
fillInTheGapsDropdownPage.steps.
|
201
|
-
fillInTheGapsDropdownPage.steps.
|
200
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
201
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
202
202
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
203
203
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
204
204
|
});
|
@@ -88,16 +88,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
88
88
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
89
89
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
90
90
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
91
|
-
fillInTheGapsDropdownPage.steps.
|
92
|
-
fillInTheGapsDropdownPage.steps.
|
91
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
92
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
93
93
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
94
94
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
95
95
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
96
96
|
/*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');
|
97
97
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
98
98
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
99
|
-
fillInTheGapsDropdownPage.steps.
|
100
|
-
fillInTheGapsDropdownPage.steps.
|
99
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
100
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
101
101
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
102
102
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
103
103
|
});
|
@@ -109,16 +109,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
109
109
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
110
110
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
111
111
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
112
|
-
fillInTheGapsDropdownPage.steps.
|
113
|
-
fillInTheGapsDropdownPage.steps.
|
112
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
113
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
114
114
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
115
115
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
116
116
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
117
117
|
/*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');
|
118
118
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
119
119
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
120
|
-
fillInTheGapsDropdownPage.steps.
|
121
|
-
fillInTheGapsDropdownPage.steps.
|
120
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
121
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
122
122
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
123
123
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
124
124
|
});
|
@@ -131,7 +131,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
131
131
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
132
132
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
133
133
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
134
|
-
fillInTheGapsDropdownPage.steps.
|
134
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
135
135
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
136
136
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
137
137
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -139,7 +139,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
139
139
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
140
140
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
141
141
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
142
|
-
fillInTheGapsDropdownPage.steps.
|
142
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
143
143
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
144
144
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
145
145
|
});
|
@@ -151,7 +151,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
151
151
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
152
152
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
153
153
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
154
|
-
fillInTheGapsDropdownPage.steps.
|
154
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
155
155
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
156
156
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
157
157
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -159,7 +159,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
159
159
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
160
160
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
161
161
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
162
|
-
fillInTheGapsDropdownPage.steps.
|
162
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
163
163
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
164
164
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
165
165
|
});
|
@@ -169,16 +169,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
169
169
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
170
170
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
171
171
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
172
|
-
fillInTheGapsDropdownPage.steps.
|
173
|
-
fillInTheGapsDropdownPage.steps.
|
172
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
173
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
174
174
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
175
175
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
176
176
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
177
177
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
178
178
|
/*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');
|
179
179
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
180
|
-
fillInTheGapsDropdownPage.steps.
|
181
|
-
fillInTheGapsDropdownPage.steps.
|
180
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
181
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
182
182
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
183
183
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
184
184
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -190,16 +190,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
190
190
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
191
191
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
192
192
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
193
|
-
fillInTheGapsDropdownPage.steps.
|
194
|
-
fillInTheGapsDropdownPage.steps.
|
193
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
194
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
195
195
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
196
196
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
197
197
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
198
198
|
/*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');
|
199
199
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
200
200
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
201
|
-
fillInTheGapsDropdownPage.steps.
|
202
|
-
fillInTheGapsDropdownPage.steps.
|
201
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
202
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
203
203
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
204
204
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
205
205
|
});
|
@@ -141,16 +141,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
141
141
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
142
142
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
143
143
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
144
|
-
fillInTheGapsDropdownPage.steps.
|
145
|
-
fillInTheGapsDropdownPage.steps.
|
144
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
145
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
146
146
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
147
147
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
148
148
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
149
149
|
/*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');
|
150
150
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
151
151
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
152
|
-
fillInTheGapsDropdownPage.steps.
|
153
|
-
fillInTheGapsDropdownPage.steps.
|
152
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
153
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
154
154
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
155
155
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
156
156
|
});
|
@@ -161,16 +161,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
161
161
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
162
162
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
163
163
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
164
|
-
fillInTheGapsDropdownPage.steps.
|
165
|
-
fillInTheGapsDropdownPage.steps.
|
164
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
165
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
166
166
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
167
167
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
168
168
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
169
169
|
/*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');
|
170
170
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
171
171
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
172
|
-
fillInTheGapsDropdownPage.steps.
|
173
|
-
fillInTheGapsDropdownPage.steps.
|
172
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
173
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
174
174
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
175
175
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
176
176
|
});
|
@@ -182,7 +182,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
182
182
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
183
183
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
184
184
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
185
|
-
fillInTheGapsDropdownPage.steps.
|
185
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
186
186
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
187
187
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
188
188
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -190,7 +190,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
190
190
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
191
191
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
192
192
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
193
|
-
fillInTheGapsDropdownPage.steps.
|
193
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
194
194
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
195
195
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
196
196
|
});
|
@@ -202,7 +202,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
202
202
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
203
203
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
204
204
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
205
|
-
fillInTheGapsDropdownPage.steps.
|
205
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
206
206
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
207
207
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
208
208
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -210,7 +210,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
210
210
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
211
211
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
212
212
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
213
|
-
fillInTheGapsDropdownPage.steps.
|
213
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
214
214
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
215
215
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
216
216
|
});
|
@@ -220,16 +220,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
220
220
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
221
221
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
222
222
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
223
|
-
fillInTheGapsDropdownPage.steps.
|
224
|
-
fillInTheGapsDropdownPage.steps.
|
223
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
224
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
225
225
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
226
226
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
227
227
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
228
228
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
229
229
|
/*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');
|
230
230
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
231
|
-
fillInTheGapsDropdownPage.steps.
|
232
|
-
fillInTheGapsDropdownPage.steps.
|
231
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
232
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
233
233
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
234
234
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
235
235
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -241,16 +241,16 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
241
241
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 20);
|
242
242
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
243
243
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
244
|
-
fillInTheGapsDropdownPage.steps.
|
245
|
-
fillInTheGapsDropdownPage.steps.
|
244
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
245
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
246
246
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
247
247
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
248
248
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
249
249
|
/*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');
|
250
250
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
251
251
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
252
|
-
fillInTheGapsDropdownPage.steps.
|
253
|
-
fillInTheGapsDropdownPage.steps.
|
252
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
253
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
254
254
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
255
255
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
256
256
|
});
|
@@ -89,7 +89,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
89
89
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
90
90
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
91
91
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
92
|
-
fillInTheGapsDropdownPage.steps.
|
92
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
93
93
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
94
94
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
95
95
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -97,7 +97,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
97
97
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
98
98
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
99
99
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
100
|
-
fillInTheGapsDropdownPage.steps.
|
100
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
101
101
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
102
102
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
103
103
|
});
|
@@ -108,16 +108,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
108
108
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(6, 15);
|
109
109
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
110
110
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
111
|
-
fillInTheGapsDropdownPage.steps.
|
112
|
-
fillInTheGapsDropdownPage.steps.
|
111
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
112
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
113
113
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
114
114
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
115
115
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
116
116
|
/*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')
|
117
117
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
118
118
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
119
|
-
fillInTheGapsDropdownPage.steps.
|
120
|
-
fillInTheGapsDropdownPage.steps.
|
119
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
120
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
121
121
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
122
122
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
123
123
|
});
|
@@ -129,7 +129,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
129
129
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
130
130
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
131
131
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
132
|
-
fillInTheGapsDropdownPage.steps.
|
132
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
133
133
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
134
134
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
135
135
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -137,7 +137,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
137
137
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
138
138
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
139
139
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
140
|
-
fillInTheGapsDropdownPage.steps.
|
140
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
141
141
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
142
142
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
143
143
|
});
|
@@ -149,7 +149,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
149
149
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
150
150
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
151
151
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
152
|
-
fillInTheGapsDropdownPage.steps.
|
152
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
153
153
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
154
154
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
155
155
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -157,7 +157,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
157
157
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
158
158
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
159
159
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
160
|
-
fillInTheGapsDropdownPage.steps.
|
160
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
161
161
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
162
162
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
163
163
|
});
|
@@ -167,16 +167,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
167
167
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: alternateAnswerArray[2] }]);
|
168
168
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
|
169
169
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
170
|
-
fillInTheGapsDropdownPage.steps.
|
171
|
-
fillInTheGapsDropdownPage.steps.
|
170
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
171
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
172
172
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
173
173
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
174
174
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
175
175
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
176
176
|
/*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')
|
177
177
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
178
|
-
fillInTheGapsDropdownPage.steps.
|
179
|
-
fillInTheGapsDropdownPage.steps.
|
178
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
179
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
180
180
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
181
181
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
182
182
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -189,7 +189,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
189
189
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
190
190
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
191
191
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
192
|
-
fillInTheGapsDropdownPage.steps.
|
192
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
193
193
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
194
194
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
195
195
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -197,7 +197,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
197
197
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
198
198
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
199
199
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
200
|
-
fillInTheGapsDropdownPage.steps.
|
200
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
201
201
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
202
202
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
203
203
|
});
|
@@ -90,7 +90,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
90
90
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
91
91
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
92
92
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
93
|
-
fillInTheGapsDropdownPage.steps.
|
93
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
94
94
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
95
95
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
96
96
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -98,7 +98,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
98
98
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
99
99
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
100
100
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
|
101
|
-
fillInTheGapsDropdownPage.steps.
|
101
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
102
102
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
103
103
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
104
104
|
});
|
@@ -110,16 +110,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
110
110
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(7, 15);
|
111
111
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
112
112
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
113
|
-
fillInTheGapsDropdownPage.steps.
|
114
|
-
fillInTheGapsDropdownPage.steps.
|
113
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
114
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
115
115
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
116
116
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
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 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.verifyIncorrectOptionIcon(1);
|
122
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(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 different w
|
|
131
131
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
132
132
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
133
133
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
134
|
-
fillInTheGapsDropdownPage.steps.
|
134
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
135
135
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
136
136
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
137
137
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -139,7 +139,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
139
139
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
140
140
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
141
141
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
142
|
-
fillInTheGapsDropdownPage.steps.
|
142
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
143
143
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
144
144
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
145
145
|
});
|
@@ -151,7 +151,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
151
151
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
152
152
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
153
153
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
154
|
-
fillInTheGapsDropdownPage.steps.
|
154
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
155
155
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
156
156
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
157
157
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -159,7 +159,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
159
159
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
160
160
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
|
161
161
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
162
|
-
fillInTheGapsDropdownPage.steps.
|
162
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
163
163
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
164
164
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
165
165
|
});
|
@@ -169,16 +169,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
169
169
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
|
170
170
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(4, 15);
|
171
171
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
172
|
-
fillInTheGapsDropdownPage.steps.
|
173
|
-
fillInTheGapsDropdownPage.steps.
|
172
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
173
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
174
174
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
175
175
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
176
176
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
177
177
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
178
178
|
/*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')
|
179
179
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
180
|
-
fillInTheGapsDropdownPage.steps.
|
181
|
-
fillInTheGapsDropdownPage.steps.
|
180
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
181
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
182
182
|
fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
|
183
183
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
184
184
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -191,7 +191,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
191
191
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
192
192
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
193
193
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
194
|
-
fillInTheGapsDropdownPage.steps.
|
194
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
195
195
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
196
196
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
197
197
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -199,7 +199,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
199
199
|
fillInTheGapsDropdownPage.steps.checkAnswer();
|
200
200
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
|
201
201
|
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
|
202
|
-
fillInTheGapsDropdownPage.steps.
|
202
|
+
fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
|
203
203
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
204
204
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
205
205
|
});
|