itemengine-cypress-automation 1.0.343 → 1.0.344-graph-and-chart-r2-8153722.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 (260) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
  2. package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
  3. package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +398 -0
  4. package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +329 -0
  5. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +260 -0
  6. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +368 -0
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -2
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  11. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  12. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  13. package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
  14. package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
  15. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
  16. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  17. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  18. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  19. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  20. package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
  21. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  22. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +0 -2
  23. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  24. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  25. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +1 -1
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +3 -3
  27. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
  28. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  29. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  30. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  31. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  32. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  33. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  34. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  35. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
  36. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  37. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  38. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +29 -25
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
  43. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +201 -0
  44. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  45. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
  46. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -1
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +18 -20
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +1 -0
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +21 -30
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +211 -0
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +23 -30
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +1 -1
  64. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +25 -30
  65. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  66. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -10
  67. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -0
  68. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  69. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  70. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  71. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  72. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  73. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  74. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  75. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  76. package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
  77. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  78. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  79. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +5 -6
  80. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  81. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  82. package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
  83. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  84. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  85. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  86. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  87. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  88. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  89. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  90. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  91. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  92. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
  93. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
  94. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
  95. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
  96. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
  97. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
  98. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  99. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +1 -1
  100. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  101. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
  102. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  103. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +6 -10
  104. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
  105. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  106. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +2 -1
  107. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  108. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +35 -9
  109. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  110. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  111. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  112. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  113. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  114. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  115. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  116. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +35 -1
  117. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  118. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  119. package/cypress/e2e/ILC/Matching/clickAndDrop.js +3 -5
  120. package/cypress/e2e/ILC/Matching/draggableOptions.js +4 -0
  121. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  122. package/cypress/e2e/ILC/Matching/headerSection.js +36 -11
  123. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  124. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +226 -0
  125. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  126. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  127. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
  128. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  129. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  130. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  131. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
  132. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  133. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  134. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
  135. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +4 -2
  136. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  137. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  138. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  139. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  140. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  141. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  142. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  143. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  144. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  145. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  146. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  147. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  148. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  149. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  150. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  151. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  152. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +31 -48
  153. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  154. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  155. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  156. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  157. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  158. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  159. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  160. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  161. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  162. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +84 -0
  163. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +84 -0
  164. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +63 -0
  165. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -1
  166. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +2 -2
  167. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
  168. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -3
  169. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +62 -0
  170. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +62 -0
  171. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +63 -0
  172. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -4
  173. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -8
  174. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  175. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  176. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  177. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  178. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  179. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -2
  180. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  181. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +8 -6
  182. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
  183. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
  184. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  185. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +52 -0
  186. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +112 -0
  187. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +561 -0
  188. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +185 -0
  189. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  190. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +289 -0
  191. package/cypress/e2e/ILC/ThinkSphere/headerSection.js +53 -0
  192. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +581 -0
  193. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  194. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +296 -0
  195. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +1 -1
  196. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  197. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  198. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  199. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  200. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  201. package/cypress/e2e/Sessions/scores.js +9 -5
  202. package/cypress/e2e/applitools.config.js +3 -3
  203. package/cypress/fixtures/theme/ilc.json +14 -1
  204. package/cypress/fixtures/uploads/sample.webm +0 -0
  205. package/cypress/fixtures/uploads/sample.wmv +0 -0
  206. package/cypress/fixtures/uploads/sample20MB.mp4 +0 -0
  207. package/cypress/fixtures/uploads/sample2MB.mp4 +0 -0
  208. package/cypress/fixtures/uploads/sample2MB_2.mp4 +0 -0
  209. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  210. package/cypress/pages/audioPlayerPage.js +22 -22
  211. package/cypress/pages/chartsBarPage.js +20 -0
  212. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  213. package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
  214. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  215. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +16 -28
  216. package/cypress/pages/components/backgroundImageUploadComponent.js +32 -25
  217. package/cypress/pages/components/browseItemsPage.js +998 -7
  218. package/cypress/pages/components/ckEditorAudioPlayerComponent.js +1 -1
  219. package/cypress/pages/components/ckEditorEquationEditorComponent.js +4 -4
  220. package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
  221. package/cypress/pages/components/ckEditorLinkComponent.js +3 -3
  222. package/cypress/pages/components/commonComponents.js +8 -1
  223. package/cypress/pages/components/createQuestionBasePage.js +8 -1
  224. package/cypress/pages/components/defaultToolDropdown.js +7 -6
  225. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  226. package/cypress/pages/components/equationEditorSectionCommonComponent.js +13 -26
  227. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -3
  228. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -35
  229. package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
  230. package/cypress/pages/components/imageCanvasComponent.js +7 -6
  231. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  232. package/cypress/pages/components/questionInstructionsComponent.js +7 -0
  233. package/cypress/pages/components/scoringSectionBaseEditTab.js +6 -4
  234. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  235. package/cypress/pages/desmosGeometryPage.js +184 -4
  236. package/cypress/pages/dialogBoxBase.js +2 -1
  237. package/cypress/pages/drawingResponsePage.js +16 -15
  238. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  239. package/cypress/pages/gradingViewPage.js +8 -0
  240. package/cypress/pages/graphingPage.js +27 -8
  241. package/cypress/pages/gridFillPage.js +15 -6
  242. package/cypress/pages/index.js +2 -1
  243. package/cypress/pages/listOrderingPage.js +32 -1
  244. package/cypress/pages/matchingPage.js +26 -7
  245. package/cypress/pages/multipleSelectionPage.js +10 -39
  246. package/cypress/pages/numberLineLabelPage.js +31 -8
  247. package/cypress/pages/numberLinePage.js +19 -7
  248. package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
  249. package/cypress/pages/singleSelectionPage.js +0 -37
  250. package/cypress/pages/textEntryMathPage.js +21 -0
  251. package/cypress/pages/thinkSpherePage.js +1874 -0
  252. package/cypress/pages/uploadResponsePage.js +2 -1
  253. package/cypress/pages/videoResponsePage.js +3 -0
  254. package/cypress/support/commands.js +7 -4
  255. package/cypress/support/e2e.js +1 -0
  256. package/cypress/support/helpers/createItem.js +1181 -1
  257. package/cypress/support/helpers/utilities.js +75 -1
  258. package/package.json +4 -4
  259. package/scripts/dataApi.mjs +3 -0
  260. package/scripts/sorry-cypress.mjs +13 -0
@@ -112,6 +112,7 @@ describe('Create item page - Multiple selection: Partial different weights with
112
112
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
113
113
  });
114
114
 
115
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
115
116
  it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses , no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
116
117
  multipleSelectionPage.steps.resetQuestionPreview();
117
118
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
@@ -128,9 +129,9 @@ describe('Create item page - Multiple selection: Partial different weights with
128
129
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
129
130
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
130
131
  //correct answer section
131
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
132
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
133
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
132
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
133
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
134
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
134
135
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
135
136
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
136
137
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -146,7 +147,7 @@ describe('Create item page - Multiple selection: Partial different weights with
146
147
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
147
148
  });
148
149
 
149
- //Failing due to https://redmine.zeuslearning.com/issues/554783
150
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
150
151
  it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses , no icons should be displayed besides unattempted options , incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
151
152
  multipleSelectionPage.steps.resetQuestionPreview();
152
153
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
@@ -163,9 +164,9 @@ describe('Create item page - Multiple selection: Partial different weights with
163
164
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
164
165
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
165
166
  //correct answer section
166
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
167
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
168
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
167
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
168
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
169
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
169
170
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
170
171
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
171
172
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -197,9 +198,9 @@ describe('Create item page - Multiple selection: Partial different weights with
197
198
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
198
199
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
199
200
  //correct answer section
200
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
201
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
202
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
201
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
202
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
203
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
203
204
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
204
205
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
205
206
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -215,6 +216,7 @@ describe('Create item page - Multiple selection: Partial different weights with
215
216
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
216
217
  });
217
218
 
219
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
218
220
  it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer , no icons should be displayed besides unattempted options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
219
221
  multipleSelectionPage.steps.resetQuestionPreview();
220
222
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
@@ -231,9 +233,9 @@ describe('Create item page - Multiple selection: Partial different weights with
231
233
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
232
234
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
233
235
  //correct answer section
234
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
235
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
236
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
236
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
237
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
238
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
237
239
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
238
240
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
239
241
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -264,9 +266,9 @@ describe('Create item page - Multiple selection: Partial different weights with
264
266
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
265
267
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
266
268
  //correct answer section
267
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
268
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
269
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
269
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
270
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
271
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
270
272
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
271
273
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
272
274
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -305,9 +307,9 @@ describe('Create item page - Multiple selection: Partial different weights with
305
307
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
306
308
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
307
309
  //correct answer section
308
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
309
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
310
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
310
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
311
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
312
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
311
313
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
312
314
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
313
315
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -339,9 +341,9 @@ describe('Create item page - Multiple selection: Partial different weights with
339
341
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
340
342
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
341
343
  //correct answer section
342
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
343
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
344
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
344
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
345
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
346
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
345
347
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
346
348
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
347
349
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -501,9 +503,9 @@ describe('Create item page - Multiple selection: Partial different weights with
501
503
  //correct answer section
502
504
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
503
505
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
504
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
505
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
506
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
506
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
507
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
508
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
507
509
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
508
510
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
509
511
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -517,6 +519,7 @@ describe('Create item page - Multiple selection: Partial different weights with
517
519
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
518
520
  });
519
521
 
522
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
520
523
  it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
521
524
  multipleSelectionPage.steps.resetQuestionPreview();
522
525
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
@@ -535,9 +538,9 @@ describe('Create item page - Multiple selection: Partial different weights with
535
538
  //correct answer section
536
539
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
537
540
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
538
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
539
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
540
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
541
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
542
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
543
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
541
544
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
542
545
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
543
546
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -569,9 +572,9 @@ describe('Create item page - Multiple selection: Partial different weights with
569
572
  //correct answer section
570
573
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
571
574
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
572
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
573
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
574
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
575
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
576
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
577
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
575
578
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
576
579
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
577
580
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -603,9 +606,9 @@ describe('Create item page - Multiple selection: Partial different weights with
603
606
  //correct answer section
604
607
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
605
608
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
606
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
607
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
608
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
609
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
610
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
611
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
609
612
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
610
613
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
611
614
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -636,9 +639,9 @@ describe('Create item page - Multiple selection: Partial different weights with
636
639
  //correct answer section
637
640
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
638
641
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
639
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
640
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
641
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
642
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
643
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
644
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
642
645
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
643
646
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
644
647
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -677,9 +680,9 @@ describe('Create item page - Multiple selection: Partial different weights with
677
680
  //correct answer section
678
681
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
679
682
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
680
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
681
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
682
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
683
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
684
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
685
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
683
686
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
684
687
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
685
688
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -710,9 +713,9 @@ describe('Create item page - Multiple selection: Partial different weights with
710
713
  //correct answer section
711
714
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
712
715
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
713
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
714
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
715
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
716
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
717
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
718
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
716
719
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
717
720
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
718
721
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -830,6 +833,7 @@ describe('Create item page - Multiple selection: Partial different weights with
830
833
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
831
834
  });
832
835
 
836
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
833
837
  it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
834
838
  multipleSelectionPage.steps.resetQuestionPreview();
835
839
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
@@ -846,9 +850,9 @@ describe('Create item page - Multiple selection: Partial different weights with
846
850
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
847
851
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
848
852
  //correct answer section
849
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
850
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
851
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
853
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
854
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
855
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
852
856
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
853
857
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
854
858
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -864,6 +868,7 @@ describe('Create item page - Multiple selection: Partial different weights with
864
868
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
865
869
  });
866
870
 
871
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
867
872
  it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
868
873
  multipleSelectionPage.steps.resetQuestionPreview();
869
874
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
@@ -880,9 +885,9 @@ describe('Create item page - Multiple selection: Partial different weights with
880
885
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
881
886
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
882
887
  //correct answer section
883
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
884
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
885
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
888
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
889
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
890
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
886
891
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
887
892
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
888
893
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -914,9 +919,9 @@ describe('Create item page - Multiple selection: Partial different weights with
914
919
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
915
920
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
916
921
  //correct answer section
917
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
918
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
919
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
922
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
923
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
924
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
920
925
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
921
926
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
922
927
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -948,9 +953,9 @@ describe('Create item page - Multiple selection: Partial different weights with
948
953
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
949
954
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
950
955
  //correct answer section
951
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
952
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
953
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
956
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
957
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
958
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
954
959
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
955
960
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
956
961
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -981,9 +986,9 @@ describe('Create item page - Multiple selection: Partial different weights with
981
986
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
982
987
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
983
988
  //correct answer section
984
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
985
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
986
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
989
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
990
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
991
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
987
992
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
988
993
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
989
994
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -1022,9 +1027,9 @@ describe('Create item page - Multiple selection: Partial different weights with
1022
1027
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
1023
1028
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
1024
1029
  //correct answer section
1025
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
1026
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
1027
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
1030
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
1031
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
1032
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
1028
1033
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
1029
1034
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
1030
1035
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -1056,9 +1061,9 @@ describe('Create item page - Multiple selection: Partial different weights with
1056
1061
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
1057
1062
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
1058
1063
  //correct answer section
1059
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
1060
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
1061
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
1064
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
1065
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
1066
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
1062
1067
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
1063
1068
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
1064
1069
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -138,8 +138,8 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
138
138
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
139
139
  });
140
140
 
141
- //Failing due to: https://redmine.zeuslearning.com/issues/554783
142
- it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
141
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
142
+ it.skip('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
143
143
  multipleSelectionPage.steps.resetQuestionPreview();
144
144
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
145
145
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -424,7 +424,8 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
424
424
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
425
425
  });
426
426
 
427
- it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
427
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
428
+ it.skip('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
428
429
  multipleSelectionPage.steps.resetQuestionPreview();
429
430
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
430
431
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -749,7 +750,8 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
749
750
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
750
751
  });
751
752
 
752
- it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
753
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
754
+ it.skip('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
753
755
  multipleSelectionPage.steps.resetQuestionPreview();
754
756
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
755
757
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -209,6 +209,226 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
209
209
  });
210
210
  });
211
211
 
212
+ views.forEach((view) => {
213
+ describe(`Multiple selection - Manually scored: ${view}`, { tags: 'smoke' }, () => {
214
+ abortEarlySetup();
215
+ before(() => {
216
+ switch (view) {
217
+ case 'Question preview':
218
+ multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
219
+ cy.barsPreLoaderWait();
220
+ multipleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Please select following animals facts are correct or not');
221
+ multipleSelectionGridPage.steps.expandScoringTypeDropdown();
222
+ multipleSelectionGridPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
223
+ multipleSelectionGridPage.steps.allotPoints(20);
224
+ multipleSelectionGridPage.steps.setRowsAndColumnsForBasicQuestion();
225
+ multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 3, column: 0 }, 'Whale are mammals');
226
+ multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
227
+ multipleSelectionGridPage.steps.switchToPreviewTab();
228
+ break;
229
+ case 'Item preview':
230
+ cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
231
+ itemPreviewPage.steps.switchToPreviewTab();
232
+ break;
233
+ case 'Grading view':
234
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
235
+ break;
236
+ };
237
+ });
238
+
239
+ beforeEach(() => {
240
+ switch (view) {
241
+ case 'Question preview':
242
+ multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
243
+ multipleSelectionGridPage.steps.resetQuestionPreview();
244
+ break;
245
+ case 'Item preview':
246
+ multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
247
+ itemPreviewPage.steps.resetQuestionPreview();
248
+ break;
249
+ case 'Grading view':
250
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
251
+ break;
252
+ }
253
+ });
254
+
255
+ if (view === 'Question preview') {
256
+ after(() => {
257
+ multipleSelectionGridPage.steps.clickOnSaveQuestionButton();
258
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
259
+ itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
260
+ });
261
+ };
262
+
263
+ it('Question instructions should be visible', () => {
264
+ multipleSelectionGridPage.steps.verifyQuestionInstructionsTextPreviewTab('Please select following animals facts are correct or not');
265
+ multipleSelectionGridPage.steps.verifyVisibityOfQuestionInstructionsText();
266
+ });
267
+
268
+ it('User should be able to attempt the question in student view and correct/incorrect icons, Your answer is correct/incorrect label, and correct answer section should not be displayed in grading view', () => {
269
+ multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
270
+ if (view === 'Grading view') {
271
+ studentViewPage.steps.submitResponse();
272
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
273
+ studentViewPage.steps.clickOnGoToGradingViewButton();
274
+ gradingViewPage.steps.verifyGradingViewScore('', 20);
275
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 1, column: 0 });
276
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 1, column: 1 });
277
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 2, column: 1 });
278
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 3, column: 1 });
279
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 4, column: 0 });
280
+ multipleSelectionGridPage.steps.verifyAnswerStatusBannerNotExist();
281
+ multipleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExist();
282
+ };
283
+ if (view === 'Question preview' || view === 'Item preview') {
284
+ multipleSelectionGridPage.steps.checkManuallyScoredScoringLabel();
285
+ };
286
+ });
287
+ });
288
+ });
289
+
290
+ views.forEach((view) => {
291
+ describe(`Multiple selection - Non scored: ${view}`, { tags: 'smoke' }, () => {
292
+ abortEarlySetup();
293
+ before(() => {
294
+ switch (view) {
295
+ case 'Question preview':
296
+ multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
297
+ cy.barsPreLoaderWait();
298
+ multipleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Please select following animals facts are correct or not');
299
+ multipleSelectionGridPage.steps.expandScoringTypeDropdown();
300
+ multipleSelectionGridPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
301
+ multipleSelectionGridPage.steps.setRowsAndColumnsForBasicQuestion();
302
+ multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 3, column: 0 }, 'Whale are mammals');
303
+ multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
304
+ multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
305
+ multipleSelectionGridPage.steps.switchToPreviewTab();
306
+ multipleSelectionGridPage.steps.switchToPreviewTab();
307
+ break;
308
+ case 'Item preview':
309
+ cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
310
+ itemPreviewPage.steps.switchToPreviewTab();
311
+ break;
312
+ case 'Grading view':
313
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
314
+ break;
315
+ };
316
+ });
317
+
318
+ beforeEach(() => {
319
+ switch (view) {
320
+ case 'Question preview':
321
+ multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
322
+ multipleSelectionGridPage.steps.resetQuestionPreview();
323
+ break;
324
+ case 'Item preview':
325
+ multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
326
+ itemPreviewPage.steps.resetQuestionPreview();
327
+ break;
328
+ case 'Grading view':
329
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
330
+ break;
331
+ }
332
+ });
333
+
334
+ if (view === 'Question preview') {
335
+ after(() => {
336
+ multipleSelectionGridPage.steps.clickOnSaveQuestionButton();
337
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
338
+ itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
339
+ });
340
+ };
341
+
342
+ it('When the user selects \'Grading\' view without attempting the question, non scoring label should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and correct/incorrect icons should not be displayed', () => {
343
+ if (view === 'Grading view') {
344
+ studentViewPage.steps.submitResponse();
345
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
346
+ studentViewPage.steps.clickOnGoToGradingViewButton();
347
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
348
+ };
349
+ if (view === 'Question preview' || view === 'Item preview') {
350
+ multipleSelectionGridPage.steps.checkNonScoredScoringLabel();
351
+ multipleSelectionGridPage.steps.switchToGradingView();
352
+ multipleSelectionGridPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
353
+ };
354
+ utilities.verifyInnerText(multipleSelectionGridPage.correctAnswersSectionLabel(), 'Correct answers');
355
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
356
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
357
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
358
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
359
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
360
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
361
+ });
362
+
363
+ it('When the user attempts the question incorrectly,and on switching to \'Grading\' view non scoring label should be displayed, incorrect icon should be displayed beside incorrect response, a status message with text \'Your answer is incorrect\' and correct answer section with correct answer should be displayed', () => {
364
+ multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 2, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }]);
365
+ if (view === 'Grading view') {
366
+ studentViewPage.steps.submitResponse();
367
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
368
+ studentViewPage.steps.clickOnGoToGradingViewButton();
369
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
370
+ };
371
+ if (view === 'Question preview' || view === 'Item preview') {
372
+ multipleSelectionGridPage.steps.checkNonScoredScoringLabel();
373
+ multipleSelectionGridPage.steps.switchToGradingView();
374
+ };
375
+ multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
376
+ multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
377
+ multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
378
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
379
+ multipleSelectionGridPage.steps.verifyCorrectAnswerSectionExist();
380
+ });
381
+
382
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along should be displayed', () => {
383
+ if (view === 'Grading view') {
384
+ studentViewPage.steps.clearResponses();
385
+ };
386
+ multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }]);
387
+ if (view === 'Grading view') {
388
+ studentViewPage.steps.submitResponse();
389
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
390
+ studentViewPage.steps.clickOnGoToGradingViewButton();
391
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
392
+ };
393
+ if (view === 'Question preview' || view === 'Item preview') {
394
+ multipleSelectionGridPage.steps.checkNonScoredScoringLabel();
395
+ multipleSelectionGridPage.steps.switchToGradingView();
396
+ };
397
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
398
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
399
+ multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
400
+ multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
401
+ multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
402
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
403
+ multipleSelectionGridPage.steps.verifyCorrectAnswerSectionExist();
404
+ });
405
+
406
+ it('When user attempts the question correctly, and on switching to \'Grading\' view non scoring label should be displayed, correct icons should be displayed beside the correct response, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
407
+ if (view === 'Grading view') {
408
+ studentViewPage.steps.clearResponses();
409
+ };
410
+ multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
411
+ if (view === 'Grading view') {
412
+ studentViewPage.steps.submitResponse();
413
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
414
+ studentViewPage.steps.clickOnGoToGradingViewButton();
415
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
416
+ };
417
+ if (view === 'Question preview' || view === 'Item preview') {
418
+ multipleSelectionGridPage.steps.checkNonScoredScoringLabel();
419
+ multipleSelectionGridPage.steps.switchToGradingView();
420
+ };
421
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
422
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
423
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
424
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
425
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
426
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
427
+ multipleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExist();
428
+ });
429
+ });
430
+ });
431
+
212
432
  if (!grepTags || !grepTags.includes('smoke')) {
213
433
  describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
214
434
  abortEarlySetup();