itemengine-cypress-automation 1.0.389-graphAndCharts-04d27f6.0 → 1.0.390-IEI-6314-testScriptForTextEntryMathValidations-dcad527.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 (319) 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/BrowseItems/browseReviewItems.js +3 -3
  8. package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +3 -3
  9. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +6 -6
  10. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +6 -6
  11. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +356 -0
  12. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  13. package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
  14. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +27 -27
  15. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +37 -37
  16. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +37 -37
  17. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +37 -37
  18. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +26 -25
  19. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +39 -38
  20. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +31 -30
  21. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +35 -34
  22. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +247 -0
  23. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +287 -0
  24. package/cypress/e2e/ILC/ChartsBar/editQuestion.smoke.js +1 -1
  25. package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
  26. package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
  27. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +92 -0
  28. package/cypress/e2e/ILC/ChartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePointsLocked.js +220 -0
  29. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +25 -26
  30. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +47 -47
  31. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +25 -25
  32. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +25 -25
  33. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightBasic.js +25 -25
  34. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +24 -23
  35. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +21 -20
  36. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +48 -46
  37. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +249 -0
  38. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +247 -0
  39. package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +3 -1
  40. package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
  41. package/cypress/e2e/ILC/ChartsLine/specifyCorrectAnswerSection.js +94 -0
  42. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -2
  43. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
  44. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
  45. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +6 -0
  46. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
  47. package/cypress/e2e/ILC/CkEditorEquationEditor/selectModeEditorBasic.js +4 -1
  48. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -3
  49. package/cypress/e2e/ILC/CkEditorInsertImage/insertImageBasicFile.js +2 -0
  50. package/cypress/e2e/ILC/CkEditorInsertTable/tableDimension&FooterProperties.js +8 -8
  51. package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +11 -11
  52. package/cypress/e2e/ILC/CkEditorLink/linkPreview.js +2 -1
  53. package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
  54. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +63 -4
  55. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +116 -7
  56. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +3 -3
  57. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabScoring.js +1 -0
  58. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +3 -3
  59. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +1 -1
  60. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +3 -0
  61. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +11 -3
  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 +15 -16
  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/editTabBasicSection.js +2 -2
  73. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +3 -3
  74. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editQuestion.smoke.js +45 -0
  75. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +1 -1
  76. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +4 -4
  77. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +4 -4
  78. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editQuestion.smoke.js +1 -1
  79. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +4 -0
  80. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +3 -1
  81. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +1 -1
  82. package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +3 -3
  83. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  84. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  85. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  86. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  87. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +213 -2
  88. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  89. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  90. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  91. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  92. package/cypress/e2e/ILC/Graphing/headerSection.js +37 -4
  93. package/cypress/e2e/ILC/Graphing/specifyCorrectAnswerSection.js +28 -0
  94. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  95. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +210 -0
  96. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +2 -2
  97. package/cypress/e2e/ILC/GridFill/headerSection.js +4 -4
  98. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  99. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  100. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  101. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  102. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  103. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  104. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  105. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +2 -1
  106. package/cypress/e2e/ILC/ImageHighlight/additionalSettingsBasic.js +1 -0
  107. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +212 -0
  108. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +29 -0
  109. package/cypress/e2e/ILC/ImageHighlight/editTabBasicSection.js +1 -1
  110. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +3 -3
  111. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
  112. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
  113. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
  114. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
  115. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +2 -4
  116. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  117. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +237 -1
  118. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  119. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +26 -0
  120. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  121. package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +2 -1
  122. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +2 -4
  123. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +7 -12
  124. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +10 -14
  125. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  126. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +215 -0
  127. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  128. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +36 -9
  129. package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +2 -0
  130. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +7 -23
  131. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  132. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  133. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  134. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  135. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +309 -0
  136. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  137. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  138. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  139. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +38 -3
  140. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +38 -41
  141. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  142. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -0
  143. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  144. package/cypress/e2e/ILC/Matching/clickAndDrop.js +5 -5
  145. package/cypress/e2e/ILC/Matching/draggableOptions.js +7 -0
  146. package/cypress/e2e/ILC/Matching/editQuestion.smoke.js +3 -2
  147. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  148. package/cypress/e2e/ILC/Matching/headerSection.js +38 -12
  149. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  150. package/cypress/e2e/ILC/Matching/studentViewSettings.js +3 -1
  151. package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +1 -1
  152. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +7 -6
  153. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +6 -6
  154. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
  155. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +2 -1
  156. package/cypress/e2e/ILC/MultipleSelection/editTabBasicSection.js +1 -1
  157. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +3 -3
  158. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
  159. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +2 -2
  160. package/cypress/e2e/ILC/MultipleSelectionGridNew/headerSection.js +3 -3
  161. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +100 -69
  162. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +1 -0
  163. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  164. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  165. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  166. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  167. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +213 -0
  168. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  169. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  170. package/cypress/e2e/ILC/NumberLine/headerSection.js +34 -4
  171. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +249 -0
  172. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  173. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  174. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  175. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  176. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +0 -1
  177. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +266 -0
  178. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  179. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  180. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -4
  181. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  182. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +268 -0
  183. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  184. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +186 -0
  185. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +4 -3
  186. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  187. package/cypress/e2e/ILC/SingleSelection/editTabBasicSection.js +1 -1
  188. package/cypress/e2e/ILC/SingleSelection/headerSection.js +2 -2
  189. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +2 -2
  190. package/cypress/e2e/ILC/SingleSelectionGridNew/headerSection.js +3 -3
  191. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +101 -70
  192. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
  193. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
  194. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  195. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
  196. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  197. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  198. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +9 -2
  199. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
  200. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -1
  201. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  202. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
  203. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
  204. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
  205. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
  206. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
  207. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  208. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +2 -2
  209. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  210. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  211. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  212. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
  213. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  214. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  215. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  216. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
  217. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
  218. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +263 -0
  219. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +219 -0
  220. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  221. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  222. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +3 -3
  223. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +310 -1
  224. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +205 -1
  225. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  226. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +263 -0
  227. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +0 -1
  228. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
  229. package/cypress/e2e/ILC/TextSelection/additionalSettings.js +1 -0
  230. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +231 -0
  231. package/cypress/e2e/ILC/TextSelection/editTabBasicSection.js +2 -2
  232. package/cypress/e2e/ILC/TextSelection/headerSection.js +3 -3
  233. package/cypress/e2e/ILC/TextSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -0
  234. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +1 -0
  235. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +1 -1
  236. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +1 -1
  237. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +145 -54
  238. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +2 -0
  239. package/cypress/e2e/ILC/ThinkSphere/gradingViewPlanTabSection.js +334 -0
  240. package/cypress/e2e/ILC/ThinkSphere/gradingViewReviewTabSection.js +140 -0
  241. package/cypress/e2e/ILC/ThinkSphere/gradingViewSolveTabSection.js +65 -0
  242. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +45 -5
  243. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +8 -8
  244. package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +102 -0
  245. package/cypress/e2e/ILC/ThinkSphere/previewTabSolveSection.js +41 -0
  246. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +3 -3
  247. package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
  248. package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +146 -0
  249. package/cypress/e2e/ILC/ThinkSphere/studentViewSolveSection.js +53 -0
  250. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
  251. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  252. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  253. package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +50 -13
  254. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  255. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +248 -0
  256. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  257. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +27 -28
  258. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
  259. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +24 -24
  260. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +39 -37
  261. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +22 -23
  262. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
  263. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +25 -24
  264. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +31 -31
  265. package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +18 -19
  266. package/cypress/e2e/ILC/chartsDotsPlot/specifyCorrectAnswerSection.js +96 -0
  267. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  268. package/cypress/e2e/Sessions/saveResponseScores.js +2 -2
  269. package/cypress/fixtures/thinkSphereWhiteboardTools.js +66 -0
  270. package/cypress/pages/audioPlayerPage.js +25 -0
  271. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  272. package/cypress/pages/chartsBarPage.js +45 -0
  273. package/cypress/pages/chartsDotPlotPage.js +25 -0
  274. package/cypress/pages/chartsLinePage.js +29 -2
  275. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +5 -1
  276. package/cypress/pages/components/chartsCommonComponent.js +21 -2
  277. package/cypress/pages/components/ckEditorEquationEditorComponent.js +1 -0
  278. package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
  279. package/cypress/pages/components/ckEditorInsertTableComponent.js +3 -3
  280. package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
  281. package/cypress/pages/components/colorPopupComponent.js +6 -0
  282. package/cypress/pages/components/createQuestionBasePage.js +19 -6
  283. package/cypress/pages/components/desmosToolComponent.js +1 -1
  284. package/cypress/pages/components/draggableOptionsSectionComponent.js +2 -0
  285. package/cypress/pages/components/equationEditorSectionCommonComponent.js +4 -4
  286. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +31 -3
  287. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +1 -1
  288. package/cypress/pages/components/gridQuestionCommonComponent.js +55 -2
  289. package/cypress/pages/components/imageCanvasComponent.js +11 -5
  290. package/cypress/pages/components/playbackControlsBaseComponent.js +6 -3
  291. package/cypress/pages/components/questionInstructionsComponent.js +2 -0
  292. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -0
  293. package/cypress/pages/components/specifyRowsAndColumnsComponent.js +16 -0
  294. package/cypress/pages/contentBlocksPage.js +2 -0
  295. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  296. package/cypress/pages/desmosGeometryPage.js +184 -4
  297. package/cypress/pages/drawingResponsePage.js +9 -2
  298. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -8
  299. package/cypress/pages/gradingGridViewPage.js +64 -0
  300. package/cypress/pages/graphingPage.js +28 -5
  301. package/cypress/pages/gridFillPage.js +24 -9
  302. package/cypress/pages/imageHighlightPage.js +115 -15
  303. package/cypress/pages/index.js +1 -0
  304. package/cypress/pages/listOrderingPage.js +46 -2
  305. package/cypress/pages/matchingPage.js +29 -10
  306. package/cypress/pages/numberLineLabelPage.js +26 -0
  307. package/cypress/pages/numberLinePage.js +15 -0
  308. package/cypress/pages/singleSelectionPage.js +30 -1
  309. package/cypress/pages/textEntryMathPage.js +29 -10
  310. package/cypress/pages/textSelectionPage.js +2 -2
  311. package/cypress/pages/thinkSpherePage.js +1118 -87
  312. package/cypress/pages/uploadResponsePage.js +17 -1
  313. package/cypress/pages/videoResponsePage.js +3 -0
  314. package/cypress/support/commands.js +9 -0
  315. package/cypress/support/helpers/createItem.js +22 -3
  316. package/cypress/support/helpers/utilities.js +14 -1
  317. package/package.json +1 -1
  318. /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/checkAnswerFunctionalityForAllViews.js +0 -0
  319. /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/editQuestion.smoke.js +0 -0
@@ -17,14 +17,15 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
17
17
  chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 0, value: 3, range: 10 });
18
18
  chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 1, value: 2, range: 10 });
19
19
  chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 3, value: 3, range: 10 });
20
- chartsBarPage.steps.lockBar(1);
21
20
  chartsBarPage.steps.allotPoints(10);
22
21
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 0, value: 3, range: 10 });
22
+ chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 1, value: 2, range: 10 });
23
23
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 2, value: 5, range: 10 });
24
24
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 3, value: 4, range: 10 });
25
25
  chartsBarPage.steps.addAlternativeAnswerAccordion(1);
26
26
  chartsBarPage.steps.allotPoints(20);
27
27
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 0, value: 4, range: 10 });
28
+ chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 1, value: 2, range: 10 });
28
29
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 3, value: 4, range: 10 });
29
30
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 4, value: 6, range: 10 });
30
31
  chartsBarPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
@@ -36,14 +37,14 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
36
37
  it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the alternate accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
37
38
  chartsBarPage.steps.switchToGradingView();
38
39
  chartsBarPage.steps.verifyPreviewScore(0, 20);
39
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
40
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
41
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(2);
42
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(3);
43
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(4);
40
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0);
41
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
42
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2);
43
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3);
44
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4);
44
45
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
45
46
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
46
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
47
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
47
48
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 0, range: 10 });
48
49
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
49
50
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
@@ -51,7 +52,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
51
52
  /* cy.log('When the user selects check answer without attempting the question, then correct/incorrect status message should not be displayed, incorrect icons should be displayed on the unattempted bars and correct icons should be displayed on the bar which is correct by default')
52
53
  chartsBarPage.steps.checkAnswer();
53
54
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
54
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
55
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
55
56
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
56
57
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
57
58
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
@@ -59,7 +60,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
59
60
  chartsBarPage.steps.verifyCorrectAnswerSectionNotExist(); */
60
61
  });
61
62
 
62
- it('When the user incorrectly attempts the answer, then the user should be awarded with points for the correctly set bars(in this case only the locked bar) and on switching to grading view, correct/incorrect status message should not be displayed, incorrect icons should be displayed on the incorrect bars and correct answer section should be displayed with the correct answers from the alternate accordion', () => {
63
+ it('When the user incorrectly attempts the answer, then the user should be awarded with points for the correctly set bars and on switching to grading view, correct/incorrect status message should not be displayed, incorrect icons should be displayed on the incorrect bars and correct answer section should be displayed with the correct answers from the alternate accordion', () => {
63
64
  chartsBarPage.steps.resetQuestionPreview();
64
65
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 5, range: 10 });
65
66
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 2, value: 1, range: 10 });
@@ -67,13 +68,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
67
68
  chartsBarPage.steps.verifyPreviewScore(4, 20);
68
69
  chartsBarPage.steps.switchToGradingView();
69
70
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
70
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
71
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
71
72
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
72
73
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
73
74
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
74
75
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
75
76
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
76
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
77
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
77
78
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 0, range: 10 });
78
79
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
79
80
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
@@ -81,7 +82,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
81
82
  /* cy.log('When the user selects check answer after incorrectly attempting the question, then correct/incorrect status message should not be displayed, incorrect icons should be displayed on the incorrectly attempted bars')
82
83
  chartsBarPage.steps.checkAnswer();
83
84
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
84
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
85
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
85
86
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
86
87
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
87
88
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
@@ -96,7 +97,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
96
97
  chartsBarPage.steps.verifyPreviewScore(10, 20);
97
98
  chartsBarPage.steps.switchToGradingView();
98
99
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
99
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
100
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
100
101
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
101
102
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
102
103
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -106,7 +107,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
106
107
  /* 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 besides the correct answer responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
107
108
  chartsBarPage.steps.checkAnswer();
108
109
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
109
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
110
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
110
111
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
111
112
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
112
113
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -122,7 +123,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
122
123
  chartsBarPage.steps.verifyPreviewScore(20, 20);
123
124
  chartsBarPage.steps.switchToGradingView();
124
125
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
125
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
126
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
126
127
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
127
128
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
128
129
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -132,7 +133,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
132
133
  /* 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 besides the correct answer responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
133
134
  chartsBarPage.steps.checkAnswer();
134
135
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
135
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
136
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
136
137
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
137
138
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
138
139
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -148,13 +149,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
148
149
  chartsBarPage.steps.verifyPreviewScore(6, 20);
149
150
  chartsBarPage.steps.switchToGradingView();
150
151
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
151
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
152
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
152
153
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
153
154
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
154
155
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
155
156
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
156
157
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
157
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
158
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
158
159
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 0, range: 10 });
159
160
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
160
161
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
@@ -162,7 +163,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
162
163
  /* 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 besides the correct answer responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
163
164
  chartsBarPage.steps.checkAnswer();
164
165
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
165
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
166
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
166
167
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
167
168
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
168
169
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -177,13 +178,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
177
178
  chartsBarPage.steps.verifyPreviewScore(12, 20);
178
179
  chartsBarPage.steps.switchToGradingView();
179
180
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
180
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
181
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
181
182
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
182
183
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
183
184
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
184
185
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
185
186
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
186
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
187
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
187
188
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 0, range: 10 });
188
189
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
189
190
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
@@ -191,7 +192,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
191
192
  /* 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 besides the correct answer responses, incorrect icons should be displayed on the incorrect bars correct/incorrect status message should not be displayed and correct answer section should not be displayed')
192
193
  chartsBarPage.steps.checkAnswer();
193
194
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
194
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
195
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
195
196
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
196
197
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
197
198
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -206,13 +207,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
206
207
  chartsBarPage.steps.verifyPreviewScore(8, 20);
207
208
  chartsBarPage.steps.switchToGradingView();
208
209
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
209
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
210
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
210
211
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
211
212
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
212
213
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
213
214
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
214
215
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
215
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
216
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
216
217
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 0, range: 10 });
217
218
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
218
219
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
@@ -220,7 +221,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
220
221
  /* cy.log('When the user attempts the question with more answers from the correct accordion than the alternate accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the alternate accordion responses, incorrect icons should be displayed on the correct accordion responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
221
222
  chartsBarPage.steps.checkAnswer();
222
223
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
223
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
224
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
224
225
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
225
226
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
226
227
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -234,13 +235,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
234
235
  chartsBarPage.steps.verifyPreviewScore(12, 20);
235
236
  chartsBarPage.steps.switchToGradingView();
236
237
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
237
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
238
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
238
239
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
239
240
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
240
241
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
241
242
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
242
243
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
243
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
244
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
244
245
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 0, range: 10 });
245
246
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
246
247
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
@@ -248,7 +249,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
248
249
  /* cy.log('When the user attempts the question with more answers from the alternate accordion than the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the alternate accordion responses, incorrect icons should be displayed on the correct accordion responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
249
250
  chartsBarPage.steps.checkAnswer();
250
251
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
251
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
252
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
252
253
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
253
254
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
254
255
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
@@ -264,13 +265,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
264
265
  chartsBarPage.steps.verifyPreviewScore(8, 20);
265
266
  chartsBarPage.steps.switchToGradingView();
266
267
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
267
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
268
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
268
269
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
269
270
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
270
271
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
271
272
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
272
273
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
273
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
274
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
274
275
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 0, range: 10 });
275
276
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
276
277
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
@@ -278,7 +279,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
278
279
  /* 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 besides the alternate accordion responses, incorrect icons should be displayed on the correct accordion responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
279
280
  chartsBarPage.steps.checkAnswer();
280
281
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
281
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
282
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
282
283
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
283
284
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
284
285
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -295,13 +296,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
295
296
  chartsBarPage.steps.verifyPreviewScore(8, 20);
296
297
  chartsBarPage.steps.switchToGradingView();
297
298
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
298
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
299
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
299
300
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
300
301
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
301
302
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
302
303
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
303
304
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
304
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
305
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
305
306
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 0, range: 10 });
306
307
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
307
308
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
@@ -309,7 +310,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
309
310
  /* 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 besides the correct answer responses, incorrect icons should be displayed on the incorrect bars, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
310
311
  chartsBarPage.steps.checkAnswer();
311
312
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
312
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
313
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
313
314
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
314
315
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
315
316
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
@@ -329,15 +330,15 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
329
330
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 2, value: 5, range: 10 });
330
331
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 3, value: 4, range: 10 });
331
332
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 6, range: 10 });
332
- chartsBarPage.steps.verifyPreviewScore(12.5, 50);
333
+ chartsBarPage.steps.verifyPreviewScore(20, 50);
333
334
  chartsBarPage.steps.switchToGradingView();
334
335
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
335
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
336
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
336
337
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
337
338
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
338
339
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
339
340
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
340
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
341
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
341
342
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 0, range: 10 });
342
343
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 8, range: 10 });
343
344
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
@@ -346,7 +347,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
346
347
  /* cy.log('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion and clicks on \'Check answer\' button, correct icons should be displayed for the alternate accordion response, incorrect icon should be displayed for the correct accordion responses, correct/incorrect status message and correct answer section should not be displayed')
347
348
  chartsBarPage.steps.checkAnswer();
348
349
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
349
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
350
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
350
351
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
351
352
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
352
353
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -18,14 +18,15 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
18
18
  chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 0, value: 3, range: 10 });
19
19
  chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 1, value: 2, range: 10 });
20
20
  chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 3, value: 3, range: 10 });
21
- chartsBarPage.steps.lockBar(1);
22
21
  chartsBarPage.steps.allotPoints(20);
23
22
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 0, value: 3, range: 10 });
23
+ chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 1, value: 2, range: 10 });
24
24
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 2, value: 5, range: 10 });
25
25
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 3, value: 4, range: 10 });
26
26
  chartsBarPage.steps.addAlternativeAnswerAccordion(1);
27
27
  chartsBarPage.steps.allotPoints(20);
28
28
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 0, value: 4, range: 10 });
29
+ chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 1, value: 2, range: 10 });
29
30
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 3, value: 4, range: 10 });
30
31
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 4, value: 6, range: 10 });
31
32
  chartsBarPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
@@ -38,13 +39,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
38
39
  chartsBarPage.steps.switchToGradingView();
39
40
  chartsBarPage.steps.verifyPreviewScore(0, 20);
40
41
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
41
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
42
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
42
43
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(2);
43
44
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(3);
44
45
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(4);
45
46
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
46
47
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 3, range: 10 });
47
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
48
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
48
49
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 10 });
49
50
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
50
51
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
@@ -52,7 +53,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
52
53
  /* cy.log('When the user selects check answer without attempting the question, then correct/incorrect status message should not be displayed, incorrect icons should be displayed on the unattempted bars and correct icons should be displayed on the bar which is correct by default')
53
54
  chartsBarPage.steps.checkAnswer();
54
55
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
55
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
56
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
56
57
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
57
58
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
58
59
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -60,7 +61,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
60
61
  chartsBarPage.steps.verifyCorrectAnswerSectionNotExist(); */
61
62
  });
62
63
 
63
- it('When the user incorrectly attempts the answer, then the user should be awarded with points for the correctly set bars(in this case only the locked bar) and on switching to grading view, correct/incorrect status message should not be displayed, incorrect icons should be displayed on the incorrect bars and correct answer section should be displayed with the correct answers from the correct accordion', () => {
64
+ it('When the user incorrectly attempts the answer, then the user should be awarded with points for the correctly set bars and on switching to grading view, correct/incorrect status message should not be displayed, incorrect icons should be displayed on the incorrect bars and correct answer section should be displayed with the correct answers from the correct accordion', () => {
64
65
  chartsBarPage.steps.resetQuestionPreview();
65
66
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 5, range: 10 });
66
67
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 2, value: 1, range: 10 });
@@ -68,13 +69,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
68
69
  chartsBarPage.steps.verifyPreviewScore(4, 20);
69
70
  chartsBarPage.steps.switchToGradingView();
70
71
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
71
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
72
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
72
73
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
73
74
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
74
75
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
75
76
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
76
77
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 3, range: 10 });
77
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
78
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
78
79
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 10 });
79
80
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
80
81
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
@@ -82,7 +83,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
82
83
  /* cy.log('When the user selects check answer after incorrectly attempting the question, then correct/incorrect status message should not be displayed, incorrect icons should be displayed on the incorrectly attempted bars')
83
84
  chartsBarPage.steps.checkAnswer();
84
85
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
85
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
86
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
86
87
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
87
88
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
88
89
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
@@ -97,7 +98,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
97
98
  chartsBarPage.steps.verifyPreviewScore(20, 20);
98
99
  chartsBarPage.steps.switchToGradingView();
99
100
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
100
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
101
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
101
102
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
102
103
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
103
104
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -107,7 +108,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
107
108
  /* 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 besides the correct answer responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
108
109
  chartsBarPage.steps.checkAnswer();
109
110
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
110
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
111
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
111
112
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
112
113
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
113
114
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -123,7 +124,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
123
124
  chartsBarPage.steps.verifyPreviewScore(20, 20);
124
125
  chartsBarPage.steps.switchToGradingView();
125
126
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
126
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
127
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
127
128
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
128
129
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
129
130
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -133,7 +134,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
133
134
  /* 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 besides the correct answer responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
134
135
  chartsBarPage.steps.checkAnswer();
135
136
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
136
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
137
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
137
138
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
138
139
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
139
140
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -149,13 +150,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
149
150
  chartsBarPage.steps.verifyPreviewScore(12, 20);
150
151
  chartsBarPage.steps.switchToGradingView();
151
152
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
152
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
153
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
153
154
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
154
155
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
155
156
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
156
157
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
157
158
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 3, range: 10 });
158
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
159
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
159
160
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 10 });
160
161
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
161
162
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
@@ -163,7 +164,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
163
164
  /* 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 besides the correct answer responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
164
165
  chartsBarPage.steps.checkAnswer();
165
166
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
166
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
167
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
167
168
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
168
169
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
169
170
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -178,13 +179,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
178
179
  chartsBarPage.steps.verifyPreviewScore(12, 20);
179
180
  chartsBarPage.steps.switchToGradingView();
180
181
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
181
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
182
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
182
183
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
183
184
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
184
185
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
185
186
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
186
187
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 3, range: 10 });
187
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
188
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
188
189
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 10 });
189
190
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
190
191
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
@@ -192,7 +193,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
192
193
  /* 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 besides the correct answer responses, incorrect icons should be displayed on the incorrect bars correct/incorrect status message should not be displayed and correct answer section should not be displayed')
193
194
  chartsBarPage.steps.checkAnswer();
194
195
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
195
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
196
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
196
197
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
197
198
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
198
199
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
@@ -207,13 +208,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
207
208
  chartsBarPage.steps.verifyPreviewScore(12, 20);
208
209
  chartsBarPage.steps.switchToGradingView();
209
210
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
210
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
211
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
211
212
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
212
213
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
213
214
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
214
215
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
215
216
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 3, range: 10 });
216
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
217
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
217
218
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 10 });
218
219
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
219
220
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
@@ -221,7 +222,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
221
222
  /* cy.log('When the user attempts the question with more answers from the correct accordion than the alternate accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct accordion responses, incorrect icons should be displayed on the alternate accordion responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
222
223
  chartsBarPage.steps.checkAnswer();
223
224
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
224
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
225
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
225
226
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
226
227
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
227
228
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
@@ -235,13 +236,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
235
236
  chartsBarPage.steps.verifyPreviewScore(12, 20);
236
237
  chartsBarPage.steps.switchToGradingView();
237
238
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
238
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
239
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
239
240
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
240
241
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
241
242
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
242
243
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
243
244
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 3, range: 10 });
244
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
245
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
245
246
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 10 });
246
247
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
247
248
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
@@ -249,7 +250,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
249
250
  /* cy.log('When the user attempts the question with more answers from the alternate accordion than the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct accordion responses, incorrect icons should be displayed on the alternate accordion responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
250
251
  chartsBarPage.steps.checkAnswer();
251
252
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
252
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
253
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
253
254
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
254
255
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
255
256
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
@@ -265,13 +266,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
265
266
  chartsBarPage.steps.verifyPreviewScore(8, 20);
266
267
  chartsBarPage.steps.switchToGradingView();
267
268
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
268
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
269
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
269
270
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
270
271
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
271
272
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
272
273
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
273
274
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 3, range: 10 });
274
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
275
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
275
276
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 10 });
276
277
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
277
278
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
@@ -279,7 +280,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
279
280
  /* 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 besides the correct answer responses, incorrect icon should be displayed beside empty responses correct/incorrect status message should not be displayed and correct answer section should not be displayed')
280
281
  chartsBarPage.steps.checkAnswer();
281
282
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
282
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
283
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
283
284
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
284
285
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
285
286
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
@@ -296,13 +297,13 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
296
297
  chartsBarPage.steps.verifyPreviewScore(8, 20);
297
298
  chartsBarPage.steps.switchToGradingView();
298
299
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
299
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
300
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
300
301
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
301
302
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
302
303
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
303
304
  chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
304
305
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 3, range: 10 });
305
- chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
306
+ chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
306
307
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 10 });
307
308
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
308
309
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
@@ -310,7 +311,7 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
310
311
  /* 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 besides the correct answer responses, incorrect icons should be displayed on the incorrect bars, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
311
312
  chartsBarPage.steps.checkAnswer();
312
313
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
313
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
314
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(1, 'correct');
314
315
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
315
316
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
316
317
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');