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.
Files changed (360) hide show
  1. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +23 -23
  2. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +23 -23
  3. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +23 -24
  4. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +17 -17
  5. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +17 -17
  6. package/cypress/e2e/ILC/ChartsBar/checkAnswerFunctionalityForAllViews.smoke.js +3 -3
  7. package/cypress/e2e/ILC/ChartsBar/studentViewSettings.js +96 -0
  8. package/cypress/e2e/ILC/ChartsLine/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  9. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +0 -4
  10. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +1 -0
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +19 -19
  12. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +13 -13
  13. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +19 -19
  14. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +19 -19
  15. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +24 -24
  16. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionBasic.js +13 -13
  17. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionCorrectPointsEqualToAlternativePoints.js +23 -23
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionCorrectPointsGreaterThanAlternativePoints.js +23 -23
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionMinimumAndPenaltyScoring.js +3 -3
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +21 -21
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +13 -13
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +19 -19
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +21 -21
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneMinimumAndPenaltyScoring.js +1 -1
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +4 -2
  27. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +13 -13
  28. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  29. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +17 -17
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +9 -9
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +21 -21
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +11 -11
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +10 -10
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +19 -19
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +7 -7
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/{Scoring/allOrNothingForAllViews.smoke.js → allOrNothingForAllViews.smoke.js} +3 -3
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptionsStyleAndLayoutCustomization.js +533 -0
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +337 -0
  45. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +4 -2
  46. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +73 -0
  47. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
  48. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
  49. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
  50. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/manuallyAndNonScored.js +7 -7
  51. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
  52. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsBasic.js +7 -7
  53. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  54. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
  55. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
  56. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsBasic.js +7 -7
  57. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  58. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
  59. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  60. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsForDropdowns.js +3 -3
  61. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  62. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +4 -2
  63. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/styleAndLayoutCustomization.js +336 -0
  64. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +73 -0
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +13 -13
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +17 -17
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +9 -9
  70. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +21 -21
  71. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +11 -11
  72. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
  73. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
  74. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +10 -10
  75. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +19 -19
  76. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
  77. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
  78. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{Scoring/allOrNothingForAllViews.smoke.js → allOrNothingForAllViews.smoke.js} +3 -3
  79. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  80. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +4 -2
  81. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
  82. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
  83. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
  84. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/manuallyAndNonScored.js +7 -7
  85. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
  86. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  87. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
  88. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
  89. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsBasic.js +7 -7
  90. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  91. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
  92. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  93. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +1 -1
  94. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  95. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +4 -2
  96. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
  97. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
  98. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
  99. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/conditionalCheckboxScoring.js +4 -4
  100. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +7 -7
  101. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
  102. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +7 -7
  103. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  104. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
  105. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
  106. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +8 -8
  107. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  108. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
  109. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  110. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +7 -7
  111. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsForAnswerInputFields.js +3 -3
  112. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  113. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +4 -2
  114. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
  115. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
  116. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
  117. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/conditionalCheckboxScoring.js +4 -4
  118. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +7 -7
  119. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
  120. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +7 -7
  121. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  122. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
  123. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
  124. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +8 -8
  125. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  126. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
  127. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  128. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +7 -7
  129. package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsForAnswerInputFields.js +3 -3
  130. package/cypress/e2e/ILC/FillInTheGapsTextNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  131. package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +4 -2
  132. package/cypress/e2e/ILC/FillInTheGapsTextNew/styleAndLayoutCustomization.js +336 -0
  133. package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +73 -0
  134. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  135. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +17 -17
  136. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  137. package/cypress/e2e/ILC/Graphing/Scoring/manuallyAndNonScoredScoring.js +11 -11
  138. package/cypress/e2e/ILC/Graphing/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  139. package/cypress/e2e/ILC/Graphing/studentViewSettings.js +6 -4
  140. package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  141. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -19
  142. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
  143. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -19
  144. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingScoringCellShadeCount.js +7 -7
  145. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +10 -11
  146. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +9 -9
  147. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +9 -9
  148. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +9 -9
  149. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +10 -11
  150. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +10 -11
  151. package/cypress/e2e/ILC/GridFill/scoring/manuallyAndNonScored.js +10 -10
  152. package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +8 -9
  153. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsBasic.js +11 -11
  154. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +11 -11
  155. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  156. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +15 -15
  157. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  158. package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +6 -4
  159. package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  160. package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +17 -17
  161. package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternatePoints.js +17 -17
  162. package/cypress/e2e/ILC/ImageHighlight/Scoring/manuallyAndNonScored.js +10 -11
  163. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +21 -21
  164. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +10 -10
  165. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
  166. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeigtsCorrectPointsGreaterThanAlternativePoints.js +19 -19
  167. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
  168. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsScoring.js +10 -10
  169. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
  170. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
  171. package/cypress/e2e/ILC/ImageHighlight/additionalSettings.js +201 -0
  172. package/cypress/e2e/ILC/ImageHighlight/additionalSettingsBasic.js +133 -0
  173. package/cypress/e2e/ILC/ImageHighlight/backgroundImageAndCanvasProperties.js +408 -0
  174. package/cypress/e2e/ILC/ImageHighlight/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  175. package/cypress/e2e/ILC/ImageHighlight/descriptors.js +115 -0
  176. package/cypress/e2e/ILC/ImageHighlight/imageHighlightStyle.js +151 -0
  177. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +4 -2
  178. package/cypress/e2e/ILC/ImageHighlight/toolFunctionalityPreviewTab.js +134 -0
  179. package/cypress/e2e/ILC/ImageHighlight/toolsFunctionalityEditTab.js +185 -0
  180. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +16 -17
  181. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -19
  182. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +16 -17
  183. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +8 -9
  184. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
  185. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsBasic.js +7 -7
  186. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +19 -19
  187. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +19 -19
  188. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  189. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +15 -15
  190. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +8 -8
  191. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +21 -21
  192. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +15 -15
  193. package/cypress/e2e/ILC/ListOrderingDropdown/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  194. package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +4 -2
  195. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialDifferentWeightsBasic.js +1 -1
  196. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  197. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialEqualWeightsBasic.js +2 -2
  198. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/studentViewSettings.js +4 -2
  199. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +15 -15
  200. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +15 -15
  201. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +15 -15
  202. package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +7 -7
  203. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
  204. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +7 -7
  205. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +19 -19
  206. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +19 -19
  207. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  208. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +17 -17
  209. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +8 -8
  210. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +15 -15
  211. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +17 -17
  212. package/cypress/e2e/ILC/ListOrderingNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  213. package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +4 -2
  214. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +13 -13
  215. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +17 -17
  216. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +17 -17
  217. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  218. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +9 -9
  219. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +11 -11
  220. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +21 -21
  221. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +19 -19
  222. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
  223. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +10 -10
  224. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +19 -19
  225. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
  226. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +19 -19
  227. package/cypress/e2e/ILC/Matching/additionalSettings.js +1 -1
  228. package/cypress/e2e/ILC/Matching/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  229. package/cypress/e2e/ILC/Matching/maximumCapacityPerDropzoneSection.js +1 -1
  230. package/cypress/e2e/ILC/Matching/studentViewSettings.js +4 -2
  231. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +46 -46
  232. package/cypress/e2e/ILC/MultipleSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  233. package/cypress/e2e/ILC/MultipleSelection/manuallyAndNonScoredScoring.js +7 -7
  234. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +10 -10
  235. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +57 -57
  236. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsBasic.js +8 -8
  237. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +49 -49
  238. package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +4 -2
  239. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +29 -29
  240. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +29 -29
  241. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +29 -29
  242. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/manuallyAndNonScored.js +9 -9
  243. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +31 -31
  244. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsBasic.js +9 -9
  245. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +29 -29
  246. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +30 -30
  247. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  248. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +29 -29
  249. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +9 -9
  250. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +27 -27
  251. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +28 -28
  252. package/cypress/e2e/ILC/MultipleSelectionGridNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  253. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +3 -3
  254. package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +4 -2
  255. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +18 -19
  256. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +17 -18
  257. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +18 -19
  258. package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +12 -12
  259. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +13 -13
  260. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +19 -19
  261. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +19 -19
  262. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +17 -17
  263. package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  264. package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +6 -4
  265. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -19
  266. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -19
  267. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -19
  268. package/cypress/e2e/ILC/NumberLineLabel/Scoring/manualAndNonScoredScoring.js +11 -11
  269. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +21 -21
  270. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsBasic.js +13 -13
  271. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +21 -21
  272. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +21 -21
  273. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
  274. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsBasic.js +11 -11
  275. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +17 -17
  276. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +19 -19
  277. package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +3 -4
  278. package/cypress/e2e/ILC/NumberLineLabel/studentViewSettings.js +4 -2
  279. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  280. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +21 -21
  281. package/cypress/e2e/ILC/ShortTextResponseNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  282. package/cypress/e2e/ILC/ShortTextResponseNew/conditionalCheckboxes.js +112 -112
  283. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +1 -0
  284. package/cypress/e2e/ILC/ShortTextResponseNew/manuallyAndNonScoredScoring.js +1 -1
  285. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +6 -4
  286. package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +21 -21
  287. package/cypress/e2e/ILC/SingleSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  288. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +1 -1
  289. package/cypress/e2e/ILC/SingleSelection/studentViewSettings.js +4 -2
  290. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +17 -17
  291. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +17 -17
  292. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +17 -17
  293. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/manuallyAndNonScored.js +9 -9
  294. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +19 -19
  295. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsBasic.js +9 -9
  296. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +17 -17
  297. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +19 -19
  298. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  299. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +17 -17
  300. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +9 -9
  301. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +15 -15
  302. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +17 -17
  303. package/cypress/e2e/ILC/SingleSelectionGridNew/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  304. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +3 -3
  305. package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +4 -2
  306. package/cypress/e2e/ILC/TextEntryMath/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  307. package/cypress/e2e/ILC/TextEntryMathWithImage/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  308. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +18 -18
  309. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +18 -18
  310. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +18 -18
  311. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +28 -28
  312. package/cypress/e2e/ILC/TextSelection/Scoring/manuallyAndNonScored.js +8 -8
  313. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsBasic.js +12 -12
  314. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +24 -23
  315. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +38 -37
  316. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +22 -22
  317. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsBasic.js +8 -8
  318. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +20 -20
  319. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +20 -19
  320. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +33 -33
  321. package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  322. package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +4 -2
  323. package/cypress/e2e/ILC/UploadResponse/studentViewSettingsSection.js +6 -4
  324. package/cypress/e2e/ILC/chartsDotsPlot/additionalSettings.js +138 -0
  325. package/cypress/e2e/ILC/chartsDotsPlot/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  326. package/cypress/e2e/ILC/chartsDotsPlot/questionInstruction.js +31 -0
  327. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +23 -26
  328. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +23 -25
  329. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +25 -24
  330. package/cypress/e2e/ILC/chartsDotsPlot/scoring/manualAndNonScoredScoring.js +7 -7
  331. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +15 -15
  332. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +21 -21
  333. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
  334. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
  335. package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +30 -30
  336. package/cypress/e2e/ILC/chartsDotsPlot/specifyCorrectAnswerSection.js +233 -0
  337. package/cypress/e2e/ILC/chartsDotsPlot/studentViewSettings.js +141 -0
  338. package/cypress/fixtures/theme/ilc.json +2 -1
  339. package/cypress/pages/audioPlayerPage.js +4 -1
  340. package/cypress/pages/chartsBarPage.js +21 -1
  341. package/cypress/pages/chartsDotPlotPage.js +141 -9
  342. package/cypress/pages/chartsLinePage.js +1 -1
  343. package/cypress/pages/components/autoScoredStudentViewSettings.js +8 -0
  344. package/cypress/pages/components/colorPopupComponent.js +9 -3
  345. package/cypress/pages/components/draggableOptionContainer.js +1 -1
  346. package/cypress/pages/components/draggableOptionsStyleAndLayoutComponent.js +444 -0
  347. package/cypress/pages/components/figCommonStyleAndLayoutComponent.js +318 -0
  348. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +38 -1
  349. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +34 -0
  350. package/cypress/pages/components/gridQuestionCommonComponent.js +1 -0
  351. package/cypress/pages/components/imageCanvasComponent.js +2 -0
  352. package/cypress/pages/components/index.js +3 -1
  353. package/cypress/pages/components/optionsWrapperComponent.js +1 -2
  354. package/cypress/pages/fillInTheGapsDragAndDropPage.js +161 -2
  355. package/cypress/pages/fillInTheGapsDropdownPage.js +8 -2
  356. package/cypress/pages/fillInTheGapsTextPage.js +7 -1
  357. package/cypress/pages/imageHighlightPage.js +597 -6
  358. package/cypress/pages/numberLineLabelPage.js +26 -33
  359. package/cypress/pages/uploadResponsePage.js +2 -1
  360. 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
 
@@ -314,6 +314,8 @@ const steps = {
314
314
  imageCanvasComponent.canvasHeightInputField()
315
315
  .clear()
316
316
  .type(height);
317
+ imageCanvasComponent.canvasHeightInputField()
318
+ .blur();
317
319
  },
318
320
 
319
321
  /**
@@ -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';
@@ -147,8 +147,7 @@ const steps = {
147
147
  addTextInputToOptionsInputFieldWithImage: (index) => {
148
148
  optionsWrapperComponent.optionsInputField()
149
149
  .eq(index)
150
- .type('Petals')
151
- .should('have.text', '​​​​​​​Petals');
150
+ .type('Petals');
152
151
  },
153
152
 
154
153
  /**
@@ -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);