itemengine-cypress-automation 1.0.189-e2e-execution-crash-83cdbd4.0 → 1.0.189

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. package/cypress/e2e/ILC/AudioPlayerNew/allSupportedFileTypes.js +79 -0
  2. package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +647 -0
  3. package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +429 -0
  4. package/cypress/e2e/ILC/AudioPlayerNew/customizePlayerLayoutSettings.js +596 -0
  5. package/cypress/e2e/ILC/AudioPlayerNew/previewContents.smoke.js +162 -0
  6. package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +792 -0
  7. package/cypress/e2e/ILC/AudioPlayerNew/studentViewSettings.js +253 -0
  8. package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +313 -0
  9. package/cypress/e2e/ILC/AudioResponseNew/additionalSettingsBasic.js +1 -22
  10. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +1 -1
  11. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -1
  12. package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -1
  13. package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +2 -11
  14. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +359 -0
  15. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
  16. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +6 -8
  17. package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +417 -28
  18. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
  19. package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +29 -1
  20. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -2
  21. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
  22. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +1 -1
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -0
  24. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -2
  25. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -1
  26. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +1 -1
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +1 -1
  30. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  31. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +3 -4
  32. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  33. package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +1 -0
  34. package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +1 -1
  35. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
  36. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +2 -2
  37. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
  38. package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +2 -2
  39. package/cypress/e2e/ILC/Graphing/studentViewSettings.js +1 -1
  40. package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
  41. package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +11 -3
  42. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +3 -3
  43. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingScoringCellShadeCount.js +2 -2
  44. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +143 -0
  45. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +132 -0
  46. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +143 -0
  47. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +144 -0
  48. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +143 -0
  49. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +131 -0
  50. package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +87 -0
  51. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +446 -0
  52. package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +1 -1
  53. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +194 -0
  54. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +195 -0
  55. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +274 -0
  56. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingPenaltyScoring.js +48 -0
  57. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +144 -0
  58. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +252 -0
  59. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsBasic.js +102 -0
  60. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +256 -0
  61. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +253 -0
  62. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +308 -0
  63. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +225 -0
  64. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +151 -0
  65. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +196 -0
  66. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +227 -0
  67. package/cypress/e2e/ILC/ListOrderingDropdown/additionalSettings.js +91 -0
  68. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +230 -0
  69. package/cypress/e2e/ILC/ListOrderingDropdown/checkAnswerFunctionalityForAllViews.smoke.js +124 -0
  70. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +221 -0
  71. package/cypress/e2e/ILC/ListOrderingDropdown/editTabScoring.js +203 -0
  72. package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +71 -0
  73. package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +197 -0
  74. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +201 -0
  75. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +115 -0
  76. package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +183 -0
  77. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +216 -0
  78. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +214 -0
  79. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +273 -0
  80. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingPenaltyScoring.js +52 -0
  81. package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +128 -0
  82. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +279 -0
  83. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +109 -0
  84. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +278 -0
  85. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +278 -0
  86. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +335 -0
  87. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +250 -0
  88. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +161 -0
  89. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +216 -0
  90. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +252 -0
  91. package/cypress/e2e/ILC/ListOrderingNew/additionalSettings.js +118 -0
  92. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +243 -0
  93. package/cypress/e2e/ILC/ListOrderingNew/checkAnswerFunctionalityForAllViews.smoke.js +128 -0
  94. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +155 -0
  95. package/cypress/e2e/ILC/ListOrderingNew/editTabScoring.js +195 -0
  96. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +78 -0
  97. package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +69 -0
  98. package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
  99. package/cypress/e2e/ILC/ListOrderingNew/previewContentsForAllViews.smoke.js +176 -0
  100. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +112 -0
  101. package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +244 -0
  102. package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
  103. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +1 -0
  104. package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +1 -1
  105. package/cypress/e2e/ILC/NumberLine/LayoutSection.js +209 -0
  106. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +1 -1
  107. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +1 -1
  108. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
  109. package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +1 -1
  110. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +1 -1
  111. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +1 -1
  112. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +1 -1
  113. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +1 -1
  114. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +58 -2
  115. package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +1 -1
  116. package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +1 -1
  117. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  118. package/cypress/e2e/ILC/NumberLine/headerSection.js +1 -1
  119. package/cypress/e2e/ILC/NumberLine/lineSettingsSection.js +33 -0
  120. package/cypress/e2e/ILC/NumberLine/numberLineSection.js +50 -0
  121. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +2 -2
  122. package/cypress/e2e/ILC/NumberLine/specifyCorrectAnswerSection.js +1 -1
  123. package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +2 -2
  124. package/cypress/e2e/ILC/NumberLine/toolSettings.js +2 -1
  125. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +1 -1
  126. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +696 -0
  127. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +173 -0
  128. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/layoutSection.js +211 -0
  129. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +75 -0
  130. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +204 -0
  131. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +229 -0
  132. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +229 -0
  133. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +229 -0
  134. package/cypress/e2e/ILC/NumberLineLabel/Scoring/manualAndNonScoredScoring.js +169 -0
  135. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +274 -0
  136. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsBasic.js +433 -0
  137. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +274 -0
  138. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +274 -0
  139. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +249 -0
  140. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsBasic.js +135 -0
  141. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +210 -0
  142. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +248 -0
  143. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +115 -0
  144. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +288 -0
  145. package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +153 -0
  146. package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +326 -0
  147. package/cypress/e2e/ILC/NumberLineLabel/editTabScoring.js +234 -0
  148. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +164 -0
  149. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +80 -0
  150. package/cypress/e2e/ILC/NumberLineLabel/layoutSection.js +204 -0
  151. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +79 -0
  152. package/cypress/e2e/ILC/NumberLineLabel/minimumScoringPenaltyPointsAndRoundingDropdown.js +85 -0
  153. package/cypress/e2e/ILC/NumberLineLabel/numberLineSection.js +51 -0
  154. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +120 -0
  155. package/cypress/e2e/ILC/NumberLineLabel/specifyCorrectAnswerSection.js +74 -0
  156. package/cypress/e2e/ILC/NumberLineLabel/studentViewSettings.js +183 -0
  157. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +76 -0
  158. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +292 -0
  159. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/checkAnswerFunctionalityForAllViews.smoke.js +155 -0
  160. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +166 -0
  161. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/layoutSection.js +360 -0
  162. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +80 -0
  163. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +111 -0
  164. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
  165. package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +49 -1
  166. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +1 -1
  167. package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +1 -1
  168. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +2 -2
  169. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -1
  170. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -1
  171. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -1
  172. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +0 -1
  173. package/cypress/e2e/ILC/TextSelection/additionalSettings.js +125 -0
  174. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -1
  175. package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  176. package/cypress/e2e/ILC/TextSelection/editTabScoringSection.js +5 -4
  177. package/cypress/e2e/ILC/TextSelection/headerSection.js +73 -0
  178. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +6 -7
  179. package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +179 -0
  180. package/cypress/e2e/ILC/TextSelection/specifyCorrectAnswerSection.js +89 -0
  181. package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +436 -0
  182. package/cypress/e2e/ILC/TextSelection/styleAndLayoutCustomizationAccordion.js +277 -0
  183. package/cypress/e2e/ILC/TextSelection/textSelectionModesInPreviewTab.js +222 -0
  184. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +260 -0
  185. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +380 -0
  186. package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +5 -5
  187. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
  188. package/cypress/e2e/ILC/VideoResponseNew/additionalSettingsBasic.js +77 -0
  189. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControls.js +313 -0
  190. package/cypress/e2e/ILC/VideoResponseNew/editAndPreviewTabScoringSection.js +99 -0
  191. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +171 -0
  192. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +179 -0
  193. package/cypress/e2e/ILC/VideoResponseNew/headerSection.js +79 -0
  194. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +201 -0
  195. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +567 -0
  196. package/cypress/e2e/ILC/VideoResponseNew/studentViewSettings.js +194 -0
  197. package/cypress/fixtures/constants.js +1 -1
  198. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
  199. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +20 -20
  200. package/cypress/fixtures/theme/ilc.json +22 -18
  201. package/cypress/pages/audioPlayerPage.js +668 -446
  202. package/cypress/pages/audioResponsePage.js +8 -80
  203. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  204. package/cypress/pages/chartsBarPage.js +231 -0
  205. package/cypress/pages/chartsDotPlotPage.js +8 -0
  206. package/cypress/pages/chartsLinePage.js +42 -0
  207. package/cypress/pages/components/allowTeachersToDownloadStudentResponseComponent.js +58 -0
  208. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +13 -23
  209. package/cypress/pages/components/autoScoredStudentViewSettings.js +6 -6
  210. package/cypress/pages/components/barAndLineChartComponent.js +120 -0
  211. package/cypress/pages/components/chartsCommonComponent.js +105 -0
  212. package/cypress/pages/components/commonComponents.js +1 -0
  213. package/cypress/pages/components/draggableOptionContainer.js +2 -1
  214. package/cypress/pages/components/equationEditorFlyout.js +3 -2
  215. package/cypress/pages/components/essayResponseCommonComponents.js +8 -2
  216. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -0
  217. package/cypress/pages/components/imageCanvasComponent.js +2 -1
  218. package/cypress/pages/components/index.js +7 -0
  219. package/cypress/pages/components/layoutSectionComponent.js +1156 -0
  220. package/cypress/pages/components/limitNumberOfRetakeComponent.js +90 -0
  221. package/cypress/pages/components/numberLineCommonComponent.js +685 -0
  222. package/cypress/pages/components/optionsWrapperComponent.js +13 -2
  223. package/cypress/pages/components/playbackControlsBaseComponent.js +20 -13
  224. package/cypress/pages/components/questionInstructionsComponent.js +3 -19
  225. package/cypress/pages/components/styleAndLayoutCustomizationAccordionComponent.js +46 -0
  226. package/cypress/pages/components/toolSettingsComponent.js +6 -0
  227. package/cypress/pages/contentBlocksPage.js +18 -2
  228. package/cypress/pages/createItemPage.js +75 -8
  229. package/cypress/pages/dialogBoxBase.js +2 -2
  230. package/cypress/pages/drawingResponsePage.js +24 -4
  231. package/cypress/pages/feedbackScalePage.js +3 -0
  232. package/cypress/pages/graphingPage.js +19 -1
  233. package/cypress/pages/gridFillPage.js +47 -59
  234. package/cypress/pages/index.js +5 -1
  235. package/cypress/pages/itemPreviewSettingsPage.js +4 -0
  236. package/cypress/pages/listOrderingPage.js +561 -555
  237. package/cypress/pages/matchingPage.js +1 -1
  238. package/cypress/pages/multipleSelectionPage.js +23 -1
  239. package/cypress/pages/numberLineLabelPage.js +1086 -0
  240. package/cypress/pages/numberLinePage.js +696 -78
  241. package/cypress/pages/rulerPage.js +6 -2
  242. package/cypress/pages/textSelectionPage.js +461 -23
  243. package/cypress/pages/videoResponsePage.js +393 -81
  244. package/package.json +1 -1
@@ -0,0 +1,446 @@
1
+ import { gridFillPage } from "../../../../pages";
2
+ import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
+
4
+ describe('Create item page - Grid fill : Partial equal weights', () => {
5
+ before(() => {
6
+ cy.loginAs('admin');
7
+ });
8
+
9
+ describe('Cell shade count - scoring', () => {
10
+ abortEarlySetup();
11
+ before(() => {
12
+ gridFillPage.steps.navigateToCreateQuestion('grid fill');
13
+ cy.barsPreLoaderWait();
14
+ gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
15
+ gridFillPage.steps.addInputToCellShadeCountInputField(3);
16
+ gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
17
+ gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
18
+ gridFillPage.steps.allotPoints(27);
19
+ });
20
+
21
+ it('When the user selects \'Grading\' view without attempting the question, then in correct answer section correct icons should be displayed in exact number of cells specified in specify correct answer section', () => {
22
+ gridFillPage.steps.switchToPreviewTab();
23
+ gridFillPage.steps.switchToGradingView();
24
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
25
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
26
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
27
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
28
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
29
+ });
30
+
31
+ it('When user attempt questions by selecting the less number of cells specified in specify correct answer section, then user should be awarded points for selected cells in preview tab and switching to grading view, correct icons should be displayed in selected responses and in correct answer section correct icons should be displayed in exact number of cells specified in specify correct answer section', () => {
32
+ gridFillPage.steps.selectCellPreviewTab(1, 1);
33
+ gridFillPage.steps.selectCellPreviewTab(1, 3);
34
+ gridFillPage.steps.verifyPreviewScore(18, 27);
35
+ gridFillPage.steps.switchToGradingView();
36
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
37
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
38
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
39
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
40
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
41
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
42
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
43
+ cy.log('When user attempt questions by selecting the less number of cells specified in specify correct answer section and clicks on \'Check answer\' button, then correct icon should be displayed in selected ');
44
+ gridFillPage.steps.checkAnswer();
45
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
46
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
47
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
48
+ });
49
+
50
+ it('When the user attempts questions by selecting more cells than specified in the Specify Correct Answer section, then user should be awarded full points in the preview tab. Switching to grading view, the correct icon should be displayed for the most recent response and the incorrect icon should be displayed for the oldest response and in the correct answer section, correct icons should be displayed for the exact number of cells specified in the Specify Correct Answer section.', () => {
51
+ gridFillPage.steps.resetQuestionPreview();
52
+ gridFillPage.steps.selectCellPreviewTab(1, 1);
53
+ gridFillPage.steps.selectCellPreviewTab(1, 3);
54
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
55
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
56
+ gridFillPage.steps.verifyPreviewScore(27, 27);
57
+ gridFillPage.steps.switchToGradingView();
58
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(1, 1);
59
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
60
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
61
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
62
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
63
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
64
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
65
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
66
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
67
+ cy.log('When user attempt questions by selecting the more number of cells specified in specify correct answer section and clicks on \'Check answer\' button, then correct icon, border and background should be displayed in selected responses');
68
+ gridFillPage.steps.checkAnswer();
69
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(1, 1);
70
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
71
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
72
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
73
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
74
+ });
75
+
76
+ it('When user attempt questions by selecting the exact number of cells specified in specify correct answer section, then user should be awarded full points and switching to grading view, correct icons should be displayed in selected responses', () => {
77
+ gridFillPage.steps.resetQuestionPreview();
78
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
79
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
80
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
81
+ gridFillPage.steps.verifyPreviewScore(27, 27);
82
+ gridFillPage.steps.switchToGradingView();
83
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
84
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
85
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
86
+ gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
87
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
89
+ cy.log('When user attempt questions by selecting the exact number of cells specified in specify correct answer section and clicks on \'Check answer\' button, then correct icon, border and background should be displayed in selected responses');
90
+ gridFillPage.steps.checkAnswer();
91
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
92
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
93
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
94
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
95
+ });
96
+
97
+ it('When user attempt questions by selecting the random cells in exact number of cells specified in specify correct answer section, then user should be awarded full points and switching to grading view, correct icons should be displayed in selected responses', () => {
98
+ gridFillPage.steps.resetQuestionPreview();
99
+ gridFillPage.steps.selectCellPreviewTab(1, 0);
100
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
101
+ gridFillPage.steps.selectCellPreviewTab(1, 2);
102
+ gridFillPage.steps.verifyPreviewScore(27, 27);
103
+ gridFillPage.steps.switchToGradingView();
104
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 0);
105
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 4);
106
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 2);
107
+ gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
108
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
109
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
110
+ cy.log('When user attempt questions by selecting the exact number of cells specified in specify correct answer section and clicks on \'Check answer\' button, then correct icon, border and background should be displayed in selected ');
111
+ gridFillPage.steps.checkAnswer();
112
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 0);
113
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 4);
114
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 2);
115
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
116
+ });
117
+ });
118
+
119
+ describe('Question preview: Auto scored - Partial equal weights: Minimum scoring', () => {
120
+ abortEarlySetup();
121
+ before(() => {
122
+ gridFillPage.steps.navigateToCreateQuestion('grid fill');
123
+ cy.barsPreLoaderWait();
124
+ gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
125
+ gridFillPage.steps.addInputToCellShadeCountInputField(2);
126
+ gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
127
+ gridFillPage.steps.allotPoints(20);
128
+ gridFillPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
129
+ });
130
+
131
+ it('When the user selects \'Award minimum score\' from the minimum scoring dropdown, does not attempt the question and switches to grading view, then the user should be awarded with minimum points', () => {
132
+ gridFillPage.steps.expandMinimumScoringDropdown();
133
+ gridFillPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score');
134
+ gridFillPage.steps.allotMinimumPoints(6);
135
+ gridFillPage.steps.switchToPreviewTab();
136
+ gridFillPage.steps.switchToGradingView();
137
+ gridFillPage.steps.verifyPreviewScore(6, 20);
138
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
139
+ });
140
+
141
+ it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
142
+ gridFillPage.steps.resetQuestionPreview();
143
+ gridFillPage.steps.selectCellPreviewTab(1, 0);
144
+ gridFillPage.steps.verifyPreviewScore(6, 20);
145
+ });
146
+
147
+ it('When the user selects \'Award minimum score only if attempted\' from the minimum scoring dropdown, does not attempt the question and switches to grading view, then the user should be awarded with 0 points', () => {
148
+ gridFillPage.steps.switchToEditTab();
149
+ gridFillPage.steps.expandMinimumScoringDropdown();
150
+ gridFillPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
151
+ gridFillPage.steps.allotMinimumPoints(6);
152
+ gridFillPage.steps.switchToPreviewTab();
153
+ gridFillPage.steps.switchToGradingView();
154
+ gridFillPage.steps.verifyPreviewScore(0, 20);
155
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
156
+ });
157
+
158
+ it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
159
+ gridFillPage.steps.resetQuestionPreview();
160
+ gridFillPage.steps.selectCellPreviewTab(1, 0);
161
+ gridFillPage.steps.verifyPreviewScore(6, 20);
162
+ });
163
+ });
164
+
165
+ describe('Question preview: Auto scored - Partial equal weights: Rounding', () => {
166
+ abortEarlySetup();
167
+ before(() => {
168
+ gridFillPage.steps.navigateToCreateQuestion('grid fill');
169
+ cy.barsPreLoaderWait();
170
+ gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
171
+ gridFillPage.steps.addInputToCellShadeCountInputField(3);
172
+ gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
173
+ });
174
+
175
+ it('When the user sets \'Rounding\' to \'Round down if <=0.99\', attempts the question partially correct with an response such that points of the correctly attempted responses has decimal value greater than 0.5 and less than 0.99, then the points awarded should be rounded down to the nearest integer value', () => {
176
+ gridFillPage.steps.expandRoundingDropdown();
177
+ gridFillPage.steps.selectOptionFromRoundingDropdown('round down if <= 0.99');
178
+ gridFillPage.steps.allotPoints(11);
179
+ gridFillPage.steps.switchToPreviewTab();
180
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
181
+ gridFillPage.steps.verifyCellSelectedPreviewTab(0, 1);
182
+ gridFillPage.steps.verifyPreviewScore(3, 11);
183
+ });
184
+
185
+ it('When the user has set \'Rounding\' to \'Round down if <=0.99\', attempts the question partially correct with an response such that points of the correctly attempted responses has decimal value equal to 0.99, then the points awarded should be rounded down to the nearest integer value', () => {
186
+ cy.log('Points allocation based on the test case requirements.');
187
+ gridFillPage.steps.switchToEditTab();
188
+ gridFillPage.steps.allotPoints(8.97);
189
+ gridFillPage.steps.switchToPreviewTab();
190
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
191
+ gridFillPage.steps.verifyCellSelectedPreviewTab(0, 1);
192
+ gridFillPage.steps.verifyPreviewScore(2, 8.97);
193
+ });
194
+
195
+ it('When the user sets \'Rounding\' to \'Round down if <=0.50\', attempts the question partially correct with an response such that points of the correctly attempted responses has decimal value less than 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
196
+ gridFillPage.steps.switchToEditTab();
197
+ gridFillPage.steps.expandRoundingDropdown();
198
+ gridFillPage.steps.selectOptionFromRoundingDropdown('round down if <= 0.50');
199
+ cy.log('Points allocation based on the test case requirements.');
200
+ gridFillPage.steps.allotPoints(10);
201
+ gridFillPage.steps.switchToPreviewTab();
202
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
203
+ gridFillPage.steps.verifyCellSelectedPreviewTab(0, 1);
204
+ gridFillPage.steps.verifyPreviewScore(3, 10);
205
+ });
206
+
207
+ it('When the user has set \'Rounding\' to \'Round down if <=0.50\', attempts the question partially correct with an response such that points of the correctly attempted responses has decimal value equal to 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
208
+ cy.log('Points allocation based on the test case requirements.');
209
+ gridFillPage.steps.switchToEditTab();
210
+ gridFillPage.steps.allotPoints(4.5);
211
+ gridFillPage.steps.switchToPreviewTab();
212
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
213
+ gridFillPage.steps.verifyCellSelectedPreviewTab(0, 1);
214
+ gridFillPage.steps.verifyPreviewScore(1, 4.5);
215
+ });
216
+
217
+ it('When the user sets \'Rounding\' to \'Round down if <=0.50, Round up if > 0.50\', attempts the question partially correct with an response such that points of the correctly attempted responses has decimal value less than 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
218
+ gridFillPage.steps.switchToEditTab();
219
+ gridFillPage.steps.expandRoundingDropdown();
220
+ gridFillPage.steps.selectOptionFromRoundingDropdown('round down if <= 0.50; Round up if > 0.50');
221
+ cy.log('Points allocation based on the test case requirements.');
222
+ gridFillPage.steps.allotPoints(10);
223
+ gridFillPage.steps.switchToPreviewTab();
224
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
225
+ gridFillPage.steps.verifyCellSelectedPreviewTab(0, 1);
226
+ gridFillPage.steps.verifyPreviewScore(3, 10);
227
+ });
228
+
229
+ it('When the user has set \'Rounding\' to \'Round down if <=0.50, Round up if > 0.50\', attempts the question partially correct with an response such that points of the correctly attempted responses has decimal value equal to 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
230
+ cy.log('Points allocation based on the test case requirements.');
231
+ gridFillPage.steps.switchToEditTab();
232
+ gridFillPage.steps.allotPoints(4.5);
233
+ gridFillPage.steps.switchToPreviewTab();
234
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
235
+ gridFillPage.steps.verifyCellSelectedPreviewTab(0, 1);
236
+ gridFillPage.steps.verifyPreviewScore(1, 4.5);
237
+ });
238
+
239
+ it('When the user has set \'Rounding\' to \'Round down if <=0.50, Round up if > 0.50\', attempts the question partially correct with an response such that points of the correctly attempted responses has decimal value greater than 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
240
+ cy.log('Points allocation based on the test case requirements.');
241
+ gridFillPage.steps.switchToEditTab();
242
+ gridFillPage.steps.allotPoints(11);
243
+ gridFillPage.steps.switchToPreviewTab();
244
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
245
+ gridFillPage.steps.verifyCellSelectedPreviewTab(0, 1);
246
+ gridFillPage.steps.verifyPreviewScore(4, 11);
247
+ });
248
+
249
+ it('When \'Round negative score to zero\' is in checked state and the user attempts the question incorrectly, then the user should be awarded with 0 points', () => {
250
+ cy.log('Pre-step: Setting penalty scoring to \'Penalty points for the entire question\', allotting penalty points')
251
+ gridFillPage.steps.switchToEditTab();
252
+ gridFillPage.steps.expandPenaltyScoringDropdown();
253
+ gridFillPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
254
+ gridFillPage.steps.allotPenaltyPoints(12);
255
+ gridFillPage.steps.switchToPreviewTab();
256
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
257
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
258
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
259
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
260
+ gridFillPage.steps.verifyPreviewScore(0, 11);
261
+ });
262
+
263
+ it('When the user unchecks \'Round negative score to zero\' checkbox and the user attempts the question incorrectly, then the user should be awarded with negative points', () => {
264
+ gridFillPage.steps.switchToEditTab();
265
+ gridFillPage.steps.uncheckRoundNegativeScoresToZeroCheckbox();
266
+ gridFillPage.steps.switchToPreviewTab();
267
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
268
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
269
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
270
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
271
+ gridFillPage.steps.verifyPreviewScore(-1, 11);
272
+ });
273
+ });
274
+
275
+ describe('Question preview: Auto scored - Partial equal weights: Penalty scoring with \'Round negative score to zero\' unchecked', () => {
276
+ abortEarlySetup();
277
+ before(() => {
278
+ gridFillPage.steps.navigateToCreateQuestion('grid fill');
279
+ cy.barsPreLoaderWait();
280
+ gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
281
+ gridFillPage.steps.addInputToCellShadeCountInputField(3);
282
+ gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
283
+ gridFillPage.steps.allotPoints(12);
284
+ gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
285
+ });
286
+
287
+ //Penalty points for the entire question
288
+ it('When the user sets penalty scoring to \'Penalty points for the entire question\', allots penalty points and attempts the question incorrectly, then penalty points should get deducted from the awarded points', () => {
289
+ gridFillPage.steps.expandPenaltyScoringDropdown();
290
+ gridFillPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
291
+ gridFillPage.steps.uncheckRoundNegativeScoresToZeroCheckbox();
292
+ gridFillPage.steps.allotPenaltyPoints(13);
293
+ gridFillPage.steps.switchToPreviewTab();
294
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
295
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
296
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
297
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
298
+ gridFillPage.steps.verifyPreviewScore(-1, 12);
299
+ });
300
+
301
+ it('When the user attempts the question correctly along with multiple incorrect responses, then penalty points should get deducted from the awarded points only once, the deducted penalty points should not increase as per number of attempted incorrect responses', () => {
302
+ gridFillPage.steps.resetQuestionPreview();
303
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
304
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
305
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
306
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
307
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
308
+ gridFillPage.steps.verifyPreviewScore(-1, 12);
309
+ });
310
+
311
+ it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
312
+ gridFillPage.steps.switchToEditTab();
313
+ gridFillPage.steps.expandMinimumScoringDropdown();
314
+ gridFillPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
315
+ gridFillPage.steps.allotMinimumPoints(3);
316
+ gridFillPage.steps.switchToPreviewTab();
317
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
318
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
319
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
320
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
321
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
322
+ gridFillPage.steps.verifyPreviewScore(3, 12);
323
+ cy.log('Post step: Switching to edit tab and resetting minimum scoring to "No minimum score"')
324
+ gridFillPage.steps.switchToEditTab();
325
+ gridFillPage.steps.expandMinimumScoringDropdown();
326
+ gridFillPage.steps.selectOptionFromMinimumScoringDropdown('No minimum score');
327
+ });
328
+
329
+ //Penalty points for each incorrect cell - Specify total penalty points
330
+ it('When the user sets penalty scoring to \'Penalty points for each incorrect cell\', and \'Specify total penalty points\' radio button in checked state, allots total penalty points and attempts the question incorrectly, then the user should be awarded with negative points of incorrect response', () => {
331
+ gridFillPage.steps.expandPenaltyScoringDropdown();
332
+ gridFillPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for each incorrect cell');
333
+ gridFillPage.steps.allotTotalPenaltyPoints(80);
334
+ gridFillPage.steps.switchToPreviewTab();
335
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
336
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
337
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
338
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
339
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
340
+ gridFillPage.steps.verifyPreviewScore(-1.34, 12);
341
+ });
342
+
343
+ it('When the user attempts the question correctly along with multiple incorrect responses, then penalty points for each incorrect response should get deducted from the awarded points', () => {
344
+ gridFillPage.steps.switchToEditTab();
345
+ gridFillPage.steps.allotTotalPenaltyPoints(8);
346
+ gridFillPage.steps.resetQuestionPreview();
347
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
348
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
349
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
350
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
351
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
352
+ gridFillPage.steps.verifyPreviewScore(10.66, 12);
353
+ });
354
+
355
+ it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
356
+ gridFillPage.steps.switchToEditTab();
357
+ gridFillPage.steps.expandMinimumScoringDropdown();
358
+ gridFillPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
359
+ gridFillPage.steps.allotMinimumPoints(5);
360
+ gridFillPage.steps.switchToPreviewTab();
361
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
362
+ gridFillPage.steps.verifyPreviewScore(5, 12);
363
+ cy.log('Post step: Switching to edit tab and resetting minimum scoring to "No minimum score"')
364
+ gridFillPage.steps.switchToEditTab();
365
+ gridFillPage.steps.expandMinimumScoringDropdown();
366
+ gridFillPage.steps.selectOptionFromMinimumScoringDropdown('No minimum score');
367
+ });
368
+
369
+ //Penalty points for each incorrect cell - Specify points for each incorrect cell
370
+ it('When the user has set penalty scoring to \'Penalty points for each incorrect cell\', and \'Specify total penalty points\' radio button in checked state, allots total penalty points and attempts the question incorrectly, then the user should be awarded with negative points for the incorrect response', () => {
371
+ gridFillPage.steps.selectPenaltyPointsForEachIncorrectCell();
372
+ gridFillPage.steps.allotPenaltyPointsForEachIncorrectCell(13);
373
+ gridFillPage.steps.switchToPreviewTab();
374
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
375
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
376
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
377
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
378
+ gridFillPage.steps.verifyPreviewScore(-1, 12);
379
+ });
380
+
381
+ it('When the user attempts the question correctly along with multiple incorrect responses, then penalty points for each incorrect cell should get deducted from the awarded points', () => {
382
+ gridFillPage.steps.switchToEditTab();
383
+ gridFillPage.steps.allotPenaltyPointsForEachIncorrectCell(4);
384
+ gridFillPage.steps.switchToPreviewTab();
385
+ gridFillPage.steps.resetQuestionPreview();
386
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
387
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
388
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
389
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
390
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
391
+ gridFillPage.steps.verifyPreviewScore(4, 12);
392
+ });
393
+
394
+ it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
395
+ gridFillPage.steps.switchToEditTab();
396
+ gridFillPage.steps.expandMinimumScoringDropdown();
397
+ gridFillPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
398
+ gridFillPage.steps.allotMinimumPoints(6);
399
+ gridFillPage.steps.switchToPreviewTab();
400
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
401
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
402
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
403
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
404
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
405
+ gridFillPage.steps.verifyPreviewScore(6, 12);
406
+ cy.log('Post step: Switching to edit tab and resetting minimum scoring to "No minimum score"')
407
+ gridFillPage.steps.switchToEditTab();
408
+ gridFillPage.steps.expandMinimumScoringDropdown();
409
+ gridFillPage.steps.selectOptionFromMinimumScoringDropdown('No minimum score');
410
+ });
411
+
412
+ // Penalty points for each incorrect cell - Automatically set penalty for each incorrect cell to total points / no. of incorrect cell
413
+ it('When the user has set penalty scoring to \'Penalty points for each incorrect cell\', and checks \'Automatically set penalty for each incorrect cell to total points / no. of incorrect cell\' checkbox and attempts the question incorrectly, then penalty points should get deducted from the awarded points', () => {
414
+ gridFillPage.steps.checkAutomaticallySetPenaltyPointsCheckbox();
415
+ gridFillPage.steps.resetQuestionPreview();
416
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
417
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
418
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
419
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
420
+ gridFillPage.steps.verifyPreviewScore(11, 12);
421
+ });
422
+
423
+ it('When the user attempts the question correctly along with multiple incorrect responses, then penalty points for each incorrect cell should get deducted from the awarded points', () => {
424
+ gridFillPage.steps.resetQuestionPreview();
425
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
426
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
427
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
428
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
429
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
430
+ gridFillPage.steps.verifyPreviewScore(10, 12);
431
+ });
432
+
433
+ it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
434
+ gridFillPage.steps.switchToEditTab();
435
+ gridFillPage.steps.expandMinimumScoringDropdown();
436
+ gridFillPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
437
+ gridFillPage.steps.allotMinimumPoints(11);
438
+ gridFillPage.steps.switchToPreviewTab();
439
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
440
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
441
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
442
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
443
+ gridFillPage.steps.verifyPreviewScore(11, 12);
444
+ });
445
+ });
446
+ });
@@ -192,7 +192,7 @@ describe('Create item page - Grid fill: Student view settings', () => {
192
192
  it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
193
193
  gridFillPage.steps.switchToEditTab();
194
194
  gridFillPage.steps.expandMaxCheckAnswerAttemptsDropdown();
195
- gridFillPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('no limit');
195
+ gridFillPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
196
196
  gridFillPage.steps.switchToPreviewTab();
197
197
  gridFillPage.steps.verifyCheckAnswerButtonEnabled();
198
198
  gridFillPage.steps.selectCellPreviewTab(0, 0);