itemengine-cypress-automation 1.0.199 → 1.0.200

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
@@ -34,7 +34,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
34
34
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
35
35
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
36
36
  chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
37
- chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
37
+ //chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
38
38
  chartsDotPlotPage.steps.switchToPreviewTab();
39
39
  });
40
40
 
@@ -56,7 +56,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
56
56
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
57
57
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
58
58
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
59
- cy.log('When the user clicks on \'Check answer\' button without attempting the question, locked bar should not have icon, correct icon should be displayed in dot column set correctly by default, incorrect icon should be displayed in dot column set to incorrectly by default and correct/incorrect status message and correct answer section should not be displayed')
59
+ /*cy.log('When the user clicks on \'Check answer\' button without attempting the question, locked bar should not have icon, correct icon should be displayed in dot column set correctly by default, incorrect icon should be displayed in dot column set to incorrectly by default and correct/incorrect status message and correct answer section should not be displayed')
60
60
  chartsDotPlotPage.steps.checkAnswer();
61
61
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
62
62
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
@@ -65,7 +65,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
65
65
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
66
66
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
67
67
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
68
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();
68
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
69
69
  });
70
70
 
71
71
  it('When the user attempts the question with responses from the correct accordion, then the user should be awarded full points and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly, a status message and correct answer section should not be displayed', () => {
@@ -83,7 +83,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
83
83
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
84
84
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
85
85
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
86
- cy.log('When the user has attempted the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly, a status message and correct answer section should not be displayed')
86
+ /*cy.log('When the user has attempted the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly, a status message and correct answer section should not be displayed')
87
87
  chartsDotPlotPage.steps.checkAnswer();
88
88
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
89
89
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
@@ -92,7 +92,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
92
92
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
93
93
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
94
94
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
95
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
95
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
96
96
  });
97
97
 
98
98
  it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with points specified for alternative accordion (less than full points) and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly, a status message and correct answer section should not be displayed', () => {
@@ -111,7 +111,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
111
111
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
112
112
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
113
113
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
114
- cy.log('When the user has attempted the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly, a status message and correct answer section should not be displayed')
114
+ /*cy.log('When the user has attempted the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly, a status message and correct answer section should not be displayed')
115
115
  chartsDotPlotPage.steps.checkAnswer();
116
116
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
117
117
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
@@ -120,7 +120,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
120
120
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
121
121
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
122
122
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
123
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
123
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
124
124
  });
125
125
 
126
126
  it('When the user attempts the question with partially correct options exclusively from the correct accordion, then the user should be awarded points of the correctly attempted response and on switching to \'Grading\' view, correct icon should be displayed in dot column responses from correct accordion and incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section with all correct answers from the correct accordion should be displayed', () => {
@@ -145,7 +145,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
145
145
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
146
146
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
147
147
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
148
- cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column responses from correct accordion and incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section should not be displayed')
148
+ /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column responses from correct accordion and incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section should not be displayed')
149
149
  chartsDotPlotPage.steps.checkAnswer();
150
150
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
151
151
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
@@ -154,7 +154,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
154
154
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
155
155
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
156
156
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
157
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
157
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
158
158
  });
159
159
 
160
160
  it('When the user attempts the question with partially correct options exclusively from the alternative accordion, then the user should be awarded points of the correctly attempted response and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly from alternate accordion, incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section with all correct answers from the correct accordion should be displayed', () => {
@@ -179,7 +179,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
179
179
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
180
180
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
181
181
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
182
- cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly from alternate accordion, incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section should not be displayed')
182
+ /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly from alternate accordion, incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section should not be displayed')
183
183
  chartsDotPlotPage.steps.checkAnswer();
184
184
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
185
185
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
@@ -188,7 +188,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
188
188
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
189
189
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
190
190
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
191
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
191
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
192
192
  });
193
193
 
194
194
  it('When the user attempts the question partially correct with all the responses correct as per the alternate accordion but one response incomplete, then the user should be awarded points of the correctly attempted response and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly from correct accordion, incorrect icon should be displayed in dot column set incorrectly from the alternative accordion and a status message should not be displayed and correct answer section with all correct answers from the correct accordion should be displayed', () => {
@@ -213,7 +213,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
213
213
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
214
214
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
215
215
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
216
- cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed in the dot column from the correct accordion, incorrect icon should be displayed in the dot column from the alternative accordion and, a status message should not be displayed and correct answer section should not be displayed')
216
+ /*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed in the dot column from the correct accordion, incorrect icon should be displayed in the dot column from the alternative accordion and, a status message should not be displayed and correct answer section should not be displayed')
217
217
  chartsDotPlotPage.steps.checkAnswer();
218
218
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
219
219
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
@@ -222,7 +222,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
222
222
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
223
223
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
224
224
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
225
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
225
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
226
226
  });
227
227
 
228
228
  it('When the user has attempted the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with points of the correctly attempted response and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly from correct accordion, incorrect icon should be displayed in dot column set incorrectly from the alternative accordion as score achieved from the correct responses is more than alternate responses, a status message should not be displayed and correct answer section with all correct answers from the correct accordion should be displayed', () => {
@@ -247,7 +247,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
247
247
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
248
248
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
249
249
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
250
- cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly from correct accordion, incorrect icon should be displayed in dot column set incorrectly from the alternative accordion, a status message should not be displayed and correct answer section should not be displayed')
250
+ /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly from correct accordion, incorrect icon should be displayed in dot column set incorrectly from the alternative accordion, a status message should not be displayed and correct answer section should not be displayed')
251
251
  chartsDotPlotPage.steps.checkAnswer();
252
252
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
253
253
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
@@ -256,7 +256,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
256
256
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
257
257
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
258
258
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
259
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
259
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
260
260
  });
261
261
 
262
262
  it('Race condition : When the user attempts the question with the common response between correct and alternative accordion, then the user should be awarded with points of the correctly attempted response and on switching to \'Grading\' view, correct icon should be displayed in common dot column attempted correctly, incorrect icon should be displayed in dot column set incorrectly, correct/incorrect status message should be displayed and correct answer section with all correct answers from the correct accordion should be displayed', () => {
@@ -280,7 +280,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
280
280
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1, defaultDots: 0 });
281
281
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
282
282
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
283
- cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in common dot column attempted correctly, incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section should not be displayed')
283
+ /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in common dot column attempted correctly, incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section should not be displayed')
284
284
  chartsDotPlotPage.steps.checkAnswer();
285
285
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
286
286
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
@@ -289,7 +289,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
289
289
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
290
290
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
291
291
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
292
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
292
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
293
293
  });
294
294
 
295
295
  it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icon should be displayed in dot column attempted incorrectly, a status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
@@ -315,7 +315,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
315
315
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
316
316
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
317
317
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
318
- cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed in dot column attempted incorrectly, a status message should not be displayed and correct answer section should not be displayed')
318
+ /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed in dot column attempted incorrectly, a status message should not be displayed and correct answer section should not be displayed')
319
319
  chartsDotPlotPage.steps.checkAnswer();
320
320
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
321
321
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
@@ -324,7 +324,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
324
324
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
325
325
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
326
326
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
327
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
327
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
328
328
  });
329
329
 
330
330
  it('Overachiever case: When the user attempts the question with more number of correct responses from the alternate tab than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternate tab answers then on switching to the \'Grading view\', then points awarded should be of the correct accordion, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternate tab responses, correct/incorrect answer label and its border should not be displayed and correct answer container should be displayed with correct accordion answers for the responses marked incorrect', () => {
@@ -367,7 +367,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
367
367
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1, defaultDots: 0 });
368
368
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
369
369
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
370
- cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, correct icons should be displayed in the correct responses from the correct accordion, incorrect icons should be displayed in the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
370
+ /*cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, correct icons should be displayed in the correct responses from the correct accordion, incorrect icons should be displayed in the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
371
371
  chartsDotPlotPage.steps.checkAnswer();
372
372
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
373
373
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
@@ -376,7 +376,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
376
376
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
377
377
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
378
378
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
379
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
379
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
380
380
  });
381
381
  });
382
382
  });
@@ -25,7 +25,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
25
25
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 2, min: 1, interval: 1, defaultDots: 0 });
26
26
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
27
27
  chartsDotPlotPage.steps.allotPoints(20);
28
- chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
28
+ //chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
29
29
  chartsDotPlotPage.steps.setToleranceThresholdValue(1);
30
30
  });
31
31
 
@@ -45,20 +45,20 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
45
45
  chartsDotPlotPage.steps.resetQuestionPreview();
46
46
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 2, min: 1, interval: 1, defaultDots: 0 });
47
47
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 3, min: 1, interval: 1, defaultDots: 0 });
48
- chartsDotPlotPage.steps.verifyPreviewScore(20,20);
48
+ chartsDotPlotPage.steps.verifyPreviewScore(20, 20);
49
49
  chartsDotPlotPage.steps.switchToGradingView();
50
50
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
51
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1});
52
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
51
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
52
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
53
53
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
54
54
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
55
- cy.log('When user attempt question by setting the dot column with dots as per tolerance value and clicks on \'Check answer\' button, then dot columns should have correct icons and status message \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
55
+ /*cy.log('When user attempt question by setting the dot column with dots as per tolerance value and clicks on \'Check answer\' button, then dot columns should have correct icons and status message \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
56
56
  chartsDotPlotPage.steps.checkAnswer();
57
57
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
58
58
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1});
59
59
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
60
60
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
61
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
61
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');*/
62
62
  });
63
63
 
64
64
  it('When user attempt question partially correct by setting some dot column with dots as per tolerance value, some by setting incorrect number of dots and some incomplete, then user should be awarded 0 points in preview tab and switching to grading view, correct dot columns should have correct icons, incorrect dot columns should have incorrect icons and status message \'Your answer is incorrect\' should be displayed and correct answer section should be displayed', () => {
@@ -68,22 +68,22 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
68
68
  chartsDotPlotPage.steps.verifyPreviewScore(0, 20);
69
69
  chartsDotPlotPage.steps.switchToGradingView();
70
70
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
71
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1});
72
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0});
73
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
71
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
72
+ chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
73
+ chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
74
74
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
75
75
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
76
76
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
77
77
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
78
78
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
79
- cy.log('When user attempt question partially correct by setting some dot column with dots as per tolerance value, some by setting incorrect number of dots and some incomplete and clicks on \'Check answer\' button, then correct dot columns should have correct icons, incorrect dot columns should have incorrect icons and status message \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
79
+ /*cy.log('When user attempt question partially correct by setting some dot column with dots as per tolerance value, some by setting incorrect number of dots and some incomplete and clicks on \'Check answer\' button, then correct dot columns should have correct icons, incorrect dot columns should have incorrect icons and status message \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
80
80
  chartsDotPlotPage.steps.checkAnswer();
81
81
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
82
82
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1});
83
83
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0});
84
84
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
85
85
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
86
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
86
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
87
87
  });
88
88
 
89
89
  it('When the user attempts the question incorrectly by setting dots in the dot column outside the tolerance range, then user should be awarded 0 points in preview tab and switching to grading view, incorrect dot columns should have incorrect icons and status message \'Your answer is incorrect\' should be displayed and correct answer section should be displayed', () => {
@@ -94,22 +94,22 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
94
94
  chartsDotPlotPage.steps.verifyPreviewScore(0, 20);
95
95
  chartsDotPlotPage.steps.switchToGradingView();
96
96
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
97
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0});
98
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
99
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
97
+ chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
98
+ chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
99
+ chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
100
100
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
101
101
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
102
102
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
103
103
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
104
104
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
105
- cy.log('When the user attempts the question incorrectly by setting dots in the dot column outside the tolerance range and clicks on \'Check answer\' button, then incorrect dot columns should have incorrect icons and status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed');
105
+ /*cy.log('When the user attempts the question incorrectly by setting dots in the dot column outside the tolerance range and clicks on \'Check answer\' button, then incorrect dot columns should have incorrect icons and status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed');
106
106
  chartsDotPlotPage.steps.checkAnswer();
107
107
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
108
108
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0});
109
109
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
110
110
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
111
111
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
112
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
112
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
113
113
  });
114
114
 
115
115
  it('When the user attempts the question correctly by setting dots in the dot column as per specify correct answer section, then user should be awarded full points in preview tab and switching to grading view, correct dot columns should have correct icons and status message \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
@@ -119,17 +119,17 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
119
119
  chartsDotPlotPage.steps.verifyPreviewScore(20, 20);
120
120
  chartsDotPlotPage.steps.switchToGradingView();
121
121
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
122
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1});
123
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
122
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
123
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
124
124
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
125
125
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
126
- cy.log('When the user attempts the question correctly by setting dots in the dot column as per specify correct answer section and clicks on \'Check answer\' button, then correct dot columns should have correct icons and status message \'Your answer is correct\' should be displayed');
126
+ /*cy.log('When the user attempts the question correctly by setting dots in the dot column as per specify correct answer section and clicks on \'Check answer\' button, then correct dot columns should have correct icons and status message \'Your answer is correct\' should be displayed');
127
127
  chartsDotPlotPage.steps.checkAnswer();
128
128
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
129
129
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1});
130
130
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
131
131
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
132
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
132
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');*/
133
133
  });
134
134
 
135
135
  it('When the user attempts the question correctly by setting dots in the empty dot column as per tolerance range, then user should be awarded 0 points in preview tab and switching to grading view, empty dot column should have correct icon and status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed', () => {
@@ -138,22 +138,22 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
138
138
  chartsDotPlotPage.steps.verifyPreviewScore(0, 20);
139
139
  chartsDotPlotPage.steps.switchToGradingView();
140
140
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
141
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0});
142
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0});
143
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
141
+ chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
142
+ chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
143
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
144
144
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
145
145
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
146
146
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
147
147
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
148
148
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
149
- cy.log('When the user attempts the question correctly by setting dots in the empty dot column as per tolerance range and clicks on \'Check answer\' button, then empty dot column should have correct icon and status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed');
149
+ /*cy.log('When the user attempts the question correctly by setting dots in the empty dot column as per tolerance range and clicks on \'Check answer\' button, then empty dot column should have correct icon and status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed');
150
150
  chartsDotPlotPage.steps.checkAnswer();
151
151
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
152
152
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0});
153
153
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0});
154
154
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
155
155
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
156
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
156
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
157
157
  });
158
158
 
159
159
  it('When the user updates the tolerance/threshold value in edit tab then tolerance value should get updated in preview tab and when user attempts the question correctly by setting dots in the dot column as per tolerance range, then user should be awarded full points in preview tab and switching to grading view, correct dot columns should have correct icon and status message \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
@@ -165,20 +165,20 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
165
165
  chartsDotPlotPage.steps.verifyPreviewScore(20, 20);
166
166
  chartsDotPlotPage.steps.switchToGradingView();
167
167
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
168
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0});
169
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
170
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
168
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
169
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
170
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
171
171
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
172
172
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
173
173
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
174
- cy.log('When user attempts the question correctly by setting dots in the dot column as per tolerance range and clicks on \'Check answer\' button, then correct dot columns should have correct icon and status message \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
174
+ /*cy.log('When user attempts the question correctly by setting dots in the dot column as per tolerance range and clicks on \'Check answer\' button, then correct dot columns should have correct icon and status message \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
175
175
  chartsDotPlotPage.steps.checkAnswer();
176
176
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
177
177
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0});
178
178
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
179
179
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
180
180
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
181
- chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
181
+ chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
182
182
  });
183
183
  });
184
184
  });
@@ -0,0 +1,233 @@
1
+ import { chartsDotPlotPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+ import utilities from "../../../support/helpers/utilities";
4
+ const css = Cypress.env('css');
5
+
6
+ describe('Create Item page - Charts - Dot plot: Specify correct answer, Alternative correct answer', () => {
7
+ before(() => {
8
+ cy.loginAs('admin');
9
+ });
10
+
11
+ describe('Specify correct answer section - \'Correct\' accordion', () => {
12
+ abortEarlySetup();
13
+ before(() => {
14
+ chartsDotPlotPage.steps.navigateToCreateQuestion('charts');
15
+ chartsDotPlotPage.steps.addTextInQuestionInstructionsInputField('Dot plot');
16
+ cy.barsPreLoaderWait();
17
+ chartsDotPlotPage.steps.selectDotPlot();
18
+ });
19
+
20
+ chartsDotPlotPage.tests.verifyAutoScoredSpecifyCorrectAnswerHeaderSectionContents('charts');
21
+
22
+ chartsDotPlotPage.tests.verifySpecifyCorrectAnswerAccordionContentsAndFunctionality('Correct');
23
+ });
24
+
25
+ describe('Specify correct answer section - \'Alternative\' accordion', () => {
26
+ abortEarlySetup();
27
+ before(() => {
28
+ chartsDotPlotPage.steps.navigateToCreateQuestion('charts');
29
+ cy.barsPreLoaderWait();
30
+ chartsDotPlotPage.steps.selectDotPlot();
31
+ chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(1, { point: 1, min: 0, interval: 0.25, defaultDots: 0 });
32
+ chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 0, interval: 0.25 });
33
+ });
34
+
35
+ it('\'+ Add alternative answer\' button should be present', () => {
36
+ utilities.verifyInnerText(chartsDotPlotPage.alternativeAnswerButton(), 'Add alternative answer');
37
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.alternativeAnswerButton(), 'visible');
38
+ chartsDotPlotPage.alternativeAnswerButton()
39
+ .verifyPseudoClassBeforeProperty('content', '""');
40
+ });
41
+
42
+ it('CSS of \'Add Alternative answer\' button', { tags: 'css' }, () => {
43
+ utilities.verifyCSS(chartsDotPlotPage.alternativeAnswerButton().find('p'), {
44
+ 'color': css.color.activeButtons,
45
+ 'font-size': css.fontSize.default,
46
+ 'font-weight': css.fontWeight.regular
47
+ });
48
+ chartsDotPlotPage.alternativeAnswerButton()
49
+ .verifyPseudoClassBeforeProperty('color', css.color.activeButtons);
50
+ });
51
+
52
+ it('When user have not set correct answer in correct accordion, and clicks on \'+ Add alternative answer\' button then alternative accordion should be added and error message should not be displayed', () => {
53
+ chartsDotPlotPage.steps.addAlternativeAnswerAccordion(1);
54
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.errorMessage(), 'notExist');
55
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.dialogBox(), 'notExist');
56
+ });
57
+
58
+ it('When user has added an alternative answer accordion, then the newly added alternative answer accordion should be in expanded state and the correct answer accordion should be in collapsed state', () => {
59
+ chartsDotPlotPage.steps.verifyCorrectAnswerAccordionIsCollapsed();
60
+ chartsDotPlotPage.steps.verifyAlternateAnswerAccordionIsExpanded(0);
61
+ });
62
+
63
+ chartsDotPlotPage.tests.verifySpecifyCorrectAnswerAccordionContentsAndFunctionality('Alternative');
64
+
65
+ it('Locked dot column should be displayed in alternative accordion', () => {
66
+ chartsDotPlotPage.steps.verifyLockedDotColumnSpecifyCorrectAnswer({ point: 1, min: 0, interval: 0.25 });
67
+ });
68
+
69
+ it('User should be able to add another alternative answer for the question using \'Add alternative answer\' button and the label for this new accordion should be \'Alternative 2\'', () => {
70
+ chartsDotPlotPage.steps.addAlternativeAnswerAccordion(1);
71
+ });
72
+
73
+ it('User should be able to remove alternative correct answer by clicking on the \'Delete\' icon button alongside alternative answer accordion and the label of the alternative answer accordions should get updated accordingly', () => {
74
+ cy.log('Set correct answer and points in alternative 2 accordion, then switch to alternative 1 accordion and click delete icon button');
75
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 2, min: 0, interval: 0.25, defaultDots: 0 })
76
+ chartsDotPlotPage.steps.allotPoints(5);
77
+ chartsDotPlotPage.steps.deleteAlternativeAnswerAccordion(0);
78
+ chartsDotPlotPage.steps.verifyAlternativeAnswerAccordionNotExists(1);
79
+ chartsDotPlotPage.steps.verifyAlternativeAnswerAccordionLabel(0);
80
+ });
81
+
82
+ it('When correct answers and points are set in alternative answer and user clicks on correct answer accordion, then correct answer accordion should be expanded and the alternative answer accordion should be collapsed', () => {
83
+ chartsDotPlotPage.steps.expandCorrectAnswerAccordion();
84
+ chartsDotPlotPage.steps.verifyAlternateAnswerAccordionIsCollapsed(0);
85
+ });
86
+ });
87
+
88
+ describe('Control buttons functionality', () => {
89
+ abortEarlySetup();
90
+ before(() => {
91
+ chartsDotPlotPage.steps.navigateToCreateQuestion('charts');
92
+ cy.barsPreLoaderWait();
93
+ chartsDotPlotPage.steps.selectDotPlot();
94
+ });
95
+
96
+ it(`Undo, Redo and Reset control options should be displayed in the specify correct answer section and by default, control options should be in disabled state`, () => {
97
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'), 'visible');
98
+ utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
99
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'), 'visible');
100
+ utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
101
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset'), 'visible');
102
+ utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset'));
103
+ });
104
+
105
+ it('When user has perform an action on the dot plot chart, then the undo and reset button should get enabled', () => {
106
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(4, { point: 2, min: 1, interval: 0.25, defaultDots: 0 });
107
+ utilities.verifyElementNotDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
108
+ utilities.verifyElementNotDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset'));
109
+ });
110
+
111
+ it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
112
+ chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo')
113
+ .verifyTooltip('Undo');
114
+ chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset')
115
+ .verifyTooltip('Reset');
116
+ });
117
+
118
+ it('CSS of the tooltip text', { tags: 'css' }, () => {
119
+ utilities.triggerMouseover(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
120
+ utilities.verifyCSS(chartsDotPlotPage.tooltipText(), {
121
+ 'color': css.color.whiteText,
122
+ 'font-size': css.fontSize.small,
123
+ 'font-weight': css.fontWeight.regular,
124
+ 'background-color': css.color.tooltipBg
125
+ });
126
+ utilities.triggerMouseout(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
127
+ utilities.triggerMouseover(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset'));
128
+ utilities.verifyCSS(chartsDotPlotPage.tooltipText(), {
129
+ 'color': css.color.whiteText,
130
+ 'font-size': css.fontSize.small,
131
+ 'font-weight': css.fontWeight.regular,
132
+ 'background-color': css.color.tooltipBg
133
+ });
134
+ utilities.triggerMouseout(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset'));
135
+ });
136
+
137
+ it('Accessibility of the tooltip text', { tags: 'a11y' }, () => {
138
+ utilities.triggerMouseover(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
139
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'visible');
140
+ cy.checkAccessibility(chartsDotPlotPage.tooltipText());
141
+ utilities.triggerMouseout(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
142
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'notExist');
143
+ utilities.triggerMouseover(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset'));
144
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'visible');
145
+ cy.checkAccessibility(chartsDotPlotPage.tooltipText());
146
+ utilities.triggerMouseout(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset'));
147
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'notExist');
148
+ });
149
+
150
+ it('When user clicks on the undo button, then the last performed action should be reverted', () => {
151
+ chartsDotPlotPage.steps.selectControlOptionSpecifyCorrectAnswer('Undo');
152
+ chartsDotPlotPage.steps.verifyDotCountSpecifyCorrectAnswer(3, { point: 2, min: 1, interval: 0.25 });
153
+ });
154
+
155
+ it('When user has clicked on undo button, then the redo button should be enabled', () => {
156
+ utilities.verifyElementNotDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
157
+ });
158
+
159
+ it('When user hovers on the enabled redo button, then tooltip \'Redo\' should be displayed', () => {
160
+ chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo')
161
+ .verifyTooltip('Redo');
162
+ });
163
+
164
+ it('CSS of the tooltip text', { tags: 'css' }, () => {
165
+ utilities.triggerMouseover(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
166
+ utilities.verifyCSS(chartsDotPlotPage.tooltipText(), {
167
+ 'color': css.color.whiteText,
168
+ 'font-size': css.fontSize.small,
169
+ 'font-weight': css.fontWeight.regular,
170
+ 'background-color': css.color.tooltipBg
171
+ });
172
+ utilities.triggerMouseout(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
173
+ });
174
+
175
+ it('Accessibility of the tooltip text', { tags: 'a11y' }, () => {
176
+ utilities.triggerMouseover(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
177
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'visible');
178
+ cy.checkAccessibility(chartsDotPlotPage.tooltipText());
179
+ utilities.triggerMouseout(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
180
+ utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'notExist');
181
+ });
182
+
183
+ it('When the user clicks on redo button, then the last reverted action should be performed and the \'Redo\' button should be disabled again and \'Undo\' button should be enabled', () => {
184
+ chartsDotPlotPage.steps.selectControlOptionSpecifyCorrectAnswer('Redo');
185
+ chartsDotPlotPage.steps.verifyDotCountSpecifyCorrectAnswer(4, { point: 2, min: 1, interval: 0.25 });
186
+ utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
187
+ utilities.verifyElementNotDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
188
+ });
189
+
190
+ it(`When the user reaches the initial state by performing undo actions, the \'Undo\' button should get disabled and \'Redo\' should be enabled`, () => {
191
+ for (var i = 0; i < 4; i++) {
192
+ chartsDotPlotPage.steps.selectControlOptionSpecifyCorrectAnswer('Undo');
193
+ }
194
+ chartsDotPlotPage.steps.verifyDotCountSpecifyCorrectAnswer(0, { point: 2, min: 1, interval: 0.25 });
195
+ utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
196
+ utilities.verifyElementNotDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
197
+ });
198
+
199
+ it('When the user reaches the latest state by performing redo actions, the \'Redo\' button should get disabled and \'Undo\' should be enabled', () => {
200
+ for (var i = 0; i < 4; i++) {
201
+ chartsDotPlotPage.steps.selectControlOptionSpecifyCorrectAnswer('Redo');
202
+ }
203
+ chartsDotPlotPage.steps.verifyDotCountSpecifyCorrectAnswer(4, { point: 2, min: 1, interval: 0.25 });
204
+ utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
205
+ utilities.verifyElementNotDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
206
+ });
207
+
208
+ it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state and control options should be in disabled state', () => {
209
+ chartsDotPlotPage.steps.selectControlOptionSpecifyCorrectAnswer('Reset');
210
+ chartsDotPlotPage.steps.confirmReset();
211
+ chartsDotPlotPage.steps.verifyDotCountSpecifyCorrectAnswer(0, { point: 2, min: 1, interval: 0.25 });
212
+ utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo'));
213
+ utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo'));
214
+ utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset'));
215
+ });
216
+
217
+ it('CSS of specify correct answer section contents', { tags: 'css' }, () => {
218
+ utilities.verifyCSS(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Undo').find('svg'), {
219
+ 'fill': css.color.secondaryBtnDisabled
220
+ });
221
+ utilities.verifyCSS(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Redo').find('svg'), {
222
+ 'fill': css.color.secondaryBtnDisabled
223
+ });
224
+ utilities.verifyCSS(chartsDotPlotPage.controlOptionsSpecifyCorrectAnswer('Reset').find('svg'), {
225
+ 'fill': css.color.secondaryBtnDisabled
226
+ });
227
+ });
228
+
229
+ it('Accessibility of specify correct answer section contents', { tags: 'a11y' }, () => {
230
+ cy.checkAccessibility(chartsDotPlotPage.controlOptionsWrapperSpecifyCorrectAnswer().parents('.ngie-accordion-detail'));
231
+ });
232
+ });
233
+ });