itemengine-cypress-automation 1.0.277 → 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
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
75
75
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
76
76
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
77
77
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
78
|
-
fillInTheGapsTextPage.steps.
|
78
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
79
79
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
80
80
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
81
81
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
83
83
|
fillInTheGapsTextPage.steps.checkAnswer();
|
84
84
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
85
85
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
86
|
-
fillInTheGapsTextPage.steps.
|
86
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
87
87
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
88
88
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
89
89
|
});
|
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
94
94
|
fillInTheGapsTextPage.steps.verifyPreviewScore(7, 15);
|
95
95
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
96
96
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
97
|
-
fillInTheGapsTextPage.steps.
|
98
|
-
fillInTheGapsTextPage.steps.
|
97
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
98
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
99
99
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
100
100
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
101
101
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
102
102
|
/*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')
|
103
103
|
fillInTheGapsTextPage.steps.checkAnswer();
|
104
104
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
105
|
-
fillInTheGapsTextPage.steps.
|
106
|
-
fillInTheGapsTextPage.steps.
|
105
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
106
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
107
107
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
108
108
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
109
109
|
});
|
@@ -115,7 +115,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
115
115
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
116
116
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
117
117
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
118
|
-
fillInTheGapsTextPage.steps.
|
118
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
119
119
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
120
120
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
121
121
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -123,7 +123,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
123
123
|
fillInTheGapsTextPage.steps.checkAnswer();
|
124
124
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
125
125
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
126
|
-
fillInTheGapsTextPage.steps.
|
126
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
127
127
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
129
129
|
});
|
@@ -135,7 +135,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
135
135
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
136
136
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
137
137
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
138
|
-
fillInTheGapsTextPage.steps.
|
138
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
139
139
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
140
140
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
141
141
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -143,7 +143,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
143
143
|
fillInTheGapsTextPage.steps.checkAnswer();
|
144
144
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
145
145
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
146
|
-
fillInTheGapsTextPage.steps.
|
146
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
147
147
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
148
148
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
149
149
|
});
|
@@ -153,16 +153,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
153
153
|
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
154
154
|
fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
|
155
155
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
156
|
-
fillInTheGapsTextPage.steps.
|
157
|
-
fillInTheGapsTextPage.steps.
|
156
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
157
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
158
158
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
159
159
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
160
160
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
161
161
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
162
162
|
/*cy.log('When the user has attempted the question with common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response correct/incorrect status message and correct answer section should not be displayed')
|
163
163
|
fillInTheGapsTextPage.steps.checkAnswer();
|
164
|
-
fillInTheGapsTextPage.steps.
|
165
|
-
fillInTheGapsTextPage.steps.
|
164
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
165
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
166
166
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
167
167
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
168
168
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -174,16 +174,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
174
174
|
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
|
175
175
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
176
176
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
177
|
-
fillInTheGapsTextPage.steps.
|
178
|
-
fillInTheGapsTextPage.steps.
|
177
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
178
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
179
179
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
180
180
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
181
181
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
182
182
|
/*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')
|
183
183
|
fillInTheGapsTextPage.steps.checkAnswer();
|
184
184
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
185
|
-
fillInTheGapsTextPage.steps.
|
186
|
-
fillInTheGapsTextPage.steps.
|
185
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
186
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
187
187
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
188
188
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
189
189
|
});
|
@@ -32,16 +32,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights',
|
|
32
32
|
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
|
33
33
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
34
34
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
35
|
-
fillInTheGapsTextPage.steps.
|
36
|
-
fillInTheGapsTextPage.steps.
|
35
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
36
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
37
37
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
38
38
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
39
39
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
40
40
|
/*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')
|
41
41
|
fillInTheGapsTextPage.steps.checkAnswer();
|
42
42
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
43
|
-
fillInTheGapsTextPage.steps.
|
44
|
-
fillInTheGapsTextPage.steps.
|
43
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
44
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
45
45
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
46
46
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
47
47
|
});
|
@@ -52,7 +52,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights',
|
|
52
52
|
fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
|
53
53
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
54
54
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
55
|
-
fillInTheGapsTextPage.steps.
|
55
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
56
56
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
57
57
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
58
58
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
@@ -60,7 +60,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights',
|
|
60
60
|
/*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')
|
61
61
|
fillInTheGapsTextPage.steps.checkAnswer();
|
62
62
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
63
|
-
fillInTheGapsTextPage.steps.
|
63
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
64
64
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
65
65
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
66
66
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
75
75
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
76
76
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
77
77
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
78
|
-
fillInTheGapsTextPage.steps.
|
78
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
79
79
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
80
80
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
81
81
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
83
83
|
fillInTheGapsTextPage.steps.checkAnswer();
|
84
84
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
85
85
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
86
|
-
fillInTheGapsTextPage.steps.
|
86
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
87
87
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
88
88
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
89
89
|
});
|
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
94
94
|
fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
|
95
95
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
96
96
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
97
|
-
fillInTheGapsTextPage.steps.
|
98
|
-
fillInTheGapsTextPage.steps.
|
97
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
98
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
99
99
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
100
100
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
101
101
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
102
102
|
/*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')
|
103
103
|
fillInTheGapsTextPage.steps.checkAnswer();
|
104
104
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
105
|
-
fillInTheGapsTextPage.steps.
|
106
|
-
fillInTheGapsTextPage.steps.
|
105
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
106
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
107
107
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
108
108
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
109
109
|
});
|
@@ -115,7 +115,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
115
115
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
116
116
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
117
117
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
118
|
-
fillInTheGapsTextPage.steps.
|
118
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
119
119
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
120
120
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
121
121
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -123,7 +123,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
123
123
|
fillInTheGapsTextPage.steps.checkAnswer();
|
124
124
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
125
125
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
126
|
-
fillInTheGapsTextPage.steps.
|
126
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
127
127
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
129
129
|
});
|
@@ -133,16 +133,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
133
133
|
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
134
134
|
fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
|
135
135
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
136
|
-
fillInTheGapsTextPage.steps.
|
137
|
-
fillInTheGapsTextPage.steps.
|
136
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
137
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
138
138
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
139
139
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
140
140
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
141
141
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
142
142
|
/*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')
|
143
143
|
fillInTheGapsTextPage.steps.checkAnswer();
|
144
|
-
fillInTheGapsTextPage.steps.
|
145
|
-
fillInTheGapsTextPage.steps.
|
144
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
145
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
146
146
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
147
147
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
148
148
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -154,16 +154,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
154
154
|
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
|
155
155
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
156
156
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
157
|
-
fillInTheGapsTextPage.steps.
|
158
|
-
fillInTheGapsTextPage.steps.
|
157
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
158
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
159
159
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
160
160
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
161
161
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
162
162
|
/*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')
|
163
163
|
fillInTheGapsTextPage.steps.checkAnswer();
|
164
164
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
165
|
-
fillInTheGapsTextPage.steps.
|
166
|
-
fillInTheGapsTextPage.steps.
|
165
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
166
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
167
167
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
168
168
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
169
169
|
});
|
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
|
|
75
75
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
76
76
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
77
77
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
78
|
-
fillInTheGapsTextPage.steps.
|
78
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
79
79
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
80
80
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
81
81
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
|
|
83
83
|
fillInTheGapsTextPage.steps.checkAnswer();
|
84
84
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
85
85
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
86
|
-
fillInTheGapsTextPage.steps.
|
86
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
87
87
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
88
88
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
89
89
|
});
|
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
|
|
94
94
|
fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
|
95
95
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
96
96
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
97
|
-
fillInTheGapsTextPage.steps.
|
98
|
-
fillInTheGapsTextPage.steps.
|
97
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
98
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
99
99
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
100
100
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
101
101
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
102
102
|
/*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')
|
103
103
|
fillInTheGapsTextPage.steps.checkAnswer();
|
104
104
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
105
|
-
fillInTheGapsTextPage.steps.
|
106
|
-
fillInTheGapsTextPage.steps.
|
105
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
106
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
107
107
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
108
108
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
109
109
|
});
|
@@ -131,16 +131,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
|
|
131
131
|
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
132
132
|
fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
|
133
133
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
134
|
-
fillInTheGapsTextPage.steps.
|
135
|
-
fillInTheGapsTextPage.steps.
|
134
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
135
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
136
136
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
137
137
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
138
138
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
139
139
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
140
140
|
/*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')
|
141
141
|
fillInTheGapsTextPage.steps.checkAnswer();
|
142
|
-
fillInTheGapsTextPage.steps.
|
143
|
-
fillInTheGapsTextPage.steps.
|
142
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
143
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
144
144
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
145
145
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
146
146
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -152,16 +152,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
|
|
152
152
|
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
|
153
153
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
154
154
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
155
|
-
fillInTheGapsTextPage.steps.
|
156
|
-
fillInTheGapsTextPage.steps.
|
155
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
156
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
157
157
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
158
158
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
159
159
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
160
160
|
/*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')
|
161
161
|
fillInTheGapsTextPage.steps.checkAnswer();
|
162
162
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
163
|
-
fillInTheGapsTextPage.steps.
|
164
|
-
fillInTheGapsTextPage.steps.
|
163
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
164
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
165
165
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
166
166
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
167
167
|
});
|
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
75
75
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
76
76
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
77
77
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
78
|
-
fillInTheGapsTextPage.steps.
|
78
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
79
79
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
80
80
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
81
81
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
83
83
|
fillInTheGapsTextPage.steps.checkAnswer();
|
84
84
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
85
85
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
86
|
-
fillInTheGapsTextPage.steps.
|
86
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
87
87
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
88
88
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
89
89
|
});
|
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
94
94
|
fillInTheGapsTextPage.steps.verifyPreviewScore(3, 15);
|
95
95
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
96
96
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
97
|
-
fillInTheGapsTextPage.steps.
|
98
|
-
fillInTheGapsTextPage.steps.
|
97
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
98
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
99
99
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
100
100
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
101
101
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
102
102
|
/*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')
|
103
103
|
fillInTheGapsTextPage.steps.checkAnswer();
|
104
104
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
105
|
-
fillInTheGapsTextPage.steps.
|
106
|
-
fillInTheGapsTextPage.steps.
|
105
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
106
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
107
107
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
108
108
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
109
109
|
});
|
@@ -115,7 +115,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
115
115
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
116
116
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
117
117
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
118
|
-
fillInTheGapsTextPage.steps.
|
118
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
119
119
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
120
120
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
121
121
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -123,7 +123,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
123
123
|
fillInTheGapsTextPage.steps.checkAnswer();
|
124
124
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
125
125
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
126
|
-
fillInTheGapsTextPage.steps.
|
126
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
127
127
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
129
129
|
});
|
@@ -133,16 +133,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
133
133
|
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
|
134
134
|
fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
|
135
135
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
136
|
-
fillInTheGapsTextPage.steps.
|
137
|
-
fillInTheGapsTextPage.steps.
|
136
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
137
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
138
138
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
139
139
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
140
140
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
141
141
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
142
142
|
/*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')
|
143
143
|
fillInTheGapsTextPage.steps.checkAnswer();
|
144
|
-
fillInTheGapsTextPage.steps.
|
145
|
-
fillInTheGapsTextPage.steps.
|
144
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
145
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
146
146
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
147
147
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
148
148
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -154,16 +154,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
154
154
|
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
|
155
155
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
156
156
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
157
|
-
fillInTheGapsTextPage.steps.
|
158
|
-
fillInTheGapsTextPage.steps.
|
157
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
158
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
159
159
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
160
160
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
161
161
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
162
162
|
/*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')
|
163
163
|
fillInTheGapsTextPage.steps.checkAnswer();
|
164
164
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
165
|
-
fillInTheGapsTextPage.steps.
|
166
|
-
fillInTheGapsTextPage.steps.
|
165
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
166
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
167
167
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
168
168
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
169
169
|
});
|
@@ -39,7 +39,7 @@ describe('Create Item page: Tool settings', () => {
|
|
39
39
|
rulerPage.steps.expandRotationDropdown();
|
40
40
|
rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
|
41
41
|
rulerPage.steps.enterInputToOpacityInputField(60);
|
42
|
-
rulerPage.steps.
|
42
|
+
rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
|
43
43
|
toolSettingsComponent.steps.clickOnOkButton();
|
44
44
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
|
45
45
|
toolSettingsComponent.steps.verifyToolSelectedState(0);
|
@@ -419,7 +419,8 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
|
|
419
419
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: -1, xRange: 20, y: 1, yRange: 20 }]);
|
420
420
|
});
|
421
421
|
|
422
|
-
|
422
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-4461
|
423
|
+
it.skip('User should not be able to enter values below 0 and should be able to enter values above 999 in the Y grid spacing input field', () => {
|
423
424
|
graphingPage.steps.addTextInXTickIntervalInputFieldValue(-12);
|
424
425
|
graphingPage.steps.verifyXTickIntervalInputFieldValue('12');
|
425
426
|
graphingPage.steps.enterTextInXGridSpacingInputFieldValue(1500);
|
@@ -547,7 +548,8 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
|
|
547
548
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 3, xRange: 20, y: -1, yRange: 20 }]);
|
548
549
|
});
|
549
550
|
|
550
|
-
|
551
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-4461
|
552
|
+
it.skip('User should not be able to enter values below 0 and should be able to enter values above 999 in the Y grid spacing input field', () => {
|
551
553
|
graphingPage.steps.typeTextInYGridSpacingInputFieldValue(-12);
|
552
554
|
graphingPage.steps.verifyYGridSpacingInputFieldValue('12')
|
553
555
|
graphingPage.steps.enterTextInYGridSpacingInputFieldValue(1500);
|
@@ -30,6 +30,7 @@ describe('Create Item page - Grid fill: Specify Correct answer, Alternative corr
|
|
30
30
|
gridFillPage.tests.verifyAutoScoredAddAlternativeAnswerButtonAndValidation();
|
31
31
|
|
32
32
|
it('When user has added points and selected grid cells in the \'Correct\' accordion, then the user should be able to add alternative answer for the question using \'Add alternative answer\' button', () => {
|
33
|
+
gridFillPage.steps.closeWarningPopup();
|
33
34
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
|
34
35
|
gridFillPage.steps.allotPoints(20);
|
35
36
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
@@ -173,7 +173,8 @@ describe('Create Item page - Image highlight: Customize image highlight style',
|
|
173
173
|
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(1);
|
174
174
|
});
|
175
175
|
|
176
|
-
|
176
|
+
//Remove skip once https://redmine.zeuslearning.com/issues/580697 has been resolved.
|
177
|
+
it.skip('\'Border color\' icon should be displayed and as user hovers over it then a tooltip \'Stroke color\' should be displayed', () => {
|
177
178
|
utilities.verifyElementVisibilityState(imageHighlightPage.borderColorButton(), 'visible');
|
178
179
|
imageHighlightPage.steps.verifyToolTipText(2, imageHighlightPage.borderColorButton(), 'Border color');
|
179
180
|
});
|
@@ -39,7 +39,7 @@ describe('Create Item page: Tool settings', () => {
|
|
39
39
|
rulerPage.steps.expandRotationDropdown();
|
40
40
|
rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
|
41
41
|
rulerPage.steps.enterInputToOpacityInputField(60);
|
42
|
-
rulerPage.steps.
|
42
|
+
rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
|
43
43
|
toolSettingsComponent.steps.clickOnOkButton();
|
44
44
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
|
45
45
|
toolSettingsComponent.steps.verifyToolSelectedState(0);
|
@@ -42,6 +42,7 @@ describe('Create item page - List ordering: Specify correct answer, Alternative
|
|
42
42
|
it('When user tries to \'+Add alternative answer\' after allotting points without re-ordering the options then the warning popup should appear and on closing the warning popup, an error message should be displayed in the \'Specify correct answer\' section', () => {
|
43
43
|
listOrderingPage.steps.clickOnAddAlternativeAnswerButton();
|
44
44
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'exist');
|
45
|
+
dialogBoxBase.steps.closeWarningPopup();
|
45
46
|
utilities.verifyInnerText(listOrderingPage.errorMessage(), 'Error: The correct answer sequence matches the option sequence. Please either rearrange the options or select \'Randomize options\' to continue.');
|
46
47
|
utilities.verifyElementVisibilityState(listOrderingPage.errorMessage(), 'visible');
|
47
48
|
});
|
@@ -58,6 +59,7 @@ describe('Create item page - List ordering: Specify correct answer, Alternative
|
|
58
59
|
it('When the user unchecks the \'Randomize options\' checkbox and clicks on \'+Add alternative answer\' the error message should be displayed and on re-ordering the options the error message should disappear', () => {
|
59
60
|
listOrderingPage.steps.uncheckRandomizeOptionsCheckbox();
|
60
61
|
listOrderingPage.steps.clickOnAddAlternativeAnswerButton();
|
62
|
+
dialogBoxBase.steps.closeWarningPopup();
|
61
63
|
utilities.verifyElementVisibilityState(listOrderingPage.errorMessage(), 'visible');
|
62
64
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
|
63
65
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('sprout', 1);
|
@@ -45,7 +45,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
|
|
45
45
|
listOrderingPage.steps.verifyPreviewScore(0, 24);
|
46
46
|
listOrderingPage.steps.switchToGradingView();
|
47
47
|
listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
48
|
-
listOrderingPage.steps.
|
48
|
+
listOrderingPage.steps.verifyCorrectIncorrectIconsNotExistListOrderingReorderAsSeparate();
|
49
49
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
50
50
|
});
|
51
51
|
|
@@ -92,12 +92,18 @@ describe('Create item page - List ordering: Scoring section', () => {
|
|
92
92
|
});
|
93
93
|
|
94
94
|
it('When the user gives a score input to \'Points\' input field, then the score should be equally divided amongst the options and the \'Points per response\' label should also update accordingly', () => {
|
95
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('seed');
|
96
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
|
97
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
|
98
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
|
95
99
|
listOrderingPage.steps.allotPoints(6);
|
96
100
|
listOrderingPage.steps.verifyPointsPerResponseScore('1.5');
|
97
101
|
});
|
98
102
|
|
99
103
|
it('When the user adds a new option, then points per response should get updated accordingly', () => {
|
100
104
|
listOrderingPage.steps.addOption();
|
105
|
+
listOrderingPage.steps.enterTextInOptionInputField(4, 'fruit')
|
106
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('fruit');
|
101
107
|
listOrderingPage.steps.verifyPointsPerResponseScore('1.2');
|
102
108
|
});
|
103
109
|
|
@@ -89,7 +89,7 @@ describe('Create Item page - Matching: Manually and non scored', () => {
|
|
89
89
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 2 }]);
|
90
90
|
matchingPage.steps.switchToGradingView();
|
91
91
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
92
|
-
matchingPage.steps.
|
92
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
93
93
|
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
94
94
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
95
95
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -107,7 +107,7 @@ describe('Create Item page - Matching: Manually and non scored', () => {
|
|
107
107
|
matchingPage.steps.resetQuestionPreview();
|
108
108
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
109
109
|
matchingPage.steps.switchToGradingView();
|
110
|
-
matchingPage.steps.
|
110
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
111
111
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
112
112
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
113
113
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -59,7 +59,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
59
59
|
matchingPage.steps.verifyPreviewScore(9, 20);
|
60
60
|
matchingPage.steps.switchToGradingView();
|
61
61
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
62
|
-
matchingPage.steps.
|
62
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
63
63
|
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
64
64
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
65
65
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -78,7 +78,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
78
78
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
79
79
|
matchingPage.steps.verifyPreviewScore(11, 20);
|
80
80
|
matchingPage.steps.switchToGradingView();
|
81
|
-
matchingPage.steps.
|
81
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
82
82
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
83
83
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
84
84
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|