itemengine-cypress-automation 1.0.277 → 1.0.278
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -2
- package/cypress/e2e/ILC/ChartsBar/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ChartsLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/Compass/compassEditTabBasicsSection.js +11 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +5 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +7 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +6 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +8 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +6 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +4 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +2 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -0
- package/cypress/e2e/ILC/EssayResponse/toolSettings.js +8 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAlternateAnswerPopup.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +4 -2
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +1 -0
- package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +2 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +6 -0
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +3 -2
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +2 -0
- package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +3 -4
- package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +4 -0
- package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +2 -3
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +5 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
- package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +3 -0
- package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +6 -3
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +6 -6
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +23 -1
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +476 -0
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +129 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +7 -5
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +384 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
- package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
- package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
- package/cypress/pages/audioPlayerPage.js +2 -2
- package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
- package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +19 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
- package/cypress/pages/components/essayResponseCommonComponents.js +6 -5
- package/cypress/pages/components/imageCanvasComponent.js +2 -2
- package/cypress/pages/components/layoutSectionComponent.js +6 -2
- package/cypress/pages/components/numberLineCommonComponent.js +12 -5
- package/cypress/pages/components/playbackControlsBaseComponent.js +5 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/drawingResponsePage.js +18 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -2
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -6
- package/cypress/pages/gridFillPage.js +2 -3
- package/cypress/pages/listOrderingPage.js +19 -12
- package/cypress/pages/matchingPage.js +16 -2
- package/cypress/pages/textEntryMathPage.js +715 -3
- package/cypress/pages/textEntryMathWithImagePage.js +133 -5
- package/package.json +1 -1
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
79
79
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
80
80
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
81
81
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
82
|
-
fillInTheGapsOverImageTextPage.steps.
|
82
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
83
83
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
84
84
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
85
85
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
87
87
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
88
88
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
89
89
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
90
|
-
fillInTheGapsOverImageTextPage.steps.
|
90
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
91
91
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
92
92
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
93
93
|
});
|
@@ -98,16 +98,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
98
98
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(7, 15);
|
99
99
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
100
100
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
101
|
-
fillInTheGapsOverImageTextPage.steps.
|
102
|
-
fillInTheGapsOverImageTextPage.steps.
|
101
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
102
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
103
103
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
104
104
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
105
105
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
106
106
|
/*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 correct/incorrect status message and correct answer section should not be displayed')
|
107
107
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
108
108
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
109
|
-
fillInTheGapsOverImageTextPage.steps.
|
110
|
-
fillInTheGapsOverImageTextPage.steps.
|
109
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
110
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
111
111
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
112
112
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
113
113
|
});
|
@@ -119,7 +119,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
119
119
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
120
120
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
121
121
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
122
|
-
fillInTheGapsOverImageTextPage.steps.
|
122
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
123
123
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
124
124
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
125
125
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -127,7 +127,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
127
127
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
128
128
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
129
129
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
130
|
-
fillInTheGapsOverImageTextPage.steps.
|
130
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
131
131
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
132
132
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
133
133
|
});
|
@@ -139,7 +139,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
139
139
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
140
140
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
141
141
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
142
|
-
fillInTheGapsOverImageTextPage.steps.
|
142
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
143
143
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
144
144
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
145
145
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -147,7 +147,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
147
147
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
148
148
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
149
149
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
150
|
-
fillInTheGapsOverImageTextPage.steps.
|
150
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
151
151
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
152
152
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
153
153
|
});
|
@@ -157,16 +157,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
157
157
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
158
158
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
|
159
159
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
160
|
-
fillInTheGapsOverImageTextPage.steps.
|
161
|
-
fillInTheGapsOverImageTextPage.steps.
|
160
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
161
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
162
162
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
163
163
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
164
164
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
165
165
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
166
166
|
/*cy.log('When the user has attempted the question with common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response correct/incorrect status message and correct answer section should not be displayed')
|
167
167
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
168
|
-
fillInTheGapsOverImageTextPage.steps.
|
169
|
-
fillInTheGapsOverImageTextPage.steps.
|
168
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
169
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
170
170
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
171
171
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
172
172
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -178,16 +178,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
178
178
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
|
179
179
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
180
180
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
181
|
-
fillInTheGapsOverImageTextPage.steps.
|
182
|
-
fillInTheGapsOverImageTextPage.steps.
|
181
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
182
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
183
183
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
184
184
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
185
185
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
186
186
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response correct/incorrect status message and correct answer section should not be displayed')
|
187
187
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
188
188
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
189
|
-
fillInTheGapsOverImageTextPage.steps.
|
190
|
-
fillInTheGapsOverImageTextPage.steps.
|
189
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
190
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
191
191
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
192
192
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
193
193
|
});
|
@@ -36,16 +36,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
36
36
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Roots' }]);
|
37
37
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
|
38
38
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
39
|
-
fillInTheGapsOverImageTextPage.steps.
|
40
|
-
fillInTheGapsOverImageTextPage.steps.
|
39
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
40
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
41
41
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
42
42
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
43
43
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
44
44
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
45
45
|
/*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, correct/incorrect status message and correct answer section should not be displayed')
|
46
46
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
47
|
-
fillInTheGapsOverImageTextPage.steps.
|
48
|
-
fillInTheGapsOverImageTextPage.steps.
|
47
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
48
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
49
49
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
50
50
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
51
51
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -57,7 +57,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
57
57
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
|
58
58
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
59
59
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
60
|
-
fillInTheGapsOverImageTextPage.steps.
|
60
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
61
61
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
62
62
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
63
63
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
@@ -65,7 +65,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
65
65
|
/*cy.log('When the user attempts the question partially correct and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, correct/incorrect status message and correct answer section should not be displayed')
|
66
66
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
67
67
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
68
|
-
fillInTheGapsOverImageTextPage.steps.
|
68
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
69
69
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
70
70
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
71
71
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
79
79
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
80
80
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
81
81
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
82
|
-
fillInTheGapsOverImageTextPage.steps.
|
82
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
83
83
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
84
84
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
85
85
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
87
87
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
88
88
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
89
89
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
90
|
-
fillInTheGapsOverImageTextPage.steps.
|
90
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
91
91
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
92
92
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
93
93
|
});
|
@@ -98,16 +98,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
98
98
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
|
99
99
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
100
100
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
101
|
-
fillInTheGapsOverImageTextPage.steps.
|
102
|
-
fillInTheGapsOverImageTextPage.steps.
|
101
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
102
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
103
103
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
104
104
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
105
105
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
106
106
|
/*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, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
107
107
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
108
108
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
109
|
-
fillInTheGapsOverImageTextPage.steps.
|
110
|
-
fillInTheGapsOverImageTextPage.steps.
|
109
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
110
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
111
111
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
112
112
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
113
113
|
});
|
@@ -119,7 +119,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
119
119
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
120
120
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
121
121
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
122
|
-
fillInTheGapsOverImageTextPage.steps.
|
122
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
123
123
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
124
124
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
125
125
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -127,7 +127,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
127
127
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
128
128
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
129
129
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
130
|
-
fillInTheGapsOverImageTextPage.steps.
|
130
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
131
131
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
132
132
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
133
133
|
});
|
@@ -137,16 +137,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
137
137
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
138
138
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
|
139
139
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
140
|
-
fillInTheGapsOverImageTextPage.steps.
|
141
|
-
fillInTheGapsOverImageTextPage.steps.
|
140
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
141
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
142
142
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
143
143
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
144
144
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
145
145
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
146
146
|
/*cy.log('When the user has attempted the question with common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
147
147
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
148
|
-
fillInTheGapsOverImageTextPage.steps.
|
149
|
-
fillInTheGapsOverImageTextPage.steps.
|
148
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
149
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
150
150
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
151
151
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
152
152
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -158,16 +158,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
158
158
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
|
159
159
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
160
160
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
161
|
-
fillInTheGapsOverImageTextPage.steps.
|
162
|
-
fillInTheGapsOverImageTextPage.steps.
|
161
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
162
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
163
163
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
164
164
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
165
165
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
166
166
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
167
167
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
168
168
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
169
|
-
fillInTheGapsOverImageTextPage.steps.
|
170
|
-
fillInTheGapsOverImageTextPage.steps.
|
169
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
170
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
171
171
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
172
172
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
173
173
|
});
|
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
79
79
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
80
80
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
81
81
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
82
|
-
fillInTheGapsOverImageTextPage.steps.
|
82
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
83
83
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
84
84
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
85
85
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
87
87
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
88
88
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
89
89
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
90
|
-
fillInTheGapsOverImageTextPage.steps.
|
90
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
91
91
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
92
92
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
93
93
|
});
|
@@ -98,16 +98,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
98
98
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
|
99
99
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
100
100
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
101
|
-
fillInTheGapsOverImageTextPage.steps.
|
102
|
-
fillInTheGapsOverImageTextPage.steps.
|
101
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
102
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
103
103
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
104
104
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
105
105
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
106
106
|
/*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, correct/incorrect status message and correct answer section should not be displayed')
|
107
107
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
108
108
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
109
|
-
fillInTheGapsOverImageTextPage.steps.
|
110
|
-
fillInTheGapsOverImageTextPage.steps.
|
109
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
110
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
111
111
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
112
112
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
113
113
|
});
|
@@ -135,16 +135,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
135
135
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
136
136
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
|
137
137
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
138
|
-
fillInTheGapsOverImageTextPage.steps.
|
139
|
-
fillInTheGapsOverImageTextPage.steps.
|
138
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
139
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
140
140
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
141
141
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
142
142
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
143
143
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
144
144
|
/*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 answer responses, no icon should be displayed beside unattempted response, correct/incorrect status message and correct answer section should not be displayed')
|
145
145
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
146
|
-
fillInTheGapsOverImageTextPage.steps.
|
147
|
-
fillInTheGapsOverImageTextPage.steps.
|
146
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
147
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
148
148
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
149
149
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
150
150
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -156,16 +156,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
156
156
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
|
157
157
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
158
158
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
159
|
-
fillInTheGapsOverImageTextPage.steps.
|
160
|
-
fillInTheGapsOverImageTextPage.steps.
|
159
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
160
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
161
161
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
162
162
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
163
163
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
164
164
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response, correct/incorrect status message and correct answer section should not be displayed')
|
165
165
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
166
166
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
167
|
-
fillInTheGapsOverImageTextPage.steps.
|
168
|
-
fillInTheGapsOverImageTextPage.steps.
|
167
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
168
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
169
169
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
170
170
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
171
171
|
});
|
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
79
79
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
80
80
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
81
81
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
82
|
-
fillInTheGapsOverImageTextPage.steps.
|
82
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
83
83
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
84
84
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
85
85
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
87
87
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
88
88
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
89
89
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
90
|
-
fillInTheGapsOverImageTextPage.steps.
|
90
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
91
91
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
92
92
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
93
93
|
});
|
@@ -98,16 +98,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
98
98
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(3, 15);
|
99
99
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
100
100
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
101
|
-
fillInTheGapsOverImageTextPage.steps.
|
102
|
-
fillInTheGapsOverImageTextPage.steps.
|
101
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
102
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
103
103
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
104
104
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
105
105
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
106
106
|
/*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 correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
107
107
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
108
108
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
109
|
-
fillInTheGapsOverImageTextPage.steps.
|
110
|
-
fillInTheGapsOverImageTextPage.steps.
|
109
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
110
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
111
111
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
112
112
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
113
113
|
});
|
@@ -119,7 +119,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
119
119
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
120
120
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
121
121
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
122
|
-
fillInTheGapsOverImageTextPage.steps.
|
122
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
123
123
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
124
124
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
125
125
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -127,7 +127,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
127
127
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
128
128
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
129
129
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
|
130
|
-
fillInTheGapsOverImageTextPage.steps.
|
130
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
131
131
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
132
132
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
133
133
|
});
|
@@ -137,16 +137,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
137
137
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
138
138
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
|
139
139
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
140
|
-
fillInTheGapsOverImageTextPage.steps.
|
141
|
-
fillInTheGapsOverImageTextPage.steps.
|
140
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
141
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
142
142
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
143
143
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
144
144
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
145
145
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
146
146
|
/*cy.log('When the user has attempted the question with common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
147
147
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
148
|
-
fillInTheGapsOverImageTextPage.steps.
|
149
|
-
fillInTheGapsOverImageTextPage.steps.
|
148
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
149
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
150
150
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
151
151
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
152
152
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -158,16 +158,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
158
158
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
|
159
159
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
160
160
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
161
|
-
fillInTheGapsOverImageTextPage.steps.
|
162
|
-
fillInTheGapsOverImageTextPage.steps.
|
161
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
162
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
163
163
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
164
164
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
165
165
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
166
166
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response correct/incorrect status message should not be displayed and correct answer section should not be displayed')
|
167
167
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
168
168
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
|
169
|
-
fillInTheGapsOverImageTextPage.steps.
|
170
|
-
fillInTheGapsOverImageTextPage.steps.
|
169
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
170
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
171
171
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
172
172
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
173
173
|
});
|
@@ -76,7 +76,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing with alt
|
|
76
76
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
77
77
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
78
78
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
79
|
-
fillInTheGapsTextPage.steps.
|
79
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
80
80
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
81
81
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
82
82
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -95,8 +95,8 @@ describe('Create item page - Fill in the gaps with text: All or nothing with alt
|
|
95
95
|
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 20);
|
96
96
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
97
97
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
98
|
-
fillInTheGapsTextPage.steps.
|
99
|
-
fillInTheGapsTextPage.steps.
|
98
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
99
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
100
100
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
101
101
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
102
102
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -116,7 +116,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing with alt
|
|
116
116
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
117
117
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
118
118
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
119
|
-
fillInTheGapsTextPage.steps.
|
119
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
120
120
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
121
121
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
122
122
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -136,7 +136,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing with alt
|
|
136
136
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
137
137
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
138
138
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
139
|
-
fillInTheGapsTextPage.steps.
|
139
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
140
140
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
141
141
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
142
142
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -154,8 +154,8 @@ describe('Create item page - Fill in the gaps with text: All or nothing with alt
|
|
154
154
|
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
155
155
|
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 20);
|
156
156
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
157
|
-
fillInTheGapsTextPage.steps.
|
158
|
-
fillInTheGapsTextPage.steps.
|
157
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
158
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
159
159
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
160
160
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
161
161
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
@@ -175,8 +175,8 @@ describe('Create item page - Fill in the gaps with text: All or nothing with alt
|
|
175
175
|
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 20);
|
176
176
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
177
177
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
178
|
-
fillInTheGapsTextPage.steps.
|
179
|
-
fillInTheGapsTextPage.steps.
|
178
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
179
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
180
180
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
181
181
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
182
182
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|