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,444 @@
|
|
1
|
+
import utilities from "../../support/helpers/utilities";
|
2
|
+
import { commonComponents } from "./commonComponents";
|
3
|
+
const css = Cypress.env('css');
|
4
|
+
|
5
|
+
const selectors = {
|
6
|
+
draggableOptionsLabel: () => cy.get('.draggable-options-label'),
|
7
|
+
dragHandleIconLabel: () => cy.get('[class*="styles__SubSectionLabel"]').eq(2),
|
8
|
+
defaultDragHandleIconButton: () => cy.get('button[aria-label="default drag handle icon"]'),
|
9
|
+
arrowsDragHandleIconButton: () => cy.get('button[aria-label="arrows drag handle icon"]'),
|
10
|
+
noneDragHandleIconButton: () => cy.get('button[aria-label="none drag handle icon"]'),
|
11
|
+
fillColorLabel: () => cy.get('.draggable-options-color-wrapper .sub-section-label').eq(0),
|
12
|
+
borderColorLabel: () => cy.get('.draggable-options-color-wrapper .sub-section-label').eq(1),
|
13
|
+
colorBlock: () => cy.get('.draggable-options-color-wrapper .color-picker-block'),
|
14
|
+
editColorButton: () => cy.get('.draggable-options-color-wrapper button[aria-label="edit color"]'),
|
15
|
+
borderStyleLabel: () => cy.get('.options-border-style .options-label').eq(1),
|
16
|
+
dashedBorderStyleToggleButton: () => cy.get('[data-ngie-testid="dashed-toggle-button"]').eq(1),
|
17
|
+
dottedBorderStyleToggleButton: () => cy.get('[data-ngie-testid="dotted-toggle-button"]').eq(1),
|
18
|
+
solidBorderStyleToggleButton: () => cy.get('[data-ngie-testid="solid-toggle-button"]').eq(1),
|
19
|
+
noneBorderStyleToggleButton: () => cy.get('[data-ngie-testid="none-toggle-button"]').eq(1),
|
20
|
+
colorBlockSelectedIcon: () => cy.get('[class*="BtnSelectionWrapper"] svg'),
|
21
|
+
draggableOptionPanelLabel: () => cy.get('.draggable-option-panel-label'),
|
22
|
+
panelPlacementLabel: () => cy.get('.panel-placement-style .options-label'),
|
23
|
+
bottomPanelPlacementToggleButton: () => cy.get('[data-ngie-testid="bottom-toggle-button"]'),
|
24
|
+
topPanelPlacementToggleButton: () => cy.get('[data-ngie-testid="top-toggle-button"]'),
|
25
|
+
leftPanelPlacementToggleButton: () => cy.get('.panel-placement-style [data-ngie-testid="left-toggle-button"]'),
|
26
|
+
rightPanelPlacementToggleButton: () => cy.get('.panel-placement-style [data-ngie-testid="right-toggle-button"]'),
|
27
|
+
optionAlignmentInPanelLabel: () => cy.get('.option-alignment .options-label'),
|
28
|
+
leftOptionAlignmentToggleButton: () => cy.get('.option-alignment [data-ngie-testid="left-toggle-button"]'),
|
29
|
+
centerOptionAlignmentToggleButton: () => cy.get('.option-alignment [data-ngie-testid="center-toggle-button"]'),
|
30
|
+
rightOptionAlignmentToggleButton: () => cy.get('.option-alignment [data-ngie-testid="right-toggle-button"]'),
|
31
|
+
}
|
32
|
+
|
33
|
+
const steps = {
|
34
|
+
/**
|
35
|
+
* Selects and verifies the panel placement toggle button.
|
36
|
+
* @param {('Bottom' | 'Top' | 'Left' | 'Right')} panelPlacement - The placement of the panel.
|
37
|
+
* @throws {Error} If an invalid panel placement is provided.
|
38
|
+
*/
|
39
|
+
selectPanelPlacementToggleButton: (panelPlacement) => {
|
40
|
+
switch (panelPlacement) {
|
41
|
+
case 'Bottom':
|
42
|
+
draggableOptionsStyleAndLayoutComponent.bottomPanelPlacementToggleButton()
|
43
|
+
.click()
|
44
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
45
|
+
break;
|
46
|
+
case 'Top':
|
47
|
+
draggableOptionsStyleAndLayoutComponent.topPanelPlacementToggleButton()
|
48
|
+
.click()
|
49
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
50
|
+
break;
|
51
|
+
case 'Left':
|
52
|
+
draggableOptionsStyleAndLayoutComponent.leftPanelPlacementToggleButton()
|
53
|
+
.click()
|
54
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
55
|
+
break;
|
56
|
+
case 'Right':
|
57
|
+
draggableOptionsStyleAndLayoutComponent.rightPanelPlacementToggleButton()
|
58
|
+
.click()
|
59
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
60
|
+
break;
|
61
|
+
default:
|
62
|
+
throw new Error('Invalid placement');
|
63
|
+
}
|
64
|
+
},
|
65
|
+
|
66
|
+
/**
|
67
|
+
* Verifies the selected state of the panel placement toggle button.
|
68
|
+
* @param {('Bottom' | 'Top' | 'Left' | 'Right')} panelPlacement - The placement of the panel.
|
69
|
+
* @throws {Error} If an invalid panel placement button is provided.
|
70
|
+
*/
|
71
|
+
verifyPanelPlacementToggleButtonSelectedState: (panelPlacement) => {
|
72
|
+
switch (panelPlacement) {
|
73
|
+
case 'Bottom':
|
74
|
+
draggableOptionsStyleAndLayoutComponent.bottomPanelPlacementToggleButton()
|
75
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
76
|
+
break;
|
77
|
+
case 'Top':
|
78
|
+
draggableOptionsStyleAndLayoutComponent.topPanelPlacementToggleButton()
|
79
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
80
|
+
break;
|
81
|
+
case 'Left':
|
82
|
+
draggableOptionsStyleAndLayoutComponent.leftPanelPlacementToggleButton()
|
83
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
84
|
+
break;
|
85
|
+
case 'Right':
|
86
|
+
draggableOptionsStyleAndLayoutComponent.rightPanelPlacementToggleButton()
|
87
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
88
|
+
break;
|
89
|
+
default:
|
90
|
+
throw new Error('Invalid placement button');
|
91
|
+
}
|
92
|
+
},
|
93
|
+
|
94
|
+
/**
|
95
|
+
* Selects and verifies the option alignment toggle button.
|
96
|
+
* @param {('Left' | 'Center' | 'Right')} optionAlignment - The alignment of the options.
|
97
|
+
* @throws {Error} If an invalid option alignment button is provided.
|
98
|
+
*/
|
99
|
+
selectOptionAlignmentToggleButton: (optionAlignment) => {
|
100
|
+
switch (optionAlignment) {
|
101
|
+
case 'Left':
|
102
|
+
draggableOptionsStyleAndLayoutComponent.leftOptionAlignmentToggleButton()
|
103
|
+
.click()
|
104
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
105
|
+
break;
|
106
|
+
case 'Center':
|
107
|
+
draggableOptionsStyleAndLayoutComponent.centerOptionAlignmentToggleButton()
|
108
|
+
.click()
|
109
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
110
|
+
break;
|
111
|
+
case 'Right':
|
112
|
+
draggableOptionsStyleAndLayoutComponent.rightOptionAlignmentToggleButton()
|
113
|
+
.click()
|
114
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
115
|
+
break;
|
116
|
+
default:
|
117
|
+
throw new Error('Invalid option alignment button');
|
118
|
+
}
|
119
|
+
},
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Verifies the selected state of the option alignment toggle button.
|
123
|
+
*
|
124
|
+
* @param {('Left' | 'Center' | 'Right')} optionAlignment - The alignment of the options.
|
125
|
+
* @throws {Error} If an invalid option alignment button is provided.
|
126
|
+
*/
|
127
|
+
verifyOptionAlignmentToggleButtonSelectedState: (optionAlignment) => {
|
128
|
+
switch (optionAlignment) {
|
129
|
+
case 'Left':
|
130
|
+
draggableOptionsStyleAndLayoutComponent.leftOptionAlignmentToggleButton()
|
131
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
132
|
+
break;
|
133
|
+
case 'Center':
|
134
|
+
draggableOptionsStyleAndLayoutComponent.centerOptionAlignmentToggleButton()
|
135
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
136
|
+
break;
|
137
|
+
case 'Right':
|
138
|
+
draggableOptionsStyleAndLayoutComponent.rightOptionAlignmentToggleButton()
|
139
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
140
|
+
break;
|
141
|
+
default:
|
142
|
+
throw new Error('Invalid option alignment button');
|
143
|
+
}
|
144
|
+
},
|
145
|
+
|
146
|
+
/**
|
147
|
+
* Verifies the selected state of the drag handle icon button.
|
148
|
+
* @param {('Default' | 'Arrows' | 'None')} iconButton - The type of drag handle icon.
|
149
|
+
* @throws {Error} If an invalid drag handle icon is provided.
|
150
|
+
*/
|
151
|
+
verifyDragHandleIconSelectedState: (iconButton) => {
|
152
|
+
switch (iconButton) {
|
153
|
+
case 'Default':
|
154
|
+
draggableOptionsStyleAndLayoutComponent.defaultDragHandleIconButton()
|
155
|
+
.should('have.class', 'selected-button-icon');
|
156
|
+
break;
|
157
|
+
case 'Arrows':
|
158
|
+
draggableOptionsStyleAndLayoutComponent.arrowsDragHandleIconButton()
|
159
|
+
.should('have.class', 'selected-button-icon');
|
160
|
+
break;
|
161
|
+
case 'None':
|
162
|
+
draggableOptionsStyleAndLayoutComponent.noneDragHandleIconButton()
|
163
|
+
.should('have.class', 'selected-button-icon');
|
164
|
+
break;
|
165
|
+
default:
|
166
|
+
throw new Error('Invalid drag handle icon');
|
167
|
+
}
|
168
|
+
},
|
169
|
+
|
170
|
+
/**
|
171
|
+
* Selects and verifies the drag handle icon button.
|
172
|
+
* @param {('Default' | 'Arrows' | 'None')} iconButton - The type of drag handle icon.
|
173
|
+
* @throws {Error} If an invalid drag handle icon is provided.
|
174
|
+
*/
|
175
|
+
selectDragHandleIconButton: (iconButton) => {
|
176
|
+
switch (iconButton) {
|
177
|
+
case 'Default':
|
178
|
+
draggableOptionsStyleAndLayoutComponent.defaultDragHandleIconButton()
|
179
|
+
.click()
|
180
|
+
.should('have.class', 'selected-button-icon');
|
181
|
+
break;
|
182
|
+
case 'Arrows':
|
183
|
+
draggableOptionsStyleAndLayoutComponent.arrowsDragHandleIconButton()
|
184
|
+
.click()
|
185
|
+
.should('have.class', 'selected-button-icon');
|
186
|
+
break;
|
187
|
+
case 'None':
|
188
|
+
draggableOptionsStyleAndLayoutComponent.noneDragHandleIconButton()
|
189
|
+
.click()
|
190
|
+
.should('have.class', 'selected-button-icon');
|
191
|
+
break;
|
192
|
+
default:
|
193
|
+
throw new Error('Invalid drag handle icon');
|
194
|
+
}
|
195
|
+
},
|
196
|
+
|
197
|
+
/**
|
198
|
+
* Clicks on the edit color button.
|
199
|
+
* @param {number} buttonIndex - The index of the edit color button.
|
200
|
+
*/
|
201
|
+
editDraggableOptionColor: (buttonIndex) => {
|
202
|
+
utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.editColorButton(), buttonIndex)
|
203
|
+
.click();
|
204
|
+
},
|
205
|
+
|
206
|
+
/**
|
207
|
+
* Verifies the color of a color block.
|
208
|
+
* @param {number} blockIndex - The index of the color block.
|
209
|
+
* @param {string} color - The expected background color of the color block.
|
210
|
+
*/
|
211
|
+
verifyDraggableOptionColorBlockColor: (blockIndex, color) => {
|
212
|
+
utilities.verifyCSS(utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), blockIndex), {
|
213
|
+
'background-color': color
|
214
|
+
});
|
215
|
+
},
|
216
|
+
|
217
|
+
/**
|
218
|
+
* @param {number} blockIndex index of the color block in the style and layout customization section
|
219
|
+
* @description this function verifies the selected state of a block
|
220
|
+
*/
|
221
|
+
verifyDraggableOptionColorBlockSelectedState: (blockIndex) => {
|
222
|
+
utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), blockIndex)
|
223
|
+
.should('have.class', 'selected-button-icon')
|
224
|
+
.within(() => {
|
225
|
+
utilities.verifyElementVisibilityState(draggableOptionsStyleAndLayoutComponent.colorBlockSelectedIcon(), 'visible');
|
226
|
+
});
|
227
|
+
},
|
228
|
+
|
229
|
+
/**
|
230
|
+
* Selects a border style toggle button and verifies it has the selected class.
|
231
|
+
* @param {('Dashed' | 'Dotted' | 'Solid' | 'None')} button - The border style to select.
|
232
|
+
* @throws {Error} Throws an error if an invalid border style is provided.
|
233
|
+
*/
|
234
|
+
selectDraggableOptionBorderStyleToggleButton: (button) => {
|
235
|
+
switch (button) {
|
236
|
+
case 'Dashed':
|
237
|
+
draggableOptionsStyleAndLayoutComponent.dashedBorderStyleToggleButton()
|
238
|
+
.click()
|
239
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
240
|
+
break;
|
241
|
+
case 'Dotted':
|
242
|
+
draggableOptionsStyleAndLayoutComponent.dottedBorderStyleToggleButton()
|
243
|
+
.click()
|
244
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
245
|
+
break;
|
246
|
+
case 'Solid':
|
247
|
+
draggableOptionsStyleAndLayoutComponent.solidBorderStyleToggleButton()
|
248
|
+
.click()
|
249
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
250
|
+
break;
|
251
|
+
case 'None':
|
252
|
+
draggableOptionsStyleAndLayoutComponent.noneBorderStyleToggleButton()
|
253
|
+
.click()
|
254
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
255
|
+
break;
|
256
|
+
default:
|
257
|
+
throw new Error('Invalid border style');
|
258
|
+
}
|
259
|
+
},
|
260
|
+
|
261
|
+
/**
|
262
|
+
* Verifies the selected state of a border style toggle button.
|
263
|
+
* @param {('Dashed' | 'Dotted' | 'Solid' | 'None')} button - The border style to verify.
|
264
|
+
* @throws {Error} Throws an error if an invalid border style is provided.
|
265
|
+
*/
|
266
|
+
verifyDraggableOptionBorderStyleToggleButtonSelectedState: (button) => {
|
267
|
+
switch (button) {
|
268
|
+
case 'Dashed':
|
269
|
+
draggableOptionsStyleAndLayoutComponent.dashedBorderStyleToggleButton()
|
270
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
271
|
+
break;
|
272
|
+
case 'Dotted':
|
273
|
+
draggableOptionsStyleAndLayoutComponent.dottedBorderStyleToggleButton()
|
274
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
275
|
+
break;
|
276
|
+
case 'Solid':
|
277
|
+
draggableOptionsStyleAndLayoutComponent.solidBorderStyleToggleButton()
|
278
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
279
|
+
break;
|
280
|
+
case 'None':
|
281
|
+
draggableOptionsStyleAndLayoutComponent.noneBorderStyleToggleButton()
|
282
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
283
|
+
break;
|
284
|
+
default:
|
285
|
+
throw new Error('Invalid border style');
|
286
|
+
}
|
287
|
+
},
|
288
|
+
|
289
|
+
/**
|
290
|
+
* Selects a color block by index.
|
291
|
+
* @param {number} blockIndex - The index of the color block to select.
|
292
|
+
*/
|
293
|
+
selectDraggableOptionColorBlock: (blockIndex) => {
|
294
|
+
utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), blockIndex)
|
295
|
+
.click();
|
296
|
+
}
|
297
|
+
}
|
298
|
+
|
299
|
+
const tests = {
|
300
|
+
verifyDraggableOptionsFillColorSectionContents: () => {
|
301
|
+
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"', () => {
|
302
|
+
utilities.verifyInnerText(draggableOptionsStyleAndLayoutComponent.fillColorLabel(), 'Fill color');
|
303
|
+
draggableOptionsStyleAndLayoutComponent.steps.verifyDraggableOptionColorBlockColor(0, css.color.defaultBackground);
|
304
|
+
draggableOptionsStyleAndLayoutComponent.steps.verifyDraggableOptionColorBlockSelectedState(0);
|
305
|
+
draggableOptionsStyleAndLayoutComponent.steps.verifyDraggableOptionColorBlockColor(1, css.color.none);
|
306
|
+
utilities.verifyInnerText(utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.editColorButton(), 0), 'Edit color');
|
307
|
+
utilities.verifyElementVisibilityState(draggableOptionsStyleAndLayoutComponent.editColorButton(), 'visible');
|
308
|
+
});
|
309
|
+
},
|
310
|
+
|
311
|
+
verifyDraggableOptionsBorderColorSectionContents: () => {
|
312
|
+
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"', () => {
|
313
|
+
utilities.verifyInnerText(draggableOptionsStyleAndLayoutComponent.borderColorLabel(), 'Border color');
|
314
|
+
utilities.verifyInnerText(utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.editColorButton(), 1), 'Edit color');
|
315
|
+
utilities.verifyElementVisibilityState(draggableOptionsStyleAndLayoutComponent.editColorButton(), 'visible');
|
316
|
+
draggableOptionsStyleAndLayoutComponent.steps.verifyDraggableOptionColorBlockColor(2, css.color.figDefaultComponentBorder);
|
317
|
+
draggableOptionsStyleAndLayoutComponent.steps.verifyDraggableOptionColorBlockSelectedState(2);
|
318
|
+
draggableOptionsStyleAndLayoutComponent.steps.verifyDraggableOptionColorBlockColor(3, css.color.none);
|
319
|
+
});
|
320
|
+
},
|
321
|
+
|
322
|
+
verifyDraggableOptionsBorderStyleSectionContents: () => {
|
323
|
+
it('"Border style" label and four toggle buttons should be displayed - "Dashed", "Dotted", "Solid", "None". By default "Solid" button should be in selected state', () => {
|
324
|
+
utilities.verifyInnerText(draggableOptionsStyleAndLayoutComponent.borderStyleLabel(), 'Border style');
|
325
|
+
utilities.verifyInnerText(draggableOptionsStyleAndLayoutComponent.dashedBorderStyleToggleButton(), 'Dashed');
|
326
|
+
utilities.verifyElementVisibilityState(draggableOptionsStyleAndLayoutComponent.dashedBorderStyleToggleButton(), 'visible');
|
327
|
+
utilities.verifyInnerText(draggableOptionsStyleAndLayoutComponent.dottedBorderStyleToggleButton(), 'Dotted');
|
328
|
+
utilities.verifyElementVisibilityState(draggableOptionsStyleAndLayoutComponent.dottedBorderStyleToggleButton(), 'visible');
|
329
|
+
utilities.verifyInnerText(draggableOptionsStyleAndLayoutComponent.solidBorderStyleToggleButton(), 'Solid');
|
330
|
+
utilities.verifyElementVisibilityState(draggableOptionsStyleAndLayoutComponent.solidBorderStyleToggleButton(), 'visible');
|
331
|
+
draggableOptionsStyleAndLayoutComponent.steps.verifyDraggableOptionBorderStyleToggleButtonSelectedState('Solid');
|
332
|
+
utilities.verifyInnerText(draggableOptionsStyleAndLayoutComponent.noneBorderStyleToggleButton(), 'None');
|
333
|
+
utilities.verifyElementVisibilityState(draggableOptionsStyleAndLayoutComponent.noneBorderStyleToggleButton(), 'visible');
|
334
|
+
});
|
335
|
+
},
|
336
|
+
|
337
|
+
verifyDraggableOptionsFillColorTooltips: () => {
|
338
|
+
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', () => {
|
339
|
+
utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), 0).verifyTooltip('#FFFFFF');
|
340
|
+
utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), 1).verifyTooltip('None');
|
341
|
+
});
|
342
|
+
},
|
343
|
+
|
344
|
+
verifyDraggableOptionsBorderColorTooltips: () => {
|
345
|
+
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', () => {
|
346
|
+
utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), 2).verifyTooltip('#6B8BFF');
|
347
|
+
utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), 3).verifyTooltip('None');
|
348
|
+
});
|
349
|
+
},
|
350
|
+
|
351
|
+
verifyDraggableOptionSectionContentsCSSAndA11y: () => {
|
352
|
+
it('CSS of "Draggable options section" contents"', { tags: 'css' }, () => {
|
353
|
+
utilities.verifyCSS(draggableOptionsStyleAndLayoutComponent.draggableOptionsLabel(), {
|
354
|
+
'color': css.color.labels,
|
355
|
+
'font-size': css.fontSize.default,
|
356
|
+
'font-weight': css.fontWeight.semibold
|
357
|
+
});
|
358
|
+
utilities.verifyCSS(draggableOptionsStyleAndLayoutComponent.dragHandleIconLabel(), {
|
359
|
+
'color': css.color.labels,
|
360
|
+
'font-size': css.fontSize.normal,
|
361
|
+
'font-weight': css.fontWeight.semibold
|
362
|
+
});
|
363
|
+
utilities.verifyCSS(draggableOptionsStyleAndLayoutComponent.fillColorLabel(), {
|
364
|
+
'color': css.color.labels,
|
365
|
+
'font-size': css.fontSize.normal,
|
366
|
+
'font-weight': css.fontWeight.semibold
|
367
|
+
});
|
368
|
+
utilities.verifyCSS(draggableOptionsStyleAndLayoutComponent.borderColorLabel(), {
|
369
|
+
'color': css.color.labels,
|
370
|
+
'font-size': css.fontSize.normal,
|
371
|
+
'font-weight': css.fontWeight.semibold
|
372
|
+
});
|
373
|
+
utilities.verifyCSS(utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), 0), {
|
374
|
+
'background-color': css.color.defaultBackground,
|
375
|
+
'border': `1px solid ${css.color.figDefaultComponentBorder}`
|
376
|
+
});
|
377
|
+
utilities.verifyCSS(utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.editColorButton(), 0), {
|
378
|
+
'color': css.color.activeButtons,
|
379
|
+
'font-size': css.fontSize.default,
|
380
|
+
'font-weight': css.fontWeight.regular,
|
381
|
+
'background-color': css.color.transparent
|
382
|
+
});
|
383
|
+
utilities.verifyCSS(draggableOptionsStyleAndLayoutComponent.borderStyleLabel(), {
|
384
|
+
'color': css.color.labels,
|
385
|
+
'font-size': css.fontSize.normal,
|
386
|
+
'font-weight': css.fontWeight.semibold
|
387
|
+
});
|
388
|
+
utilities.verifyCSS(draggableOptionsStyleAndLayoutComponent.dottedBorderStyleToggleButton(), {
|
389
|
+
'color': css.color.secondaryBtn,
|
390
|
+
'background-color': css.color.secondaryBtnBg,
|
391
|
+
'font-size': css.fontSize.default,
|
392
|
+
'font-weight': css.fontWeight.regular,
|
393
|
+
'border': `1px solid ${css.color.figDefaultComponentBorder}`
|
394
|
+
});
|
395
|
+
utilities.verifyCSS(draggableOptionsStyleAndLayoutComponent.solidBorderStyleToggleButton(), {
|
396
|
+
'color': css.color.defaultBackground,
|
397
|
+
'background-color': css.color.secondaryBtnBg,
|
398
|
+
'font-size': css.fontSize.default,
|
399
|
+
'font-weight': css.fontWeight.regular,
|
400
|
+
'border': `2px solid ${css.color.secondaryBtnActive}`
|
401
|
+
});
|
402
|
+
});
|
403
|
+
|
404
|
+
it('Accessibility of "Draggable options section" contents', { tags: 'a11y' }, () => {
|
405
|
+
cy.checkAccessibility(draggableOptionsStyleAndLayoutComponent.draggableOptionsLabel().parents('.ngie-accordion-detail'))
|
406
|
+
});
|
407
|
+
|
408
|
+
it('CSS of "Draggable options section" - hover state', { tags: 'css' }, () => {
|
409
|
+
utilities.triggerMouseover(utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), 0));
|
410
|
+
utilities.verifyElementVisibilityState(commonComponents.tooltipText(), 'visible');
|
411
|
+
utilities.verifyCSS(commonComponents.tooltipText(), {
|
412
|
+
'background-color': css.color.tooltipBg,
|
413
|
+
'color': css.color.whiteText,
|
414
|
+
'font-size': css.fontSize.small,
|
415
|
+
'font-weight': css.fontWeight.regular
|
416
|
+
});
|
417
|
+
utilities.triggerMouseout(utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.colorBlock(), 0));
|
418
|
+
utilities.verifyElementVisibilityState(commonComponents.tooltipText(), 'notExist');
|
419
|
+
utilities.hoverOverElement(utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.editColorButton(), 0));
|
420
|
+
utilities.verifyCSS(utilities.getNthElement(draggableOptionsStyleAndLayoutComponent.editColorButton(), 0), {
|
421
|
+
'background-color': css.color.optionsBg,
|
422
|
+
'color': css.color.activeButtons,
|
423
|
+
'font-size': css.fontSize.default,
|
424
|
+
'font-weight': css.fontWeight.regular
|
425
|
+
});
|
426
|
+
utilities.hoverAwayFromElement();
|
427
|
+
utilities.hoverOverElement(draggableOptionsStyleAndLayoutComponent.dottedBorderStyleToggleButton());
|
428
|
+
utilities.verifyCSS(draggableOptionsStyleAndLayoutComponent.dottedBorderStyleToggleButton(), {
|
429
|
+
'color': css.color.secondaryBtn,
|
430
|
+
'background-color': css.color.secondaryBtnBg,
|
431
|
+
'font-size': css.fontSize.default,
|
432
|
+
'font-weight': css.fontWeight.regular,
|
433
|
+
'border': `2px solid ${css.color.figDefaultComponentBorder}`
|
434
|
+
});
|
435
|
+
utilities.hoverAwayFromElement();
|
436
|
+
});
|
437
|
+
}
|
438
|
+
}
|
439
|
+
|
440
|
+
export const draggableOptionsStyleAndLayoutComponent = {
|
441
|
+
...selectors,
|
442
|
+
steps,
|
443
|
+
tests
|
444
|
+
}
|