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
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(9, 15);
|
85
85
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
86
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
86
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
89
89
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -91,7 +91,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
91
91
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
92
92
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
|
93
93
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
94
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
94
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
95
95
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
96
96
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
97
97
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -103,7 +103,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
104
104
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(6, 15);
|
105
105
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
106
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
106
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
108
108
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
109
109
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -111,7 +111,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
111
111
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
112
112
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
113
113
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
114
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
114
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
117
117
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -125,7 +125,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
126
126
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
127
127
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
128
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
128
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
130
130
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
131
131
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
133
133
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
134
134
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
135
135
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
136
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
136
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
137
137
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
138
138
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
139
139
|
});
|
@@ -184,16 +184,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
184
184
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(7, 15);
|
185
185
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
186
186
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
187
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
188
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
187
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
188
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
191
191
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
192
192
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
193
193
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
194
194
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
195
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
196
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
195
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
196
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
197
197
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
198
198
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
199
199
|
});
|
@@ -204,16 +204,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
204
204
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
205
205
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
206
206
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
207
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
208
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
207
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
208
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
209
209
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
210
210
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
211
211
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
212
212
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
213
213
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
214
214
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
215
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
216
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
215
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
216
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
217
217
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
218
218
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
219
219
|
});
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js
CHANGED
@@ -40,16 +40,16 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
40
40
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Roots': 2 });
|
41
41
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
42
42
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
43
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
44
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
43
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
44
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
45
45
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
46
46
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
47
47
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
48
48
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
49
49
|
/*cy.log('When user clicks on Check answer button after he attempts the question incorrectly incorrect icons should be displayed besides all incorrect responses, status message and correct answer section should not be displayed')
|
50
50
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
51
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
52
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
51
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
52
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
53
53
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
54
54
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
55
55
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -61,7 +61,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
61
61
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(5, 15);
|
62
62
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
63
63
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
64
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
64
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
65
65
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
66
66
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
67
67
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
@@ -69,7 +69,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
69
69
|
/*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct, some incomplete, some incorrect options, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
|
70
70
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
71
71
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
72
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
72
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
73
73
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
74
74
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
75
75
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -80,7 +80,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
80
80
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
81
81
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
82
82
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
83
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
83
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
85
85
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
86
86
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -88,7 +88,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
89
89
|
/*cy.log('When user clicks on Check answer button after he attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
|
90
90
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
91
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
91
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
92
92
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
93
93
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
94
94
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -82,7 +82,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
82
82
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(6, 15);
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
85
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
85
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
86
86
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -90,7 +90,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
90
90
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
91
91
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
|
92
92
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
93
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
93
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
94
94
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
95
95
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
96
96
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
102
102
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
104
104
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
105
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
105
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
106
106
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
108
108
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -110,7 +110,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
110
110
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
111
111
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
112
112
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
113
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
113
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
114
114
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -124,7 +124,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
124
124
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
126
126
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
127
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
127
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
128
128
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
130
130
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
132
132
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
133
133
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
134
134
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
135
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
135
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
136
136
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
137
137
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
138
138
|
});
|
@@ -163,16 +163,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
163
163
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(5, 15);
|
164
164
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
165
165
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
166
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
167
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
166
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
167
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
168
168
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
169
169
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
170
170
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
171
171
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
172
172
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
173
173
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
174
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
175
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
174
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
175
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
176
176
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
177
177
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
178
178
|
});
|
@@ -183,16 +183,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
183
183
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
184
184
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
185
185
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
186
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
187
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
186
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
187
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
188
188
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
191
191
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
192
192
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
193
193
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
194
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
195
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
194
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
195
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
196
196
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
197
197
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
198
198
|
});
|
@@ -82,7 +82,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
82
82
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
85
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
85
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
86
86
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -90,7 +90,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
90
90
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
91
91
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
|
92
92
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
93
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
93
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
94
94
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
95
95
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
96
96
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
102
102
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
104
104
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
105
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
105
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
106
106
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
108
108
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -110,7 +110,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
110
110
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
111
111
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
112
112
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
113
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
113
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
114
114
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -124,7 +124,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
124
124
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
126
126
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
127
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
127
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
128
128
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
130
130
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
132
132
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
133
133
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
134
134
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
135
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
135
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
136
136
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
137
137
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
138
138
|
});
|
@@ -163,16 +163,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
163
163
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(5, 15);
|
164
164
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
165
165
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
166
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
167
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
166
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
167
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
168
168
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
169
169
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
170
170
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
171
171
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
172
172
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
173
173
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
174
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
175
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
174
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
175
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
176
176
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
177
177
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
178
178
|
});
|
@@ -183,16 +183,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
183
183
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
184
184
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
185
185
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
186
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
187
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
186
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
187
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
188
188
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
191
191
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
192
192
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
193
193
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
194
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
195
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
194
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
195
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
196
196
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
197
197
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
198
198
|
});
|
@@ -82,7 +82,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
82
82
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
83
83
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
84
84
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
85
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
85
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
86
86
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
87
87
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
88
88
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -90,7 +90,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
90
90
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
91
91
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
|
92
92
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
93
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
93
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
94
94
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
95
95
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
96
96
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
102
102
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
103
103
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(6, 15);
|
104
104
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
105
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
105
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
106
106
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
107
107
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
108
108
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -110,7 +110,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
110
110
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
111
111
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
112
112
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
113
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
113
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
114
114
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
115
115
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
116
116
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -124,7 +124,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
124
124
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
125
125
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
126
126
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
127
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
127
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
128
128
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
129
129
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
130
130
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
132
132
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
133
133
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
134
134
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
135
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
135
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
136
136
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
137
137
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
138
138
|
});
|
@@ -163,16 +163,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
163
163
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(5, 15);
|
164
164
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
165
165
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
166
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
167
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
166
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
167
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
168
168
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
169
169
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
170
170
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
171
171
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
172
172
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
173
173
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
174
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
175
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
174
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
175
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
176
176
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
177
177
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
178
178
|
});
|
@@ -183,16 +183,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
183
183
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
184
184
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
185
185
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
186
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
187
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
186
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
187
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
188
188
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
189
189
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
190
190
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
191
191
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
192
192
|
fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
|
193
193
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
194
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
195
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
194
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
195
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
196
196
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
197
197
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
198
198
|
});
|
@@ -155,7 +155,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
|
|
155
155
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
156
156
|
};
|
157
157
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
158
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
158
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
159
159
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
160
160
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
161
161
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
@@ -176,7 +176,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
|
|
176
176
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
177
177
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
178
178
|
};
|
179
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
179
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
180
180
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
181
181
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
182
182
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js
CHANGED
@@ -280,14 +280,16 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
|
|
280
280
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyTextOfTextBoxInPreviewTab('Inserted text');
|
281
281
|
});
|
282
282
|
|
283
|
-
|
283
|
+
//Remove skip once https://weldnorthed.atlassian.net/issues/IEI-3943 is resolved
|
284
|
+
it.skip('When the user clicks on the undo button in edit tab, then previous action should be reversed and same should reflect in preview tab', () => {
|
284
285
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToEditTab();
|
285
286
|
fillInTheGapsOverImageDragAndDropPage.steps.undoAction();
|
286
287
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
287
288
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyTextOfTextBoxInPreviewTab('');
|
288
289
|
});
|
289
290
|
|
290
|
-
|
291
|
+
//Remove skip once https://weldnorthed.atlassian.net/issues/IEI-3943 is resolved
|
292
|
+
it.skip('When the user clicks on the redo button in edit tab, then previous action should be reinstated and same should reflect in preview tab', () => {
|
291
293
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToEditTab();
|
292
294
|
fillInTheGapsOverImageDragAndDropPage.steps.redoAction();
|
293
295
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js
CHANGED
@@ -59,7 +59,9 @@ describe('Preview tab contents for all views', () => {
|
|
59
59
|
cy.visit(`/item-engine/demo/render-item/grading-view/${utilities.base64Encoding(itemReferenceID)}`);
|
60
60
|
break;
|
61
61
|
case 'Correct answer view':
|
62
|
+
cy.wait(1000);
|
62
63
|
cy.visit(`/item-engine/demo/render-item/correct-answer-view/${utilities.base64Encoding(itemReferenceID)}`);
|
64
|
+
cy.wait(2000);
|
63
65
|
break;
|
64
66
|
default:
|
65
67
|
throw new Error('Invalid view');
|
@@ -499,7 +499,7 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
499
499
|
});
|
500
500
|
|
501
501
|
it('By default, the options in the dropzone should be left aligned', () => {
|
502
|
-
fillInTheGapsOverImageDragAndDropPage.steps.verifyOptionAlignmentInDropzoneInSpecifyCorrectAnswer('
|
502
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyOptionAlignmentInDropzoneInSpecifyCorrectAnswer('Left');
|
503
503
|
});
|
504
504
|
|
505
505
|
optionAlignment.forEach((option) => {
|
@@ -681,6 +681,7 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
681
681
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyImageIsUploaded();
|
682
682
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(10);
|
683
683
|
fillInTheGapsOverImageDragAndDropPage.steps.selectResponseArea(0);
|
684
|
+
fillInTheGapsOverImageDragAndDropPage.steps.selectResponseAreaPointerStyle('left');
|
684
685
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
685
686
|
});
|
686
687
|
|