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,318 @@
|
|
1
|
+
import utilities from "../../support/helpers/utilities"
|
2
|
+
import { commonComponents } from "./commonComponents";
|
3
|
+
import { questionInputFieldComponent } from "./questionInputFieldComponent"
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
|
6
|
+
const selectors = {
|
7
|
+
componentContainerLabel: () => cy.get('[class*="styles__SectionWrapper"][class*="label"]'),
|
8
|
+
fillColorLabel: () => cy.get('.sub-section-label').eq(0),
|
9
|
+
borderColorLabel: () => cy.get('.sub-section-label').eq(1),
|
10
|
+
colorBlock: () => cy.get('.color-picker-block'),
|
11
|
+
editColorButton: () => cy.get('button[aria-label="edit color"]'),
|
12
|
+
borderStyleLabel: () => cy.get('[class*="styles__LabelWrapper"].options-label'),
|
13
|
+
dashedBorderStyleToggleButton: () => cy.get('[data-ngie-testid="dashed-toggle-button"]').eq(0),
|
14
|
+
dottedBorderStyleToggleButton: () => cy.get('[data-ngie-testid="dotted-toggle-button"]').eq(0),
|
15
|
+
solidBorderStyleToggleButton: () => cy.get('[data-ngie-testid="solid-toggle-button"]').eq(0),
|
16
|
+
noneBorderStyleToggleButton: () => cy.get('[data-ngie-testid="none-toggle-button"]').eq(0),
|
17
|
+
colorBlockSelectedIcon: () => cy.get('[class*="BtnSelectionWrapper"] svg'),
|
18
|
+
}
|
19
|
+
|
20
|
+
const steps = {
|
21
|
+
/**
|
22
|
+
* Verifies the background color of a response area element.
|
23
|
+
* @param {number} responseAreaIndex - The index of the response area to verify.
|
24
|
+
* @param {string} colorValue - The expected background color value.
|
25
|
+
*/
|
26
|
+
verifyResponseAreaFillColor: (responseAreaIndex, colorValue) => {
|
27
|
+
utilities.verifyCSS(utilities.getNthElement(questionInputFieldComponent.responseArea().find('.cke_widget_element'), responseAreaIndex), {
|
28
|
+
'background-color': colorValue
|
29
|
+
});
|
30
|
+
},
|
31
|
+
|
32
|
+
/**
|
33
|
+
* Verifies the border color of a response area element.
|
34
|
+
* @param {number} responseAreaIndex - The index of the response area to verify.
|
35
|
+
* @param {string} colorValue - The expected border color value.
|
36
|
+
*/
|
37
|
+
verifyResponseAreaBorderColor: (responseAreaIndex, colorValue) => {
|
38
|
+
utilities.verifyCSS(utilities.getNthElement(questionInputFieldComponent.responseArea().find('.cke_widget_element'), responseAreaIndex), {
|
39
|
+
'border': colorValue
|
40
|
+
});
|
41
|
+
},
|
42
|
+
|
43
|
+
/**
|
44
|
+
* Verifies the border style of a response area element.
|
45
|
+
* @param {number} responseAreaIndex - The index of the response area to verify.
|
46
|
+
* @param {string} borderStyle - The expected border style value.
|
47
|
+
*/
|
48
|
+
verifyResponseAreaBorderStyle: (responseAreaIndex, borderStyle) => {
|
49
|
+
const styleName = borderStyle.toLowerCase();
|
50
|
+
utilities.verifyCSS(utilities.getNthElement(questionInputFieldComponent.responseArea().find('.cke_widget_element'), responseAreaIndex), {
|
51
|
+
'border-style': styleName
|
52
|
+
});
|
53
|
+
},
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Clicks on the edit color button.
|
57
|
+
* @param {number} buttonIndex - The index of the edit color button.
|
58
|
+
*/
|
59
|
+
editColor: (buttonIndex) => {
|
60
|
+
utilities.getNthElement(figCommonStyleAndLayoutComponent.editColorButton(), buttonIndex)
|
61
|
+
.click();
|
62
|
+
},
|
63
|
+
|
64
|
+
/**
|
65
|
+
* Verifies the color of a color block.
|
66
|
+
* @param {number} blockIndex - The index of the color block.
|
67
|
+
* @param {string} color - The expected background color of the color block.
|
68
|
+
*/
|
69
|
+
verifyColorBlockColor: (blockIndex, color) => {
|
70
|
+
utilities.verifyCSS(utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), blockIndex), {
|
71
|
+
'background-color': color
|
72
|
+
});
|
73
|
+
},
|
74
|
+
|
75
|
+
/**
|
76
|
+
* @param {number} blockIndex index of the color block in the style and layout customization section
|
77
|
+
* @description this function verifies the selected state of a block
|
78
|
+
*/
|
79
|
+
verifyColorBlockSelectedState: (blockIndex) => {
|
80
|
+
utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), blockIndex)
|
81
|
+
.should('have.class', 'selected-button-icon')
|
82
|
+
.within(() => {
|
83
|
+
utilities.verifyElementVisibilityState(figCommonStyleAndLayoutComponent.colorBlockSelectedIcon(), 'visible');
|
84
|
+
});
|
85
|
+
},
|
86
|
+
|
87
|
+
/**
|
88
|
+
* Selects a border style toggle button and verifies it has the selected class.
|
89
|
+
* @param {('Dashed' | 'Dotted' | 'Solid' | 'None')} button - The border style to select.
|
90
|
+
* @throws {Error} Throws an error if an invalid border style is provided.
|
91
|
+
*/
|
92
|
+
selectBorderStyleToggleButton: (button) => {
|
93
|
+
switch (button) {
|
94
|
+
case 'Dashed':
|
95
|
+
figCommonStyleAndLayoutComponent.dashedBorderStyleToggleButton()
|
96
|
+
.click()
|
97
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
98
|
+
break;
|
99
|
+
case 'Dotted':
|
100
|
+
figCommonStyleAndLayoutComponent.dottedBorderStyleToggleButton()
|
101
|
+
.click()
|
102
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
103
|
+
break;
|
104
|
+
case 'Solid':
|
105
|
+
figCommonStyleAndLayoutComponent.solidBorderStyleToggleButton()
|
106
|
+
.click()
|
107
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
108
|
+
break;
|
109
|
+
case 'None':
|
110
|
+
figCommonStyleAndLayoutComponent.noneBorderStyleToggleButton()
|
111
|
+
.click()
|
112
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
113
|
+
break;
|
114
|
+
default:
|
115
|
+
throw new Error('Invalid border style');
|
116
|
+
}
|
117
|
+
},
|
118
|
+
|
119
|
+
/**
|
120
|
+
* Verifies the selected state of a border style toggle button.
|
121
|
+
* @param {('Dashed' | 'Dotted' | 'Solid' | 'None')} button - The border style to verify.
|
122
|
+
* @throws {Error} Throws an error if an invalid border style is provided.
|
123
|
+
*/
|
124
|
+
verifyBorderStyleToggleButtonSelectedState: (button) => {
|
125
|
+
switch (button) {
|
126
|
+
case 'Dashed':
|
127
|
+
figCommonStyleAndLayoutComponent.dashedBorderStyleToggleButton()
|
128
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
129
|
+
break;
|
130
|
+
case 'Dotted':
|
131
|
+
figCommonStyleAndLayoutComponent.dottedBorderStyleToggleButton()
|
132
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
133
|
+
break;
|
134
|
+
case 'Solid':
|
135
|
+
figCommonStyleAndLayoutComponent.solidBorderStyleToggleButton()
|
136
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
137
|
+
break;
|
138
|
+
case 'None':
|
139
|
+
figCommonStyleAndLayoutComponent.noneBorderStyleToggleButton()
|
140
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
141
|
+
break;
|
142
|
+
default:
|
143
|
+
throw new Error('Invalid border style');
|
144
|
+
}
|
145
|
+
},
|
146
|
+
|
147
|
+
/**
|
148
|
+
* Selects a color block by index.
|
149
|
+
* @param {number} blockIndex - The index of the color block to select.
|
150
|
+
*/
|
151
|
+
selectColorBlock: (blockIndex) => {
|
152
|
+
utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), blockIndex)
|
153
|
+
.click();
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
const tests = {
|
158
|
+
verifyFillColorSectionContents: () => {
|
159
|
+
it('"Fill color" label and two color blocks and an "Edit color" button should be displayed. The selected color block should be of color "rgb(245, 248, 255)" and the other color block should have "No color"', () => {
|
160
|
+
utilities.verifyInnerText(figCommonStyleAndLayoutComponent.fillColorLabel(), 'Fill color');
|
161
|
+
figCommonStyleAndLayoutComponent.steps.verifyColorBlockColor(0, css.color.optionsBg);
|
162
|
+
figCommonStyleAndLayoutComponent.steps.verifyColorBlockSelectedState(0);
|
163
|
+
figCommonStyleAndLayoutComponent.steps.verifyColorBlockColor(1, css.color.none);
|
164
|
+
utilities.verifyInnerText(utilities.getNthElement(figCommonStyleAndLayoutComponent.editColorButton(), 0), 'Edit color');
|
165
|
+
utilities.verifyElementVisibilityState(figCommonStyleAndLayoutComponent.editColorButton(), 'visible');
|
166
|
+
});
|
167
|
+
},
|
168
|
+
|
169
|
+
verifyBorderColorSectionContents: () => {
|
170
|
+
it('"Border color" label and two color blocks and an "Edit color" button should be displayed. The selected color block should be of color "rgb(82, 0, 255) and the other color block should have "No color"', () => {
|
171
|
+
utilities.verifyInnerText(figCommonStyleAndLayoutComponent.borderColorLabel(), 'Border color');
|
172
|
+
utilities.verifyInnerText(utilities.getNthElement(figCommonStyleAndLayoutComponent.editColorButton(), 1), 'Edit color');
|
173
|
+
utilities.verifyElementVisibilityState(figCommonStyleAndLayoutComponent.editColorButton(), 'visible');
|
174
|
+
figCommonStyleAndLayoutComponent.steps.verifyColorBlockColor(2, css.color.activeComponentBorder);
|
175
|
+
figCommonStyleAndLayoutComponent.steps.verifyColorBlockSelectedState(2);
|
176
|
+
figCommonStyleAndLayoutComponent.steps.verifyColorBlockColor(3, css.color.none);
|
177
|
+
});
|
178
|
+
},
|
179
|
+
|
180
|
+
/**
|
181
|
+
* Verifies the contents of the "Border style" section.
|
182
|
+
* This function checks that the "Border style" label and four toggle buttons
|
183
|
+
* ("Dashed", "Dotted", "Solid", "None") are displayed, and that the specified
|
184
|
+
* toggle button is in the selected state by default.
|
185
|
+
* @param {string} selectedStyle - The style that should be selected by default. It should be one of 'Dashed', 'Dotted', 'Solid', or 'None'.
|
186
|
+
*/
|
187
|
+
verifyBorderStyleSectionContents: (selectedStyle) => {
|
188
|
+
it(`"Border style" label and four toggle buttons should be displayed - "Dashed", "Dotted", "Solid", "None". By default ${selectedStyle} button should be in selected state`, () => {
|
189
|
+
utilities.verifyInnerText(figCommonStyleAndLayoutComponent.borderStyleLabel(), 'Border style');
|
190
|
+
utilities.verifyInnerText(figCommonStyleAndLayoutComponent.dashedBorderStyleToggleButton(), 'Dashed');
|
191
|
+
utilities.verifyElementVisibilityState(figCommonStyleAndLayoutComponent.dashedBorderStyleToggleButton(), 'visible');
|
192
|
+
utilities.verifyInnerText(figCommonStyleAndLayoutComponent.dottedBorderStyleToggleButton(), 'Dotted');
|
193
|
+
utilities.verifyElementVisibilityState(figCommonStyleAndLayoutComponent.dottedBorderStyleToggleButton(), 'visible');
|
194
|
+
utilities.verifyInnerText(figCommonStyleAndLayoutComponent.solidBorderStyleToggleButton(), 'Solid');
|
195
|
+
utilities.verifyElementVisibilityState(figCommonStyleAndLayoutComponent.solidBorderStyleToggleButton(), 'visible');
|
196
|
+
figCommonStyleAndLayoutComponent.steps.verifyBorderStyleToggleButtonSelectedState(selectedStyle);
|
197
|
+
utilities.verifyInnerText(figCommonStyleAndLayoutComponent.noneBorderStyleToggleButton(), 'None');
|
198
|
+
utilities.verifyElementVisibilityState(figCommonStyleAndLayoutComponent.noneBorderStyleToggleButton(), 'visible');
|
199
|
+
});
|
200
|
+
},
|
201
|
+
|
202
|
+
verifyFillColorTooltips: () => {
|
203
|
+
it('When the user hovers over the color blocks in the "Fill color" section, hex code of the selected color should be displayed in a tooltip', () => {
|
204
|
+
utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), 0).verifyTooltip('#F5F8FF');
|
205
|
+
utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), 1).verifyTooltip('None');
|
206
|
+
});
|
207
|
+
},
|
208
|
+
|
209
|
+
verifyBorderColorTooltips: () => {
|
210
|
+
it('When the user hovers over the color blocks in the "Border color" section, hex code of the selected color should be displayed in a tooltip', () => {
|
211
|
+
utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), 2).verifyTooltip('#5200FF');
|
212
|
+
utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), 3).verifyTooltip('None');
|
213
|
+
});
|
214
|
+
},
|
215
|
+
|
216
|
+
/**
|
217
|
+
* Verifies the CSS and accessibility (a11y) of the "Style and layout customization accordion contents".
|
218
|
+
* This function performs the following checks:
|
219
|
+
* 1. Verifies the CSS properties of various elements within the "Style and layout customization accordion contents".
|
220
|
+
* 2. Checks the accessibility of the accordion contents.
|
221
|
+
* 3. Verifies the CSS properties of elements in their hover state.
|
222
|
+
* @param {string} selectedStyle - The border style that should be in the selected state by default. It should be either 'Solid' or 'Dashed'.
|
223
|
+
*/
|
224
|
+
verifyStyleAndLayoutCustomizationAccordionContentsCSSAndA11y: (selectedStyle) => {
|
225
|
+
it('CSS of "Style and layout customization accordion contents"', { tags: 'css' }, () => {
|
226
|
+
utilities.verifyCSS(figCommonStyleAndLayoutComponent.componentContainerLabel(), {
|
227
|
+
'color': css.color.labels,
|
228
|
+
'font-size': css.fontSize.default,
|
229
|
+
'font-weight': css.fontWeight.semibold
|
230
|
+
});
|
231
|
+
utilities.verifyCSS(figCommonStyleAndLayoutComponent.fillColorLabel(), {
|
232
|
+
'color': css.color.labels,
|
233
|
+
'font-size': css.fontSize.normal,
|
234
|
+
'font-weight': css.fontWeight.semibold
|
235
|
+
});
|
236
|
+
utilities.verifyCSS(figCommonStyleAndLayoutComponent.borderColorLabel(), {
|
237
|
+
'color': css.color.labels,
|
238
|
+
'font-size': css.fontSize.normal,
|
239
|
+
'font-weight': css.fontWeight.semibold
|
240
|
+
});
|
241
|
+
utilities.verifyCSS(utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), 0), {
|
242
|
+
'background-color': css.color.optionsBg,
|
243
|
+
'border': `1px solid ${css.color.figDefaultComponentBorder}`
|
244
|
+
});
|
245
|
+
utilities.verifyCSS(utilities.getNthElement(figCommonStyleAndLayoutComponent.editColorButton(), 0), {
|
246
|
+
'color': css.color.activeButtons,
|
247
|
+
'font-size': css.fontSize.default,
|
248
|
+
'font-weight': css.fontWeight.regular,
|
249
|
+
'background-color': css.color.transparent
|
250
|
+
});
|
251
|
+
utilities.verifyCSS(figCommonStyleAndLayoutComponent.borderStyleLabel(), {
|
252
|
+
'color': css.color.labels,
|
253
|
+
'font-size': css.fontSize.normal,
|
254
|
+
'font-weight': css.fontWeight.semibold
|
255
|
+
});
|
256
|
+
utilities.verifyCSS(figCommonStyleAndLayoutComponent.dottedBorderStyleToggleButton(), {
|
257
|
+
'color': css.color.secondaryBtn,
|
258
|
+
'background-color': css.color.secondaryBtnBg,
|
259
|
+
'font-size': css.fontSize.default,
|
260
|
+
'font-weight': css.fontWeight.regular,
|
261
|
+
'border': `1px solid ${css.color.figDefaultComponentBorder}`
|
262
|
+
});
|
263
|
+
let selectedToggleButton;
|
264
|
+
if (selectedStyle == 'Solid') {
|
265
|
+
selectedToggleButton = figCommonStyleAndLayoutComponent.solidBorderStyleToggleButton();
|
266
|
+
} else {
|
267
|
+
selectedToggleButton = figCommonStyleAndLayoutComponent.dashedBorderStyleToggleButton();
|
268
|
+
}
|
269
|
+
utilities.verifyCSS(selectedToggleButton, {
|
270
|
+
'color': css.color.defaultBackground,
|
271
|
+
'background-color': css.color.secondaryBtnBg,
|
272
|
+
'font-size': css.fontSize.default,
|
273
|
+
'font-weight': css.fontWeight.regular,
|
274
|
+
'border': `2px solid ${css.color.secondaryBtnActive}`
|
275
|
+
});
|
276
|
+
});
|
277
|
+
|
278
|
+
it('Accessibility of "Style and layout customization accordion contents"', { tags: 'a11y' }, () => {
|
279
|
+
cy.checkAccessibility(figCommonStyleAndLayoutComponent.componentContainerLabel().parents('.ngie-accordion-detail'))
|
280
|
+
});
|
281
|
+
|
282
|
+
it('CSS of "Style and layout customization accordion contents" - hover state', { tags: 'css' }, () => {
|
283
|
+
utilities.triggerMouseover(utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), 0));
|
284
|
+
utilities.verifyElementVisibilityState(commonComponents.tooltipText(), 'visible');
|
285
|
+
utilities.verifyCSS(commonComponents.tooltipText(), {
|
286
|
+
'background-color': css.color.tooltipBg,
|
287
|
+
'color': css.color.whiteText,
|
288
|
+
'font-size': css.fontSize.small,
|
289
|
+
'font-weight': css.fontWeight.regular
|
290
|
+
});
|
291
|
+
utilities.triggerMouseout(utilities.getNthElement(figCommonStyleAndLayoutComponent.colorBlock(), 0));
|
292
|
+
utilities.verifyElementVisibilityState(commonComponents.tooltipText(), 'notExist');
|
293
|
+
utilities.hoverOverElement(utilities.getNthElement(figCommonStyleAndLayoutComponent.editColorButton(), 0));
|
294
|
+
utilities.verifyCSS(utilities.getNthElement(figCommonStyleAndLayoutComponent.editColorButton(), 0), {
|
295
|
+
'background-color': css.color.optionsBg,
|
296
|
+
'color': css.color.activeButtons,
|
297
|
+
'font-size': css.fontSize.default,
|
298
|
+
'font-weight': css.fontWeight.regular
|
299
|
+
});
|
300
|
+
utilities.hoverAwayFromElement();
|
301
|
+
utilities.hoverOverElement(figCommonStyleAndLayoutComponent.dottedBorderStyleToggleButton());
|
302
|
+
utilities.verifyCSS(figCommonStyleAndLayoutComponent.dottedBorderStyleToggleButton(), {
|
303
|
+
'color': css.color.secondaryBtn,
|
304
|
+
'background-color': css.color.secondaryBtnBg,
|
305
|
+
'font-size': css.fontSize.default,
|
306
|
+
'font-weight': css.fontWeight.regular,
|
307
|
+
'border': `2px solid ${css.color.secondaryBtnBorder}`
|
308
|
+
});
|
309
|
+
utilities.hoverAwayFromElement();
|
310
|
+
});
|
311
|
+
}
|
312
|
+
}
|
313
|
+
|
314
|
+
export const figCommonStyleAndLayoutComponent = {
|
315
|
+
...selectors,
|
316
|
+
steps,
|
317
|
+
tests,
|
318
|
+
}
|
@@ -666,7 +666,44 @@ const steps = {
|
|
666
666
|
fillInTheGapsDropdownCommonComponent.dropdownSpecifyCorrectAnswerSection()
|
667
667
|
.eq(inputFieldIndex)
|
668
668
|
.should('have.attr', 'aria-label', ariaLabel)
|
669
|
-
}
|
669
|
+
},
|
670
|
+
|
671
|
+
/**
|
672
|
+
* Verifies the background color of the dropdown at the specified index.
|
673
|
+
*
|
674
|
+
* @param {number} dropdownIndex - The index of the dropdown to verify.
|
675
|
+
* @param {string} colorValue - The expected background color value in CSS format.
|
676
|
+
*/
|
677
|
+
verifyDropdownFillColor: (dropdownIndex, colorValue) => {
|
678
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsDropdownCommonComponent.dropdownPreviewTab(), dropdownIndex), {
|
679
|
+
'background-color': colorValue
|
680
|
+
});
|
681
|
+
},
|
682
|
+
|
683
|
+
/**
|
684
|
+
* Verifies the border color of the dropdown at the specified index.
|
685
|
+
*
|
686
|
+
* @param {number} dropdownIndex - The index of the dropdown to verify.
|
687
|
+
* @param {string} borderValue - The expected border color value in CSS format.
|
688
|
+
*/
|
689
|
+
verifyDropdownBorderColor: (dropdownIndex, borderValue) => {
|
690
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsDropdownCommonComponent.dropdownPreviewTab(), dropdownIndex), {
|
691
|
+
'border': borderValue
|
692
|
+
});
|
693
|
+
},
|
694
|
+
|
695
|
+
/**
|
696
|
+
* Verifies the border style of the dropdown at the specified index.
|
697
|
+
*
|
698
|
+
* @param {number} dropdownIndex - The index of the dropdown to verify.
|
699
|
+
* @param {string} borderStyle - The expected border style value in CSS format.
|
700
|
+
*/
|
701
|
+
verifyDropdownBorderStyle: (dropdownIndex, borderStyle) => {
|
702
|
+
const styleName = borderStyle.toLowerCase();
|
703
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsDropdownCommonComponent.dropdownPreviewTab(), dropdownIndex), {
|
704
|
+
'border-style': styleName
|
705
|
+
});
|
706
|
+
},
|
670
707
|
}
|
671
708
|
|
672
709
|
const tests = {
|
@@ -851,6 +851,40 @@ const steps = {
|
|
851
851
|
fillInTheGapsTextCommonComponent.answerInputFieldSpecifyCorrectAnswerSection()
|
852
852
|
.eq(inputFieldIndex)
|
853
853
|
.should('have.attr', 'aria-label', ariaLabel)
|
854
|
+
},
|
855
|
+
|
856
|
+
/**
|
857
|
+
* Verifies the background color of the answer input field at the specified index.
|
858
|
+
* @param {number} responseAreaIndex - The index of the response area to verify.
|
859
|
+
* @param {string} colorValue - The expected background color value in CSS format.
|
860
|
+
*/
|
861
|
+
verifyAnswerInputFieldFillColor: (responseAreaIndex, colorValue) => {
|
862
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsTextCommonComponent.answerInputFieldPreviewTab().parent('.response-input-field'), responseAreaIndex), {
|
863
|
+
'background-color': colorValue
|
864
|
+
});
|
865
|
+
},
|
866
|
+
|
867
|
+
/**
|
868
|
+
* Verifies the border color of the answer input field at the specified index.
|
869
|
+
* @param {number} responseAreaIndex - The index of the response area to verify.
|
870
|
+
* @param {string} borderValue - The expected border color value in CSS format.
|
871
|
+
*/
|
872
|
+
verifyAnswerInputFieldBorderColor: (responseAreaIndex, borderValue) => {
|
873
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsTextCommonComponent.answerInputFieldPreviewTab().parent('.response-input-field'), responseAreaIndex), {
|
874
|
+
'border': borderValue
|
875
|
+
});
|
876
|
+
},
|
877
|
+
|
878
|
+
/**
|
879
|
+
* Verifies the border style of the answer input field at the specified index.
|
880
|
+
* @param {number} responseAreaIndex - The index of the response area to verify.
|
881
|
+
* @param {string} borderStyle - The expected border style value in CSS format.
|
882
|
+
*/
|
883
|
+
verifyAnswerInputFieldBorderStyle: (responseAreaIndex, borderStyle) => {
|
884
|
+
const styleName = borderStyle.toLowerCase();
|
885
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsTextCommonComponent.answerInputFieldPreviewTab().parent('.response-input-field'), responseAreaIndex), {
|
886
|
+
'border-style': styleName
|
887
|
+
});
|
854
888
|
}
|
855
889
|
}
|
856
890
|
|
@@ -983,6 +983,7 @@ const steps = {
|
|
983
983
|
verifyCellPropertyMenuOptionIsSelected: (cellType) => {
|
984
984
|
gridQuestionCommonComponent.editCellPropertyListOption()
|
985
985
|
.contains(`${cellType}`, { matchCase: false })
|
986
|
+
.parents('[role="menuitem"]')
|
986
987
|
.should('have.class', 'Mui-selected');
|
987
988
|
},
|
988
989
|
|
@@ -72,5 +72,7 @@ export * from './numberLineCommonComponent';
|
|
72
72
|
export * from './limitNumberOfRetakeComponent';
|
73
73
|
export * from './allowTeachersToDownloadStudentResponseComponent';
|
74
74
|
export * from './singleMultipleSelectionModeComponent';
|
75
|
+
export * from './figCommonStyleAndLayoutComponent'
|
75
76
|
export * from './showAvailableOptionsToStudents';
|
76
|
-
export * from './showStudentMaximumNumberOfPossibleSelections';
|
77
|
+
export * from './showStudentMaximumNumberOfPossibleSelections';
|
78
|
+
export * from './draggableOptionsStyleAndLayoutComponent';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import constants from "../fixtures/constants";
|
2
2
|
import utilities from "../support/helpers/utilities";
|
3
3
|
const css = Cypress.env('css');
|
4
|
-
import { createQuestionBasePage, optionsWrapperComponent, autoScoredScoringPreviewTab, scoringSectionBaseEditTab, questionInputFieldComponent, fillInTheGapsDragAndDropCommonComponents, correctIncorrectAnswerLabelComponent, questionInstructionsComponent, autoScoredStudentViewSettings, ckEditorToolbar, equationEditorFlyout, draggableOptionContainer, autoScoredScoringSectionMultiResponseType, autoScoredSpecifyCorrectAnswerSection, commonComponents, draggableOptionsSectionComponent, studentViewSettingsLabelComponent, randomizeOptionsComponent, enableOuterBorderComponent, allowMultipleInstancesOfSameDraggableOptionComponent, additionalSettingsPanel, responseAreaSettingsPopupComponent } from "./components"
|
4
|
+
import { createQuestionBasePage, optionsWrapperComponent, autoScoredScoringPreviewTab, scoringSectionBaseEditTab, questionInputFieldComponent, fillInTheGapsDragAndDropCommonComponents, correctIncorrectAnswerLabelComponent, questionInstructionsComponent, autoScoredStudentViewSettings, ckEditorToolbar, equationEditorFlyout, draggableOptionContainer, autoScoredScoringSectionMultiResponseType, autoScoredSpecifyCorrectAnswerSection, commonComponents, draggableOptionsSectionComponent, studentViewSettingsLabelComponent, randomizeOptionsComponent, enableOuterBorderComponent, allowMultipleInstancesOfSameDraggableOptionComponent, additionalSettingsPanel, responseAreaSettingsPopupComponent, styleAndLayoutCustomizationAccordionComponent, figCommonStyleAndLayoutComponent, draggableOptionsStyleAndLayoutComponent } from "./components"
|
5
5
|
|
6
6
|
//TODO update option container selectors when https://redmine.zeuslearning.com/issues/563159 is resolved
|
7
7
|
const selectors = {
|
@@ -20,6 +20,9 @@ const selectors = {
|
|
20
20
|
...enableOuterBorderComponent,
|
21
21
|
...responseAreaSettingsPopupComponent,
|
22
22
|
...additionalSettingsPanel,
|
23
|
+
...styleAndLayoutCustomizationAccordionComponent,
|
24
|
+
...figCommonStyleAndLayoutComponent,
|
25
|
+
...draggableOptionsStyleAndLayoutComponent,
|
23
26
|
//Dropzone settings popup
|
24
27
|
dropzoneSettingsWordWrapLabel: () => cy.get('[data-ngie-testid="word-wrap-checkbox"] [class*="label"]'),
|
25
28
|
dropzoneSettingsWordWrapCheckbox: () => cy.get('[data-ngie-testid="word-wrap-checkbox"] input'),
|
@@ -76,6 +79,9 @@ const steps = {
|
|
76
79
|
...allowMultipleInstancesOfSameDraggableOptionComponent.steps,
|
77
80
|
...additionalSettingsPanel.steps,
|
78
81
|
...responseAreaSettingsPopupComponent.steps,
|
82
|
+
...styleAndLayoutCustomizationAccordionComponent.steps,
|
83
|
+
...figCommonStyleAndLayoutComponent.steps,
|
84
|
+
...draggableOptionsStyleAndLayoutComponent.steps,
|
79
85
|
/**
|
80
86
|
* Sets options in dropzone in the Preview Tab based on the provided optionsObject.
|
81
87
|
* @param {Object} optionsObject - An object where keys are option texts and values are dropzone indices.
|
@@ -732,6 +738,157 @@ const steps = {
|
|
732
738
|
fillInTheGapsDragAndDropPage.partialEqualWeightsPointsPerResponseScore()
|
733
739
|
.should('have.text', pointsPerResponse);
|
734
740
|
},
|
741
|
+
|
742
|
+
/**
|
743
|
+
* Verifies the placement of the draggable option panel.
|
744
|
+
* @param {('Bottom' | 'Top' | 'Left' | 'Right')} panelPlacement - The placement of the draggable option panel.
|
745
|
+
* @throws {Error} If an invalid panel placement is provided.
|
746
|
+
*/
|
747
|
+
verifyDraggableOptionPanelPlacement: (panelPlacement) => {
|
748
|
+
const draggableOptionPanelWrapper = draggableOptionContainer.optionsContainerPreviewTab().parents('.preview-container')
|
749
|
+
switch (panelPlacement) {
|
750
|
+
case 'Bottom':
|
751
|
+
draggableOptionPanelWrapper
|
752
|
+
.should('have.class', 'placement-bottom');
|
753
|
+
break;
|
754
|
+
case 'Top':
|
755
|
+
draggableOptionPanelWrapper
|
756
|
+
.should('have.class', 'placement-top');
|
757
|
+
break;
|
758
|
+
case 'Left':
|
759
|
+
draggableOptionPanelWrapper
|
760
|
+
.should('have.class', 'placement-left');
|
761
|
+
break;
|
762
|
+
case 'Right':
|
763
|
+
draggableOptionPanelWrapper
|
764
|
+
.should('have.class', 'placement-right');
|
765
|
+
break;
|
766
|
+
default:
|
767
|
+
throw new Error('Invalid placement');
|
768
|
+
}
|
769
|
+
},
|
770
|
+
|
771
|
+
/**
|
772
|
+
* Verifies the alignment of the draggable options.
|
773
|
+
* @param {('Left' | 'Center' | 'Right')} optionAlignment - The alignment of the draggable options.
|
774
|
+
* @throws {Error} If an invalid option alignment is provided.
|
775
|
+
*/
|
776
|
+
verifyDraggableOptionAlignment: (optionAlignment) => {
|
777
|
+
const draggableOptionListWrapper = draggableOptionContainer.draggableOption().parents('.draggable-items-grid')
|
778
|
+
switch (optionAlignment) {
|
779
|
+
case 'Left':
|
780
|
+
draggableOptionListWrapper
|
781
|
+
.should('have.class', 'option-left-align');
|
782
|
+
break;
|
783
|
+
case 'Center':
|
784
|
+
draggableOptionListWrapper
|
785
|
+
.should('have.class', 'option-center-align');
|
786
|
+
break;
|
787
|
+
case 'Right':
|
788
|
+
draggableOptionListWrapper
|
789
|
+
.should('have.class', 'option-right-align');
|
790
|
+
break;
|
791
|
+
default:
|
792
|
+
throw new Error('Invalid option alignment');
|
793
|
+
}
|
794
|
+
},
|
795
|
+
|
796
|
+
/**
|
797
|
+
* Verifies the fill color of a draggable option.
|
798
|
+
* @param {number} optionIndex - The index of the draggable option.
|
799
|
+
* @param {string} colorValue - The expected background color value of the draggable option.
|
800
|
+
*/
|
801
|
+
verifyDraggableOptionFillColor: (optionIndex, colorValue) => {
|
802
|
+
utilities.verifyCSS(utilities.getNthElement(draggableOptionContainer.draggableOption(), optionIndex), {
|
803
|
+
'background-color': colorValue
|
804
|
+
});
|
805
|
+
},
|
806
|
+
|
807
|
+
/**
|
808
|
+
* Verifies the border color of a draggable option.
|
809
|
+
* @param {number} optionIndex - The index of the draggable option.
|
810
|
+
* @param {string} borderValue - The expected border value of the draggable option.
|
811
|
+
*/
|
812
|
+
verifyDraggableOptionBorderColor: (optionIndex, borderValue) => {
|
813
|
+
utilities.verifyCSS(utilities.getNthElement(draggableOptionContainer.draggableOption(), optionIndex), {
|
814
|
+
'border': borderValue
|
815
|
+
});
|
816
|
+
},
|
817
|
+
|
818
|
+
/**
|
819
|
+
* Verifies the border style of a draggable option.
|
820
|
+
* @param {number} optionIndex - The index of the draggable option.
|
821
|
+
* @param {string} borderStyle - The expected border style of the draggable option.
|
822
|
+
*/
|
823
|
+
verifyDraggableOptionBorderStyle: (optionIndex, borderStyle) => {
|
824
|
+
const styleName = borderStyle.toLowerCase();
|
825
|
+
utilities.verifyCSS(utilities.getNthElement(draggableOptionContainer.draggableOption(), optionIndex), {
|
826
|
+
'border-style': styleName
|
827
|
+
});
|
828
|
+
},
|
829
|
+
|
830
|
+
/**
|
831
|
+
* Verifies the drag handle icon of the draggable options.
|
832
|
+
* @param {('Default' | 'Arrows' | 'None')} dragIcon - The type of drag icon.
|
833
|
+
* @throws {Error} If an incorrect drag icon is provided.
|
834
|
+
*/
|
835
|
+
verifyDraggableOptionDragHandleIcon: (dragIcon) => {
|
836
|
+
draggableOptionContainer.draggableOption()
|
837
|
+
.each(($element) => {
|
838
|
+
cy.wrap($element)
|
839
|
+
.within(() => {
|
840
|
+
switch (dragIcon) {
|
841
|
+
case 'Default':
|
842
|
+
draggableOptionContainer.draggableOptionDragIcon()
|
843
|
+
.should('have.class', 'drag-icon-button');
|
844
|
+
break;
|
845
|
+
case 'Arrows':
|
846
|
+
draggableOptionContainer.draggableOptionDragIcon()
|
847
|
+
.should('have.class', 'drag-arrows-icon');
|
848
|
+
break;
|
849
|
+
case 'None':
|
850
|
+
utilities.verifyElementVisibilityState(draggableOptionContainer.draggableOptionDragIcon(), 'notExist');
|
851
|
+
break;
|
852
|
+
default:
|
853
|
+
throw new Error('Incorrect drag icon');
|
854
|
+
}
|
855
|
+
});
|
856
|
+
});
|
857
|
+
},
|
858
|
+
|
859
|
+
/**
|
860
|
+
* Verifies the background color of the dropzone at the specified index.
|
861
|
+
* @param {number} dropzoneIndex - The index of the response area to verify.
|
862
|
+
* @param {string} colorValue - The expected background color value in CSS format.
|
863
|
+
*/
|
864
|
+
verifyDropzoneFillColor: (dropzoneIndex, colorValue) => {
|
865
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsDragAndDropPage.dropzonePreviewTab(), dropzoneIndex), {
|
866
|
+
'background-color': colorValue
|
867
|
+
});
|
868
|
+
},
|
869
|
+
|
870
|
+
/**
|
871
|
+
* Verifies the border color of the dropzone at the specified index.
|
872
|
+
* @param {number} dropzoneIndex - The index of the response area to verify.
|
873
|
+
* @param {string} borderValue - The expected border color value in CSS format.
|
874
|
+
*/
|
875
|
+
verifyDropzoneBorderColor: (dropzoneIndex, borderValue) => {
|
876
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsDragAndDropPage.dropzonePreviewTab(), dropzoneIndex), {
|
877
|
+
'border': borderValue
|
878
|
+
});
|
879
|
+
},
|
880
|
+
|
881
|
+
/**
|
882
|
+
* Verifies the border style of the dropzone at the specified index.
|
883
|
+
* @param {number} dropzoneIndex - The index of the response area to verify.
|
884
|
+
* @param {string} borderStyle - The expected border style value in CSS format.
|
885
|
+
*/
|
886
|
+
verifyDropzoneBorderStyle: (dropzoneIndex, borderStyle) => {
|
887
|
+
const styleName = borderStyle.toLowerCase();
|
888
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsDragAndDropPage.dropzonePreviewTab(), dropzoneIndex), {
|
889
|
+
'border-style': styleName
|
890
|
+
});
|
891
|
+
}
|
735
892
|
}
|
736
893
|
|
737
894
|
const tests = {
|
@@ -752,7 +909,9 @@ const tests = {
|
|
752
909
|
...questionInstructionsComponent.tests,
|
753
910
|
...questionInputFieldComponent.tests,
|
754
911
|
...additionalSettingsPanel.tests,
|
755
|
-
|
912
|
+
...styleAndLayoutCustomizationAccordionComponent.tests,
|
913
|
+
...figCommonStyleAndLayoutComponent.tests,
|
914
|
+
...draggableOptionsStyleAndLayoutComponent.tests,
|
756
915
|
verifyContentsOfSpecifyCorrectAnswerSection: () => {
|
757
916
|
it('When user selects a scoring type then in the \'Correct\' accordion, all the contents should be displayed', () => {
|
758
917
|
utilities.verifyElementCount(fillInTheGapsDragAndDropPage.dropzoneSpecifyCorrectAnswerSection(), 3);
|