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
@@ -1,5 +1,5 @@
|
|
1
1
|
import utilities from "../support/helpers/utilities";
|
2
|
-
import { autoScoredScoringPreviewTab, autoScoredScoringSectionMultiResponseType, autoScoredSpecifyCorrectAnswerSection, autoScoredStudentViewSettings, backgroundImageUploadComponent, commonComponents, createQuestionBasePage, enableOuterBorderComponent, imageCanvasComponent, questionInstructionsComponent, scoringSectionBaseEditTab, singleMultipleSelectionModeComponent } from "./components"
|
2
|
+
import { additionalSettingsAccessibilitySectionComponent, additionalSettingsPanel, autoScoredScoringPreviewTab, autoScoredScoringSectionMultiResponseType, autoScoredSpecifyCorrectAnswerSection, autoScoredStudentViewSettings, backgroundImageUploadComponent, commonComponents, createQuestionBasePage, enableOuterBorderComponent, gradingViewEnumerationComponent, imageActionsComponent, imageCanvasComponent, questionInstructionsComponent, scoringSectionBaseEditTab, showAvailableOptionsToStudents, showStudentMaximumNumberOfPossibleSelections, singleMultipleSelectionModeComponent } from "./components"
|
3
3
|
const css = Cypress.env('css');
|
4
4
|
let imageWidth = 768;
|
5
5
|
let imageHeight = 432;
|
@@ -10,8 +10,19 @@ const selectors = {
|
|
10
10
|
...autoScoredSpecifyCorrectAnswerSection,
|
11
11
|
...commonComponents,
|
12
12
|
...enableOuterBorderComponent,
|
13
|
+
...showAvailableOptionsToStudents,
|
14
|
+
...showStudentMaximumNumberOfPossibleSelections,
|
13
15
|
...autoScoredScoringPreviewTab,
|
14
|
-
|
16
|
+
...imageCanvasComponent,
|
17
|
+
...imageActionsComponent,
|
18
|
+
...additionalSettingsPanel,
|
19
|
+
...gradingViewEnumerationComponent,
|
20
|
+
|
21
|
+
//Image selection style section.
|
22
|
+
imageSelectionStyleLabel: () => cy.get('.options-label'),
|
23
|
+
filledInToggleButton: () => cy.get('[data-ngie-testid="filled-in-toggle-button"]'),
|
24
|
+
outlineToggleButton: () => cy.get('[data-ngie-testid="outline-toggle-button"]'),
|
25
|
+
patternToggleButton: () => cy.get('[data-ngie-testid="pattern-toggle-button"]'),
|
15
26
|
//Specify possible options
|
16
27
|
specifyPossibleOptionsImageWrapper: () => cy.get('.drawing-tool__wrapper .drawing-tool__canvas'),
|
17
28
|
specifyPossibleOptionsImageCanvas: () => cy.get('.drawing-tool__wrapper .upper-canvas'),
|
@@ -22,17 +33,26 @@ const selectors = {
|
|
22
33
|
redoTool: () => cy.get('.drawing-tool__button-redo'),
|
23
34
|
clearAllTool: () => cy.get('.drawing-tool__button-clearAll'),
|
24
35
|
optionCount: () => cy.get('[class*="HighlightImagestyles__HighlightCountWrapper"]'),
|
36
|
+
specifyPossibleOptionsLabel: () => cy.get('[class*="HighlightImagestyles__HighlightImageLabel"]'),
|
37
|
+
clearAllPopupHeading: () => cy.get('.drawing-tool__delete-popup__heading'),
|
38
|
+
clearAllPopupDescription: () => cy.get('.drawing-tool__delete-popup__body'),
|
39
|
+
cancelButton: () => cy.get('.cancel-button'),
|
40
|
+
clearAllButton: () => cy.get('.clear-button'),
|
41
|
+
specifyPossibleOptionsToolbar: () => cy.get('.drawing-tool__toolbar'),
|
25
42
|
//Specify correct answer section
|
26
|
-
specifyCorrectAnswerSectionImage: () => cy.get('.highlight-svg-responseive image'),
|
43
|
+
specifyCorrectAnswerSectionImage: () => cy.get('.ngie-accordion .highlight-svg-responseive image'),
|
27
44
|
specifyCorrectAnswerSectionHighlight: () => cy.get('.ngie-accordion [class*="HighlightImageControlstyles__ShapeWrapper"] a'),
|
28
45
|
specifyCorrectAnswerSectionHighlightPolygon: () => cy.get('[class*="HighlightImageControlstyles__PolygonWrapper"]'),
|
29
46
|
highlightNumerationSpecifyCorrectAnswer: () => cy.get('[class*="__TspanWrapper"]:visible'),
|
30
47
|
partialEqualWeightsPointsPerResponseScore: () => cy.get('.alternate-points-points-per-value-span'),
|
48
|
+
specifyCorrectAnswerSectionPatternPolygon: () => cy.get('[class*="HighlightImageControlstyles__LinkWrapper"]'),
|
49
|
+
specifyCorrectAnswerDiamondPattern: () => cy.get('[class*="HighlightImageControlstyles__DiamondPattern"]'),
|
31
50
|
//preview tab
|
32
51
|
imagePreviewTab: () => cy.get('[class*="question-preview-wrapper"] .highlight-svg-responseive image'),
|
33
52
|
imagePreviewTabWrapper: () => cy.get('[class*="question-preview-wrapper"] .highlight-svg-wrapper'),
|
34
53
|
highlightPreviewTab: () => cy.get('[class*="question-preview-wrapper"] [class*="HighlightImageControlstyles__ShapeWrapper"] a'),
|
35
54
|
highlightPolygonPreviewTab: () => cy.get('[class*="question-preview-wrapper"] [class*="HighlightImageControlstyles__PolygonWrapper"]'),
|
55
|
+
previewSectionPatterntPolygon: () => cy.get('[class*="HighlightImageControlstyles__LinkWrapper"]'),
|
36
56
|
checkMarkIcon: () => cy.get('.correct-option-icon [data-name*="Rectangle"]'),
|
37
57
|
crossMarkIcon: () => cy.get('.incorrect-option-icon [data-name*="Rectangle"]'),
|
38
58
|
correctAnswersLabel: () => cy.get('[class*="__AnswerLabel"]'),
|
@@ -41,7 +61,16 @@ const selectors = {
|
|
41
61
|
correctAnswerNumeration: () => cy.get('[class*="CellIndexWrapper"]'),
|
42
62
|
correctIncorrectAnswerTextWrapper: () => cy.get('[class*="_CorrectIncorrectWrapper"]'),
|
43
63
|
incorrectIcon: () => cy.get('[data-icon="Incorrect"]'),
|
44
|
-
correctIcon: () => cy.get('[data-icon="CorrectAnswer"]')
|
64
|
+
correctIcon: () => cy.get('[data-icon="CorrectAnswer"]'),
|
65
|
+
//Additional settings
|
66
|
+
descriptorsAccordion: () => cy.get('.descriptor-wrapper .MuiAccordionSummary-root'),
|
67
|
+
descriptorsHeading: () => cy.get('[class*="Descriptorsstyles__AddToolsHeading"]'),
|
68
|
+
descriptorsInfoIcon: () => cy.get('[class*="Descriptorsstyles__InfoIconWrapper"]'),
|
69
|
+
descriptorsInputField: () => cy.get('.option-without-ckeditor input'),
|
70
|
+
descriptorsInputFieldNumeration: () => cy.get('.descriptor-wrapper .MuiInputAdornment-positionStart'),
|
71
|
+
ariaLabelInputField: () => cy.get('input[placeholder*="Enter ARIA label"]'),
|
72
|
+
inputFieldNumeration: () => cy.get('.MuiInputAdornment-root'),
|
73
|
+
ariaLabelSectionLabel: () => cy.get('[class*="styles__LabelWrapper"]').contains('ARIA'),
|
45
74
|
}
|
46
75
|
|
47
76
|
const steps = {
|
@@ -56,8 +85,24 @@ const steps = {
|
|
56
85
|
...autoScoredSpecifyCorrectAnswerSection.steps,
|
57
86
|
...autoScoredScoringSectionMultiResponseType.steps,
|
58
87
|
...enableOuterBorderComponent.steps,
|
88
|
+
...showAvailableOptionsToStudents.steps,
|
89
|
+
...showStudentMaximumNumberOfPossibleSelections.steps,
|
90
|
+
...additionalSettingsPanel.steps,
|
91
|
+
...gradingViewEnumerationComponent.steps,
|
59
92
|
|
60
93
|
//Specify possible options
|
94
|
+
verifyToolbarDisabled: () => {
|
95
|
+
imageHighlightPage.specifyPossibleOptionsToolbar()
|
96
|
+
.parents('.drawing-tool__wrapper--disabled')
|
97
|
+
.should('exist');
|
98
|
+
},
|
99
|
+
|
100
|
+
verifyToolbarNotDisabled: () => {
|
101
|
+
imageHighlightPage.specifyPossibleOptionsToolbar()
|
102
|
+
.parent()
|
103
|
+
.should('not.have.class', '.drawing-tool__wrapper--disabled');
|
104
|
+
},
|
105
|
+
|
61
106
|
clickOnFreeformTool: () => {
|
62
107
|
imageHighlightPage.freeformTool()
|
63
108
|
.click()
|
@@ -79,7 +124,16 @@ const steps = {
|
|
79
124
|
clickOnClearAllTool: () => {
|
80
125
|
imageHighlightPage.clearAllTool()
|
81
126
|
.click()
|
82
|
-
|
127
|
+
},
|
128
|
+
|
129
|
+
clickOnClearAllButton: () => {
|
130
|
+
imageHighlightPage.clearAllButton()
|
131
|
+
.click();
|
132
|
+
},
|
133
|
+
|
134
|
+
clickOnCancelAllButton: () => {
|
135
|
+
imageHighlightPage.cancelButton()
|
136
|
+
.click();
|
83
137
|
},
|
84
138
|
|
85
139
|
verifyImageUploadedInSpecifyPossibleOptionsSection: () => {
|
@@ -157,7 +211,233 @@ const steps = {
|
|
157
211
|
.should('not.have.class', 'drawing-tool__button--active');
|
158
212
|
},
|
159
213
|
|
214
|
+
verifyCanvasImageTopLeftAligned: () => {
|
215
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
216
|
+
.should('have.css', 'top', '0px')
|
217
|
+
.and('have.css', 'left', '0px');
|
218
|
+
},
|
219
|
+
|
220
|
+
verifyCanvasImageCenterAligned: () => {
|
221
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
222
|
+
.should('not.have.css', 'top', '0px')
|
223
|
+
.and('not.have.css', 'left', '0px');
|
224
|
+
},
|
225
|
+
|
226
|
+
verifyCanvasImageTopRightAligned: () => {
|
227
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
228
|
+
.should('have.css', 'top', '0px')
|
229
|
+
.and('not.have.css', 'left', '0px');
|
230
|
+
},
|
231
|
+
|
232
|
+
/**
|
233
|
+
* @param {number} value holds opacity value for image
|
234
|
+
* @description function verifies opacity value for image
|
235
|
+
*/
|
236
|
+
verifyOpacityValueForCanvasImage: (value) => {
|
237
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
238
|
+
.should('have.attr', 'opacity', value / 100);
|
239
|
+
},
|
240
|
+
|
241
|
+
verifyImageFitsToCanvas: () => {
|
242
|
+
imageHighlightPage.canvasWidthInputField()
|
243
|
+
.invoke('attr', 'value')
|
244
|
+
.then((value) => {
|
245
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
246
|
+
.should('have.css', 'width', `${value}px`);
|
247
|
+
});
|
248
|
+
},
|
249
|
+
|
250
|
+
verifyImageDoesNotFitToCanvas: () => {
|
251
|
+
imageHighlightPage.canvasWidthInputField()
|
252
|
+
.invoke('attr', 'value')
|
253
|
+
.then(($element) => {
|
254
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
255
|
+
.should('not.have.css', 'width', `${$element}px`);
|
256
|
+
});
|
257
|
+
},
|
258
|
+
|
259
|
+
/**
|
260
|
+
* @param {*} width width of canvas
|
261
|
+
* @description this function verifies width of canvas
|
262
|
+
*/
|
263
|
+
verifyCanvasWidth: (width) => {
|
264
|
+
const tolerance = 2
|
265
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
266
|
+
.should('have.attr', 'width', width - tolerance);
|
267
|
+
},
|
268
|
+
|
269
|
+
/**
|
270
|
+
* @param {*} height height of canvas
|
271
|
+
* @description this function verifies height of canvas
|
272
|
+
*/
|
273
|
+
verifyCanvasHeight: (height) => {
|
274
|
+
const tolerance = 2
|
275
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
276
|
+
.should('have.css', 'height')
|
277
|
+
.then(($cssHeight) => {
|
278
|
+
const actualHeight = parseFloat($cssHeight);
|
279
|
+
expect(actualHeight).to.be.closeTo(height, tolerance);
|
280
|
+
});
|
281
|
+
},
|
282
|
+
|
283
|
+
/**
|
284
|
+
* @param {string} text alternative text for canvas image
|
285
|
+
* @description this function verifies text for canvas image
|
286
|
+
*/
|
287
|
+
verifyImageAltTextSpecifyPossibleOptionsImageCanvas: (text) => {
|
288
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
289
|
+
.parents('.drawing-tool__wrapper')
|
290
|
+
.find('.lower-canvas')
|
291
|
+
.should('have.attr', 'aria-label', text);
|
292
|
+
},
|
293
|
+
|
294
|
+
verifyNoImageAltTextSpecifyPossibleOptionsImageCanvas: () => {
|
295
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
296
|
+
.parents('.drawing-tool__wrapper')
|
297
|
+
.find('.lower-canvas')
|
298
|
+
.should('have.attr', 'aria-label', 'Image');
|
299
|
+
},
|
300
|
+
|
160
301
|
//Specify correct answer section
|
302
|
+
/**
|
303
|
+
* @param {string} text alternative text for canvas image
|
304
|
+
* @description this function verifies text for canvas image
|
305
|
+
*/
|
306
|
+
verifyImageAltTextSpecifyCorrectAnswerImageCanvas: (text) => {
|
307
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
308
|
+
.should('have.attr', 'alt', text);
|
309
|
+
},
|
310
|
+
|
311
|
+
verifyNoImageAltTextSpecifyCorrectAnswerImageCanvas: () => {
|
312
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
313
|
+
.should('have.attr', 'alt', '');
|
314
|
+
},
|
315
|
+
|
316
|
+
verifyCanvasImageTopLeftAlignedSpecifyCorrectAnswer: () => {
|
317
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
318
|
+
.should('have.css', 'top', '0px')
|
319
|
+
.and('have.css', 'left', '0px');
|
320
|
+
},
|
321
|
+
|
322
|
+
verifyCanvasImageCenterAlignedSpecifyCorrectAnswer: () => {
|
323
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
324
|
+
.should('not.have.css', 'top', '0px')
|
325
|
+
.and('not.have.css', 'left', '0px');
|
326
|
+
},
|
327
|
+
|
328
|
+
verifyCanvasImageTopRightAlignedSpecifyCorrectAnswer: () => {
|
329
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
330
|
+
.should('have.css', 'top', '0px')
|
331
|
+
.and('not.have.css', 'left', '0px');
|
332
|
+
},
|
333
|
+
|
334
|
+
/**
|
335
|
+
* @param {number} value holds opacity value for image
|
336
|
+
* @description function verifies opacity value for image
|
337
|
+
*/
|
338
|
+
verifyOpacityValueForCanvasImageSpecifyCorrectAnswer: (value) => {
|
339
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
340
|
+
.should('have.attr', 'opacity', value / 100);
|
341
|
+
},
|
342
|
+
|
343
|
+
verifyImageFitsToCanvasSpecifyCorrectAnswer: () => {
|
344
|
+
imageHighlightPage.canvasWidthInputField()
|
345
|
+
.invoke('attr', 'value')
|
346
|
+
.then((value) => {
|
347
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
348
|
+
.should('have.css', 'width', `${value}px`);
|
349
|
+
});
|
350
|
+
},
|
351
|
+
|
352
|
+
verifyImageDoesNotFitToCanvasSpecifyCorrectAnswer: () => {
|
353
|
+
imageHighlightPage.canvasWidthInputField()
|
354
|
+
.invoke('attr', 'value')
|
355
|
+
.then(($element) => {
|
356
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
357
|
+
.should('not.have.css', 'width', `${$element}px`);
|
358
|
+
});
|
359
|
+
},
|
360
|
+
|
361
|
+
/**
|
362
|
+
* @param {*} width width of canvas
|
363
|
+
* @description this function verifies width of canvas
|
364
|
+
*/
|
365
|
+
verifyCanvasWidthSpecifyCorrectAnswer: (width) => {
|
366
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
367
|
+
.should('have.attr', 'width', width);
|
368
|
+
},
|
369
|
+
|
370
|
+
/**
|
371
|
+
* @param {*} height height of canvas
|
372
|
+
* @description this function verifies height of canvas
|
373
|
+
*/
|
374
|
+
verifyCanvasHeightSpecifyCorrectAnswer: (height) => {
|
375
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
376
|
+
.should('have.css', 'height', `${height}px`);
|
377
|
+
},
|
378
|
+
|
379
|
+
/**
|
380
|
+
* @param {string} text alternative text for canvas image
|
381
|
+
* @description this function verifies text for canvas image
|
382
|
+
*/
|
383
|
+
verifyImageAlternativeTextPresentInSpecifyCorrectAnswer: (text) => {
|
384
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
385
|
+
.should('have.attr', 'alt', text);
|
386
|
+
},
|
387
|
+
|
388
|
+
verifyNoImageAlternativeTextPresentInSpecifyCorrectAnswer: () => {
|
389
|
+
imageHighlightPage.specifyCorrectAnswerSectionImage()
|
390
|
+
.should('not.have.attr', 'alt');
|
391
|
+
},
|
392
|
+
|
393
|
+
/**
|
394
|
+
* This function verifies highlight region aria label
|
395
|
+
* @param {number} index for the highlight region
|
396
|
+
* @param {string} ariaLabel for the highlight region
|
397
|
+
*/
|
398
|
+
verifyHighlightRegionAriaLabelSpecifyCorrectAnswer: (index, ariaLabel) => {
|
399
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlight()
|
400
|
+
.eq(index)
|
401
|
+
.should('have.attr', 'aria-label', ariaLabel);
|
402
|
+
},
|
403
|
+
|
404
|
+
/**
|
405
|
+
* Verifies the ARIA label text input fields.
|
406
|
+
* @param {number} inputFieldIndex - The index of the input field to verify.
|
407
|
+
*/
|
408
|
+
verifyAriaLabelTextInputFields: (inputFieldIndex) => {
|
409
|
+
imageHighlightPage.ariaLabelInputField()
|
410
|
+
.eq(inputFieldIndex)
|
411
|
+
.parents('.input-editable')
|
412
|
+
.within(() => {
|
413
|
+
utilities.verifyInnerText(imageHighlightPage.inputFieldNumeration(), `${inputFieldIndex + 1}`)
|
414
|
+
utilities.verifyInputFieldValue(imageHighlightPage.ariaLabelInputField(), '');
|
415
|
+
});
|
416
|
+
},
|
417
|
+
|
418
|
+
/**
|
419
|
+
* Enters text in the ARIA label input field.
|
420
|
+
* @param {number} inputFieldIndex - The index of the input field to enter text into.
|
421
|
+
* @param {string} text - The text to enter into the input field.
|
422
|
+
*/
|
423
|
+
enterTextInAriaLabelInputField: (inputFieldIndex, text) => {
|
424
|
+
imageHighlightPage.ariaLabelInputField()
|
425
|
+
.eq(inputFieldIndex)
|
426
|
+
.type(text)
|
427
|
+
.should('have.value', text)
|
428
|
+
.blur();
|
429
|
+
},
|
430
|
+
|
431
|
+
/**
|
432
|
+
* Clears text in the ARIA label input field.
|
433
|
+
* @param {number} inputFieldIndex - The index of the input field to clear.
|
434
|
+
*/
|
435
|
+
clearTextInAriaLabelInputField: (inputFieldIndex) => {
|
436
|
+
imageHighlightPage.ariaLabelInputField()
|
437
|
+
.eq(inputFieldIndex)
|
438
|
+
.clear();
|
439
|
+
},
|
440
|
+
|
161
441
|
verifyImageUploadedSpecifyCorrectAnswer: () => {
|
162
442
|
utilities.verifyElementVisibilityState(imageHighlightPage.specifyCorrectAnswerSectionImage(), 'visible')
|
163
443
|
},
|
@@ -331,6 +611,103 @@ const steps = {
|
|
331
611
|
utilities.verifyElementVisibilityState(imageHighlightPage.imagePreviewTab(), 'visible')
|
332
612
|
},
|
333
613
|
|
614
|
+
verifyImageNotUploadedPreviewTab: () => {
|
615
|
+
imageHighlightPage.imagePreviewTab()
|
616
|
+
.should('have.attr', 'href', '');
|
617
|
+
},
|
618
|
+
|
619
|
+
verifyCanvasImageTopLeftAlignedInPreviewTab: () => {
|
620
|
+
imageHighlightPage.imagePreviewTab()
|
621
|
+
.should('have.css', 'top', '0px')
|
622
|
+
.and('have.css', 'left', '0px');
|
623
|
+
},
|
624
|
+
|
625
|
+
verifyCanvasImageCenterAlignedInPreviewTab: () => {
|
626
|
+
imageHighlightPage.imagePreviewTab()
|
627
|
+
.should('not.have.css', 'top', '0px')
|
628
|
+
.and('not.have.css', 'left', '0px');
|
629
|
+
},
|
630
|
+
|
631
|
+
verifyCanvasImageTopRightAlignedInPreviewTab: () => {
|
632
|
+
imageHighlightPage.imagePreviewTab()
|
633
|
+
.should('have.css', 'top', '0px')
|
634
|
+
.and('not.have.css', 'left', '0px');
|
635
|
+
},
|
636
|
+
|
637
|
+
/**
|
638
|
+
* @param {number} value holds opacity value for image
|
639
|
+
* @description function verifies opacity value for image
|
640
|
+
*/
|
641
|
+
verifyOpacityValueForCanvasImageInPreviewTab: (value) => {
|
642
|
+
imageHighlightPage.imagePreviewTab()
|
643
|
+
.should('have.attr', 'opacity', value / 100);
|
644
|
+
},
|
645
|
+
|
646
|
+
/**
|
647
|
+
* @param {*} width width of canvas
|
648
|
+
* @description this function verifies width of canvas
|
649
|
+
*/
|
650
|
+
verifyCanvasWidthInPreviewTab: (width) => {
|
651
|
+
imageHighlightPage.imagePreviewTab()
|
652
|
+
.should('have.attr', 'width', width);
|
653
|
+
},
|
654
|
+
|
655
|
+
/**
|
656
|
+
* @param {*} height height of canvas
|
657
|
+
* @description this function verifies height of canvas
|
658
|
+
*/
|
659
|
+
verifyCanvasHeightInPreviewTab: (height) => {
|
660
|
+
imageHighlightPage.imagePreviewTab()
|
661
|
+
.should('have.css', 'height', `${height}px`);
|
662
|
+
},
|
663
|
+
|
664
|
+
/**
|
665
|
+
* @param {string} text alternative text for canvas image
|
666
|
+
* @description this function verifies text for canvas image
|
667
|
+
*/
|
668
|
+
verifyImageAlternativeTextInPreviewTab: (text) => {
|
669
|
+
imageHighlightPage.imagePreviewTab()
|
670
|
+
.should('have.attr', 'alt', text);
|
671
|
+
},
|
672
|
+
|
673
|
+
verifyNoImageAlternativeTextPresentInPreviewTab: () => {
|
674
|
+
imageHighlightPage.imagePreviewTab()
|
675
|
+
.should('have.attr', 'alt', '');
|
676
|
+
},
|
677
|
+
|
678
|
+
verifyImageFitsToCanvasInPreviewTab: () => {
|
679
|
+
createQuestionBasePage.steps.switchToEditTab();
|
680
|
+
imageCanvasComponent.canvasWidthInputField()
|
681
|
+
.invoke('attr', 'value')
|
682
|
+
.then((value) => {
|
683
|
+
createQuestionBasePage.steps.switchToPreviewTab();
|
684
|
+
imageHighlightPage.imagePreviewTab()
|
685
|
+
.should('have.css', 'width', `${value}px`);
|
686
|
+
});
|
687
|
+
},
|
688
|
+
|
689
|
+
verifyImageDoesNotFitToCanvasInPreviewTab: () => {
|
690
|
+
createQuestionBasePage.steps.switchToEditTab();
|
691
|
+
imageHighlightPage.canvasWidthInputField()
|
692
|
+
.invoke('attr', 'value')
|
693
|
+
.then(($element) => {
|
694
|
+
createQuestionBasePage.steps.switchToPreviewTab();
|
695
|
+
imageHighlightPage.imagePreviewTab()
|
696
|
+
.should('not.have.css', 'width', `${$element}px`);
|
697
|
+
});
|
698
|
+
},
|
699
|
+
|
700
|
+
/**
|
701
|
+
* This function verifies highlight region aria label
|
702
|
+
* @param {number} index for the highlight region
|
703
|
+
* @param {string} ariaLabel for the highlight region
|
704
|
+
*/
|
705
|
+
verifyHighlightRegionAriaLabelPreviewTab: (index, ariaLabel) => {
|
706
|
+
imageHighlightPage.highlightPreviewTab()
|
707
|
+
.eq(index)
|
708
|
+
.should('have.attr', 'aria-label', ariaLabel);
|
709
|
+
},
|
710
|
+
|
334
711
|
/**
|
335
712
|
* This function verifies the alt text of the image
|
336
713
|
* @param {string} altText for the image in preview tab
|
@@ -474,7 +851,7 @@ const steps = {
|
|
474
851
|
},
|
475
852
|
|
476
853
|
/**
|
477
|
-
* @param {
|
854
|
+
* @param {number} index of highlight region
|
478
855
|
* @description this function verifies the highlight region is correct
|
479
856
|
*/
|
480
857
|
verifyCorrectHighlightRegion: (index) => {
|
@@ -517,6 +894,23 @@ const steps = {
|
|
517
894
|
});
|
518
895
|
},
|
519
896
|
|
897
|
+
verifyHighlightNumerationNotExist: () => {
|
898
|
+
imageHighlightPage.highlightNumerationPreviewTab()
|
899
|
+
.should('not.exist');
|
900
|
+
},
|
901
|
+
|
902
|
+
/**
|
903
|
+
* This function checks numeration array for highlights
|
904
|
+
* @param {string[]} numerationArray array of numeration to be checked for highlight options
|
905
|
+
*/
|
906
|
+
verifyHighlightEnumeration: (numerationArray) => {
|
907
|
+
numerationArray.forEach((numeration, index) => {
|
908
|
+
imageHighlightPage.highlightNumerationPreviewTab()
|
909
|
+
.eq(index)
|
910
|
+
.should('have.text', numeration);
|
911
|
+
});
|
912
|
+
},
|
913
|
+
|
520
914
|
/**
|
521
915
|
* @param {string[]} numerationArray array of numeration numbers, lowercase, uppercase
|
522
916
|
* @description this function verifies the numeration of Correct Answer Container
|
@@ -575,6 +969,196 @@ const steps = {
|
|
575
969
|
.should('have.css', 'border')
|
576
970
|
.and('match', /0px none/);
|
577
971
|
},
|
972
|
+
|
973
|
+
/**
|
974
|
+
* @param {("Filled-in"|"Outline"|"Pattern")} toggleButtonType - Type of toggle button.
|
975
|
+
* @description Verifies the selected state of toggle button.
|
976
|
+
*/
|
977
|
+
verifyToggleButtonSelected: (toggleButtonType) => {
|
978
|
+
switch (toggleButtonType) {
|
979
|
+
case 'Filled-in':
|
980
|
+
imageHighlightPage.filledInToggleButton()
|
981
|
+
.should('have.attr','aria-pressed','true');
|
982
|
+
break;
|
983
|
+
case 'Outline':
|
984
|
+
imageHighlightPage.outlineToggleButton()
|
985
|
+
.should('have.attr','aria-pressed','true');
|
986
|
+
break;
|
987
|
+
case 'Pattern':
|
988
|
+
imageHighlightPage.patternToggleButton()
|
989
|
+
.should('have.attr','aria-pressed','true');
|
990
|
+
break;
|
991
|
+
default:
|
992
|
+
throw new Error('Invalid toggle button');
|
993
|
+
}
|
994
|
+
},
|
995
|
+
|
996
|
+
/**
|
997
|
+
* @param {("Filled-in"|"Outline"|"Pattern")} toggleButtonType - Type of toggle button.
|
998
|
+
* @description Verifies the not-selected state of toggle button.
|
999
|
+
*/
|
1000
|
+
verifyToggleButtonNotSelected: (toggleButtonType) => {
|
1001
|
+
switch (toggleButtonType) {
|
1002
|
+
case 'Filled-in':
|
1003
|
+
imageHighlightPage.filledInToggleButton()
|
1004
|
+
.should('have.attr','aria-pressed','false');
|
1005
|
+
break;
|
1006
|
+
case 'Outline':
|
1007
|
+
imageHighlightPage.outlineToggleButton()
|
1008
|
+
.should('have.attr','aria-pressed','false');
|
1009
|
+
break;
|
1010
|
+
case 'Pattern':
|
1011
|
+
imageHighlightPage.patternToggleButton()
|
1012
|
+
.should('have.attr','aria-pressed','false');
|
1013
|
+
break;
|
1014
|
+
default:
|
1015
|
+
throw new Error('Invalid toggle button');
|
1016
|
+
}
|
1017
|
+
},
|
1018
|
+
|
1019
|
+
selectOutlineToggleButton: () => {
|
1020
|
+
imageHighlightPage.outlineToggleButton()
|
1021
|
+
.click();
|
1022
|
+
},
|
1023
|
+
|
1024
|
+
selectpatternToggleButton: () => {
|
1025
|
+
imageHighlightPage.patternToggleButton()
|
1026
|
+
.click();
|
1027
|
+
},
|
1028
|
+
|
1029
|
+
selectPatternToggleButton: () => {
|
1030
|
+
imageHighlightPage.patternToggleButton()
|
1031
|
+
.click();
|
1032
|
+
},
|
1033
|
+
|
1034
|
+
/**
|
1035
|
+
* @param {number} index of highlight region
|
1036
|
+
* @description this function verifies the default state of selected highlight.
|
1037
|
+
*/
|
1038
|
+
verifyDefaultHighlightRegionSpecifyCorrectAnswer: (index) => {
|
1039
|
+
utilities.verifyCSS(imageHighlightPage.specifyCorrectAnswerSectionHighlightPolygon().eq(index), {
|
1040
|
+
'stroke': css.color.activeButtons
|
1041
|
+
});
|
1042
|
+
},
|
1043
|
+
|
1044
|
+
/**
|
1045
|
+
* @param {number} index of highlight region
|
1046
|
+
* @description this function verifies the FillIn of selected highlight in specify correct answer section.
|
1047
|
+
*/
|
1048
|
+
verifyFillInHighlightRegionSpecifyCorrectAnswerSection: (index) => {
|
1049
|
+
utilities.verifyCSS(imageHighlightPage.specifyCorrectAnswerSectionHighlightPolygon().eq(index), {
|
1050
|
+
'fill-opacity': '1',
|
1051
|
+
'stroke': css.color.activeHighlightBorder
|
1052
|
+
});
|
1053
|
+
},
|
1054
|
+
|
1055
|
+
/**
|
1056
|
+
* @param {number} index of highlight region
|
1057
|
+
* @description this function verifies the outlineHighlight of selected highlight in specify correct answer section.
|
1058
|
+
*/
|
1059
|
+
verifyOutlineHighlightRegionSpecifyCorrectAnswerSection: (index) => {
|
1060
|
+
utilities.verifyCSS(imageHighlightPage.specifyCorrectAnswerSectionHighlightPolygon().eq(index), {
|
1061
|
+
'stroke-width': '2px',
|
1062
|
+
'stroke': css.color.activeHighlightBorder
|
1063
|
+
});
|
1064
|
+
},
|
1065
|
+
|
1066
|
+
/**
|
1067
|
+
* @param {number} index of highlight region
|
1068
|
+
* @description this function verifies the patternHighlight of selected highlight in specify correct answer section.
|
1069
|
+
*/
|
1070
|
+
verifyPatternHighlightRegionSpecifyCorrectAnswerSection: (index) => {
|
1071
|
+
imageHighlightPage.specifyCorrectAnswerSectionPatternPolygon()
|
1072
|
+
.eq(index)
|
1073
|
+
.within(() => {
|
1074
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.specifyCorrectAnswerDiamondPattern().eq(1),'exist');
|
1075
|
+
})
|
1076
|
+
},
|
1077
|
+
|
1078
|
+
/**
|
1079
|
+
* @param {number} index of highlight region
|
1080
|
+
* @description this function verifies the fillInHighlight of selected highlight in preview tab.
|
1081
|
+
*/
|
1082
|
+
verifyFillInHighlightRegionPreviewTabSection: (index) => {
|
1083
|
+
utilities.verifyCSS(imageHighlightPage.specifyCorrectAnswerSectionHighlightPolygon().eq(index), {
|
1084
|
+
'fill-opacity': '1',
|
1085
|
+
'stroke': css.color.activeHighlightBorder
|
1086
|
+
});
|
1087
|
+
|
1088
|
+
},
|
1089
|
+
|
1090
|
+
/**
|
1091
|
+
* @param {number} index of highlight region
|
1092
|
+
* @description this function verifies the outLineHighlight of selected highlight in preview tab.
|
1093
|
+
*/
|
1094
|
+
verifyOutlineHighlightRegionPreviewTabSection: (index) => {
|
1095
|
+
utilities.verifyCSS(imageHighlightPage.specifyCorrectAnswerSectionHighlightPolygon().eq(index), {
|
1096
|
+
'stroke-width': '2px',
|
1097
|
+
'stroke': css.color.activeHighlightBorder
|
1098
|
+
});
|
1099
|
+
},
|
1100
|
+
|
1101
|
+
/**
|
1102
|
+
* @param {number} index of highlight region
|
1103
|
+
* @description this function verifies the patternHighlight of selected highlight in preview tab.
|
1104
|
+
*/
|
1105
|
+
verifyPatternHighlightRegionPreviewTabSection: (index) => {
|
1106
|
+
imageHighlightPage.previewSectionPatterntPolygon()
|
1107
|
+
.eq(index)
|
1108
|
+
.within(() => {
|
1109
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.specifyCorrectAnswerDiamondPattern().eq(1),'exist');
|
1110
|
+
});
|
1111
|
+
},
|
1112
|
+
|
1113
|
+
verifyDescriptorsAccordionIsCollapsed: () => {
|
1114
|
+
imageHighlightPage.descriptorsAccordion()
|
1115
|
+
.should('have.attr', 'aria-expanded', 'false');
|
1116
|
+
},
|
1117
|
+
|
1118
|
+
expandDescriptorsAccordion: () => {
|
1119
|
+
imageHighlightPage.descriptorsAccordion()
|
1120
|
+
.click()
|
1121
|
+
.should('have.attr', 'aria-expanded', 'true');
|
1122
|
+
},
|
1123
|
+
|
1124
|
+
/**
|
1125
|
+
* Verifies that the descriptors input fields are visible and correctly numbered.
|
1126
|
+
* @param {number} countOfDescriptors - The total number of descriptor input fields to verify.
|
1127
|
+
*/
|
1128
|
+
verifyDescriptorsInputFieldContents: (countOfDescriptors) => {
|
1129
|
+
for (let i = 0; i < countOfDescriptors; i++) {
|
1130
|
+
imageHighlightPage.descriptorsInputField()
|
1131
|
+
.eq(i)
|
1132
|
+
.should('be.visible')
|
1133
|
+
imageHighlightPage.descriptorsInputFieldNumeration()
|
1134
|
+
.eq(i)
|
1135
|
+
.should('have.text', `${i + 1}`);
|
1136
|
+
}
|
1137
|
+
},
|
1138
|
+
|
1139
|
+
/**
|
1140
|
+
* Verifies that a specific descriptor input field contains the expected text.
|
1141
|
+
* @param {number} index - The index of the descriptor input field to verify.
|
1142
|
+
* @param {string} inputText - The expected text to be found in the input field.
|
1143
|
+
*/
|
1144
|
+
verifyDescriptorsInputField: (index, inputText) => {
|
1145
|
+
imageHighlightPage.descriptorsInputField()
|
1146
|
+
.eq(index)
|
1147
|
+
.should('have.value', inputText)
|
1148
|
+
},
|
1149
|
+
|
1150
|
+
/**
|
1151
|
+
* Enters text into a specific descriptor input field and verifies the input.
|
1152
|
+
* @param {number} index - The index of the descriptor input field where the text will be entered.
|
1153
|
+
* @param {string} inputText - The text to enter into the input field.
|
1154
|
+
*/
|
1155
|
+
enterTextInDescriptorsInputField: (index, inputText) => {
|
1156
|
+
imageHighlightPage.descriptorsInputField()
|
1157
|
+
.eq(index)
|
1158
|
+
.type(inputText)
|
1159
|
+
.blur();
|
1160
|
+
steps.verifyDescriptorsInputField(index, inputText);
|
1161
|
+
}
|
578
1162
|
}
|
579
1163
|
|
580
1164
|
const tests = {
|
@@ -586,6 +1170,13 @@ const tests = {
|
|
586
1170
|
...commonComponents.tests,
|
587
1171
|
...enableOuterBorderComponent.tests,
|
588
1172
|
...autoScoredStudentViewSettings.tests,
|
1173
|
+
...showAvailableOptionsToStudents.tests,
|
1174
|
+
...questionInstructionsComponent.tests,
|
1175
|
+
...backgroundImageUploadComponent.tests,
|
1176
|
+
...imageCanvasComponent.tests,
|
1177
|
+
...additionalSettingsPanel.tests,
|
1178
|
+
...gradingViewEnumerationComponent.tests,
|
1179
|
+
...additionalSettingsAccessibilitySectionComponent.tests,
|
589
1180
|
|
590
1181
|
/**
|
591
1182
|
* @param {string} scoringType scoring type 'All or nothing| Partial equal weights| Partial different weights'
|