itemengine-cypress-automation 1.0.355 → 1.0.356-capture-image-8b4830c.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 (250) hide show
  1. package/Dockerfile +1 -0
  2. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
  3. package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
  4. package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +49 -11
  5. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +4 -3
  6. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +4 -3
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -2
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  11. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  12. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  13. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  14. package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
  15. package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
  16. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
  17. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  18. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  19. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  20. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  21. package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +3 -1
  22. package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
  23. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  24. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -4
  25. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  26. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
  27. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
  28. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +6 -0
  29. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
  30. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  31. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -4
  32. package/cypress/e2e/ILC/CkEditorInsertTable/tableDimension&FooterProperties.js +3 -3
  33. package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +11 -11
  34. package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
  35. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +62 -4
  36. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +119 -10
  37. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabScoring.js +1 -0
  38. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
  39. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  40. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  41. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +1 -1
  42. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  43. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  44. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  45. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  46. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  47. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +1 -3
  48. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  49. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  50. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  51. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  52. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editQuestion.smoke.js +40 -0
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editQuestion.smoke.js +45 -0
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +1 -0
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +3 -1
  58. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  59. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  60. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  61. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  62. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  63. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  64. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  65. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  66. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  67. package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
  68. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  69. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  70. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +5 -6
  71. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  72. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  73. package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
  74. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  75. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  76. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  77. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  78. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  79. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  80. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  81. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  82. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  83. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
  84. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
  85. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
  86. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
  87. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
  88. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
  89. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  90. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +1 -1
  91. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  92. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
  93. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  94. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +6 -10
  95. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
  96. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  97. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  98. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +35 -9
  99. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  100. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  101. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  102. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  103. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  104. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  105. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  106. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +35 -1
  107. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  108. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -0
  109. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  110. package/cypress/e2e/ILC/Matching/clickAndDrop.js +3 -5
  111. package/cypress/e2e/ILC/Matching/draggableOptions.js +4 -0
  112. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  113. package/cypress/e2e/ILC/Matching/headerSection.js +36 -11
  114. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  115. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
  116. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +227 -0
  117. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +2 -0
  118. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +1 -0
  119. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -67
  120. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
  121. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  122. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +6 -0
  123. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +100 -69
  124. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +1 -0
  125. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  126. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  127. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  128. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  129. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  130. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  131. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  132. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  133. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  134. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  135. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  136. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  137. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  138. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  139. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  140. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  141. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  142. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +35 -51
  143. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  144. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  145. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +2 -0
  146. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  147. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  148. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  149. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  150. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +101 -70
  151. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  152. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
  153. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
  154. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  155. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -1
  156. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  157. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  158. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +10 -3
  159. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
  160. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -3
  161. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  162. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
  163. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
  164. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
  165. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
  166. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
  167. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  168. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  169. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  170. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  171. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
  172. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  173. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  174. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  175. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
  176. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
  177. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +2 -0
  178. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  179. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  180. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  181. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  182. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  183. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -1
  184. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  185. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
  186. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  187. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +1 -1
  188. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +58 -4
  189. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +208 -13
  190. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +259 -9
  191. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  192. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +291 -0
  193. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +409 -4
  194. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  195. package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
  196. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +39 -6
  197. package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
  198. package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +141 -0
  199. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
  200. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  201. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  202. package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +50 -13
  203. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  204. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  205. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  206. package/cypress/e2e/applitools.config.js +3 -3
  207. package/cypress/fixtures/theme/ilc.json +5 -1
  208. package/cypress/fixtures/uploads/sample.webm +0 -0
  209. package/cypress/fixtures/uploads/sample.wmv +0 -0
  210. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  211. package/cypress/pages/audioPlayerPage.js +47 -22
  212. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  213. package/cypress/pages/chartsBarPage.js +20 -0
  214. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  215. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  216. package/cypress/pages/components/browseItemsPage.js +109 -2
  217. package/cypress/pages/components/ckEditorEquationEditorComponent.js +5 -4
  218. package/cypress/pages/components/ckEditorInsertImageComponent.js +2 -2
  219. package/cypress/pages/components/ckEditorInsertTableComponent.js +3 -3
  220. package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
  221. package/cypress/pages/components/commonComponents.js +4 -0
  222. package/cypress/pages/components/createQuestionBasePage.js +14 -1
  223. package/cypress/pages/components/defaultToolDropdown.js +1 -1
  224. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  225. package/cypress/pages/components/equationEditorSectionCommonComponent.js +10 -25
  226. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +28 -0
  227. package/cypress/pages/components/gridQuestionCommonComponent.js +56 -0
  228. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  229. package/cypress/pages/components/questionInstructionsComponent.js +9 -0
  230. package/cypress/pages/components/scoringSectionBaseEditTab.js +4 -0
  231. package/cypress/pages/contentBlocksPage.js +2 -0
  232. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  233. package/cypress/pages/desmosGeometryPage.js +184 -4
  234. package/cypress/pages/drawingResponsePage.js +2 -0
  235. package/cypress/pages/gradingViewPage.js +8 -0
  236. package/cypress/pages/graphingPage.js +27 -8
  237. package/cypress/pages/gridFillPage.js +15 -6
  238. package/cypress/pages/listOrderingPage.js +32 -1
  239. package/cypress/pages/matchingPage.js +26 -7
  240. package/cypress/pages/multipleSelectionPage.js +9 -1
  241. package/cypress/pages/numberLineLabelPage.js +31 -8
  242. package/cypress/pages/numberLinePage.js +19 -7
  243. package/cypress/pages/textEntryMathPage.js +24 -1
  244. package/cypress/pages/thinkSpherePage.js +925 -47
  245. package/cypress/pages/uploadResponsePage.js +17 -1
  246. package/cypress/pages/videoResponsePage.js +3 -0
  247. package/cypress/support/commands.js +9 -0
  248. package/cypress/support/helpers/createItem.js +668 -19
  249. package/cypress/support/helpers/utilities.js +35 -2
  250. package/package.json +3 -3
@@ -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);
@@ -216,7 +217,7 @@ describe('Create item page - Multiple selection: Partial different weights with
216
217
  });
217
218
 
218
219
  //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
219
- it.skip('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', () => {
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', () => {
220
221
  multipleSelectionPage.steps.resetQuestionPreview();
221
222
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
222
223
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
@@ -232,9 +233,9 @@ describe('Create item page - Multiple selection: Partial different weights with
232
233
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
233
234
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
234
235
  //correct answer section
235
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
236
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
237
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
236
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
237
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
238
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
238
239
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
239
240
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
240
241
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -265,9 +266,9 @@ describe('Create item page - Multiple selection: Partial different weights with
265
266
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
266
267
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
267
268
  //correct answer section
268
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
269
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
270
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
269
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
270
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
271
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
271
272
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
272
273
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
273
274
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -306,9 +307,9 @@ describe('Create item page - Multiple selection: Partial different weights with
306
307
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
307
308
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
308
309
  //correct answer section
309
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
310
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
311
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
310
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
311
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
312
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
312
313
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
313
314
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
314
315
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -340,9 +341,9 @@ describe('Create item page - Multiple selection: Partial different weights with
340
341
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
341
342
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
342
343
  //correct answer section
343
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
344
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
345
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
344
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
345
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
346
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
346
347
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
347
348
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
348
349
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -502,9 +503,9 @@ describe('Create item page - Multiple selection: Partial different weights with
502
503
  //correct answer section
503
504
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
504
505
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
505
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
506
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
507
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
506
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
507
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
508
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
508
509
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
509
510
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
510
511
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -519,7 +520,7 @@ describe('Create item page - Multiple selection: Partial different weights with
519
520
  });
520
521
 
521
522
  //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
522
- 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 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', () => {
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', () => {
523
524
  multipleSelectionPage.steps.resetQuestionPreview();
524
525
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
525
526
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -537,9 +538,9 @@ describe('Create item page - Multiple selection: Partial different weights with
537
538
  //correct answer section
538
539
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
539
540
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
540
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
541
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
542
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
541
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
542
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
543
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
543
544
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
544
545
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
545
546
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -571,9 +572,9 @@ describe('Create item page - Multiple selection: Partial different weights with
571
572
  //correct answer section
572
573
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
573
574
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
574
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
575
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
576
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
575
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
576
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
577
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
577
578
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
578
579
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
579
580
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -605,9 +606,9 @@ describe('Create item page - Multiple selection: Partial different weights with
605
606
  //correct answer section
606
607
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
607
608
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
608
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
609
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
610
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
609
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
610
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
611
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
611
612
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
612
613
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
613
614
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -638,9 +639,9 @@ describe('Create item page - Multiple selection: Partial different weights with
638
639
  //correct answer section
639
640
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
640
641
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
641
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
642
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
643
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
642
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
643
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
644
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
644
645
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
645
646
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
646
647
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -679,9 +680,9 @@ describe('Create item page - Multiple selection: Partial different weights with
679
680
  //correct answer section
680
681
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
681
682
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
682
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
683
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
684
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
683
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
684
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
685
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
685
686
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
686
687
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
687
688
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -712,9 +713,9 @@ describe('Create item page - Multiple selection: Partial different weights with
712
713
  //correct answer section
713
714
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
714
715
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
715
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
716
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
717
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
716
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
717
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
718
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
718
719
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
719
720
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
720
721
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -833,7 +834,7 @@ describe('Create item page - Multiple selection: Partial different weights with
833
834
  });
834
835
 
835
836
  //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
836
- 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 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', () => {
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', () => {
837
838
  multipleSelectionPage.steps.resetQuestionPreview();
838
839
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
839
840
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -849,9 +850,9 @@ describe('Create item page - Multiple selection: Partial different weights with
849
850
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
850
851
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
851
852
  //correct answer section
852
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
853
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
854
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
853
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
854
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
855
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
855
856
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
856
857
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
857
858
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -867,6 +868,7 @@ describe('Create item page - Multiple selection: Partial different weights with
867
868
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
868
869
  });
869
870
 
871
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
870
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', () => {
871
873
  multipleSelectionPage.steps.resetQuestionPreview();
872
874
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
@@ -883,9 +885,9 @@ describe('Create item page - Multiple selection: Partial different weights with
883
885
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
884
886
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
885
887
  //correct answer section
886
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
887
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
888
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
888
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
889
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
890
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
889
891
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
890
892
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
891
893
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -917,9 +919,9 @@ describe('Create item page - Multiple selection: Partial different weights with
917
919
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
918
920
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
919
921
  //correct answer section
920
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
921
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
922
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
922
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
923
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
924
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
923
925
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
924
926
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
925
927
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -951,9 +953,9 @@ describe('Create item page - Multiple selection: Partial different weights with
951
953
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
952
954
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
953
955
  //correct answer section
954
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
955
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
956
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
956
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
957
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
958
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
957
959
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
958
960
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
959
961
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -984,9 +986,9 @@ describe('Create item page - Multiple selection: Partial different weights with
984
986
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
985
987
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
986
988
  //correct answer section
987
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
988
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
989
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
989
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
990
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
991
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
990
992
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
991
993
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
992
994
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -1025,9 +1027,9 @@ describe('Create item page - Multiple selection: Partial different weights with
1025
1027
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
1026
1028
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
1027
1029
  //correct answer section
1028
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
1029
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
1030
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
1030
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
1031
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
1032
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
1031
1033
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
1032
1034
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
1033
1035
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -1059,9 +1061,9 @@ describe('Create item page - Multiple selection: Partial different weights with
1059
1061
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
1060
1062
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
1061
1063
  //correct answer section
1062
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
1063
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
1064
- multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
1064
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
1065
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
1066
+ // multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
1065
1067
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
1066
1068
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
1067
1069
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
@@ -65,6 +65,7 @@ describe('Create Item page - Multiple selection grid', () => {
65
65
  before(() => {
66
66
  multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
67
67
  cy.barsPreLoaderWait();
68
+ multipleSelectionGridPage.steps.addQuestionInstructions('Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
68
69
  });
69
70
 
70
71
  it('When the user selects \'Grading\' view without setting the answer, correct answers section and answer status banner should not be displayed', () => {
@@ -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();
@@ -237,6 +237,9 @@ describe('Create item page - Multiple selection grid: Scoring section', () => {
237
237
  before(() => {
238
238
  multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
239
239
  cy.barsPreLoaderWait();
240
+ multipleSelectionGridPage.steps.setRowsAndColumnsForBasicQuestion();
241
+ multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 3, column: 0 }, 'Whale are mammals');
242
+ multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
240
243
  });
241
244
 
242
245
  it('User should be able to select \'Manually scored\' scoring type from scoring type dropdown', () => {
@@ -263,6 +266,9 @@ describe('Create item page - Multiple selection grid: Scoring section', () => {
263
266
  before(() => {
264
267
  multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
265
268
  cy.barsPreLoaderWait();
269
+ multipleSelectionGridPage.steps.setRowsAndColumnsForBasicQuestion();
270
+ multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 3, column: 0 }, 'Whale are mammals');
271
+ multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
266
272
  });
267
273
 
268
274
  it('User should be able to select \'Non scored\' scoring type from scoring type dropdown', () => {