itemengine-cypress-automation 1.0.199 → 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +23 -23
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +23 -23
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +23 -24
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +17 -17
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +17 -17
- package/cypress/e2e/ILC/ChartsBar/checkAnswerFunctionalityForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/ChartsBar/studentViewSettings.js +96 -0
- package/cypress/e2e/ILC/ChartsLine/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +0 -4
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +13 -13
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +24 -24
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionBasic.js +13 -13
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionCorrectPointsEqualToAlternativePoints.js +23 -23
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionCorrectPointsGreaterThanAlternativePoints.js +23 -23
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionMinimumAndPenaltyScoring.js +3 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +13 -13
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneMinimumAndPenaltyScoring.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +13 -13
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +9 -9
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +21 -21
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +11 -11
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +10 -10
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/{Scoring/allOrNothingForAllViews.smoke.js → allOrNothingForAllViews.smoke.js} +3 -3
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptionsStyleAndLayoutCustomization.js +533 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +337 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +73 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/manuallyAndNonScored.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsBasic.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsBasic.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsForDropdowns.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/styleAndLayoutCustomization.js +336 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +73 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +13 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +9 -9
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +21 -21
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +11 -11
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +10 -10
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{Scoring/allOrNothingForAllViews.smoke.js → allOrNothingForAllViews.smoke.js} +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/manuallyAndNonScored.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsBasic.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/conditionalCheckboxScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsForAnswerInputFields.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/conditionalCheckboxScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsForAnswerInputFields.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsTextNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsTextNew/styleAndLayoutCustomization.js +336 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +73 -0
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +17 -17
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/Graphing/Scoring/manuallyAndNonScoredScoring.js +11 -11
- package/cypress/e2e/ILC/Graphing/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/Graphing/studentViewSettings.js +6 -4
- package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -19
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -19
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingScoringCellShadeCount.js +7 -7
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +10 -11
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +9 -9
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +9 -9
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +10 -11
- package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +10 -11
- package/cypress/e2e/ILC/GridFill/scoring/manuallyAndNonScored.js +10 -10
- package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +8 -9
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsBasic.js +11 -11
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +11 -11
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +6 -4
- package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternatePoints.js +17 -17
- package/cypress/e2e/ILC/ImageHighlight/Scoring/manuallyAndNonScored.js +10 -11
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +21 -21
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +10 -10
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeigtsCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsScoring.js +10 -10
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/ImageHighlight/additionalSettings.js +201 -0
- package/cypress/e2e/ILC/ImageHighlight/additionalSettingsBasic.js +133 -0
- package/cypress/e2e/ILC/ImageHighlight/backgroundImageAndCanvasProperties.js +408 -0
- package/cypress/e2e/ILC/ImageHighlight/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/ImageHighlight/descriptors.js +115 -0
- package/cypress/e2e/ILC/ImageHighlight/imageHighlightStyle.js +151 -0
- package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/ImageHighlight/toolFunctionalityPreviewTab.js +134 -0
- package/cypress/e2e/ILC/ImageHighlight/toolsFunctionalityEditTab.js +185 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +16 -17
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -19
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +16 -17
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +8 -9
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsBasic.js +7 -7
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/ListOrderingDropdown/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialDifferentWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialEqualWeightsBasic.js +2 -2
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +7 -7
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +7 -7
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/ListOrderingNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +13 -13
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +9 -9
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +11 -11
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +21 -21
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +10 -10
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/Matching/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/Matching/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/Matching/maximumCapacityPerDropzoneSection.js +1 -1
- package/cypress/e2e/ILC/Matching/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +46 -46
- package/cypress/e2e/ILC/MultipleSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/MultipleSelection/manuallyAndNonScoredScoring.js +7 -7
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +10 -10
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +57 -57
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +49 -49
- package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +29 -29
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +29 -29
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +29 -29
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/manuallyAndNonScored.js +9 -9
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +31 -31
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsBasic.js +9 -9
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +29 -29
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +30 -30
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +29 -29
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +9 -9
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +27 -27
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +28 -28
- package/cypress/e2e/ILC/MultipleSelectionGridNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +18 -19
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +17 -18
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +18 -19
- package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +12 -12
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +13 -13
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +19 -19
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +17 -17
- package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +6 -4
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -19
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -19
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -19
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/manualAndNonScoredScoring.js +11 -11
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +21 -21
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsBasic.js +13 -13
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsBasic.js +11 -11
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +3 -4
- package/cypress/e2e/ILC/NumberLineLabel/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +21 -21
- package/cypress/e2e/ILC/ShortTextResponseNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/ShortTextResponseNew/conditionalCheckboxes.js +112 -112
- package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +1 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/manuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +6 -4
- package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +21 -21
- package/cypress/e2e/ILC/SingleSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/manuallyAndNonScored.js +9 -9
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsBasic.js +9 -9
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +19 -19
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +17 -17
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +9 -9
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +15 -15
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/SingleSelectionGridNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/TextEntryMath/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/TextEntryMathWithImage/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +18 -18
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +18 -18
- package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +28 -28
- package/cypress/e2e/ILC/TextSelection/Scoring/manuallyAndNonScored.js +8 -8
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsBasic.js +12 -12
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +24 -23
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +38 -37
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +22 -22
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +20 -20
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +20 -19
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +33 -33
- package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +4 -2
- package/cypress/e2e/ILC/UploadResponse/studentViewSettingsSection.js +6 -4
- package/cypress/e2e/ILC/chartsDotsPlot/additionalSettings.js +138 -0
- package/cypress/e2e/ILC/chartsDotsPlot/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/questionInstruction.js +31 -0
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +23 -26
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +23 -25
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +25 -24
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/manualAndNonScoredScoring.js +7 -7
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +15 -15
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +21 -21
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +30 -30
- package/cypress/e2e/ILC/chartsDotsPlot/specifyCorrectAnswerSection.js +233 -0
- package/cypress/e2e/ILC/chartsDotsPlot/studentViewSettings.js +141 -0
- package/cypress/fixtures/theme/ilc.json +2 -1
- package/cypress/pages/audioPlayerPage.js +4 -1
- package/cypress/pages/chartsBarPage.js +21 -1
- package/cypress/pages/chartsDotPlotPage.js +141 -9
- package/cypress/pages/chartsLinePage.js +1 -1
- package/cypress/pages/components/autoScoredStudentViewSettings.js +8 -0
- package/cypress/pages/components/colorPopupComponent.js +9 -3
- package/cypress/pages/components/draggableOptionContainer.js +1 -1
- package/cypress/pages/components/draggableOptionsStyleAndLayoutComponent.js +444 -0
- package/cypress/pages/components/figCommonStyleAndLayoutComponent.js +318 -0
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +38 -1
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +34 -0
- package/cypress/pages/components/gridQuestionCommonComponent.js +1 -0
- package/cypress/pages/components/imageCanvasComponent.js +2 -0
- package/cypress/pages/components/index.js +3 -1
- package/cypress/pages/components/optionsWrapperComponent.js +1 -2
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +161 -2
- package/cypress/pages/fillInTheGapsDropdownPage.js +8 -2
- package/cypress/pages/fillInTheGapsTextPage.js +7 -1
- package/cypress/pages/imageHighlightPage.js +597 -6
- package/cypress/pages/numberLineLabelPage.js +26 -33
- package/cypress/pages/uploadResponsePage.js +2 -1
- package/package.json +1 -1
@@ -0,0 +1,151 @@
|
|
1
|
+
import { imageHighlightPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
|
6
|
+
const flowerHighlightRegion = [[30, 10], [30, 20], [45, 20], [45, 10]];
|
7
|
+
const branchesHighlightRegion = [[45, 45], [45, 55], [57, 55], [57, 45]];
|
8
|
+
const leafHighlightRegion = [[26, 26], [26, 36], [48, 36], [48, 26]];
|
9
|
+
|
10
|
+
describe('Create Item page - Image Highlight : Image selection style', () => {
|
11
|
+
before(() => {
|
12
|
+
cy.loginAs('admin');
|
13
|
+
});
|
14
|
+
|
15
|
+
describe('Image selection style : Edit tab content', () => {
|
16
|
+
abortEarlySetup();
|
17
|
+
before(() => {
|
18
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
19
|
+
});
|
20
|
+
|
21
|
+
it('\'Image selection style\' label and \'Filled-in\',\'Outline\',\'Pattern\' toggle buttons should be displayed', () => {
|
22
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.imageSelectionStyleLabel(), 'visible');
|
23
|
+
utilities.verifyInnerText(imageHighlightPage.imageSelectionStyleLabel(), 'Image selection style');
|
24
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.filledInToggleButton(), 'visible');
|
25
|
+
utilities.verifyInnerText(imageHighlightPage.filledInToggleButton(), 'Filled-in');
|
26
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.outlineToggleButton(), 'visible');
|
27
|
+
utilities.verifyInnerText(imageHighlightPage.outlineToggleButton(), 'Outline');
|
28
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.patternToggleButton(), 'visible');
|
29
|
+
utilities.verifyInnerText(imageHighlightPage.patternToggleButton(), 'Pattern');
|
30
|
+
});
|
31
|
+
|
32
|
+
it('\'Filled-in\' toggle button should be selected by default and other toggle buttons should not be selected', () => {
|
33
|
+
imageHighlightPage.steps.verifyToggleButtonSelected('Filled-in');
|
34
|
+
imageHighlightPage.steps.verifyToggleButtonNotSelected('Outline');
|
35
|
+
imageHighlightPage.steps.verifyToggleButtonNotSelected('Pattern');
|
36
|
+
});;
|
37
|
+
|
38
|
+
it('CSS of image selection style section', { tags: 'css' }, () => {
|
39
|
+
utilities.verifyCSS(imageHighlightPage.imageSelectionStyleLabel(), {
|
40
|
+
'color': css.color.labels,
|
41
|
+
'font-size': css.fontSize.normal,
|
42
|
+
'font-weight': css.fontWeight.semibold
|
43
|
+
});
|
44
|
+
utilities.verifyCSS(imageHighlightPage.filledInToggleButton(), {
|
45
|
+
'border': `2px solid ${css.color.activeComponentBorder}`,
|
46
|
+
'font-size': css.fontSize.default,
|
47
|
+
'font-weight': css.fontWeight.regular
|
48
|
+
});
|
49
|
+
utilities.verifyCSS(imageHighlightPage.outlineToggleButton(), {
|
50
|
+
'border': `1px solid ${css.color.figDefaultComponentBorder}`,
|
51
|
+
'font-size': css.fontSize.default,
|
52
|
+
'font-weight': css.fontWeight.regular
|
53
|
+
});
|
54
|
+
utilities.verifyCSS(imageHighlightPage.patternToggleButton(), {
|
55
|
+
'border': `1px solid ${css.color.figDefaultComponentBorder}`,
|
56
|
+
'font-size': css.fontSize.default,
|
57
|
+
'font-weight': css.fontWeight.regular
|
58
|
+
});
|
59
|
+
});
|
60
|
+
|
61
|
+
it('Accessibility of image selection style section', { tags: 'a11y' }, () => {
|
62
|
+
cy.checkAccessibility(imageHighlightPage.imageSelectionStyleLabel().parent('[class*="OptionsContainerstyles__OptionsWrapper"]'));
|
63
|
+
});
|
64
|
+
});
|
65
|
+
|
66
|
+
describe('Image selection style : Edit tab functionality', () => {
|
67
|
+
abortEarlySetup();
|
68
|
+
before(() => {
|
69
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
70
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
71
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
72
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
73
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
74
|
+
imageHighlightPage.steps.highlightRegionInImage(branchesHighlightRegion);
|
75
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
76
|
+
});
|
77
|
+
|
78
|
+
it('When user has selected \'Filled-in\' image selection style and selects a highlighted region in \'Specify correct answer\' section then the region should be filled in and unselected highlighted regions should be in default state', () => {
|
79
|
+
imageHighlightPage.steps.verifyToggleButtonSelected('Filled-in');
|
80
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(0);
|
81
|
+
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(0);
|
82
|
+
imageHighlightPage.steps.verifyFillInHighlightRegionSpecifyCorrectAnswerSection(0);
|
83
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(1);
|
84
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(2);
|
85
|
+
});
|
86
|
+
|
87
|
+
it('When user has selected \'Outline\' image selection style and selects a highlighted region in \'Specify correct answer\' section then the region should be outlined and unselected highlighted regions should be in default state', () => {
|
88
|
+
imageHighlightPage.steps.selectOutlineToggleButton();
|
89
|
+
imageHighlightPage.steps.verifyToggleButtonSelected('Outline');
|
90
|
+
imageHighlightPage.steps.verifyOutlineHighlightRegionSpecifyCorrectAnswerSection(0);
|
91
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(1);
|
92
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(2);
|
93
|
+
});
|
94
|
+
|
95
|
+
it('When user has selected \'Pattern\' image selection style and selects a highlighted region in \'Specify correct answer\' section then the region should be filled with pattern and unselected highlighted regions should be in default state', () => {
|
96
|
+
imageHighlightPage.steps.selectpatternToggleButton();
|
97
|
+
imageHighlightPage.steps.verifyToggleButtonSelected('Pattern');
|
98
|
+
imageHighlightPage.steps.verifyPatternHighlightRegionSpecifyCorrectAnswerSection(0);
|
99
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(1);
|
100
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(2);
|
101
|
+
});
|
102
|
+
|
103
|
+
});
|
104
|
+
|
105
|
+
describe('Image selection style: Preview tab functionality', () => {
|
106
|
+
abortEarlySetup();
|
107
|
+
before(() => {
|
108
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
109
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
110
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
111
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
112
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
113
|
+
imageHighlightPage.steps.highlightRegionInImage(branchesHighlightRegion);
|
114
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
115
|
+
});
|
116
|
+
|
117
|
+
it('When user has selected \'Filled-in\' image selection style and selects a highlighted region in \'Preview tab\' section then the region should be filled in and unselected highlighted regions should be in default state', () => {
|
118
|
+
imageHighlightPage.steps.verifyToggleButtonSelected('Filled-in');
|
119
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(0);
|
120
|
+
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(0);
|
121
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
122
|
+
imageHighlightPage.steps.highlightARegionInPreviewTab(0);
|
123
|
+
imageHighlightPage.steps.verifyFillInHighlightRegionPreviewTabSection(3);
|
124
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(1);
|
125
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(2);
|
126
|
+
imageHighlightPage.steps.switchToEditTab();
|
127
|
+
});
|
128
|
+
|
129
|
+
it('When user has selected \'Outline\' image selection style and selects a highlighted region in \'Preview tab\' section then the region should be outlined and unselected highlighted regions should be in default state', () => {
|
130
|
+
imageHighlightPage.steps.selectOutlineToggleButton();
|
131
|
+
imageHighlightPage.steps.verifyToggleButtonSelected('Outline');
|
132
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
133
|
+
imageHighlightPage.steps.highlightARegionInPreviewTab(0);
|
134
|
+
imageHighlightPage.steps.verifyOutlineHighlightRegionPreviewTabSection(3);
|
135
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(1);
|
136
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(2);
|
137
|
+
imageHighlightPage.steps.switchToEditTab();
|
138
|
+
});
|
139
|
+
|
140
|
+
it('When user has selected \'Pattern\' image selection style and selects a highlighted region in \'Preview tab\' section then the region should be filled with pattern and unselected highlighted regions should be in default state', () => {
|
141
|
+
imageHighlightPage.steps.selectpatternToggleButton();
|
142
|
+
imageHighlightPage.steps.verifyToggleButtonSelected('Pattern');
|
143
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
144
|
+
imageHighlightPage.steps.highlightARegionInPreviewTab(0);
|
145
|
+
imageHighlightPage.steps.verifyPatternHighlightRegionPreviewTabSection(3);
|
146
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(1);
|
147
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegionSpecifyCorrectAnswer(2);
|
148
|
+
});
|
149
|
+
|
150
|
+
});
|
151
|
+
});
|
@@ -20,6 +20,8 @@ describe('Image highlight - Student view settings', () => {
|
|
20
20
|
});
|
21
21
|
|
22
22
|
imageHighlightPage.tests.verifyEnableOuterBorderContents();
|
23
|
+
|
24
|
+
imageHighlightPage.tests.verifyAllowStudentsToCheckAnswerNotExist();
|
23
25
|
});
|
24
26
|
|
25
27
|
describe('Enable outer border for question: Preview tab', () => {
|
@@ -51,7 +53,7 @@ describe('Image highlight - Student view settings', () => {
|
|
51
53
|
});
|
52
54
|
});
|
53
55
|
|
54
|
-
describe('Allow student to check answer: Edit tab', () => {
|
56
|
+
/*describe('Allow student to check answer: Edit tab', () => {
|
55
57
|
abortEarlySetup();
|
56
58
|
before(() => {
|
57
59
|
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
@@ -140,7 +142,7 @@ describe('Image highlight - Student view settings', () => {
|
|
140
142
|
imageHighlightPage.steps.checkAnswer();
|
141
143
|
imageHighlightPage.steps.verifyCheckAnswerButtonEnabled();
|
142
144
|
});
|
143
|
-
})
|
145
|
+
});*/
|
144
146
|
|
145
147
|
describe('Show the available options to students: Edit tab', () => {
|
146
148
|
abortEarlySetup();
|
@@ -0,0 +1,134 @@
|
|
1
|
+
import { imageHighlightPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
|
5
|
+
const flowerHighlightRegion = [[30, 10], [30, 20], [45, 20], [45, 10]];
|
6
|
+
const leafHighlightRegion = [[26, 26], [26, 36], [48, 36], [48, 26]];
|
7
|
+
const overlapHighlightRegion = [[30, 12], [30, 26], [45, 26], [45, 12]];
|
8
|
+
|
9
|
+
describe('Create Item page - Image highlight: Tools functionality preview tab', () => {
|
10
|
+
before(() => {
|
11
|
+
cy.loginAs('admin');
|
12
|
+
});
|
13
|
+
|
14
|
+
describe('\'Pen\' tool functionality - Preview tab', { tags: 'smoke' }, () => {
|
15
|
+
abortEarlySetup();
|
16
|
+
before(() => {
|
17
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
18
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
19
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
20
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
21
|
+
});
|
22
|
+
|
23
|
+
it('When the user highlights a region on the highlight image canvas, it should be visible in \'Preview\' tab', () => {
|
24
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
25
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
26
|
+
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
|
27
|
+
});
|
28
|
+
|
29
|
+
it('When the user highlights multiple regions on the highlight image canvas, a new highlight should be visible in \'Preview\' tab', () => {
|
30
|
+
imageHighlightPage.steps.switchToEditTab();
|
31
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
32
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
33
|
+
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, leafHighlightRegion);
|
34
|
+
imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(2);
|
35
|
+
});
|
36
|
+
|
37
|
+
it('The user should not be able to draw overlapping highlights on the highlight image canvas', () => {
|
38
|
+
imageHighlightPage.steps.switchToEditTab();
|
39
|
+
imageHighlightPage.steps.highlightRegionInImage(overlapHighlightRegion);
|
40
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
41
|
+
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
|
42
|
+
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, leafHighlightRegion);
|
43
|
+
imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(2);
|
44
|
+
});
|
45
|
+
});
|
46
|
+
|
47
|
+
describe('\'Undo\' and \'Redo\' tool functionality - Preview tab', { tags: 'smoke' }, () => {
|
48
|
+
abortEarlySetup();
|
49
|
+
before(() => {
|
50
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
51
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
52
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
53
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
54
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
55
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
56
|
+
});
|
57
|
+
|
58
|
+
it('When the user performs the undo action, it should undo the latest action and it should be visible in \'Preview\' tab', () => {
|
59
|
+
imageHighlightPage.steps.clickOnUndoTool();
|
60
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
61
|
+
imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(1);
|
62
|
+
});
|
63
|
+
|
64
|
+
it('When the user clicks on the redo tool after performing an undo action, then the highlight region should be displayed again in the \'Preview\' tab', () => {
|
65
|
+
imageHighlightPage.steps.switchToEditTab();
|
66
|
+
imageHighlightPage.steps.clickOnRedoTool();
|
67
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
68
|
+
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, leafHighlightRegion);
|
69
|
+
imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(2);
|
70
|
+
});
|
71
|
+
|
72
|
+
it('User should be able to undo multiple highlight regions by using the \'Undo\' tool', () => {
|
73
|
+
cy.log('Switching to Edit Tab')
|
74
|
+
imageHighlightPage.steps.switchToEditTab();
|
75
|
+
imageHighlightPage.steps.clickOnUndoTool();
|
76
|
+
imageHighlightPage.steps.clickOnUndoTool();
|
77
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
78
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.highlightPreviewTab(), 'notExist')
|
79
|
+
});
|
80
|
+
|
81
|
+
it('When the user clicks on the \'Redo\' tool multiple times after performing an undo action, then all the highlight region should be displayed again in the \'Preview\' tab', () => {
|
82
|
+
imageHighlightPage.steps.switchToEditTab();
|
83
|
+
imageHighlightPage.steps.clickOnRedoTool();
|
84
|
+
imageHighlightPage.steps.clickOnRedoTool();
|
85
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
86
|
+
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
|
87
|
+
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, leafHighlightRegion);
|
88
|
+
imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(2);
|
89
|
+
});
|
90
|
+
});
|
91
|
+
|
92
|
+
describe('\'Item eraser\' tool functionality - Preview tab', { tags: 'smoke' }, () => {
|
93
|
+
abortEarlySetup();
|
94
|
+
before(() => {
|
95
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
96
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
97
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
98
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
99
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
100
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
101
|
+
});
|
102
|
+
|
103
|
+
it('When the user deletes the highlight using \'Item eraser\' tool, the deleted highlight should not be visible in \'Preview\' tab', () => {
|
104
|
+
imageHighlightPage.steps.eraseAHighlightRegion(flowerHighlightRegion);
|
105
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
106
|
+
imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(1);
|
107
|
+
});
|
108
|
+
});
|
109
|
+
|
110
|
+
describe('\'Clear all\' tool functionality - Preview tab', { tags: 'smoke' }, () => {
|
111
|
+
abortEarlySetup();
|
112
|
+
before(() => {
|
113
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
114
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
115
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
116
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
117
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
118
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
119
|
+
});
|
120
|
+
|
121
|
+
it('When user clicks on Cancel button then the highlights should persist', () => {
|
122
|
+
imageHighlightPage.steps.clickOnClearAllTool();
|
123
|
+
imageHighlightPage.steps.clickOnCancelAllButton();
|
124
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(2);
|
125
|
+
});
|
126
|
+
|
127
|
+
it('When the user deletes all the highlights using \'Clear all\' tool, no highlights should be visible in \'Preview\' tab', () => {
|
128
|
+
imageHighlightPage.steps.clickOnClearAllTool();
|
129
|
+
imageHighlightPage.steps.clickOnClearAllButton();
|
130
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
131
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.highlightPreviewTab(), 'notExist')
|
132
|
+
});
|
133
|
+
});
|
134
|
+
});
|
@@ -0,0 +1,185 @@
|
|
1
|
+
import { imageHighlightPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
|
5
|
+
const flowerHighlightRegion = [[30, 10], [30, 20], [45, 20], [45, 10]];
|
6
|
+
const leafHighlightRegion = [[26, 26], [26, 36], [48, 36], [48, 26]];
|
7
|
+
const overlapHighlightRegion = [[30, 12], [30, 26], [45, 26], [45, 12]];
|
8
|
+
|
9
|
+
describe('Create Item page - Highlight image: Tools functionality edit tab', () => {
|
10
|
+
before(() => {
|
11
|
+
cy.loginAs('admin');
|
12
|
+
});
|
13
|
+
|
14
|
+
describe('\'Freeform\' tool functionality - Edit tab, Set correct answer section', () => {
|
15
|
+
abortEarlySetup();
|
16
|
+
before(() => {
|
17
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
18
|
+
});
|
19
|
+
|
20
|
+
it('When user has not uploaded any image then the \'Freeform\' tool should be in disabled state', () => {
|
21
|
+
imageHighlightPage.steps.verifyToolbarDisabled();
|
22
|
+
});
|
23
|
+
|
24
|
+
it('When user uploads an image then the \'Freeform\' tool should be displayed in enabled state', () => {
|
25
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg')
|
26
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
27
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
28
|
+
imageHighlightPage.steps.verifyToolbarNotDisabled()
|
29
|
+
});
|
30
|
+
|
31
|
+
it('When the user selects the \'Freeform\' tool, the user should be able to highlight a region on the highlight image canvas, highlight count field value should update and a highlight with a numeration should be visible in \'Set correct answer\' section and \'Freeform\' tool should be in selected state', () => {
|
32
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
33
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(1);
|
34
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(0, flowerHighlightRegion)
|
35
|
+
imageHighlightPage.steps.verifyHighlightRegionNumerationSpecifyCorrectAnswer();
|
36
|
+
imageHighlightPage.steps.verifySelectedStateOfFreeformTool();
|
37
|
+
});
|
38
|
+
|
39
|
+
it('When the user highlights multiple regions on the highlight image canvas, highlight count field value should update and a new highlight with numeration should be visible in \'Set correct answer\' section', () => {
|
40
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
41
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(2);
|
42
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(1, leafHighlightRegion)
|
43
|
+
imageHighlightPage.steps.verifyHighlightRegionNumerationSpecifyCorrectAnswer()
|
44
|
+
});
|
45
|
+
|
46
|
+
it('The user should not be able to draw overlapping highlights on the highlight image canvas', () => {
|
47
|
+
imageHighlightPage.steps.highlightRegionInImage(overlapHighlightRegion);
|
48
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(2);
|
49
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(0, flowerHighlightRegion);
|
50
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(1, leafHighlightRegion);
|
51
|
+
});
|
52
|
+
});
|
53
|
+
|
54
|
+
describe('\'Undo\' and \'Redo\' tool functionality - Edit tab, Set correct answer section', () => {
|
55
|
+
abortEarlySetup();
|
56
|
+
before(() => {
|
57
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
58
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
59
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
60
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
61
|
+
});
|
62
|
+
|
63
|
+
it('The \'Undo\' and \'Redo\' tools should be disabled by default', () => {
|
64
|
+
utilities.verifyElementDisabled(imageHighlightPage.undoTool());
|
65
|
+
utilities.verifyElementDisabled(imageHighlightPage.redoTool());
|
66
|
+
});
|
67
|
+
|
68
|
+
it('When user uploads an image and highlights a region then the undo tool should be in enabled state', () => {
|
69
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
70
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
71
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(0, flowerHighlightRegion);
|
72
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(1, leafHighlightRegion);
|
73
|
+
utilities.verifyElementNotDisabled(imageHighlightPage.undoTool());
|
74
|
+
utilities.verifyElementDisabled(imageHighlightPage.redoTool());
|
75
|
+
});
|
76
|
+
|
77
|
+
it('When the user clicks on the \'Undo\' tool, it should undo the latest action and tool should be in unselected state and \'Redo\' button should be on enabled state', () => {
|
78
|
+
imageHighlightPage.steps.clickOnUndoTool();
|
79
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(1);
|
80
|
+
imageHighlightPage.steps.verifyUnselectedStateOfUndoTool();
|
81
|
+
utilities.verifyElementNotDisabled(imageHighlightPage.undoTool());
|
82
|
+
utilities.verifyElementNotDisabled(imageHighlightPage.redoTool());
|
83
|
+
});
|
84
|
+
|
85
|
+
it('When the user clicks on the redo tool after performing an undo action, then the highlight region should be displayed again in the \'Set correct answer\' section and tool should be in unselected state', () => {
|
86
|
+
imageHighlightPage.steps.clickOnRedoTool();
|
87
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(2);
|
88
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(1, leafHighlightRegion);
|
89
|
+
imageHighlightPage.steps.verifyUnselectedStateOfRedoTool();
|
90
|
+
utilities.verifyElementNotDisabled(imageHighlightPage.undoTool());
|
91
|
+
utilities.verifyElementDisabled(imageHighlightPage.redoTool());
|
92
|
+
});
|
93
|
+
|
94
|
+
it('When the user performs undo multiple times by using the \'Undo\' tool to reach the initial state then \'Undo\' should be in disabled state and \'Redo\' should be in enabled state', () => {
|
95
|
+
imageHighlightPage.steps.clickOnUndoTool();
|
96
|
+
imageHighlightPage.steps.clickOnUndoTool();
|
97
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(0);
|
98
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.specifyCorrectAnswerSectionHighlight(), 'notExist');
|
99
|
+
utilities.verifyElementDisabled(imageHighlightPage.undoTool());
|
100
|
+
utilities.verifyElementNotDisabled(imageHighlightPage.redoTool());
|
101
|
+
});
|
102
|
+
|
103
|
+
it('When the user clicks on the \'Redo\' tool multiple times after performing an undo action, then all the highlight region should be displayed again in the \'Set correct answer\' section', () => {
|
104
|
+
imageHighlightPage.steps.clickOnRedoTool();
|
105
|
+
imageHighlightPage.steps.clickOnRedoTool();
|
106
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(2);
|
107
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(0, flowerHighlightRegion);
|
108
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(1, leafHighlightRegion);
|
109
|
+
utilities.verifyElementNotDisabled(imageHighlightPage.undoTool());
|
110
|
+
utilities.verifyElementDisabled(imageHighlightPage.redoTool());
|
111
|
+
});
|
112
|
+
});
|
113
|
+
|
114
|
+
describe('\'Item eraser\' tool functionality - Edit tab, Set correct answer section', () => {
|
115
|
+
abortEarlySetup();
|
116
|
+
before(() => {
|
117
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
118
|
+
});
|
119
|
+
|
120
|
+
it('When user has not uploaded any image then the \'Item eraser\' tool should be in disabled state', () => {
|
121
|
+
imageHighlightPage.steps.verifyToolbarDisabled();
|
122
|
+
});
|
123
|
+
|
124
|
+
it('When user uploads an image then the \'Item eraser\' tool should be displayed in enabled state', () => {
|
125
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg')
|
126
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
127
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
128
|
+
imageHighlightPage.steps.verifyToolbarNotDisabled();
|
129
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
130
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
131
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(0, flowerHighlightRegion);
|
132
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(1, leafHighlightRegion);
|
133
|
+
});
|
134
|
+
|
135
|
+
it('When the user selects the \'Item eraser\' tool and clicks on a highlight region, the user should be able to delete the highlight and highlight count field value and numeration of highlight should change accordingly and deleted highlight should not be visible in \'Set correct answer\' section and the tool should be in selected state', () => {
|
136
|
+
imageHighlightPage.steps.eraseAHighlightRegion(flowerHighlightRegion);
|
137
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(1);
|
138
|
+
imageHighlightPage.steps.verifyHighlightRegionNumerationSpecifyCorrectAnswer();
|
139
|
+
imageHighlightPage.steps.verifySelectedStateOfItemEraserTool()
|
140
|
+
});
|
141
|
+
});
|
142
|
+
|
143
|
+
describe('\'Clear all\' tool functionality - Edit tab, Set correct answer section', () => {
|
144
|
+
abortEarlySetup();
|
145
|
+
before(() => {
|
146
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
147
|
+
});
|
148
|
+
|
149
|
+
it('When user has not uploaded any image then the \'Clear all\' tool should be in disabled state', () => {
|
150
|
+
imageHighlightPage.steps.verifyToolbarDisabled();
|
151
|
+
});
|
152
|
+
|
153
|
+
it('When user uploads an image then the \'Clear all\' tool should be displayed in enabled state', () => {
|
154
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg')
|
155
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
156
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
157
|
+
imageHighlightPage.steps.verifyToolbarNotDisabled();
|
158
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
159
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
160
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(0, flowerHighlightRegion);
|
161
|
+
imageHighlightPage.steps.verifyHighlightRegionsInSpecifyCorrectAnswerSection(1, leafHighlightRegion);
|
162
|
+
});
|
163
|
+
|
164
|
+
it('When the user clicks on the \'Clear all\' tool, then a popup should be displayed with \'Are you sure you want to clear all highlights from the canvas?\' with \'Delete\' and \'Cancel\' buttons', () => {
|
165
|
+
imageHighlightPage.steps.clickOnClearAllTool();
|
166
|
+
utilities.verifyInnerText(imageHighlightPage.clearAllPopupHeading(), 'Clear all');
|
167
|
+
utilities.verifyInnerText(imageHighlightPage.clearAllPopupDescription(), 'Are you sure you want to clear all highlights from the canvas?');
|
168
|
+
utilities.verifyInnerText(imageHighlightPage.clearAllButton(), 'Clear all');
|
169
|
+
utilities.verifyInnerText(imageHighlightPage.cancelButton(), 'Cancel');
|
170
|
+
});
|
171
|
+
|
172
|
+
it('When user clicks on Cancel button then the highlights should persist', () => {
|
173
|
+
imageHighlightPage.steps.clickOnCancelAllButton();
|
174
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(2);
|
175
|
+
});
|
176
|
+
|
177
|
+
it('When the user clicks on the \'Clear all\' tool, it should delete all the highlights present on the highlight image canvas and the highlight count field value should be equal to 0 and no highlights should be visible in \'Set correct answer\' section and \'Clear all\' tool should be in unselected state', () => {
|
178
|
+
imageHighlightPage.steps.clickOnClearAllTool();
|
179
|
+
imageHighlightPage.steps.clickOnClearAllButton();
|
180
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(0);
|
181
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.specifyCorrectAnswerSectionHighlight(), 'notExist')
|
182
|
+
imageHighlightPage.steps.verifyUnselectedStateOfClearAllTool();
|
183
|
+
});
|
184
|
+
});
|
185
|
+
});
|