itemengine-cypress-automation 1.0.200-23rdMayUpdates-264dc55.0 → 1.0.201-28thMayRepoUpdate-e720349.0
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,408 @@
|
|
1
|
+
import { imageHighlightPage } from "../../../pages";
|
2
|
+
import utilities from "../../../support/helpers/utilities";
|
3
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
const alignmentOptions = ['Top left', 'Center', 'Top right'];
|
6
|
+
|
7
|
+
describe('Create item page - Image highlight: Background image section', () => {
|
8
|
+
before(() => {
|
9
|
+
cy.loginAs('admin');
|
10
|
+
});
|
11
|
+
|
12
|
+
describe('Question instructions input field - Edit tab', () => {
|
13
|
+
abortEarlySetup();
|
14
|
+
before(() => {
|
15
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
16
|
+
cy.barsPreLoaderWait();
|
17
|
+
});
|
18
|
+
|
19
|
+
imageHighlightPage.tests.verifyQuestionInstructionsInputFieldEditTab();
|
20
|
+
});
|
21
|
+
|
22
|
+
describe('Question instructions input field - Edit tab functionality', () => {
|
23
|
+
abortEarlySetup();
|
24
|
+
before(() => {
|
25
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
26
|
+
cy.barsPreLoaderWait();
|
27
|
+
});
|
28
|
+
|
29
|
+
imageHighlightPage.tests.verifyQuestionInstructionsInputFieldPreviewTab();
|
30
|
+
});
|
31
|
+
|
32
|
+
describe('Background image section - Edit tab', () => {
|
33
|
+
abortEarlySetup();
|
34
|
+
before(() => {
|
35
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
36
|
+
cy.barsPreLoaderWait();
|
37
|
+
});
|
38
|
+
|
39
|
+
imageHighlightPage.tests.verifyBackgroundImageSectionContentWithCSSAndA11y('image highlight');
|
40
|
+
|
41
|
+
imageHighlightPage.tests.verifyDeleteImagePopupContentAndFunctionality();
|
42
|
+
});
|
43
|
+
|
44
|
+
describe('Specify possible options section - Edit tab', () => {
|
45
|
+
abortEarlySetup();
|
46
|
+
before(() => {
|
47
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
48
|
+
cy.barsPreLoaderWait();
|
49
|
+
});
|
50
|
+
|
51
|
+
it('\'Specify possible options\' label should be displayed', () => {
|
52
|
+
utilities.verifyInnerText(imageHighlightPage.specifyPossibleOptionsLabel(), 'Specify possible options');
|
53
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.specifyPossibleOptionsLabel(), 'visible');
|
54
|
+
});
|
55
|
+
|
56
|
+
it('When user uploads background image for canvas, then it should be displayed in Specify possible options and Specify correct answer section', () => {
|
57
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
58
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
59
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
60
|
+
});
|
61
|
+
|
62
|
+
it('\'Pen\' tool should be visible and should be in selected state by default', () => {
|
63
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.freeformTool(), 'visible');
|
64
|
+
imageHighlightPage.steps.verifySelectedStateOfFreeformTool();
|
65
|
+
});
|
66
|
+
|
67
|
+
it('\'Select\' tool should be visible and should be in unselected state by default', () => {
|
68
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.selectTool(), 'visible');
|
69
|
+
imageHighlightPage.steps.verifyUnselectedStateOfSelectTool();
|
70
|
+
});
|
71
|
+
|
72
|
+
it('\'Undo\' tool should be visible and should be in unselected state by default', () => {
|
73
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.undoTool(), 'visible');
|
74
|
+
imageHighlightPage.steps.verifyUnselectedStateOfUndoTool();
|
75
|
+
});
|
76
|
+
|
77
|
+
it('\'Redo\' tool should be visible and should be in unselected state by default', () => {
|
78
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.redoTool(), 'visible');
|
79
|
+
imageHighlightPage.steps.verifyUnselectedStateOfRedoTool();
|
80
|
+
});
|
81
|
+
|
82
|
+
it('\'Item Eraser\' tool should be visible and should be in unselected state by default', () => {
|
83
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.itemEraserTool(), 'visible');
|
84
|
+
imageHighlightPage.steps.verifyUnselectedStateOfItemEraserTool();
|
85
|
+
});
|
86
|
+
|
87
|
+
it('\'Clear All\' tool should be visible and should be in unselected state by default', () => {
|
88
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.clearAllTool(), 'visible');
|
89
|
+
imageHighlightPage.steps.verifyUnselectedStateOfClearAllTool();
|
90
|
+
});
|
91
|
+
|
92
|
+
it('\'Highlight count\' label having value 0 should be displayed by default', () => {
|
93
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.optionCount(), 'visible')
|
94
|
+
imageHighlightPage.steps.verifyOptionCountInHighlightImageSection(0);
|
95
|
+
});
|
96
|
+
});
|
97
|
+
|
98
|
+
describe('Image properties section - Edit tab', () => {
|
99
|
+
abortEarlySetup();
|
100
|
+
before(() => {
|
101
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
102
|
+
cy.barsPreLoaderWait();
|
103
|
+
imageHighlightPage.steps.addTextInQuestionInstructionsInputField('Select the appropriate highlight in the image below');
|
104
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
105
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
106
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
107
|
+
});
|
108
|
+
|
109
|
+
it('\'Image properties\' label should be displayed.', () => {
|
110
|
+
utilities.verifyInnerText(imageHighlightPage.imagePropertiesLabel(), 'Image properties');
|
111
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.imagePropertiesLabel(), 'visible');
|
112
|
+
});
|
113
|
+
|
114
|
+
it('\'Fill image to canvas\' label and checkbox should be displayed and checkbox should be unchecked by default', () => {
|
115
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.fillImageToCanvasLabel(), 'visible');
|
116
|
+
utilities.verifyInnerText(imageHighlightPage.fillImageToCanvasLabel(), 'Fill image to canvas');
|
117
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.fillImageToCanvasCheckbox(), 'exist');
|
118
|
+
imageHighlightPage.steps.verifyFillImageToCanvasCheckboxChecked();
|
119
|
+
});
|
120
|
+
|
121
|
+
it('User should be able to uncheck \'Fill image to canvas\' checkbox', () => {
|
122
|
+
imageHighlightPage.steps.uncheckFillImageToCanvasCheckbox();
|
123
|
+
});
|
124
|
+
|
125
|
+
it('\'Lock aspect ratio\' and \'Reset dimensions\' buttons should be displayed and by default \'Lock aspect ratio\' button should be locked', () => {
|
126
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.lockAspectRatioButton(), 'visible');
|
127
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.resetDimensionsButton(), 'visible');
|
128
|
+
});
|
129
|
+
|
130
|
+
it('\'Image alignment\' label should be displayed. ', () => {
|
131
|
+
utilities.verifyInnerText(imageHighlightPage.imageAlignmentLabel(), 'Image alignment');
|
132
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.imageAlignmentLabel(), 'visible');
|
133
|
+
});
|
134
|
+
|
135
|
+
it(`\'Image alignment\' section should have three options ${alignmentOptions} and ${alignmentOptions[0]} should be active selection by default`, () => {
|
136
|
+
utilities.verifyInnerText(imageHighlightPage.topLeftAlignmentButton(), 'Top left');
|
137
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.topLeftAlignmentButton(), 'visible');
|
138
|
+
utilities.verifyInnerText(imageHighlightPage.centerAlignmentButton(), 'Center');
|
139
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.centerAlignmentButton(), 'visible');
|
140
|
+
utilities.verifyInnerText(imageHighlightPage.topRightAlignmentButton(), 'Top right');
|
141
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.topRightAlignmentButton(), 'visible');
|
142
|
+
});
|
143
|
+
|
144
|
+
it('\'Image alternative text\' label and input field should be displayed. By default input field should be empty', () => {
|
145
|
+
utilities.verifyInnerText(imageHighlightPage.imageAlternativeTextLabel(), 'Image alternative text');
|
146
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.imageAlternativeTextLabel(), 'visible');
|
147
|
+
utilities.verifyInnerText(imageHighlightPage.imageAlternativeTextInputField(), '');
|
148
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.imageAlternativeTextInputField(), 'exist');
|
149
|
+
});
|
150
|
+
|
151
|
+
it('User should be able to enter text in \'Image alternative text\' input field', () => {
|
152
|
+
imageHighlightPage.steps.enterAndVerifyImageAlternativeTextInInputField('Image description');
|
153
|
+
});
|
154
|
+
});
|
155
|
+
|
156
|
+
describe('Image properties section - Edit tab canvas section functionality', () => {
|
157
|
+
abortEarlySetup();
|
158
|
+
before(() => {
|
159
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
160
|
+
cy.barsPreLoaderWait();
|
161
|
+
imageHighlightPage.steps.addTextInQuestionInstructionsInputField('Select the appropriate highlight in the image below');
|
162
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
163
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
164
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
165
|
+
imageHighlightPage.steps.uncheckFillImageToCanvasCheckbox();
|
166
|
+
});
|
167
|
+
|
168
|
+
it('When \'Top left\' image alignment is selected by default, then image should be aligned to top left inside the canvas', () => {
|
169
|
+
imageHighlightPage.steps.verifyCanvasImageTopLeftAligned();
|
170
|
+
imageHighlightPage.steps.verifyCanvasImageTopLeftAlignedSpecifyCorrectAnswer();
|
171
|
+
});
|
172
|
+
|
173
|
+
it('When user selects \'Center\' image alignment, then image should be aligned to center inside the canvas', () => {
|
174
|
+
imageHighlightPage.steps.selectCenterImageAlignment();
|
175
|
+
imageHighlightPage.steps.verifyCanvasImageCenterAligned();
|
176
|
+
imageHighlightPage.steps.verifyCanvasImageCenterAlignedSpecifyCorrectAnswer();
|
177
|
+
});
|
178
|
+
|
179
|
+
it('When user selects \'Top right\' image alignment, then image should be aligned to top right inside the canvas', () => {
|
180
|
+
imageHighlightPage.steps.selectTopRightImageAlignment();
|
181
|
+
imageHighlightPage.steps.verifyCanvasImageTopRightAligned();
|
182
|
+
imageHighlightPage.steps.verifyCanvasImageTopRightAlignedSpecifyCorrectAnswer();
|
183
|
+
});
|
184
|
+
|
185
|
+
it('When user selects \'Top left\' image alignment again, then image should be aligned to top left inside the canvas', () => {
|
186
|
+
imageHighlightPage.steps.selectTopLeftImageAlignment();
|
187
|
+
imageHighlightPage.steps.verifyCanvasImageTopLeftAligned();
|
188
|
+
imageHighlightPage.steps.verifyCanvasImageTopLeftAlignedSpecifyCorrectAnswer();
|
189
|
+
});
|
190
|
+
|
191
|
+
it('When opacity value is set to 100 percent by default, then opacity for image should be100 percent inside canvas', () => {
|
192
|
+
imageHighlightPage.steps.verifyOpacityValueForCanvasImage(100);
|
193
|
+
imageHighlightPage.steps.verifyOpacityValueForCanvasImageSpecifyCorrectAnswer(100);
|
194
|
+
});
|
195
|
+
|
196
|
+
it('When user changes opacity slider value , then opacity for image should be updated accordingly', () => {
|
197
|
+
imageHighlightPage.steps.clickActionOnOpacitySlider();
|
198
|
+
imageHighlightPage.steps.verifyOpacityValueForCanvasImage(50);
|
199
|
+
imageHighlightPage.steps.verifyOpacityValueForCanvasImageSpecifyCorrectAnswer(50);
|
200
|
+
});
|
201
|
+
|
202
|
+
it('When user changes opacity value in input field, then opacity for image should be updated accordingly', () => {
|
203
|
+
imageHighlightPage.steps.enterInputToOpacityInputField(40);
|
204
|
+
imageHighlightPage.steps.verifyOpacityInputFieldValue(40);
|
205
|
+
imageHighlightPage.steps.verifyOpacityValueForCanvasImage(40);
|
206
|
+
imageHighlightPage.steps.verifyOpacityValueForCanvasImageSpecifyCorrectAnswer(40);
|
207
|
+
});
|
208
|
+
|
209
|
+
it('When user checks \'Fill image to canvas\' checkbox, then image should be adjusted to fit inside the canvas', () => {
|
210
|
+
imageHighlightPage.steps.checkFillImageToCanvasCheckbox();
|
211
|
+
imageHighlightPage.steps.verifyImageFitsToCanvas();
|
212
|
+
imageHighlightPage.steps.verifyImageFitsToCanvasSpecifyCorrectAnswer();
|
213
|
+
});
|
214
|
+
|
215
|
+
it('When user unchecks \'Fill image to canvas\' checkbox, then image dimensions should set to default state', () => {
|
216
|
+
imageHighlightPage.steps.uncheckFillImageToCanvasCheckbox();
|
217
|
+
imageHighlightPage.steps.verifyImageDoesNotFitToCanvas();
|
218
|
+
imageHighlightPage.steps.verifyImageDoesNotFitToCanvasSpecifyCorrectAnswer();
|
219
|
+
});
|
220
|
+
});
|
221
|
+
|
222
|
+
describe('Canvas width, Canvas height, Image alternative text - Edit tab canvas section functionality', () => {
|
223
|
+
abortEarlySetup();
|
224
|
+
before(() => {
|
225
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
226
|
+
cy.barsPreLoaderWait();
|
227
|
+
imageHighlightPage.steps.addTextInQuestionInstructionsInputField('Select the appropriate highlight in the image below');
|
228
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
229
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
230
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
231
|
+
});
|
232
|
+
|
233
|
+
it('When aspect ratio is unlocked and user changes the value in width input field, the height input field should remain unchanged and the dimensions should be updated in the image popup preview section', () => {
|
234
|
+
imageHighlightPage.steps.unlockAspectRatio();
|
235
|
+
imageHighlightPage.steps.updateCanvasWidth(500);
|
236
|
+
imageHighlightPage.steps.verifyCanvasWidth(500);
|
237
|
+
imageHighlightPage.steps.verifyCanvasWidthSpecifyCorrectAnswer(500);
|
238
|
+
imageHighlightPage.steps.verifyCanvasHeight(432);
|
239
|
+
imageHighlightPage.steps.verifyCanvasHeightSpecifyCorrectAnswer(432);
|
240
|
+
});
|
241
|
+
|
242
|
+
it('When aspect ratio is unlocked and user changes the value in height input field, then width input field should remain unchanged and the dimensions should be updated in the image popup preview section', () => {
|
243
|
+
imageHighlightPage.steps.updateCanvasHeight(500);
|
244
|
+
imageHighlightPage.steps.verifyCanvasHeight(500);
|
245
|
+
imageHighlightPage.steps.verifyCanvasWidth(500);
|
246
|
+
imageHighlightPage.steps.verifyCanvasHeightSpecifyCorrectAnswer(500);
|
247
|
+
imageHighlightPage.steps.verifyCanvasWidthSpecifyCorrectAnswer(500);
|
248
|
+
});
|
249
|
+
|
250
|
+
it('When user locks the aspect ratio button and changes the value in the width input field, the height input field should be updated accordingly to maintain the updated aspect ratio', () => {
|
251
|
+
imageHighlightPage.steps.lockAspectRatio();
|
252
|
+
imageHighlightPage.steps.updateCanvasWidth(800);
|
253
|
+
imageHighlightPage.steps.verifyCanvasHeight(500);
|
254
|
+
imageHighlightPage.steps.verifyCanvasHeightSpecifyCorrectAnswer(500);
|
255
|
+
});
|
256
|
+
|
257
|
+
it('When user selects the \'Reset dimensions\' button the height and width should reset to the original values', () => {
|
258
|
+
imageHighlightPage.steps.resetDimensions();
|
259
|
+
imageHighlightPage.steps.verifyCanvasWidth(768);
|
260
|
+
imageHighlightPage.steps.verifyCanvasHeight(432);
|
261
|
+
imageHighlightPage.steps.verifyCanvasWidthSpecifyCorrectAnswer(768);
|
262
|
+
imageHighlightPage.steps.verifyCanvasHeightSpecifyCorrectAnswer(432);
|
263
|
+
});
|
264
|
+
|
265
|
+
it('When user enters text in the \'Alternative text\' input field, then alternative text should be displayed for canvas image', () => {
|
266
|
+
imageHighlightPage.steps.enterAndVerifyImageAlternativeTextInInputField('This is Alternative text for image');
|
267
|
+
imageHighlightPage.steps.verifyImageAltTextSpecifyPossibleOptionsImageCanvas('This is Alternative text for image');
|
268
|
+
imageHighlightPage.steps.verifyImageAltTextSpecifyCorrectAnswerImageCanvas('This is Alternative text for image');
|
269
|
+
});
|
270
|
+
|
271
|
+
it('When user clears text in the \'Alternative text\' input field, then default alternative text should be displayed for canvas image', () => {
|
272
|
+
imageHighlightPage.steps.clearImageAlternativeTextInputFieldText();
|
273
|
+
imageHighlightPage.steps.verifyNoImageAltTextSpecifyPossibleOptionsImageCanvas();
|
274
|
+
imageHighlightPage.steps.verifyNoImageAltTextSpecifyCorrectAnswerImageCanvas();
|
275
|
+
});
|
276
|
+
});
|
277
|
+
|
278
|
+
describe('Image properties, Image alignment, Opacity section - Preview tab functionality', () => {
|
279
|
+
abortEarlySetup();
|
280
|
+
before(() => {
|
281
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
282
|
+
cy.barsPreLoaderWait();
|
283
|
+
imageHighlightPage.steps.addTextInQuestionInstructionsInputField('Select the appropriate highlight in the image below');
|
284
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
285
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
286
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
287
|
+
imageHighlightPage.steps.uncheckFillImageToCanvasCheckbox();
|
288
|
+
});
|
289
|
+
|
290
|
+
it('When \'Top left\' image alignment is selected by default, then in preview tab canvas image should be aligned to top left', () => {
|
291
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
292
|
+
imageHighlightPage.steps.verifyImageUploadedPreviewTab();
|
293
|
+
imageHighlightPage.steps.verifyCanvasImageTopLeftAlignedInPreviewTab();
|
294
|
+
});
|
295
|
+
|
296
|
+
it('When user selects \'Center\' image alignment in edit tab, then canvas image should be aligned to center in preview tab ', () => {
|
297
|
+
imageHighlightPage.steps.switchToEditTab();
|
298
|
+
imageHighlightPage.steps.selectCenterImageAlignment();
|
299
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
300
|
+
imageHighlightPage.steps.verifyCanvasImageCenterAlignedInPreviewTab();
|
301
|
+
});
|
302
|
+
|
303
|
+
it('When user selects \'Top right\' image alignment, then canvas image should be aligned to top right in preview tab', () => {
|
304
|
+
imageHighlightPage.steps.switchToEditTab();
|
305
|
+
imageHighlightPage.steps.selectTopRightImageAlignment();
|
306
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
307
|
+
imageHighlightPage.steps.verifyCanvasImageTopRightAlignedInPreviewTab();
|
308
|
+
});
|
309
|
+
|
310
|
+
it('When user selects \'Top left\' image alignment again, then image should be aligned to top left inside the canvas in preview tab', () => {
|
311
|
+
imageHighlightPage.steps.switchToEditTab();
|
312
|
+
imageHighlightPage.steps.selectTopLeftImageAlignment();
|
313
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
314
|
+
imageHighlightPage.steps.verifyCanvasImageTopLeftAlignedInPreviewTab();
|
315
|
+
});
|
316
|
+
|
317
|
+
it('When opacity is 100 percent by default, then canvas image should have 100 percent opacity in preview tab ', () => {
|
318
|
+
imageHighlightPage.steps.verifyOpacityValueForCanvasImageInPreviewTab(100);
|
319
|
+
});
|
320
|
+
|
321
|
+
it('When user changes opacity slider value in edit tab, then opacity for canvas image should change accordingly in preview tab ', () => {
|
322
|
+
imageHighlightPage.steps.switchToEditTab();
|
323
|
+
imageHighlightPage.steps.clickActionOnOpacitySlider();
|
324
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
325
|
+
imageHighlightPage.steps.verifyOpacityValueForCanvasImageInPreviewTab(50);
|
326
|
+
});
|
327
|
+
|
328
|
+
it('When user changes opacity input field value in edit tab, then opacity for canvas image should change accordingly in preview tab ', () => {
|
329
|
+
imageHighlightPage.steps.switchToEditTab();
|
330
|
+
imageHighlightPage.steps.enterInputToOpacityInputField(40);
|
331
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
332
|
+
imageHighlightPage.steps.verifyOpacityValueForCanvasImageInPreviewTab(40);
|
333
|
+
});
|
334
|
+
|
335
|
+
it('When user checks \'Fill image to canvas\' checkbox in edit tab, then image should be adjusted to fit inside the canvas in preview tab', () => {
|
336
|
+
imageHighlightPage.steps.switchToEditTab();
|
337
|
+
imageHighlightPage.steps.checkFillImageToCanvasCheckbox();
|
338
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
339
|
+
imageHighlightPage.steps.verifyImageFitsToCanvasInPreviewTab();
|
340
|
+
});
|
341
|
+
|
342
|
+
it('When user unchecks \'Fill image to canvas\' checkbox, then image dimensions should set to default state in preview tab', () => {
|
343
|
+
imageHighlightPage.steps.switchToEditTab();
|
344
|
+
imageHighlightPage.steps.uncheckFillImageToCanvasCheckbox();
|
345
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
346
|
+
imageHighlightPage.steps.verifyImageDoesNotFitToCanvasInPreviewTab();
|
347
|
+
});
|
348
|
+
});
|
349
|
+
|
350
|
+
describe('Canvas width, Canvas height, Image alternative text - Preview tab functionality', () => {
|
351
|
+
abortEarlySetup();
|
352
|
+
before(() => {
|
353
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
354
|
+
cy.barsPreLoaderWait();
|
355
|
+
imageHighlightPage.steps.addTextInQuestionInstructionsInputField('Select the appropriate highlight in the image below');
|
356
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
357
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
358
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
359
|
+
});
|
360
|
+
|
361
|
+
it('When the user has uploaded canvas image, then switching to the preview tab should display canvas image with same dimensions', () => {
|
362
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
363
|
+
imageHighlightPage.steps.verifyImageUploadedPreviewTab();
|
364
|
+
imageHighlightPage.steps.verifyCanvasWidthInPreviewTab(768);
|
365
|
+
imageHighlightPage.steps.verifyCanvasHeightInPreviewTab(432);
|
366
|
+
});
|
367
|
+
|
368
|
+
it('When user updates width and height in edit tab, then updated changes should be reflected in preview tab', () => {
|
369
|
+
imageHighlightPage.steps.switchToEditTab();
|
370
|
+
imageHighlightPage.steps.unlockAspectRatio();
|
371
|
+
imageHighlightPage.steps.updateCanvasWidth(800);
|
372
|
+
imageHighlightPage.steps.updateCanvasHeight(450);
|
373
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
374
|
+
imageHighlightPage.steps.verifyCanvasWidthInPreviewTab(800);
|
375
|
+
imageHighlightPage.steps.verifyCanvasHeightInPreviewTab(450);
|
376
|
+
});
|
377
|
+
|
378
|
+
it('When user resets image dimensions in edit tab, then updated changes should be reflected in preview tab', () => {
|
379
|
+
imageHighlightPage.steps.switchToEditTab();
|
380
|
+
imageHighlightPage.steps.resetDimensions();
|
381
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
382
|
+
imageHighlightPage.steps.verifyCanvasWidthInPreviewTab(768);
|
383
|
+
imageHighlightPage.steps.verifyCanvasHeightInPreviewTab(432);
|
384
|
+
});
|
385
|
+
|
386
|
+
it('When user enters text in the \'Alternative text\' input field, then alternative text should be displayed in the \'Preview tab\'', () => {
|
387
|
+
imageHighlightPage.steps.switchToEditTab();
|
388
|
+
imageHighlightPage.steps.enterAndVerifyImageAlternativeTextInInputField('This is Alternative text for image');
|
389
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
390
|
+
imageHighlightPage.steps.verifyImageAlternativeTextInPreviewTab('This is Alternative text for image');
|
391
|
+
});
|
392
|
+
|
393
|
+
it('When user clears text in the \'Alternative text\' input field, then default alternative text should be displayed in the \'Preview tab\'', () => {
|
394
|
+
imageHighlightPage.steps.switchToEditTab();
|
395
|
+
imageHighlightPage.steps.clearImageAlternativeTextInputFieldText();
|
396
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
397
|
+
imageHighlightPage.steps.verifyNoImageAlternativeTextPresentInPreviewTab();
|
398
|
+
});
|
399
|
+
|
400
|
+
it('When user deletes the uploaded image file in edit tab, then canvas image should not appear in preview tab', () => {
|
401
|
+
imageHighlightPage.steps.switchToEditTab();
|
402
|
+
imageHighlightPage.steps.deleteImage();
|
403
|
+
imageHighlightPage.steps.clickOnDeleteButtonInDeleteImagePopup();
|
404
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
405
|
+
imageHighlightPage.steps.verifyImageNotUploadedPreviewTab()
|
406
|
+
});
|
407
|
+
});
|
408
|
+
});
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { imageHighlightPage, itemPreviewPage, studentViewPage } from "../../../pages";
|
1
|
+
/*import { imageHighlightPage, itemPreviewPage, studentViewPage } from "../../../pages";
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
3
|
import utilities from "../../../support/helpers/utilities";
|
4
4
|
var itemReferenceID = "";
|
@@ -138,4 +138,4 @@ describe('Create item page - Image highlight - Check answer functionality', () =
|
|
138
138
|
});
|
139
139
|
});
|
140
140
|
});
|
141
|
-
})
|
141
|
+
});*/
|
@@ -0,0 +1,115 @@
|
|
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 = [[40, 6], [40, 20], [55, 20], [55, 6]];
|
7
|
+
const branchesHighlightRegion = [[50, 30], [50, 42], [65, 42], [65, 30]];
|
8
|
+
const leafHighlightRegion = [[26, 26], [26, 36], [48, 36], [48, 26]];
|
9
|
+
const rootsHighlightRegion = [[45, 45], [45, 55], [57, 55], [57, 45]];
|
10
|
+
|
11
|
+
describe('Create Item page - Image highlight : Descriptors accordion', () => {
|
12
|
+
before(() => {
|
13
|
+
cy.loginAs('admin');
|
14
|
+
});
|
15
|
+
|
16
|
+
describe('Descriptors accordion - edit tab contents and functionality', () => {
|
17
|
+
abortEarlySetup();
|
18
|
+
before(() => {
|
19
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
20
|
+
cy.barsPreLoaderWait();
|
21
|
+
});
|
22
|
+
|
23
|
+
it('When user has uploaded an image and added no highlights then the \'Descriptors\' accordion should not be displayed', () => {
|
24
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.descriptorsAccordion(), 'notExist');
|
25
|
+
});
|
26
|
+
|
27
|
+
it('When the user highlights a region then \'Descriptors\' accordion should be displayed', () => {
|
28
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
29
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
30
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
31
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
32
|
+
utilities.verifyInnerText(imageHighlightPage.descriptorsAccordion(), 'Descriptors');
|
33
|
+
});
|
34
|
+
|
35
|
+
it('By default \'Descriptors\' accordion should be collapsed and by clicking on the \'Descriptors\' accordion, user should be able to expand the accordion', () => {
|
36
|
+
imageHighlightPage.steps.verifyDescriptorsAccordionIsCollapsed();
|
37
|
+
imageHighlightPage.steps.expandDescriptorsAccordion();
|
38
|
+
});
|
39
|
+
|
40
|
+
it('CSS of \'Descriptors\' accordion', { tags: 'css' }, () => {
|
41
|
+
utilities.verifyCSS(imageHighlightPage.descriptorsAccordion(), {
|
42
|
+
'color': css.color.accordionLabel,
|
43
|
+
'font-size': css.fontSize.default,
|
44
|
+
'font-weight': css.fontWeight.bold
|
45
|
+
});
|
46
|
+
utilities.verifyCSS(imageHighlightPage.descriptorsAccordion().find('svg'), {
|
47
|
+
'fill': css.color.activeButtons
|
48
|
+
});
|
49
|
+
});
|
50
|
+
|
51
|
+
it('Accessibility of \'Additional Settings\' accordion', { tags: 'a11y' }, () => {
|
52
|
+
cy.checkAccessibility(imageHighlightPage.descriptorsAccordion());
|
53
|
+
});
|
54
|
+
|
55
|
+
it('When user expands the \'Descriptors\' accordion \'Descriptors for options\' label should be displayed with a info icon', () => {
|
56
|
+
utilities.verifyInnerText(imageHighlightPage.descriptorsHeading(), 'Descriptors for options');
|
57
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.descriptorsInfoIcon(), 'visible');
|
58
|
+
});
|
59
|
+
|
60
|
+
it('When hovers over the info \'Descriptors will be visible in grading view\' tooltip text should be displayed', () => {
|
61
|
+
imageHighlightPage.descriptorsInfoIcon()
|
62
|
+
.verifyTooltip('Descriptors will be visible on the grading view');
|
63
|
+
});
|
64
|
+
|
65
|
+
it('When user has highlighted 1 region in specify possible options section then only one input field should be displayed and it should be empty', () => {
|
66
|
+
imageHighlightPage.steps.verifyDescriptorsInputFieldContents(1);
|
67
|
+
imageHighlightPage.steps.verifyDescriptorsInputField(0, '');
|
68
|
+
});
|
69
|
+
|
70
|
+
it('When user adds a highlight region an input field should be added', () => {
|
71
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion)
|
72
|
+
imageHighlightPage.steps.verifyDescriptorsInputFieldContents(2);
|
73
|
+
});
|
74
|
+
|
75
|
+
it('When user deletes an highlight region then the input field should be removed and correct numeration should be displayed', () => {
|
76
|
+
imageHighlightPage.steps.eraseAHighlightRegion(flowerHighlightRegion);
|
77
|
+
imageHighlightPage.steps.verifyDescriptorsInputFieldContents(1);
|
78
|
+
});
|
79
|
+
|
80
|
+
it('When user removes all the highlight regions then the \'Descriptors\' accordion should not be displayed', () => {
|
81
|
+
imageHighlightPage.steps.eraseAHighlightRegion(leafHighlightRegion);
|
82
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.descriptorsAccordion(), 'notExist');
|
83
|
+
});
|
84
|
+
});
|
85
|
+
|
86
|
+
describe('Descriptors accordion - preview tab functionality', () => {
|
87
|
+
abortEarlySetup();
|
88
|
+
before(() => {
|
89
|
+
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
90
|
+
cy.barsPreLoaderWait();
|
91
|
+
imageHighlightPage.steps.uploadFile('highlightImage.jpg');
|
92
|
+
imageHighlightPage.steps.verifyImageUploadedInSpecifyPossibleOptionsSection();
|
93
|
+
imageHighlightPage.steps.verifyImageUploadedSpecifyCorrectAnswer();
|
94
|
+
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
95
|
+
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
96
|
+
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(0);
|
97
|
+
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(1);
|
98
|
+
});
|
99
|
+
|
100
|
+
it('When the user has highlighted regions and descriptor input fields are empty then \'Option 1\', \'Option 2\' should be displayed in the correct answer section', () => {
|
101
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
102
|
+
imageHighlightPage.steps.switchToGradingView();
|
103
|
+
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
104
|
+
});
|
105
|
+
|
106
|
+
it('When the user enters text in input field of the descriptors and switches to preview tab then in the added descriptors should be displayed in the correct answer section', () => {
|
107
|
+
imageHighlightPage.steps.switchToEditTab();
|
108
|
+
imageHighlightPage.steps.expandDescriptorsAccordion();
|
109
|
+
imageHighlightPage.steps.enterTextInDescriptorsInputField(0, 'Flower');
|
110
|
+
imageHighlightPage.steps.switchToPreviewTab();
|
111
|
+
imageHighlightPage.steps.switchToGradingView();
|
112
|
+
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Flower', 'Option 2'], [1, 2]);
|
113
|
+
});
|
114
|
+
});
|
115
|
+
});
|