itemengine-cypress-automation 1.0.189-e2e-execution-crash-fbb0d92.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
@@ -1,18 +1,18 @@
1
1
  import utilities from "../support/helpers/utilities"
2
- import { additionalSettingsPanel, commonComponents, createQuestionBasePage, previewScoringAndShowCorrectAnswerComponent, questionInstructionsComponent, scoringSectionBase, maximumRecorderLengthComponent, playbackControlsBaseComponent } from "./components"
3
- import { dialogBoxBase } from "./dialogBoxBase";
2
+ import { additionalSettingsPanel, commonComponents, createQuestionBasePage, questionInstructionsComponent, scoringSectionBase, playbackControlsBaseComponent, scoringSectionBaseEditTab, autoScoredScoringPreviewTab, limitNumberOfRetakeComponent, studentViewSettingsLabelComponent, allowTeachersToDownloadStudentResponseComponent } from "./components"
3
+ import { selectQuestionResourceToolPage } from "./selectQuestionResourceToolPage";
4
4
  const css = Cypress.env('css');
5
5
 
6
6
  const selectors = {
7
7
  ...commonComponents,
8
- ...scoringSectionBase,
9
8
  ...additionalSettingsPanel,
10
9
  ...questionInstructionsComponent,
11
- ...scoringSectionBase,
12
- ...dialogBoxBase,
13
- ...previewScoringAndShowCorrectAnswerComponent,
14
- ...maximumRecorderLengthComponent,
15
10
  ...playbackControlsBaseComponent,
11
+ ...scoringSectionBaseEditTab,
12
+ ...limitNumberOfRetakeComponent,
13
+ ...allowTeachersToDownloadStudentResponseComponent,
14
+ ...selectQuestionResourceToolPage,
15
+ //Preview tab
16
16
  videoRecorderWrapper: () => cy.get('.video-recorder-wrapper'),
17
17
  clickTapAnywhereArea: () => cy.get('.camera-permission'),
18
18
  recordButton: () => cy.get('.rec-button'),
@@ -20,35 +20,59 @@ const selectors = {
20
20
  recordingStatusText: () => cy.get('.recording-status-text'),
21
21
  startRecordingCountDown: () => cy.get('.count-down-number'),
22
22
  recordingTimer: () => cy.get('[class*="VideoRecorderstyle__RecordTimer"]'),
23
- recordingStatusIcon: () => cy.get('.recording-wrapper svg'),
23
+ recordingStatusIcon: () => cy.get('.recording-wrapper'),
24
24
  pauseButton: () => cy.get('button[aria-label="Pause recording"]'),
25
25
  stopButton: () => cy.get('button[aria-label="Stop recording"]'),
26
26
  resumeButton: () => cy.get('button[aria-label="Resume recording"]'),
27
- recordAgainButton: () => cy.get('button[aria-label="Record again"]'),
27
+ retakeRecordingButton: () => cy.get('button[aria-label="Record again"]'),
28
28
  playerTimer: () => cy.get('[class*="VideoRecorderstyle__PlayerTimerWrapper"]'),
29
29
  playbackSpeedButton: () => cy.get('button[aria-label="Playback speed"]'),
30
30
  fullScreenButton: () => cy.get('button[aria-label="Full Screen"]'),
31
31
  savedResponseText: () => cy.get('[class*="VideoRecorderstyle__ResponseTextWrapper"]'),
32
- maxRecorderLengthInputField: () => cy.get('input[aria-label="Maximum recorder length"]'),
32
+ maxRecorderLengthInputField: () => cy.get('input[aria-label="max recording duration"]'),
33
33
  confirmRetakeButton: () => cy.get('.delete-action-btn-wrapper button').eq(1),
34
34
  cancelRetakeButton: () => cy.get('.delete-action-btn-wrapper button').eq(0),
35
35
  retakePopupContent: () => cy.get('.retake-popup-content'),
36
- advancedPlaybackOptionsLabel: () => cy.get('.advanced-recorder-settings .ngie-toggle-button-title'),
37
- playbackSpeedAdvancedPlaybackOptionButton: () => cy.get('button[data-ngie-testid="playback-speed-toggle-button"]'),
38
- fullScreenAdvancedPlaybackOptionButton: () => cy.get('button[data-ngie-testid="full-screen-toggle-button"]'),
39
- recordAgainAdvancedPlaybackOptionButton: () => cy.get('button[data-ngie-testid="record-again-toggle-button"]'),
40
- advancedPlaybackOptionButtonSelectedIcon: () => cy.get('.ngie-toggle-button-tick-icon'),
41
- advancedPlaybackOptionButtonLabel: () => cy.get('.customized_button_label'),
42
- studentResponseAreaAndLayoutLabel: () => cy.get('.student-response-area-layout-warpper')
36
+ toggleButtonSelectedIcon: () => cy.get('.ngie-toggle-button-tick-icon'),
37
+ standardPreviewPlaybackWrapper: () => cy.get('.video-player-wrapper'),
38
+ downloadVideoButton: () => cy.get('.download-btn'),
39
+ maxRecordingDurationInputField: () => cy.get('input[aria-label="Maximum recording duration"]'),
40
+ maxRecordingDurationLabel: () => cy.get('.max-recording-length-input-label'),
41
+ maxRecordingDurationSecsToggleButton: () => cy.get('.max-recording-length-input [data-ngie-testid="secs-toggle-button"]'),
42
+ maxRecordingDurationMinsToggleButton: () => cy.get('.max-recording-length-input [data-ngie-testid="mins-toggle-button"]'),
43
+ playbackSpeedOptionsList: () => cy.get('[class*="PlaybackSpeedOptions"]'),
44
+
45
+ //customize playback controls
46
+ customizePlaybackControlsAccordion: () => cy.get('.customize-accordion .ngie-accordion-summary'),
47
+ controlsForPlaybackLabel: () => cy.get('[class*="CustomizePlaybackControlsstyles__ControlsPlayBack"]'),
48
+ controlsForPlaybackButtonLabel: () => cy.get('[class*="CustomizePlaybackControlsstyles__Label"]'),
49
+ playButtonControlsForPlayback: () => cy.get('[data-ngie-testid="play-toggle-button"]'),
50
+ pauseButtonControlsForPlayback: () => cy.get('[data-ngie-testid="pause-toggle-button"]'),
51
+ seekButtonControlsForPlayback: () => cy.get('[data-ngie-testid="seek-toggle-button"]'),
52
+ recordAgainButtonControlsForPlayback: () => cy.get('[data-ngie-testid="record-again-toggle-button"]'),
53
+ volumeButtonControlsForPlayback: () => cy.get('[data-ngie-testid="volume-toggle-button"]'),
54
+ playbackSpeedButtonControlsForPlayback: () => cy.get('[data-ngie-testid="playback-speed-toggle-button"]'),
55
+ fullScreenButtonControlsForPlayback: () => cy.get('[data-ngie-testid="fullscreen-toggle-button"]'),
56
+ forwardBackwardButtonControlsForPlayback: () => cy.get('[data-ngie-testid="forward/-backward-toggle-button"]'),
57
+
58
+ //video settings
59
+ videoSettingsLabel: () => cy.get('.student-view-settings-container .response-playback-title'),
60
+ videoSettingsButtonLabel: () => cy.get('.audio-indicator [class*="CustomizePlaybackControlsstyles__Label"]'),
61
+ timerButtonVideoSettings: () => cy.get('[data-ngie-testid="timer-toggle-button"]'),
62
+ progressIndicatorButtonVideoSettings: () => cy.get('[data-ngie-testid="progress-indicator-toggle-button"]'),
43
63
  }
44
64
 
45
65
  const steps = {
46
66
  ...createQuestionBasePage.steps,
47
67
  ...scoringSectionBase.steps,
48
68
  ...questionInstructionsComponent.steps,
49
- ...maximumRecorderLengthComponent.steps,
50
69
  ...additionalSettingsPanel.steps,
51
70
  ...playbackControlsBaseComponent.steps,
71
+ ...scoringSectionBaseEditTab.steps,
72
+ ...limitNumberOfRetakeComponent.steps,
73
+ ...allowTeachersToDownloadStudentResponseComponent.steps,
74
+ ...selectQuestionResourceToolPage.steps,
75
+ ...commonComponents.steps,
52
76
  /**
53
77
  * @param {string} recordingStatus - The expected recording status, such as 'Allow access to your camera and microphone.',
54
78
  * 'Preparing to record', 'Recording...', 'Recording paused', or 'Saving'.
@@ -62,14 +86,14 @@ const steps = {
62
86
 
63
87
  switch (recordingStatus) {
64
88
  case 'Allow access to your camera and microphone.':
65
- expectedIconId = 'g#Ellipse_99';
89
+ expectedIconId = '#Icon_awesome-microphone';
66
90
  break;
67
91
  case 'Preparing to record':
68
92
  case 'Recording...':
69
93
  expectedIconId = 'g#Recording\\.\\.\\.';
70
94
  break;
71
95
  case 'Recording paused':
72
- expectedIconId = 'path#pause';
96
+ expectedIconId = '.rec-pause-btn';
73
97
  break;
74
98
  case 'Saving':
75
99
  expectedIconId = 'g#Saving';
@@ -119,8 +143,8 @@ const steps = {
119
143
  .click();
120
144
  },
121
145
 
122
- recordAgain: () => {
123
- videoResponsePage.recordAgainButton()
146
+ retakeRecording: () => {
147
+ videoResponsePage.retakeRecordingButton()
124
148
  .click();
125
149
  },
126
150
 
@@ -147,20 +171,22 @@ const steps = {
147
171
  },
148
172
 
149
173
  /**
150
- * @param {string} time of the recorded video
151
- * @description this function is used to verify the recording time of a video
174
+ * Verifies the displayed recording time against the expected elapsed time and total time.
175
+ * @param {string} elapsedTime The elapsed time of the recording.
176
+ * @param {string} totalTime The total time of the recording.
152
177
  */
153
- verifyRecordingTime: (time) => {
154
- utilities.verifyInnerText(videoResponsePage.recordingTimer(), time);
178
+ verifyRecordingTime: (elapsedTime, totalTime) => {
179
+ utilities.verifyInnerText(videoResponsePage.recordingTimer(), `${elapsedTime} / ${totalTime}`);
155
180
  },
156
181
 
157
182
  /**
158
- * @param {string} time playing time of the recorded video
183
+ * @param {string} elapsedTime playing time of the recorded video
184
+ * @param {string} totalTime The total time of the recorded video
159
185
  * @description this function is used to verify the playing time of a recorded video
160
186
  */
161
- verifyVideoPlaybackTimer: (time) => {
187
+ verifyVideoPlaybackTimer: (elapsedTime, totalTime) => {
162
188
  videoResponsePage.playerTimer()
163
- .should('have.text', time);
189
+ .should('have.text', `${elapsedTime}/${totalTime}`);
164
190
  },
165
191
 
166
192
  /**
@@ -255,7 +281,7 @@ const steps = {
255
281
  let currentElapsedTimerMinutes = Number(elapsedTime.split(':')[0])
256
282
  let currentElapsedTimerSeconds = Number(elapsedTime.split(':')[1])
257
283
  let currentTotalElapsedTimerSeconds = currentElapsedTimerMinutes * 60 + currentElapsedTimerSeconds
258
- currentTotalElapsedTimerSeconds.should.equal(time)
284
+ expect(currentTotalElapsedTimerSeconds).to.eq(time)
259
285
  });
260
286
  },
261
287
 
@@ -269,8 +295,8 @@ const steps = {
269
295
  cy.wait(time);
270
296
  },
271
297
 
272
- recordAgain: () => {
273
- videoResponsePage.recordAgainButton()
298
+ retakeRecording: () => {
299
+ videoResponsePage.retakeRecordingButton()
274
300
  .click();
275
301
  },
276
302
 
@@ -284,79 +310,365 @@ const steps = {
284
310
  .click();
285
311
  },
286
312
 
287
- verifyPlaybackSpeedAdvancedPlaybackOptionSelectedState: () => {
288
- videoResponsePage.playbackSpeedAdvancedPlaybackOptionButton()
289
- .should('have.class', 'ngie-toggle-button-selected')
290
- .within(() => {
291
- utilities.verifyElementVisibilityState(videoResponsePage.advancedPlaybackOptionButtonSelectedIcon(), 'visible');
292
- });
313
+ /**
314
+ * @description Sets the maximum recording duration in the input field.
315
+ * @param {string} recordingLength - The maximum recording duration to set in seconds.
316
+ * @example - setMaximumRecordingDuration(600); // Sets the maximum recording duration to '10:00'
317
+ */
318
+ setMaximumRecordingDuration: (recordingLength) => {
319
+ videoResponsePage.maxRecordingDurationInputField()
320
+ .clear()
321
+ .type(recordingLength)
322
+ .blur();
293
323
  },
294
324
 
295
- verifyPlaybackSpeedAdvancedPlaybackOptionDeselectedState: () => {
296
- videoResponsePage.playbackSpeedAdvancedPlaybackOptionButton()
297
- .should('not.have.class', 'ngie-toggle-button-selected')
298
- .within(() => {
299
- utilities.verifyElementVisibilityState(videoResponsePage.advancedPlaybackOptionButtonSelectedIcon(), 'hidden');
300
- });
325
+ /**
326
+ * @description Verifies that the maximum recording length input field has the expected value.
327
+ * @param {string} value - The expected value to be compared with the input field's value attribute.
328
+ */
329
+ verifyMaximumRecordingDuration: (value) => {
330
+ videoResponsePage.maxRecordingDurationInputField()
331
+ .should('have.attr', 'value', value);
301
332
  },
302
333
 
303
- verifyFullScreenAdvancedPlaybackOptionSelectedState: () => {
304
- videoResponsePage.fullScreenAdvancedPlaybackOptionButton()
305
- .should('have.class', 'ngie-toggle-button-selected')
306
- .within(() => {
307
- utilities.verifyElementVisibilityState(videoResponsePage.advancedPlaybackOptionButtonSelectedIcon(), 'visible');
308
- });
334
+ clearMaximumRecordingDurationInputField: () => {
335
+ videoResponsePage.maxRecordingDurationInputField()
336
+ .clear()
337
+ .blur();
309
338
  },
310
339
 
311
- verifyFullScreenAdvancedPlaybackOptionDeselectedState: () => {
312
- videoResponsePage.fullScreenAdvancedPlaybackOptionButton()
313
- .should('not.have.class', 'ngie-toggle-button-selected')
314
- .within(() => {
315
- utilities.verifyElementVisibilityState(videoResponsePage.advancedPlaybackOptionButtonSelectedIcon(), 'hidden');
316
- });
340
+ /**
341
+ * Selects the duration for max recording duration input field
342
+ * @param {('Secs' | 'Mins')} duration - The duration for max recording duration input field.
343
+ * @throws {Error} Will throw an error if an invalid duration is provided.
344
+ */
345
+ toggleMaximumRecordingDurationInputField: (duration) => {
346
+ switch (duration) {
347
+ case 'Secs':
348
+ videoResponsePage.maxRecordingDurationSecsToggleButton()
349
+ .click()
350
+ .should('have.class', 'ngie-toggle-button-selected');
351
+ break;
352
+ case 'Mins':
353
+ videoResponsePage.maxRecordingDurationMinsToggleButton()
354
+ .click()
355
+ .should('have.class', 'ngie-toggle-button-selected');
356
+ break;
357
+ default:
358
+ throw new Error('Invalid duration');
359
+ }
317
360
  },
318
361
 
319
- verifyRecordAgainAdvancedPlaybackOptionSelectedState: () => {
320
- videoResponsePage.recordAgainAdvancedPlaybackOptionButton()
321
- .should('have.class', 'ngie-toggle-button-selected')
322
- .within(() => {
323
- utilities.verifyElementVisibilityState(videoResponsePage.advancedPlaybackOptionButtonSelectedIcon(), 'visible');
324
- });
362
+ verifySecsToggleButtonSelectedState: () => {
363
+ videoResponsePage.maxRecordingDurationSecsToggleButton()
364
+ .should('have.class', 'ngie-toggle-button-selected');
325
365
  },
326
366
 
327
- verifyRecordAgainAdvancedPlaybackOptionDeselectedState: () => {
328
- videoResponsePage.recordAgainAdvancedPlaybackOptionButton()
329
- .should('not.have.class', 'ngie-toggle-button-selected')
330
- .within(() => {
331
- utilities.verifyElementVisibilityState(videoResponsePage.advancedPlaybackOptionButtonSelectedIcon(), 'hidden');
332
- });
367
+ /**
368
+ * Selects a control button for playback on the video response page.
369
+ * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to select.
370
+ * @throws {Error} If an invalid button is provided.
371
+ */
372
+ selectControlsForPlaybackToggleButton: (button) => {
373
+ switch (button) {
374
+ case 'Play':
375
+ videoResponsePage.playButtonControlsForPlayback()
376
+ .click()
377
+ .should('have.class', 'ngie-toggle-button-selected');
378
+ break;
379
+ case 'Pause':
380
+ videoResponsePage.pauseButtonControlsForPlayback()
381
+ .click()
382
+ .should('have.class', 'ngie-toggle-button-selected');
383
+ break;
384
+ case 'Seek':
385
+ videoResponsePage.seekButtonControlsForPlayback()
386
+ .click()
387
+ .should('have.class', 'ngie-toggle-button-selected');
388
+ break;
389
+ case 'Record again':
390
+ videoResponsePage.recordAgainButtonControlsForPlayback()
391
+ .click()
392
+ .should('have.class', 'ngie-toggle-button-selected');
393
+ break;
394
+ case 'Volume':
395
+ videoResponsePage.volumeButtonControlsForPlayback()
396
+ .click()
397
+ .should('have.class', 'ngie-toggle-button-selected');
398
+ break;
399
+ case 'Playback speed':
400
+ videoResponsePage.playbackSpeedButtonControlsForPlayback()
401
+ .click()
402
+ .should('have.class', 'ngie-toggle-button-selected');
403
+ break;
404
+ case 'Full screen':
405
+ videoResponsePage.fullScreenButtonControlsForPlayback()
406
+ .click()
407
+ .should('have.class', 'ngie-toggle-button-selected');
408
+ break;
409
+ case 'Forward/Backward':
410
+ videoResponsePage.forwardBackwardButtonControlsForPlayback()
411
+ .click()
412
+ .should('have.class', 'ngie-toggle-button-selected');
413
+ break;
414
+ default:
415
+ throw new Error('Invalid button');
416
+ }
333
417
  },
334
418
 
335
- clickOnPlaybackSpeedAdvancedPlaybackOption: () => {
336
- videoResponsePage.playbackSpeedAdvancedPlaybackOptionButton()
337
- .click();
419
+ /**
420
+ * Verifies the selected state of a control button for playback on the video response page.
421
+ * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to verify.
422
+ * @throws {Error} If an invalid button is provided or if the button is not selected.
423
+ */
424
+ verifyControlsForPlaybackToggleButtonSelectedState: (button) => {
425
+ switch (button) {
426
+ case 'Play':
427
+ videoResponsePage.playButtonControlsForPlayback()
428
+ .should('have.class', 'ngie-toggle-button-selected');
429
+ break;
430
+ case 'Pause':
431
+ videoResponsePage.pauseButtonControlsForPlayback()
432
+ .should('have.class', 'ngie-toggle-button-selected');
433
+ break;
434
+ case 'Seek':
435
+ videoResponsePage.seekButtonControlsForPlayback()
436
+ .should('have.class', 'ngie-toggle-button-selected');
437
+ break;
438
+ case 'Record again':
439
+ videoResponsePage.recordAgainButtonControlsForPlayback()
440
+ .should('have.class', 'ngie-toggle-button-selected');
441
+ break;
442
+ case 'Volume':
443
+ videoResponsePage.volumeButtonControlsForPlayback()
444
+ .should('have.class', 'ngie-toggle-button-selected');
445
+ break;
446
+ case 'Playback speed':
447
+ videoResponsePage.playbackSpeedButtonControlsForPlayback()
448
+ .should('have.class', 'ngie-toggle-button-selected');
449
+ break;
450
+ case 'Full screen':
451
+ videoResponsePage.fullScreenButtonControlsForPlayback()
452
+ .should('have.class', 'ngie-toggle-button-selected');
453
+ break;
454
+ case 'Forward/Backward':
455
+ videoResponsePage.forwardBackwardButtonControlsForPlayback()
456
+ .should('have.class', 'ngie-toggle-button-selected');
457
+ break;
458
+ default:
459
+ throw new Error('Invalid button');
460
+ }
338
461
  },
339
462
 
340
- clickOnFullScreenAdvancedPlaybackOption: () => {
341
- videoResponsePage.fullScreenAdvancedPlaybackOptionButton()
342
- .click();
463
+ /**
464
+ * Deselects a control button for playback on the video response page.
465
+ * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to deselect.
466
+ * @throws {Error} If an invalid button is provided.
467
+ */
468
+ deselectControlsForPlaybackToggleButton: (button) => {
469
+ switch (button) {
470
+ case 'Play':
471
+ videoResponsePage.playButtonControlsForPlayback()
472
+ .click()
473
+ .should('not.have.class', 'ngie-toggle-button-selected');
474
+ break;
475
+ case 'Pause':
476
+ videoResponsePage.pauseButtonControlsForPlayback()
477
+ .click()
478
+ .should('not.have.class', 'ngie-toggle-button-selected');
479
+ break;
480
+ case 'Seek':
481
+ videoResponsePage.seekButtonControlsForPlayback()
482
+ .click()
483
+ .should('not.have.class', 'ngie-toggle-button-selected');
484
+ break;
485
+ case 'Record again':
486
+ videoResponsePage.recordAgainButtonControlsForPlayback()
487
+ .click()
488
+ .should('not.have.class', 'ngie-toggle-button-selected');
489
+ break;
490
+ case 'Volume':
491
+ videoResponsePage.volumeButtonControlsForPlayback()
492
+ .click()
493
+ .should('not.have.class', 'ngie-toggle-button-selected');
494
+ break;
495
+ case 'Playback speed':
496
+ videoResponsePage.playbackSpeedButtonControlsForPlayback()
497
+ .click()
498
+ .should('not.have.class', 'ngie-toggle-button-selected');
499
+ break;
500
+ case 'Full screen':
501
+ videoResponsePage.fullScreenButtonControlsForPlayback()
502
+ .click()
503
+ .should('not.have.class', 'ngie-toggle-button-selected');
504
+ break;
505
+ case 'Forward/Backward':
506
+ videoResponsePage.forwardBackwardButtonControlsForPlayback()
507
+ .click()
508
+ .should('not.have.class', 'ngie-toggle-button-selected');
509
+ break;
510
+ default:
511
+ throw new Error('Invalid button');
512
+ }
343
513
  },
344
514
 
345
- clickOnRecordAgainAdvancedPlaybackOption: () => {
346
- videoResponsePage.recordAgainAdvancedPlaybackOptionButton()
347
- .click();
515
+ /**
516
+ * Verifies the deselected state of a control button for playback on the video response page.
517
+ * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to verify.
518
+ * @throws {Error} If an invalid button is provided or if the button is selected.
519
+ */
520
+ verifyControlsForPlaybackToggleButtonDeselectedState: (button) => {
521
+ switch (button) {
522
+ case 'Play':
523
+ videoResponsePage.playButtonControlsForPlayback()
524
+ .should('not.have.class', 'ngie-toggle-button-selected');
525
+ break;
526
+ case 'Pause':
527
+ videoResponsePage.pauseButtonControlsForPlayback()
528
+ .should('not.have.class', 'ngie-toggle-button-selected');
529
+ break;
530
+ case 'Seek':
531
+ videoResponsePage.seekButtonControlsForPlayback()
532
+ .should('not.have.class', 'ngie-toggle-button-selected');
533
+ break;
534
+ case 'Record Again':
535
+ videoResponsePage.recordAgainButtonControlsForPlayback()
536
+ .should('not.have.class', 'ngie-toggle-button-selected');
537
+ break;
538
+ case 'Volume':
539
+ videoResponsePage.volumeButtonControlsForPlayback()
540
+ .should('not.have.class', 'ngie-toggle-button-selected');
541
+ break;
542
+ case 'Playback Speed':
543
+ videoResponsePage.playbackSpeedButtonControlsForPlayback()
544
+ .should('not.have.class', 'ngie-toggle-button-selected');
545
+ break;
546
+ case 'Full Screen':
547
+ videoResponsePage.fullScreenButtonControlsForPlayback()
548
+ .should('not.have.class', 'ngie-toggle-button-selected');
549
+ break;
550
+ case 'Forward/Backward':
551
+ videoResponsePage.forwardBackwardButtonControlsForPlayback()
552
+ .should('not.have.class', 'ngie-toggle-button-selected');
553
+ break;
554
+ default:
555
+ throw new Error('Invalid button');
556
+ }
557
+ },
558
+
559
+ verifyCustomizePlaybackControlsAccordionCollapsedState: () => {
560
+ videoResponsePage.customizePlaybackControlsAccordion()
561
+ .should('have.attr', 'aria-expanded', 'false');
562
+ },
563
+
564
+ expandCustomizePlaybackControlsAccordion: () => {
565
+ videoResponsePage.customizePlaybackControlsAccordion()
566
+ .click()
567
+ .should('have.attr', 'aria-expanded', 'true');
568
+ },
569
+
570
+ collapseCustomizePlaybackControlsAccordion: () => {
571
+ videoResponsePage.customizePlaybackControlsAccordion()
572
+ .click()
573
+ .should('have.attr', 'aria-expanded', 'false');
574
+ },
575
+
576
+ /**
577
+ * Verifies the selected state of a video settings toggle button on the video response page.
578
+ * @param {('Timer' | 'Progress indicator')} button - The video settings toggle button to verify.
579
+ * @throws {Error} If an invalid button is provided or if the button is not selected.
580
+ */
581
+ verifyVideoSettingsToggleButtonSelectedState: (button) => {
582
+ switch (button) {
583
+ case 'Timer':
584
+ videoResponsePage.timerButtonVideoSettings()
585
+ .should('have.class', 'ngie-toggle-button-selected');
586
+ break;
587
+ case 'Progress indicator':
588
+ videoResponsePage.progressIndicatorButtonVideoSettings()
589
+ .should('have.class', 'ngie-toggle-button-selected');
590
+ break;
591
+ default:
592
+ throw new Error('Invalid button');
593
+ }
594
+ },
595
+
596
+ /**
597
+ * Verifies the deselected state of a video settings toggle button on the video response page.
598
+ * @param {('Timer' | 'Progress indicator')} button - The video settings toggle button to verify.
599
+ * @throws {Error} If an invalid button is provided or if the button is selected.
600
+ */
601
+ verifyVideoSettingsToggleButtonDeselectedState: (button) => {
602
+ switch (button) {
603
+ case 'Timer':
604
+ videoResponsePage.timerButtonVideoSettings()
605
+ .should('not.have.class', 'ngie-toggle-button-selected');
606
+ break;
607
+ case 'Progress indicator':
608
+ videoResponsePage.progressIndicatorButtonVideoSettings()
609
+ .should('not.have.class', 'ngie-toggle-button-selected');
610
+ break;
611
+ default:
612
+ throw new Error('Invalid button');
613
+ }
614
+ },
615
+
616
+ /**
617
+ * Selects a video settings toggle button on the video response page.
618
+ * @param {('Timer' | 'Progress indicator')} button - The video settings toggle button to select.
619
+ * @throws {Error} If an invalid button is provided.
620
+ */
621
+ selectVideoSettingsToggleButton: (button) => {
622
+ switch (button) {
623
+ case 'Timer':
624
+ videoResponsePage.timerButtonVideoSettings()
625
+ .click()
626
+ .should('have.class', 'ngie-toggle-button-selected');
627
+ break;
628
+ case 'Progress indicator':
629
+ videoResponsePage.progressIndicatorButtonVideoSettings()
630
+ .click()
631
+ .should('have.class', 'ngie-toggle-button-selected');
632
+ break;
633
+ default:
634
+ throw new Error('Invalid button');
635
+ }
636
+ },
637
+
638
+ /**
639
+ * Deselects a video settings toggle button on the video response page.
640
+ * @param {('Timer' | 'Progress indicator')} button - The video settings toggle button to deselect.
641
+ * @throws {Error} If an invalid button is provided.
642
+ */
643
+ deselectVideoSettingsToggleButton: (button) => {
644
+ switch (button) {
645
+ case 'Timer':
646
+ videoResponsePage.timerButtonVideoSettings()
647
+ .click()
648
+ .should('not.have.class', 'ngie-toggle-button-selected');
649
+ break;
650
+ case 'Progress indicator':
651
+ videoResponsePage.progressIndicatorButtonVideoSettings()
652
+ .click()
653
+ .should('not.have.class', 'ngie-toggle-button-selected');
654
+ break;
655
+ default:
656
+ throw new Error('Invalid button');
657
+ }
348
658
  }
349
659
  }
350
660
 
351
661
  const tests = {
352
662
  ...questionInstructionsComponent.tests,
353
- ...scoringSectionBase.tests,
354
- ...previewScoringAndShowCorrectAnswerComponent.tests,
355
663
  ...commonComponents.tests,
356
- ...additionalSettingsPanel.tests,
357
664
  ...createQuestionBasePage.tests,
358
665
  ...commonComponents.tests,
359
- ...maximumRecorderLengthComponent.tests
666
+ ...scoringSectionBaseEditTab.tests,
667
+ ...autoScoredScoringPreviewTab.tests,
668
+ ...limitNumberOfRetakeComponent.tests,
669
+ ...studentViewSettingsLabelComponent.tests,
670
+ ...additionalSettingsPanel.tests,
671
+ ...allowTeachersToDownloadStudentResponseComponent.tests
360
672
  }
361
673
 
362
674
  export const videoResponsePage = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.189-e2e-execution-crash-fbb0d92.0",
3
+ "version": "1.0.189",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {