itemengine-cypress-automation 1.0.284-RepoUpdate13thJan-c7ac0b4.0 → 1.0.284-applitools-38637bb.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +36 -26
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +14 -4
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +10 -0
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +10 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +10 -1
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +6 -7
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +35 -21
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +15 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- 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/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +14 -6
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +13 -4
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +12 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +12 -3
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +18 -9
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/applitools.config.js +14 -0
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
- package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +1 -38
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +7 -34
- package/cypress/pages/multipleSelectionPage.js +2 -17
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +3 -5
- package/cypress/pages/singleSelectionPage.js +2 -5
- package/cypress/pages/textEntryMathPage.js +5 -19
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +11 -0
- package/cypress/support/e2e.js +1 -0
- package/package.json +4 -1
- package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -56,7 +56,7 @@ describe('Create Item page - Matching : Question Instructions and prompt section
|
|
56
56
|
'font-size': css.fontSize.normal,
|
57
57
|
'font-weight': css.fontWeight.semibold
|
58
58
|
})
|
59
|
-
|
59
|
+
utilities.getNthElement( matchingPage.promptInputFieldWrapper(),0)
|
60
60
|
.within(() => {
|
61
61
|
utilities.verifyCSS(matchingPage.dragHandleButton(), {
|
62
62
|
'color': css.color.secondaryBtnActive,
|
@@ -76,7 +76,7 @@ describe('Create Item page - Matching : Question Instructions and prompt section
|
|
76
76
|
'font-size': css.fontSize.normal,
|
77
77
|
'font-weight': css.fontWeight.semibold
|
78
78
|
});
|
79
|
-
utilities.verifyCSS(utilities.getNthElement(matchingPage.promptInputField(),
|
79
|
+
utilities.verifyCSS(utilities.getNthElement( matchingPage.promptInputField(),0), {
|
80
80
|
'color': css.color.text,
|
81
81
|
'font-size': css.fontSize.default,
|
82
82
|
'font-weight': css.fontWeight.regular
|
@@ -163,7 +163,6 @@ describe('Create Item page - Matching : Question Instructions and prompt section
|
|
163
163
|
cy.log('Navigating to Matching question type');
|
164
164
|
matchingPage.steps.navigateToCreateQuestion('matching');
|
165
165
|
cy.barsPreLoaderWait();
|
166
|
-
matchingPage.steps.addTextInQuestionInstructionsInputField('Fill the categories with the right answer.');
|
167
166
|
});
|
168
167
|
|
169
168
|
it('When user clicks on the \'Delete\' question prompt button then deleted prompt should not be displayed in the \'Specify correct answer\' section table', () => {
|
@@ -70,7 +70,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
70
70
|
matchingPage.steps.switchToGradingView();
|
71
71
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
73
|
-
matchingPage.steps.
|
73
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
74
74
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
75
75
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
76
76
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -83,7 +83,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
83
83
|
matchingPage.steps.switchToGradingView();
|
84
84
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
86
|
-
matchingPage.steps.
|
86
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
87
87
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
88
88
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
89
89
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -94,7 +94,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
94
94
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 1, dropdownOption: optionsArray[2] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
95
95
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
96
96
|
matchingPage.steps.switchToGradingView();
|
97
|
-
matchingPage.steps.
|
97
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
98
98
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
99
99
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
100
100
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -120,8 +120,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
120
120
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
121
121
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
122
122
|
matchingPage.steps.switchToGradingView();
|
123
|
-
matchingPage.steps.
|
124
|
-
matchingPage.steps.
|
123
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
124
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
125
125
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
126
126
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
127
127
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
@@ -133,8 +133,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
133
133
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[4] }]);
|
134
134
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
135
135
|
matchingPage.steps.switchToGradingView();
|
136
|
-
matchingPage.steps.
|
137
|
-
matchingPage.steps.
|
136
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
137
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
138
138
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
139
139
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
140
140
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
@@ -70,7 +70,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
70
70
|
matchingPage.steps.switchToGradingView();
|
71
71
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
73
|
-
matchingPage.steps.
|
73
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
74
74
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
75
75
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
76
76
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -83,7 +83,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
83
83
|
matchingPage.steps.switchToGradingView();
|
84
84
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
86
|
-
matchingPage.steps.
|
86
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
87
87
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
88
88
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
89
89
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -95,7 +95,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
95
95
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
96
96
|
matchingPage.steps.switchToGradingView();
|
97
97
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
98
|
-
matchingPage.steps.
|
98
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
99
99
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
100
100
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
101
101
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -120,8 +120,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
120
120
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
121
121
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
122
122
|
matchingPage.steps.switchToGradingView();
|
123
|
-
matchingPage.steps.
|
124
|
-
matchingPage.steps.
|
123
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
124
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
125
125
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
126
126
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
127
127
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -134,8 +134,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
134
134
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
135
135
|
matchingPage.steps.switchToGradingView();
|
136
136
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
137
|
-
matchingPage.steps.
|
138
|
-
matchingPage.steps.
|
137
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
138
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
139
139
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
140
140
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
141
141
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -122,7 +122,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
122
122
|
matchingPage.steps.switchToGradingView();
|
123
123
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
124
124
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
125
|
-
matchingPage.steps.
|
125
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
126
126
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
127
127
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
128
128
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -135,7 +135,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
135
135
|
matchingPage.steps.switchToGradingView();
|
136
136
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
137
137
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
138
|
-
matchingPage.steps.
|
138
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
139
139
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
140
140
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
141
141
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -147,7 +147,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
147
147
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
148
148
|
matchingPage.steps.switchToGradingView();
|
149
149
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
150
|
-
matchingPage.steps.
|
150
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
151
151
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
152
152
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
153
153
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -172,8 +172,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
172
172
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
173
173
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
174
174
|
matchingPage.steps.switchToGradingView();
|
175
|
-
matchingPage.steps.
|
176
|
-
matchingPage.steps.
|
175
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
176
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
177
177
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
178
178
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
179
179
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -186,8 +186,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
186
186
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
187
187
|
matchingPage.steps.switchToGradingView();
|
188
188
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
189
|
-
matchingPage.steps.
|
190
|
-
matchingPage.steps.
|
189
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
190
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
191
191
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
192
192
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
193
193
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -78,7 +78,7 @@ describe('Create Item page - Matching: Manually and non scored', () => {
|
|
78
78
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[1] }, { dropdownIndex: 2, dropdownOption: optionsArray[4] }]);
|
79
79
|
matchingPage.steps.switchToGradingView();
|
80
80
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
81
|
-
matchingPage.steps.
|
81
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
82
82
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
83
83
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
84
84
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -89,7 +89,7 @@ describe('Create Item page - Matching: Manually and non scored', () => {
|
|
89
89
|
matchingPage.steps.resetQuestionPreview();
|
90
90
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 1, dropdownOption: optionsArray[2] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
91
91
|
matchingPage.steps.switchToGradingView();
|
92
|
-
matchingPage.steps.
|
92
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
93
93
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
94
94
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
95
95
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -57,7 +57,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
57
57
|
matchingPage.steps.verifyPreviewScore(9, 20);
|
58
58
|
matchingPage.steps.switchToGradingView();
|
59
59
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
60
|
-
matchingPage.steps.
|
60
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
61
61
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
62
62
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
63
63
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -69,7 +69,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
69
69
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 1, dropdownOption: optionsArray[2] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
70
70
|
matchingPage.steps.verifyPreviewScore(11, 20);
|
71
71
|
matchingPage.steps.switchToGradingView();
|
72
|
-
matchingPage.steps.
|
72
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
73
73
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
74
74
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
75
75
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -71,7 +71,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
71
71
|
matchingPage.steps.switchToGradingView();
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
73
73
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
74
|
-
matchingPage.steps.
|
74
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
75
75
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
76
76
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
77
77
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -84,7 +84,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
84
84
|
matchingPage.steps.switchToGradingView();
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
86
86
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
87
|
-
matchingPage.steps.
|
87
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
88
88
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
89
89
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
90
90
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -96,7 +96,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
96
96
|
matchingPage.steps.verifyPreviewScore(10, 15);
|
97
97
|
matchingPage.steps.switchToGradingView();
|
98
98
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
99
|
-
matchingPage.steps.
|
99
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
100
100
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
101
101
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
102
102
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
@@ -134,8 +134,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
134
134
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
135
135
|
matchingPage.steps.verifyPreviewScore(7, 15);
|
136
136
|
matchingPage.steps.switchToGradingView();
|
137
|
-
matchingPage.steps.
|
138
|
-
matchingPage.steps.
|
137
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
138
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
139
139
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
140
140
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
141
141
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
@@ -148,8 +148,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
148
148
|
matchingPage.steps.verifyPreviewScore(0, 15);
|
149
149
|
matchingPage.steps.switchToGradingView();
|
150
150
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
151
|
-
matchingPage.steps.
|
152
|
-
matchingPage.steps.
|
151
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
152
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
153
153
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
154
154
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
155
155
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -71,7 +71,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
71
71
|
matchingPage.steps.switchToGradingView();
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
73
73
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
74
|
-
matchingPage.steps.
|
74
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
75
75
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
76
76
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
77
77
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -84,7 +84,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
84
84
|
matchingPage.steps.switchToGradingView();
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
86
86
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
87
|
-
matchingPage.steps.
|
87
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
88
88
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
89
89
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
90
90
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -96,7 +96,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
96
96
|
matchingPage.steps.verifyPreviewScore(10, 15);
|
97
97
|
matchingPage.steps.switchToGradingView();
|
98
98
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
99
|
-
matchingPage.steps.
|
99
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
100
100
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
101
101
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
102
102
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -134,8 +134,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
134
134
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
135
135
|
matchingPage.steps.verifyPreviewScore(7, 15);
|
136
136
|
matchingPage.steps.switchToGradingView();
|
137
|
-
matchingPage.steps.
|
138
|
-
matchingPage.steps.
|
137
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
138
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
139
139
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
140
140
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
141
141
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -148,8 +148,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
148
148
|
matchingPage.steps.verifyPreviewScore(0, 15);
|
149
149
|
matchingPage.steps.switchToGradingView();
|
150
150
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
151
|
-
matchingPage.steps.
|
152
|
-
matchingPage.steps.
|
151
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
152
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
153
153
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
154
154
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
155
155
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -71,7 +71,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
71
71
|
matchingPage.steps.switchToGradingView();
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
73
73
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
74
|
-
matchingPage.steps.
|
74
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
75
75
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
76
76
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
77
77
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -84,7 +84,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
84
84
|
matchingPage.steps.switchToGradingView();
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
86
86
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
87
|
-
matchingPage.steps.
|
87
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
88
88
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
89
89
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
90
90
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -96,7 +96,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
96
96
|
matchingPage.steps.verifyPreviewScore(8, 15);
|
97
97
|
matchingPage.steps.switchToGradingView();
|
98
98
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
99
|
-
matchingPage.steps.
|
99
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
100
100
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
101
101
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
102
102
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -134,8 +134,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
134
134
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
135
135
|
matchingPage.steps.verifyPreviewScore(7, 15);
|
136
136
|
matchingPage.steps.switchToGradingView();
|
137
|
-
matchingPage.steps.
|
138
|
-
matchingPage.steps.
|
137
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
138
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
139
139
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
140
140
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
141
141
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -148,8 +148,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
148
148
|
matchingPage.steps.verifyPreviewScore(0, 15);
|
149
149
|
matchingPage.steps.switchToGradingView();
|
150
150
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
151
|
-
matchingPage.steps.
|
152
|
-
matchingPage.steps.
|
151
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
152
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
153
153
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
154
154
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
155
155
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -42,8 +42,8 @@ describe('Create item page - Matching: Partial equal weights', () => {
|
|
42
42
|
matchingPage.steps.verifyPreviewScore(0, 15);
|
43
43
|
matchingPage.steps.switchToGradingView();
|
44
44
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
45
|
-
matchingPage.steps.
|
46
|
-
matchingPage.steps.
|
45
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
46
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
47
47
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
48
48
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
49
49
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -55,7 +55,7 @@ describe('Create item page - Matching: Partial equal weights', () => {
|
|
55
55
|
matchingPage.steps.verifyPreviewScore(5, 15);
|
56
56
|
matchingPage.steps.switchToGradingView();
|
57
57
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
58
|
-
matchingPage.steps.
|
58
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
59
59
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
60
60
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
61
61
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -67,7 +67,7 @@ describe('Create item page - Matching: Partial equal weights', () => {
|
|
67
67
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 1, dropdownOption: optionsArray[2] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
68
68
|
matchingPage.steps.verifyPreviewScore(10, 15);
|
69
69
|
matchingPage.steps.switchToGradingView();
|
70
|
-
matchingPage.steps.
|
70
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
71
71
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
73
73
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -71,7 +71,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
71
71
|
matchingPage.steps.switchToGradingView();
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
73
73
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
74
|
-
matchingPage.steps.
|
74
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
75
75
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
76
76
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
77
77
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -84,7 +84,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
84
84
|
matchingPage.steps.switchToGradingView();
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
86
86
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
87
|
-
matchingPage.steps.
|
87
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
88
88
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
89
89
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
90
90
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -96,7 +96,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
96
96
|
matchingPage.steps.verifyPreviewScore(10, 15);
|
97
97
|
matchingPage.steps.switchToGradingView();
|
98
98
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
99
|
-
matchingPage.steps.
|
99
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
100
100
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
101
101
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
102
102
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
@@ -121,8 +121,8 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
121
121
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
122
122
|
matchingPage.steps.verifyPreviewScore(5, 15);
|
123
123
|
matchingPage.steps.switchToGradingView();
|
124
|
-
matchingPage.steps.
|
125
|
-
matchingPage.steps.
|
124
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
125
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
126
126
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
127
127
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
@@ -135,8 +135,8 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
135
135
|
matchingPage.steps.verifyPreviewScore(0, 15);
|
136
136
|
matchingPage.steps.switchToGradingView();
|
137
137
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
138
|
-
matchingPage.steps.
|
139
|
-
matchingPage.steps.
|
138
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
139
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
140
140
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
141
141
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
142
142
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -71,7 +71,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
71
71
|
matchingPage.steps.switchToGradingView();
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
73
73
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
74
|
-
matchingPage.steps.
|
74
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
75
75
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
76
76
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
77
77
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -84,7 +84,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
84
84
|
matchingPage.steps.switchToGradingView();
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
86
86
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
87
|
-
matchingPage.steps.
|
87
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
88
88
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
89
89
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
90
90
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -96,7 +96,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
96
96
|
matchingPage.steps.verifyPreviewScore(10, 15);
|
97
97
|
matchingPage.steps.switchToGradingView();
|
98
98
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
99
|
-
matchingPage.steps.
|
99
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
100
100
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
101
101
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
102
102
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -121,8 +121,8 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
121
121
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
122
122
|
matchingPage.steps.verifyPreviewScore(5, 15);
|
123
123
|
matchingPage.steps.switchToGradingView();
|
124
|
-
matchingPage.steps.
|
125
|
-
matchingPage.steps.
|
124
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
125
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
126
126
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
127
127
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -135,8 +135,8 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
135
135
|
matchingPage.steps.verifyPreviewScore(0, 15);
|
136
136
|
matchingPage.steps.switchToGradingView();
|
137
137
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
138
|
-
matchingPage.steps.
|
139
|
-
matchingPage.steps.
|
138
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
139
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
140
140
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
141
141
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
142
142
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -71,7 +71,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
71
71
|
matchingPage.steps.switchToGradingView();
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
73
73
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
74
|
-
matchingPage.steps.
|
74
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
75
75
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
76
76
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
77
77
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -84,7 +84,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
84
84
|
matchingPage.steps.switchToGradingView();
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
86
86
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
87
|
-
matchingPage.steps.
|
87
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
88
88
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
89
89
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
90
90
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -96,7 +96,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
96
96
|
matchingPage.steps.verifyPreviewScore(6, 15);
|
97
97
|
matchingPage.steps.switchToGradingView();
|
98
98
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
99
|
-
matchingPage.steps.
|
99
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
100
100
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
101
101
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
102
102
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -121,8 +121,8 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
121
121
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
122
122
|
matchingPage.steps.verifyPreviewScore(5, 15);
|
123
123
|
matchingPage.steps.switchToGradingView();
|
124
|
-
matchingPage.steps.
|
125
|
-
matchingPage.steps.
|
124
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
125
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
126
126
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
127
127
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -135,8 +135,8 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
135
135
|
matchingPage.steps.verifyPreviewScore(0, 15);
|
136
136
|
matchingPage.steps.switchToGradingView();
|
137
137
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
138
|
-
matchingPage.steps.
|
139
|
-
matchingPage.steps.
|
138
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
139
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
140
140
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
141
141
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
142
142
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -14,6 +14,14 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
+
beforeEach(() => {
|
18
|
+
cy.startApplitools();
|
19
|
+
});
|
20
|
+
|
21
|
+
afterEach(() => {
|
22
|
+
cy.eyesClose();
|
23
|
+
});
|
24
|
+
|
17
25
|
if (!grepTags || !grepTags.includes('smoke')) {
|
18
26
|
describe('Question preview modes: Student view and Grading view', () => {
|
19
27
|
abortEarlySetup();
|
@@ -98,7 +106,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
98
106
|
});
|
99
107
|
};
|
100
108
|
|
101
|
-
it(
|
109
|
+
it(`${view}: Matching dropdown - When the user selects \'Grading\' view without attempting the question, dropdown numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration`, () => {
|
102
110
|
if (view === 'Grading view') {
|
103
111
|
studentViewPage.steps.submitResponse();
|
104
112
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -119,7 +127,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
119
127
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
120
128
|
});
|
121
129
|
|
122
|
-
it(
|
130
|
+
it(`${view}: Matching dropdown - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
|
123
131
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[0] }, { dropdownIndex: 1, dropdownOption: optionsArray[1] }, { dropdownIndex: 2, dropdownOption: optionsArray[2] }]);
|
124
132
|
if (view === 'Grading view') {
|
125
133
|
studentViewPage.steps.submitResponse();
|
@@ -138,7 +146,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
138
146
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
139
147
|
});
|
140
148
|
|
141
|
-
it(
|
149
|
+
it(`${view}: Matching dropdown - When the user attempts the question partially correct with some correct, some incomplete and some incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
|
142
150
|
if (view === 'Grading view') {
|
143
151
|
studentViewPage.steps.clearResponses();
|
144
152
|
};
|
@@ -160,7 +168,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
160
168
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
161
169
|
});
|
162
170
|
|
163
|
-
it(
|
171
|
+
it(`${view}: Matching dropdown - When the user attempts the question partially correct with all the dropdowns correctly attempted but one dropdown incomplete, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
|
164
172
|
if (view === 'Grading view') {
|
165
173
|
studentViewPage.steps.clearResponses();
|
166
174
|
};
|
@@ -182,7 +190,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
182
190
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
183
191
|
});
|
184
192
|
|
185
|
-
it(
|
193
|
+
it(`${view}: Matching dropdown - When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed`, () => {
|
186
194
|
if (view === 'Grading view') {
|
187
195
|
studentViewPage.steps.clearResponses();
|
188
196
|
};
|
@@ -203,6 +211,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
203
211
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
204
212
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
205
213
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
214
|
+
cy.eyesCheckWindow(`Matching dropdown - ${view} view - Attempting the question correctly`);
|
206
215
|
});
|
207
216
|
});
|
208
217
|
});
|