itemengine-cypress-automation 1.0.381-PR-fixes-1c28a3d.0 → 1.0.381-regressionFixes10June-8dc1710.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/Dockerfile +1 -0
  2. package/cypress/e2e/GradingGridView/gradingGridView.js +156 -0
  3. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +2 -0
  4. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -0
  5. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
  6. package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +25 -25
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +37 -36
  11. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +37 -36
  12. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +37 -36
  13. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  14. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +26 -25
  15. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +39 -38
  16. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +31 -30
  17. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +35 -34
  18. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +247 -0
  19. package/cypress/e2e/ILC/ChartsBar/editQuestion.smoke.js +1 -1
  20. package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
  21. package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
  22. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +92 -0
  23. package/cypress/e2e/ILC/ChartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePointsLocked.js +220 -0
  24. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +25 -25
  25. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +47 -46
  26. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +25 -24
  27. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +25 -24
  28. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  29. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightBasic.js +25 -25
  30. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +24 -23
  31. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +21 -20
  32. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +48 -46
  33. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +249 -0
  34. package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +3 -1
  35. package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
  36. package/cypress/e2e/ILC/ChartsLine/specifyCorrectAnswerSection.js +94 -0
  37. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  38. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -4
  39. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  40. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
  41. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
  42. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +6 -0
  43. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
  44. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +3 -3
  45. package/cypress/e2e/ILC/CkEditorInsertTable/tableDimension&FooterProperties.js +3 -3
  46. package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +11 -11
  47. package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
  48. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +63 -4
  49. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +116 -7
  50. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +1 -1
  51. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabScoring.js +1 -0
  52. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +3 -3
  53. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +1 -1
  54. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +3 -0
  55. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  56. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  57. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  58. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  59. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +1 -3
  60. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +2 -2
  61. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  62. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  63. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptions.js +2 -0
  64. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editTabBasicSection.js +1 -1
  65. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +3 -3
  66. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViewInIncompleteAuthoring.smoke.js +7 -7
  67. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +11 -11
  68. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editQuestion.smoke.js +40 -0
  69. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +1 -1
  70. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +3 -3
  71. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  72. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +3 -3
  73. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editQuestion.smoke.js +45 -0
  74. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +1 -1
  75. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +4 -4
  76. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +4 -4
  77. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editQuestion.smoke.js +1 -1
  78. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +4 -0
  79. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +3 -1
  80. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +1 -1
  81. package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +3 -3
  82. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  83. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  84. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  85. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  86. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +2 -2
  87. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  88. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  89. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  90. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  91. package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
  92. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  93. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  94. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +210 -0
  95. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +2 -2
  96. package/cypress/e2e/ILC/GridFill/headerSection.js +4 -4
  97. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  98. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  99. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  100. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  101. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  102. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  103. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  104. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +2 -1
  105. package/cypress/e2e/ILC/ImageHighlight/additionalSettingsBasic.js +1 -0
  106. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +212 -0
  107. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +29 -0
  108. package/cypress/e2e/ILC/ImageHighlight/editTabBasicSection.js +1 -1
  109. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +3 -3
  110. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
  111. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
  112. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
  113. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
  114. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +2 -4
  115. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  116. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +237 -1
  117. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  118. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
  119. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  120. package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +2 -1
  121. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +2 -4
  122. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +7 -12
  123. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +10 -14
  124. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  125. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +215 -0
  126. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  127. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +36 -9
  128. package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +2 -0
  129. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +7 -23
  130. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  131. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  132. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  133. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  134. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +309 -0
  135. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  136. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  137. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  138. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +38 -3
  139. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +38 -41
  140. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  141. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -0
  142. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  143. package/cypress/e2e/ILC/Matching/clickAndDrop.js +5 -5
  144. package/cypress/e2e/ILC/Matching/draggableOptions.js +7 -0
  145. package/cypress/e2e/ILC/Matching/editQuestion.smoke.js +3 -2
  146. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  147. package/cypress/e2e/ILC/Matching/headerSection.js +38 -12
  148. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  149. package/cypress/e2e/ILC/Matching/studentViewSettings.js +2 -0
  150. package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +1 -1
  151. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +6 -6
  152. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
  153. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +2 -1
  154. package/cypress/e2e/ILC/MultipleSelection/editTabBasicSection.js +1 -1
  155. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +3 -3
  156. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
  157. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +2 -2
  158. package/cypress/e2e/ILC/MultipleSelectionGridNew/headerSection.js +3 -3
  159. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +100 -69
  160. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +1 -0
  161. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  162. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  163. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  164. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  165. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  166. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  167. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  168. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  169. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  170. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  171. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  172. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  173. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  174. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  175. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  176. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  177. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  178. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +186 -0
  179. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +35 -51
  180. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  181. package/cypress/e2e/ILC/SingleSelection/editTabBasicSection.js +1 -1
  182. package/cypress/e2e/ILC/SingleSelection/headerSection.js +2 -2
  183. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +2 -2
  184. package/cypress/e2e/ILC/SingleSelectionGridNew/headerSection.js +3 -3
  185. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +101 -70
  186. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
  187. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
  188. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  189. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -1
  190. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  191. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  192. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +10 -3
  193. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
  194. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -3
  195. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  196. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
  197. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
  198. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
  199. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
  200. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
  201. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  202. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  203. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  204. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  205. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
  206. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  207. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  208. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  209. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
  210. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
  211. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +2 -0
  212. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  213. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  214. package/cypress/e2e/ILC/TextSelection/additionalSettings.js +1 -0
  215. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +231 -0
  216. package/cypress/e2e/ILC/TextSelection/editTabBasicSection.js +2 -2
  217. package/cypress/e2e/ILC/TextSelection/headerSection.js +3 -3
  218. package/cypress/e2e/ILC/TextSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -0
  219. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +1 -1
  220. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +1 -1
  221. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +145 -54
  222. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +2 -0
  223. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +45 -5
  224. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +8 -8
  225. package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
  226. package/cypress/e2e/ILC/ThinkSphere/previewTabSolveSection.js +36 -0
  227. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +3 -3
  228. package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
  229. package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +141 -0
  230. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
  231. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  232. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  233. package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +50 -13
  234. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  235. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  236. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +27 -28
  237. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
  238. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +24 -24
  239. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +39 -37
  240. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +22 -23
  241. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
  242. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +25 -24
  243. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +31 -31
  244. package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +18 -19
  245. package/cypress/e2e/ILC/chartsDotsPlot/specifyCorrectAnswerSection.js +96 -0
  246. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  247. package/cypress/e2e/Sessions/saveResponseScores.js +2 -2
  248. package/cypress/fixtures/thinkSphereWhiteboardTools.js +66 -0
  249. package/cypress/pages/audioPlayerPage.js +47 -22
  250. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  251. package/cypress/pages/chartsBarPage.js +45 -0
  252. package/cypress/pages/chartsDotPlotPage.js +25 -0
  253. package/cypress/pages/chartsLinePage.js +28 -3
  254. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +5 -1
  255. package/cypress/pages/components/chartsCommonComponent.js +6 -2
  256. package/cypress/pages/components/ckEditorEquationEditorComponent.js +1 -0
  257. package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
  258. package/cypress/pages/components/ckEditorInsertTableComponent.js +3 -3
  259. package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
  260. package/cypress/pages/components/colorPopupComponent.js +6 -0
  261. package/cypress/pages/components/createQuestionBasePage.js +19 -6
  262. package/cypress/pages/components/draggableOptionsSectionComponent.js +2 -0
  263. package/cypress/pages/components/equationEditorSectionCommonComponent.js +10 -25
  264. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +31 -3
  265. package/cypress/pages/components/gridQuestionCommonComponent.js +55 -2
  266. package/cypress/pages/components/imageCanvasComponent.js +11 -5
  267. package/cypress/pages/components/questionInstructionsComponent.js +2 -0
  268. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -0
  269. package/cypress/pages/components/specifyRowsAndColumnsComponent.js +16 -0
  270. package/cypress/pages/contentBlocksPage.js +2 -0
  271. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  272. package/cypress/pages/desmosGeometryPage.js +184 -4
  273. package/cypress/pages/drawingResponsePage.js +10 -1
  274. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -8
  275. package/cypress/pages/gradingGridViewPage.js +64 -0
  276. package/cypress/pages/graphingPage.js +27 -8
  277. package/cypress/pages/gridFillPage.js +27 -9
  278. package/cypress/pages/imageHighlightPage.js +115 -15
  279. package/cypress/pages/index.js +1 -0
  280. package/cypress/pages/listOrderingPage.js +40 -1
  281. package/cypress/pages/matchingPage.js +29 -10
  282. package/cypress/pages/numberLineLabelPage.js +31 -8
  283. package/cypress/pages/numberLinePage.js +19 -7
  284. package/cypress/pages/singleSelectionPage.js +30 -1
  285. package/cypress/pages/textEntryMathPage.js +24 -1
  286. package/cypress/pages/textSelectionPage.js +2 -2
  287. package/cypress/pages/thinkSpherePage.js +928 -87
  288. package/cypress/pages/uploadResponsePage.js +17 -1
  289. package/cypress/pages/videoResponsePage.js +3 -0
  290. package/cypress/support/commands.js +9 -0
  291. package/cypress/support/helpers/createItem.js +22 -3
  292. package/cypress/support/helpers/utilities.js +14 -1
  293. package/package.json +2 -2
  294. /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/checkAnswerFunctionalityForAllViews.js +0 -0
  295. /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/editQuestion.smoke.js +0 -0
@@ -19,16 +19,16 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
19
19
  chartsDotPlotPage.steps.setXAxisLabel('Days');
20
20
  chartsDotPlotPage.steps.enterTextInIntervalInputField(1);
21
21
  chartsDotPlotPage.steps.enterTextInAnnotateEveryInputField(1);
22
- //locked column
23
22
  chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(1, { point: 1, min: 1, interval: 1, defaultDots: 0 });
24
- chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 1, interval: 1 });
25
23
  chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(2, { point: 2, min: 1, interval: 1, defaultDots: 0 });
26
24
  chartsDotPlotPage.steps.allotPoints(30);
25
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 1, min: 1, interval: 1, defaultDots: 0 });
27
26
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 2, min: 1, interval: 1, defaultDots: 0 });
28
27
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
29
28
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
30
29
  chartsDotPlotPage.steps.clickOnAddAlternativeAnswerButton(1);
31
30
  chartsDotPlotPage.steps.allotPoints(18);
31
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 1, min: 1, interval: 1, defaultDots: 0 });
32
32
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 2, min: 1, interval: 1, defaultDots: 0 });
33
33
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
34
34
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
@@ -41,7 +41,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
41
41
  it.skip('When the user selects \'Grading\' view 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 label \'Correct answers\' should be displayed with correct answers from the correct accordion and correct/incorrect status message should not be displayed', () => {
42
42
  chartsDotPlotPage.steps.switchToGradingView();
43
43
  //preview chart
44
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
44
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
45
45
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
46
46
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
47
47
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
@@ -49,7 +49,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
49
49
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
50
50
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
51
51
  //correct answer section chart
52
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
52
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
53
53
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
54
54
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
55
55
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -59,7 +59,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
59
59
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
60
60
  /*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')
61
61
  chartsDotPlotPage.steps.checkAnswer();
62
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
62
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
63
63
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
64
64
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
65
65
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
@@ -75,7 +75,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
75
75
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
76
76
  chartsDotPlotPage.steps.verifyPreviewScore(30, 30);
77
77
  chartsDotPlotPage.steps.switchToGradingView();
78
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
78
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
79
79
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
80
80
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
81
81
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -86,7 +86,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
86
86
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
87
87
  /*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')
88
88
  chartsDotPlotPage.steps.checkAnswer();
89
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
89
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
90
90
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
91
91
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
92
92
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -103,7 +103,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
103
103
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
104
104
  chartsDotPlotPage.steps.verifyPreviewScore(18, 30);
105
105
  chartsDotPlotPage.steps.switchToGradingView();
106
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
106
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
107
107
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
108
108
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
109
109
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -114,7 +114,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
114
114
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
115
115
  /*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')
116
116
  chartsDotPlotPage.steps.checkAnswer();
117
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
117
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
118
118
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
119
119
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
120
120
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
@@ -131,7 +131,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
131
131
  chartsDotPlotPage.steps.verifyPreviewScore(25, 30);
132
132
  chartsDotPlotPage.steps.switchToGradingView();
133
133
  //preview charts
134
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
134
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
135
135
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
136
136
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
137
137
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -139,7 +139,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
139
139
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
140
140
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
141
141
  //correct answer charts
142
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
142
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
143
143
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
144
144
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
145
145
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -148,7 +148,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
148
148
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
149
149
  /*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')
150
150
  chartsDotPlotPage.steps.checkAnswer();
151
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
151
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
152
152
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
153
153
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
154
154
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -165,7 +165,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
165
165
  chartsDotPlotPage.steps.verifyPreviewScore(15, 30);
166
166
  chartsDotPlotPage.steps.switchToGradingView();
167
167
  //preview charts
168
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
168
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
169
169
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
170
170
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
171
171
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -173,7 +173,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
173
173
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
174
174
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
175
175
  //correct answer charts
176
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
176
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
177
177
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
178
178
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
179
179
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -182,7 +182,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
182
182
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
183
183
  /*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')
184
184
  chartsDotPlotPage.steps.checkAnswer();
185
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
185
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
186
186
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
187
187
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
188
188
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
@@ -199,7 +199,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
199
199
  chartsDotPlotPage.steps.verifyPreviewScore(20, 30);
200
200
  chartsDotPlotPage.steps.switchToGradingView();
201
201
  //preview charts
202
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
202
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
203
203
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
204
204
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
205
205
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
@@ -207,7 +207,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
207
207
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
208
208
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
209
209
  //correct answer charts
210
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
210
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
211
211
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
212
212
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
213
213
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -216,7 +216,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
216
216
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
217
217
  /*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')
218
218
  chartsDotPlotPage.steps.checkAnswer();
219
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
219
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
220
220
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
221
221
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
222
222
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
@@ -233,7 +233,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
233
233
  chartsDotPlotPage.steps.verifyPreviewScore(15, 30);
234
234
  chartsDotPlotPage.steps.switchToGradingView();
235
235
  //preview charts
236
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
236
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
237
237
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
238
238
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
239
239
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
@@ -241,7 +241,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
241
241
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
242
242
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
243
243
  //correct answer charts
244
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
244
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
245
245
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
246
246
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
247
247
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -250,7 +250,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
250
250
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
251
251
  /*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')
252
252
  chartsDotPlotPage.steps.checkAnswer();
253
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
253
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
254
254
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
255
255
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
256
256
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
@@ -266,7 +266,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
266
266
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(0, { point: 2, min: 1, interval: 1 });
267
267
  chartsDotPlotPage.steps.verifyPreviewScore(20, 30);
268
268
  chartsDotPlotPage.steps.switchToGradingView();
269
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
269
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
270
270
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
271
271
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
272
272
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
@@ -274,7 +274,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
274
274
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
275
275
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
276
276
  //correct answer charts
277
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
277
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
278
278
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
279
279
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
280
280
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -283,7 +283,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
283
283
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
284
284
  /*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')
285
285
  chartsDotPlotPage.steps.checkAnswer();
286
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
286
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
287
287
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
288
288
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
289
289
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
@@ -293,7 +293,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
293
293
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
294
294
  });
295
295
 
296
- it('When the user attempts the question incorrectly, then the user should be awarded points for locked bar only 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', () => {
296
+ it('When the user attempts the question incorrectly, then the user should be awarded points for correct bar only 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', () => {
297
297
  chartsDotPlotPage.steps.resetQuestionPreview();
298
298
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(0, { point: 2, min: 1, interval: 1 });
299
299
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 6, min: 1, interval: 1, defaultDots: 0 });
@@ -301,7 +301,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
301
301
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 4, min: 1, interval: 1, defaultDots: 0 });
302
302
  chartsDotPlotPage.steps.verifyPreviewScore(5, 30);
303
303
  chartsDotPlotPage.steps.switchToGradingView();
304
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
304
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
305
305
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
306
306
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
307
307
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -309,7 +309,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
309
309
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
310
310
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
311
311
  //correct answer charts
312
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
312
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
313
313
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
314
314
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
315
315
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -318,7 +318,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
318
318
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
319
319
  /*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')
320
320
  chartsDotPlotPage.steps.checkAnswer();
321
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
321
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
322
322
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
323
323
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
324
324
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -355,7 +355,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
355
355
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 6, min: 1, interval: 1, defaultDots: 0 });
356
356
  chartsDotPlotPage.steps.verifyPreviewScore(13.6667, 41);
357
357
  chartsDotPlotPage.steps.switchToGradingView();
358
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
358
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
359
359
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
360
360
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
361
361
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -363,7 +363,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
363
363
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
364
364
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
365
365
  //correct answer charts
366
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
366
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
367
367
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
368
368
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
369
369
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -372,7 +372,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
372
372
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
373
373
  /*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')
374
374
  chartsDotPlotPage.steps.checkAnswer();
375
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
375
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
376
376
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
377
377
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
378
378
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -20,9 +20,8 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
20
20
  chartsDotPlotPage.steps.enterTextInIntervalInputField(1);
21
21
  chartsDotPlotPage.steps.setGraphTitle('Five-day observation');
22
22
  chartsDotPlotPage.steps.setXAxisLabel('Days');
23
- //locked column
24
23
  chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(1, { point: 1, min: 1, interval: 1, defaultDots: 0 });
25
- chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 1, interval: 1 });
24
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 1, min: 1, interval: 1, defaultDots: 0 });
26
25
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 2, min: 1, interval: 1, defaultDots: 0 });
27
26
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
28
27
  chartsDotPlotPage.steps.allotPoints(20);
@@ -34,12 +33,12 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
34
33
  it.skip('When the user selects \'Grading\' view without attempting the question, incorrect icons should be displayed in incorrect dot column and locked column should not have correct/incorrect icon in grading view', () => {
35
34
  chartsDotPlotPage.steps.switchToPreviewTab();
36
35
  chartsDotPlotPage.steps.switchToGradingView();
37
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
36
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
38
37
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
39
38
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
40
39
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
41
40
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
42
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
41
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
43
42
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
44
43
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
45
44
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -52,7 +51,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
52
51
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 3, min: 1, interval: 1, defaultDots: 0 });
53
52
  chartsDotPlotPage.steps.verifyPreviewScore(20, 20);
54
53
  chartsDotPlotPage.steps.switchToGradingView();
55
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
54
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
56
55
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
57
56
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
58
57
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -60,7 +59,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
60
59
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
61
60
  /*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');
62
61
  chartsDotPlotPage.steps.checkAnswer();
63
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
62
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
64
63
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1});
65
64
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
66
65
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
@@ -73,11 +72,11 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
73
72
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 4, min: 1, interval: 1, defaultDots: 0 });
74
73
  chartsDotPlotPage.steps.verifyPreviewScore(0, 20);
75
74
  chartsDotPlotPage.steps.switchToGradingView();
76
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
75
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
77
76
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
78
77
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
79
78
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
80
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
79
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
81
80
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
82
81
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
83
82
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -85,7 +84,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
85
84
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
86
85
  /*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');
87
86
  chartsDotPlotPage.steps.checkAnswer();
88
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
87
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
89
88
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1});
90
89
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0});
91
90
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
@@ -100,11 +99,11 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
100
99
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 4, min: 1, interval: 1, defaultDots: 0 });
101
100
  chartsDotPlotPage.steps.verifyPreviewScore(0, 20);
102
101
  chartsDotPlotPage.steps.switchToGradingView();
103
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
102
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
104
103
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
105
104
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
106
105
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
107
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
106
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
108
107
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
109
108
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
110
109
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -112,7 +111,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
112
111
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
113
112
  /*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');
114
113
  chartsDotPlotPage.steps.checkAnswer();
115
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
114
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
116
115
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0});
117
116
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
118
117
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
@@ -126,7 +125,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
126
125
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
127
126
  chartsDotPlotPage.steps.verifyPreviewScore(20, 20);
128
127
  chartsDotPlotPage.steps.switchToGradingView();
129
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
128
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
130
129
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
131
130
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
132
131
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -134,7 +133,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
134
133
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
135
134
  /*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');
136
135
  chartsDotPlotPage.steps.checkAnswer();
137
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
136
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
138
137
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1});
139
138
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
140
139
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
@@ -146,11 +145,11 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
146
145
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 4, min: 1, interval: 1, defaultDots: 0 });
147
146
  chartsDotPlotPage.steps.verifyPreviewScore(0, 20);
148
147
  chartsDotPlotPage.steps.switchToGradingView();
149
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
148
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
150
149
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
151
150
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
152
151
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
153
- chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
152
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
154
153
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
155
154
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
156
155
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
@@ -158,7 +157,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
158
157
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
159
158
  /*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');
160
159
  chartsDotPlotPage.steps.checkAnswer();
161
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
160
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
162
161
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0});
163
162
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0});
164
163
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
@@ -175,7 +174,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
175
174
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 4, min: 1, interval: 1, defaultDots: 0 });
176
175
  chartsDotPlotPage.steps.verifyPreviewScore(20, 20);
177
176
  chartsDotPlotPage.steps.switchToGradingView();
178
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
177
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
179
178
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
180
179
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
181
180
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -184,7 +183,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
184
183
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
185
184
  /*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');
186
185
  chartsDotPlotPage.steps.checkAnswer();
187
- chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
186
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
188
187
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0});
189
188
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
190
189
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
@@ -230,4 +230,100 @@ describe('Create Item page - Charts - Dot plot: Specify correct answer, Alternat
230
230
  cy.checkAccessibility(chartsDotPlotPage.controlOptionsWrapperSpecifyCorrectAnswer().parents('.ngie-accordion-detail'));
231
231
  });
232
232
  });
233
+
234
+ describe('Charts Dot Plot - Dots Locked', () => {
235
+ abortEarlySetup();
236
+ before(() => {
237
+ chartsDotPlotPage.steps.navigateToCreateQuestion('charts');
238
+ cy.barsPreLoaderWait();
239
+ chartsDotPlotPage.steps.addTextInQuestionInstructionsInputField('Set dots on chart');
240
+ chartsDotPlotPage.steps.selectDotPlot();
241
+ chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(2, { point: 1, min: 0, interval: 0.25, defaultDots: 0 });
242
+ chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(4, { point: 2, min: 0, interval: 0.25, defaultDots: 0 });
243
+ chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(6, { point: 3, min: 0, interval: 0.25, defaultDots: 0 });
244
+ chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 0, interval: 0.25 });
245
+ chartsDotPlotPage.steps.allotPoints(20);
246
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
247
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(4, { point: 2, min: 0, interval: 0.25, defaultDots: 0 });
248
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(4, { point: 3, min: 0, interval: 0.25, defaultDots: 0 });
249
+ });
250
+
251
+ it('When user has a locked dot column, then the point input field for that column should be disabled and points should be distributed among enabled columns only', () => {
252
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsDisabled(4);
253
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([1, 1, 1, 1, '', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]);
254
+ chartsDotPlotPage.steps.verifyPointsLabelAndPointsOnAnswerAccordion(0, '20');
255
+ });
256
+
257
+ it('When user locks an additional dot column, then points should be deducted from the total score', () => {
258
+ chartsDotPlotPage.steps.lockDotColumn({ point: 3, min: 0, interval: 0.25 });
259
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsDisabled(4);
260
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([1, 1, 1, 1, '', 1, 1, 1, 1, 1, 1, 1, '', 1, 1, 1, 1, 1, 1, 1, 1]);
261
+ chartsDotPlotPage.steps.verifyPointsLabelAndPointsOnAnswerAccordion(0, '19');
262
+ });
263
+
264
+ it('When user switches from partial different weights to partial equal weights, then the same total points should be maintained', () => {
265
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('partial equal weights');
266
+ chartsDotPlotPage.steps.verifyPoints(19);
267
+ chartsDotPlotPage.steps.verifyPointsLabelAndPointsOnAnswerAccordion(0, '19');
268
+ chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('1');
269
+ });
270
+
271
+ it('When user unlocks a locked dot column, then the points should not be added to the unlocked column', () => {
272
+ chartsDotPlotPage.steps.unlockDotColumn({ point: 3, min: 0, interval: 0.25 });
273
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
274
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(2);
275
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([0.95, 0.95, 0.95, 0.95, '', 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95]);
276
+ chartsDotPlotPage.steps.verifyPointsLabelAndPointsOnAnswerAccordion(0, '19');
277
+ });
278
+
279
+ it('When user unlocks all dot columns, then all point input fields should be enabled', () => {
280
+ chartsDotPlotPage.steps.unlockDotColumn({ point: 1, min: 0, interval: 0.25 });
281
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(0);
282
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(1);
283
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(2);
284
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([0.95, 0.95, 0.95, 0.95, '', 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95]);
285
+ chartsDotPlotPage.steps.verifyPointsLabelAndPointsOnAnswerAccordion(0, '19');
286
+ });
287
+
288
+ it('When user switches between scoring subtypes multiple times, then point distribution should be maintained', () => {
289
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('All or nothing');
290
+ chartsDotPlotPage.steps.verifyPoints(19);
291
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
292
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9]);
293
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('partial equal weights');
294
+ chartsDotPlotPage.steps.verifyPoints(18.9);
295
+ chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('0.9');
296
+ });
297
+
298
+ it('When user locks multiple dot columns in sequence, then point distribution should be adjusted accordingly', () => {
299
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
300
+ chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 0, interval: 0.25 });
301
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsDisabled(4);
302
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([0.9, 0.9, 0.9, 0.9, '', 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9]);
303
+ chartsDotPlotPage.steps.lockDotColumn({ point: 2, min: 0, interval: 0.25 });
304
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsDisabled(4);
305
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsDisabled(8);
306
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([0.9, 0.9, 0.9, 0.9, '', 0.9, 0.9, 0.9, '', 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9]);
307
+ chartsDotPlotPage.steps.lockDotColumn({ point: 3, min: 0, interval: 0.25 });
308
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsDisabled(12);
309
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([0.9, 0.9, 0.9, 0.9, '', 0.9, 0.9, 0.9, '', 0.9, 0.9, 0.9, '', 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9]);
310
+ });
311
+
312
+ it('When user allots points first and then locks a dot column, then the points of the locked column should be removed', () => {
313
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
314
+ chartsDotPlotPage.steps.unlockDotColumn({ point: 1, min: 0, interval: 0.25 });
315
+ chartsDotPlotPage.steps.unlockDotColumn({ point: 2, min: 0, interval: 0.25 });
316
+ chartsDotPlotPage.steps.unlockDotColumn({ point: 3, min: 0, interval: 0.25 });
317
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(4);
318
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(8);
319
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(12);
320
+ chartsDotPlotPage.steps.verifyPointsLabelAndPointsOnAnswerAccordion(0, '16.2');
321
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
322
+ chartsDotPlotPage.steps.allotPoints(21);
323
+ chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
324
+ chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 0, interval: 0.25 });
325
+ chartsDotPlotPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([1, 1, 1, 1, '', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]);
326
+ chartsDotPlotPage.steps.verifyPointsLabelAndPointsOnAnswerAccordion(0, '20');
327
+ });
328
+ });
233
329
  });