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