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,533 @@
1
+ import { dialogBoxBase, fillInTheGapsDragAndDropPage } from "../../../pages";
2
+ import { colorPopupComponent } from "../../../pages/components";
3
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
4
+ import utilities from "../../../support/helpers/utilities";
5
+ const css = Cypress.env('css');
6
+ const borderStyles = ["Dashed", "Dotted", "Solid", "None"];
7
+ const panelPlacements = ["Bottom", "Top", "Left", "Right"];
8
+ const optionAlignments = ["Left", "Center", "Right"];
9
+ describe('Create item page - Fill in the gaps with drag and drop: Style and layout customization - Draggable options section', () => {
10
+ before(() => {
11
+ cy.loginAs('admin');
12
+ });
13
+
14
+ describe('Style and layout customization accordion : Draggable options section contents', () => {
15
+ abortEarlySetup();
16
+ before(() => {
17
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
18
+ cy.barsPreLoaderWait();
19
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
20
+ });
21
+
22
+ it('"Draggable options" label should be displayed', () => {
23
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.draggableOptionsLabel(), 'Draggable options');
24
+ });
25
+
26
+ it('"Drag handle icon" label should be displayed', () => {
27
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.dragHandleIconLabel(), 'Drag handle icon');
28
+ });
29
+
30
+ it('3 drag handle icon options should be displayed - "Default", "Arrows" and "None". The "Default" drag handle icon should be in selected state', () => {
31
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.defaultDragHandleIconButton(), 'visible');
32
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.arrowsDragHandleIconButton(), 'visible');
33
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.noneDragHandleIconButton(), 'visible');
34
+ });
35
+
36
+ it('When the user hovers over the drag handle icon options, their name should be displayed on a tooltip', () => {
37
+ fillInTheGapsDragAndDropPage.defaultDragHandleIconButton().verifyTooltip('default');
38
+ fillInTheGapsDragAndDropPage.arrowsDragHandleIconButton().verifyTooltip('arrows');
39
+ fillInTheGapsDragAndDropPage.noneDragHandleIconButton().verifyTooltip('none');
40
+ });
41
+
42
+ fillInTheGapsDragAndDropPage.tests.verifyDraggableOptionsFillColorSectionContents();
43
+
44
+ fillInTheGapsDragAndDropPage.tests.verifyDraggableOptionsBorderColorSectionContents();
45
+
46
+ fillInTheGapsDragAndDropPage.tests.verifyDraggableOptionsBorderStyleSectionContents();
47
+
48
+ fillInTheGapsDragAndDropPage.tests.verifyDraggableOptionsFillColorTooltips();
49
+
50
+ fillInTheGapsDragAndDropPage.tests.verifyDraggableOptionsBorderColorTooltips();
51
+
52
+ fillInTheGapsDragAndDropPage.tests.verifyDraggableOptionSectionContentsCSSAndA11y();
53
+ });
54
+
55
+ describe('Drag handle icon - Edit tab', () => {
56
+ abortEarlySetup();
57
+ before(() => {
58
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
59
+ cy.barsPreLoaderWait();
60
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
61
+ });
62
+
63
+ it('When the "Default" drag handle icon is in selected state, then the drag handle icon of the options in the specify correct answer section should be the "default" icon', () => {
64
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionDragHandleIcon('Default');
65
+ });
66
+
67
+ it(`When the user selects "Arrows" then the drag handle icon of the options in the specify correct answer section should update to "arrows" icon`, () => {
68
+ fillInTheGapsDragAndDropPage.steps.selectDragHandleIconButton('Arrows');
69
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionDragHandleIcon('Arrows');
70
+ });
71
+
72
+ it(`When the user selects "None" then the drag handle icon of the options in the specify correct answer section should not exist`, () => {
73
+ fillInTheGapsDragAndDropPage.steps.selectDragHandleIconButton('None');
74
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionDragHandleIcon('None');
75
+ });
76
+
77
+ });
78
+
79
+ describe('Drag handle icon - Preview tab', () => {
80
+ abortEarlySetup();
81
+ before(() => {
82
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
83
+ cy.barsPreLoaderWait();
84
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
85
+ });
86
+
87
+ it('When the "Default" drag handle icon is in selected state, then the drag handle icon of the options in the preview tab should be the "default" icon', () => {
88
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
89
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionDragHandleIcon('Default');
90
+ });
91
+
92
+ it(`When the user selects "Arrows" then the drag handle icon of the options in the preview tab should update to "arrows" icon`, () => {
93
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
94
+ fillInTheGapsDragAndDropPage.steps.selectDragHandleIconButton('Arrows');
95
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
96
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionDragHandleIcon('Arrows');
97
+ });
98
+
99
+ it(`When the user selects "None" then the drag handle icon of the options in the preview tab should not exist`, () => {
100
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
101
+ fillInTheGapsDragAndDropPage.steps.selectDragHandleIconButton('None');
102
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
103
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionDragHandleIcon('None');
104
+ });
105
+ });
106
+
107
+ describe('Fill color - Edit tab', () => {
108
+ const modifiedColor = 'rgb(121, 60, 60)'
109
+ abortEarlySetup();
110
+ before(() => {
111
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
112
+ cy.barsPreLoaderWait();
113
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
114
+ });
115
+
116
+ it('When the default color block is in selected state in the "Fill color" section, then the background color of the draggable options in the specify correct answer section should be the default selected color', () => {
117
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(0, css.color.defaultBackground);
118
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(1, css.color.defaultBackground);
119
+ });
120
+
121
+ it('When the user selects the "None" color block, it should get in selected state and the no background color should be present for the draggable options in the specify correct answer section', () => {
122
+ fillInTheGapsDragAndDropPage.steps.selectDraggableOptionColorBlock(1);
123
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(0, css.color.defaultBackground);
124
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(1, css.color.defaultBackground);
125
+ });
126
+
127
+ it('When the user clicks on the "Edit color" button, modifies color for the selected color block, then the background color of the draggable options in the specify correct answer section should be the modified selected color', () => {
128
+ fillInTheGapsDragAndDropPage.steps.editDraggableOptionColor(0);
129
+ colorPopupComponent.steps.clickInColorSaturationPalette();
130
+ colorPopupComponent.steps.clickOnOkButton();
131
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(0, modifiedColor);
132
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(1, modifiedColor);
133
+ });
134
+
135
+ it('When the adds a new option, then the background color of the newly added option should be the modified selected color', () => {
136
+ fillInTheGapsDragAndDropPage.steps.addOption();
137
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(0, modifiedColor);
138
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(1, modifiedColor);
139
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(2, modifiedColor);
140
+ });
141
+ });
142
+
143
+ describe('Fill color - Preview tab', () => {
144
+ const modifiedColor = 'rgb(121, 60, 60)'
145
+ abortEarlySetup();
146
+ before(() => {
147
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
148
+ cy.barsPreLoaderWait();
149
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
150
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
151
+ });
152
+
153
+ it('When the default color block is in selected state in the "Fill color" section, then the background color of the draggable options in the preview tab should be the default selected color', () => {
154
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(0, css.color.defaultBackground);
155
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(1, css.color.defaultBackground);
156
+ });
157
+
158
+ it('When the user selects the "None" color block, it should get in selected state and the no background color should be present for the draggable options in the preview tab', () => {
159
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
160
+ fillInTheGapsDragAndDropPage.steps.selectDraggableOptionColorBlock(1);
161
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
162
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(0, css.color.defaultBackground);
163
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(1, css.color.defaultBackground);
164
+ });
165
+
166
+ it('When the user clicks on the "Edit color" button, modifies color for the selected color block, then the color block should get updated accordingly', () => {
167
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
168
+ fillInTheGapsDragAndDropPage.steps.editDraggableOptionColor(0);
169
+ colorPopupComponent.steps.clickInColorSaturationPalette();
170
+ colorPopupComponent.steps.clickOnOkButton();
171
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
172
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(0, modifiedColor);
173
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(1, modifiedColor);
174
+ });
175
+
176
+ it('The background color of the draggable options in the preview tab should be the modified selected color', () => {
177
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
178
+ fillInTheGapsDragAndDropPage.steps.addOption();
179
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
180
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(0, modifiedColor);
181
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(1, modifiedColor);
182
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionFillColor(2, modifiedColor);
183
+ });
184
+ });
185
+
186
+ describe('Border color - Edit tab', () => {
187
+ const modifiedColor = 'rgb(121, 60, 60)'
188
+ abortEarlySetup();
189
+ before(() => {
190
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
191
+ cy.barsPreLoaderWait();
192
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
193
+ });
194
+
195
+ it('When the default color block is in selected state in the "Border color" section, then the border color of the draggable options in the specify correct answer section should be the default selected color', () => {
196
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(0, `1px solid ${css.color.figDefaultComponentBorder}`);
197
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(1, `1px solid ${css.color.figDefaultComponentBorder}`);
198
+ });
199
+
200
+ it('When the user selects the "None" color block, it should get in selected state and the no border color should be present for the draggable options in the specify correct answer section', () => {
201
+ fillInTheGapsDragAndDropPage.steps.selectDraggableOptionColorBlock(3);
202
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(0, `1px solid ${css.color.defaultBackground}`);
203
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(1, `1px solid ${css.color.defaultBackground}`);
204
+ });
205
+
206
+ it('When the user clicks on the "Edit color" button, modifies color for the selected color block, then the border color of the draggable options in the specify correct answer section should be the modified selected color', () => {
207
+ fillInTheGapsDragAndDropPage.steps.editDraggableOptionColor(1);
208
+ colorPopupComponent.steps.clickInColorSaturationPalette();
209
+ colorPopupComponent.steps.clickOnOkButton();
210
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(0, `1px solid ${modifiedColor}`);
211
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(1, `1px solid ${modifiedColor}`);
212
+ });
213
+
214
+ it('When the adds a new option, then the border color of the newly added option should be the modified selected color', () => {
215
+ fillInTheGapsDragAndDropPage.steps.addOption();
216
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(0, `1px solid ${modifiedColor}`);
217
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(1, `1px solid ${modifiedColor}`);
218
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(2, `1px solid ${modifiedColor}`);
219
+ });
220
+ });
221
+
222
+ describe('Border color - Preview tab', () => {
223
+ const modifiedColor = 'rgb(121, 60, 60)'
224
+ abortEarlySetup();
225
+ before(() => {
226
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
227
+ cy.barsPreLoaderWait();
228
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
229
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
230
+ });
231
+
232
+ it('When the default color block is in selected state in the "Fill color" section, then the border color of the draggable options in the preview tab should be the default selected color', () => {
233
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(0, `1px solid ${css.color.figDefaultComponentBorder}`);
234
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(1, `1px solid ${css.color.figDefaultComponentBorder}`);
235
+ });
236
+
237
+ it('When the user selects the "None" color block, it should get in selected state and the no border color should be present for the draggable options in the preview tab', () => {
238
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
239
+ fillInTheGapsDragAndDropPage.steps.selectDraggableOptionColorBlock(3);
240
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
241
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(0, `1px solid ${css.color.defaultBackground}`);
242
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(1, `1px solid ${css.color.defaultBackground}`);
243
+ });
244
+
245
+ it('When the user clicks on the "Edit color" button, modifies color for the selected color block, then the color block should get updated accordingly', () => {
246
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
247
+ fillInTheGapsDragAndDropPage.steps.editDraggableOptionColor(1);
248
+ colorPopupComponent.steps.clickInColorSaturationPalette();
249
+ colorPopupComponent.steps.clickOnOkButton();
250
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
251
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(0, `1px solid ${modifiedColor}`);
252
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(1, `1px solid ${modifiedColor}`);
253
+ });
254
+
255
+ it('The border color of the draggable options in the preview tab should be the modified selected color', () => {
256
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
257
+ fillInTheGapsDragAndDropPage.steps.addOption();
258
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
259
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(0, `1px solid ${modifiedColor}`);
260
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(1, `1px solid ${modifiedColor}`);
261
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderColor(2, `1px solid ${modifiedColor}`);
262
+ });
263
+ });
264
+
265
+ describe('Color popup functionality', () => {
266
+ abortEarlySetup();
267
+ before(() => {
268
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
269
+ cy.barsPreLoaderWait();
270
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
271
+ });
272
+
273
+ it('When the user clicks on the \'Edit color\' present in an \'Text color\' popup, then a select color popup should be displayed', () => {
274
+ fillInTheGapsDragAndDropPage.steps.editDraggableOptionColor(0);
275
+ colorPopupComponent.steps.verifyColorPopupIsDisplayed();
276
+ });
277
+
278
+ colorPopupComponent.tests.verifyColorPopupSelectColorTitle();
279
+
280
+ colorPopupComponent.tests.verifySaturationAndOpacityGradientPalette('rgb(255, 255, 255)');
281
+
282
+ colorPopupComponent.tests.verifyColorHuePaletteAndHexInputField('rgb(255, 0, 0)', '#ffffff');
283
+
284
+ colorPopupComponent.tests.verifyColorPopupFunctionality();
285
+ });
286
+
287
+ describe('Color popup - Updating the selected color', () => {
288
+ abortEarlySetup();
289
+ before(() => {
290
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
291
+ cy.barsPreLoaderWait();
292
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
293
+ });
294
+
295
+ it('When the user moves the color picker in the color saturation palette, color in the selected color block and the hex code should change, color in the hue color palette and the opacity value should not change', () => {
296
+ fillInTheGapsDragAndDropPage.steps.editDraggableOptionColor(0);
297
+ colorPopupComponent.steps.clickInColorSaturationPalette();
298
+ colorPopupComponent.steps.verifySelectedColorBlock('rgb(121, 60, 60)');
299
+ colorPopupComponent.steps.verifySaturationPaletteColor('rgb(119, 60, 60)');
300
+ colorPopupComponent.steps.verifyHuePaletteColor('rgb(255, 0, 0)');
301
+ colorPopupComponent.steps.verifyHexValue('#793c3c');
302
+ colorPopupComponent.steps.verifyOpacityGradientPaletteColor('rgb(119, 60, 60)');
303
+ });
304
+
305
+ it('When the user moves the color picker in the color hue palette, color in the selected color block, the hex code and the saturation color palette should change and the opacity value should not change', () => {
306
+ colorPopupComponent.steps.clickInColorHuePalette();
307
+ colorPopupComponent.steps.verifySelectedColorBlock('rgb(60, 121, 121)');
308
+ colorPopupComponent.steps.verifyHuePaletteColor('rgb(0, 255, 255)');
309
+ colorPopupComponent.steps.verifyHexValue('#3c7979');
310
+ colorPopupComponent.steps.verifyOpacityGradientPaletteColor('rgb(60, 119, 119)');
311
+ });
312
+
313
+ it('When the user changes the color using hex code, the color in color saturation palette and color hue palette should change and the opacity value should not change', () => {
314
+ colorPopupComponent.steps.addInputToHexInputField('#ff0000');
315
+ colorPopupComponent.steps.verifyHexValue('#ff0000');
316
+ colorPopupComponent.steps.verifySaturationPaletteColor('rgb(255, 0, 0)');
317
+ colorPopupComponent.steps.verifyHuePaletteColor('rgb(255, 0, 0)');
318
+ colorPopupComponent.steps.verifyOpacityGradientPaletteColor('rgb(255, 0, 0)');
319
+ });
320
+ });
321
+
322
+ describe('Color popup - \'Cancel\' and \'Ok\' buttons', () => {
323
+ abortEarlySetup();
324
+ before(() => {
325
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
326
+ cy.barsPreLoaderWait();
327
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
328
+ });
329
+
330
+ it('When the user modifies the selected color in the color popup and clicks on \'Cancel\' button, then the popup should close, the color block should not change and the modifications in the color popup should not persist', () => {
331
+ fillInTheGapsDragAndDropPage.steps.editDraggableOptionColor(0);
332
+ colorPopupComponent.steps.addInputToHexInputField('#ff0000');
333
+ colorPopupComponent.steps.clickOnOpacityGradientHuePalette();
334
+ colorPopupComponent.steps.clickOnCancelButton();
335
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
336
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionColorBlockColor(0, css.color.defaultBackground);
337
+ });
338
+
339
+ it('When the user modifies the selected color in the color popup and clicks on \'Ok\' button, then the popup should close, the color block should change to the new selected color and the modifications in the color popup should persist', () => {
340
+ cy.log('Pre-step: clicking on the edit color button')
341
+ fillInTheGapsDragAndDropPage.steps.editDraggableOptionColor(0);
342
+ colorPopupComponent.steps.addInputToHexInputField('#ff0000');
343
+ colorPopupComponent.steps.clickOnOpacityGradientHuePalette();
344
+ colorPopupComponent.steps.clickOnOkButton();
345
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
346
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionColorBlockColor(0, 'rgba(255, 0, 0, 0.5)');
347
+ });
348
+ });
349
+
350
+ describe('Border style - Edit tab', () => {
351
+ abortEarlySetup();
352
+ before(() => {
353
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
354
+ cy.barsPreLoaderWait();
355
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
356
+ });
357
+
358
+ it('When the "Solid" border style is in selected state, then the border style of the draggable options in the specify correct answer section should be "solid"', () => {
359
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderStyle(0, 'solid');
360
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderStyle(1, 'solid');
361
+ });
362
+
363
+ borderStyles.forEach((style) => {
364
+ it(`When the user selects ${style}, then the border style of the draggable options in the specify correct answer section should update to ${style}`, () => {
365
+ fillInTheGapsDragAndDropPage.steps.selectDraggableOptionBorderStyleToggleButton(style);
366
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderStyle(0, style);
367
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderStyle(1, style);
368
+ });
369
+ })
370
+ });
371
+
372
+ describe('Border style - Preview tab', () => {
373
+ abortEarlySetup();
374
+ before(() => {
375
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
376
+ cy.barsPreLoaderWait();
377
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
378
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
379
+ });
380
+
381
+ it('When the "Solid" border style is in selected state, then the border style of the draggable options in the preview tab should be "solid"', () => {
382
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderStyle(0, 'solid');
383
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderStyle(1, 'solid');
384
+ });
385
+
386
+ borderStyles.forEach((style) => {
387
+ it(`When the user selects ${style}, then the border style of the draggable options in the preview tab should update to ${style}`, () => {
388
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
389
+ fillInTheGapsDragAndDropPage.steps.selectDraggableOptionBorderStyleToggleButton(style);
390
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
391
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderStyle(0, style);
392
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionBorderStyle(1, style);
393
+ });
394
+ })
395
+ });
396
+
397
+ describe('Draggable option panel - Edit tab', () => {
398
+ abortEarlySetup();
399
+ before(() => {
400
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
401
+ cy.barsPreLoaderWait();
402
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
403
+ });
404
+
405
+ it('"Draggable option panel" label should be displayed', () => {
406
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.draggableOptionPanelLabel(), 'Draggable option panel');
407
+ })
408
+
409
+ it('"Panel placement" label and four toggle buttons should be displayed - "Bottom", "Top", "Left", "Right". By default "Bottom" button should be in selected state', () => {
410
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.panelPlacementLabel(), 'Panel placement');
411
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.bottomPanelPlacementToggleButton(), 'Bottom');
412
+ fillInTheGapsDragAndDropPage.steps.verifyPanelPlacementToggleButtonSelectedState('Bottom');
413
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.bottomPanelPlacementToggleButton(), 'visible');
414
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.topPanelPlacementToggleButton(), 'Top');
415
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.topPanelPlacementToggleButton(), 'visible');
416
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.leftPanelPlacementToggleButton(), 'Left');
417
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.leftPanelPlacementToggleButton(), 'visible');
418
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.rightPanelPlacementToggleButton(), 'Right');
419
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.rightPanelPlacementToggleButton(), 'visible');
420
+ });
421
+
422
+ it('"Option alignment in panel" label and three toggle buttons should be displayed - "Left", "Center", "Right". By default "Left" button should be in selected state', () => {
423
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.optionAlignmentInPanelLabel(), 'Option alignment in panel');
424
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.leftOptionAlignmentToggleButton(), 'Left');
425
+ fillInTheGapsDragAndDropPage.steps.verifyOptionAlignmentToggleButtonSelectedState('Left');
426
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.leftOptionAlignmentToggleButton(), 'visible');
427
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.centerOptionAlignmentToggleButton(), 'Center');
428
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.centerOptionAlignmentToggleButton(), 'visible');
429
+ utilities.verifyInnerText(fillInTheGapsDragAndDropPage.rightOptionAlignmentToggleButton(), 'Right');
430
+ utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.rightOptionAlignmentToggleButton(), 'visible');
431
+ });
432
+
433
+ it('CSS of "Draggable option panel" section contents', { tags: 'css' }, () => {
434
+ utilities.verifyCSS(fillInTheGapsDragAndDropPage.draggableOptionPanelLabel(), {
435
+ 'color': css.color.labels,
436
+ 'font-size': css.fontSize.default,
437
+ 'font-weight': css.fontWeight.semibold
438
+ });
439
+ utilities.verifyCSS(fillInTheGapsDragAndDropPage.panelPlacementLabel(), {
440
+ 'color': css.color.labels,
441
+ 'font-size': css.fontSize.normal,
442
+ 'font-weight': css.fontWeight.semibold
443
+ });
444
+ utilities.verifyCSS(fillInTheGapsDragAndDropPage.optionAlignmentInPanelLabel(), {
445
+ 'color': css.color.labels,
446
+ 'font-size': css.fontSize.normal,
447
+ 'font-weight': css.fontWeight.semibold
448
+ });
449
+ utilities.verifyCSS(fillInTheGapsDragAndDropPage.topPanelPlacementToggleButton(), {
450
+ 'color': css.color.secondaryBtn,
451
+ 'background-color': css.color.secondaryBtnBg,
452
+ 'font-size': css.fontSize.default,
453
+ 'font-weight': css.fontWeight.regular,
454
+ 'border': `1px solid ${css.color.figDefaultComponentBorder}`
455
+ });
456
+ utilities.verifyCSS(fillInTheGapsDragAndDropPage.bottomPanelPlacementToggleButton(), {
457
+ 'color': css.color.defaultBackground,
458
+ 'background-color': css.color.secondaryBtnBg,
459
+ 'font-size': css.fontSize.default,
460
+ 'font-weight': css.fontWeight.regular,
461
+ 'border': `2px solid ${css.color.secondaryBtnActive}`
462
+ });
463
+ });
464
+
465
+ it('Accessibility of "Draggable option panel"', { tags: 'a11y' }, () => {
466
+ cy.checkAccessibility(fillInTheGapsDragAndDropPage.componentContainerLabel().parents('.ngie-accordion-detail'))
467
+ });
468
+
469
+ it('CSS of "Draggable option panel" - hover state', { tags: 'css' }, () => {
470
+ utilities.hoverOverElement(fillInTheGapsDragAndDropPage.topPanelPlacementToggleButton());
471
+ utilities.verifyCSS(fillInTheGapsDragAndDropPage.topPanelPlacementToggleButton(), {
472
+ 'color': css.color.secondaryBtn,
473
+ 'background-color': css.color.secondaryBtnBg,
474
+ 'font-size': css.fontSize.default,
475
+ 'font-weight': css.fontWeight.regular,
476
+ 'border': `2px solid ${css.color.figDefaultComponentBorder}`
477
+ });
478
+ utilities.hoverAwayFromElement();
479
+ });
480
+ });
481
+
482
+ describe('Panel placement - Preview tab', () => {
483
+ abortEarlySetup();
484
+ before(() => {
485
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
486
+ cy.barsPreLoaderWait();
487
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
488
+ });
489
+
490
+ panelPlacements.forEach((panelPlacement) => {
491
+ it(`When the user selects ${panelPlacement}, then the placement of the draggable options panel in the preview tab should update to ${panelPlacement}`, () => {
492
+ fillInTheGapsDragAndDropPage.steps.selectPanelPlacementToggleButton(panelPlacement);
493
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
494
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionPanelPlacement(panelPlacement);
495
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
496
+ });
497
+ })
498
+ });
499
+
500
+ describe('Option alignment - Edit tab', () => {
501
+ abortEarlySetup();
502
+ before(() => {
503
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
504
+ cy.barsPreLoaderWait();
505
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
506
+ });
507
+
508
+ optionAlignments.forEach((optionAlignment) => {
509
+ it(`When the user selects ${optionAlignment}, then the alignment of the draggable options in the draggable options panel should update to ${optionAlignment}`, () => {
510
+ fillInTheGapsDragAndDropPage.steps.selectOptionAlignmentToggleButton(optionAlignment);
511
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionAlignment(optionAlignment);
512
+ });
513
+ })
514
+ });
515
+
516
+ describe('Option alignment - Preview tab', () => {
517
+ abortEarlySetup();
518
+ before(() => {
519
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
520
+ cy.barsPreLoaderWait();
521
+ fillInTheGapsDragAndDropPage.steps.expandStyleAndLayoutCustomizationAccordion();
522
+ });
523
+
524
+ optionAlignments.forEach((optionAlignment) => {
525
+ it(`When the user selects ${optionAlignment}, then the alignment of the draggable options in the draggable options panel should update to ${optionAlignment}`, () => {
526
+ fillInTheGapsDragAndDropPage.steps.selectOptionAlignmentToggleButton(optionAlignment);
527
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
528
+ fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionAlignment(optionAlignment);
529
+ fillInTheGapsDragAndDropPage.steps.switchToEditTab();
530
+ });
531
+ })
532
+ });
533
+ });