itemengine-cypress-automation 1.0.77 → 1.0.79

Sign up to get free protection for your applications and to get access to all the features.
Files changed (630) hide show
  1. package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorEditTabBasicSection.js +97 -0
  2. package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorPreviewContents.smoke.js +73 -0
  3. package/cypress/e2e/ILC/Desmos/desmosGeometryToolEditTabBasicSection.js +97 -0
  4. package/cypress/e2e/ILC/Desmos/desmosGeometryToolPreviewContents.smoke.js +72 -0
  5. package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorEditTabBasicSection.js +98 -0
  6. package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorPreviewContents.smoke.js +73 -0
  7. package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorEditTabBasicSection.js +98 -0
  8. package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorPreviewContents.smoke.js +74 -0
  9. package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorEditTabBasicSection.js +97 -0
  10. package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorPreviewContents.smoke.js +73 -0
  11. package/cypress/e2e/ILC/DesmosGraphing/additionalSettings.js +118 -0
  12. package/cypress/e2e/ILC/DesmosGraphing/editTabBasic.js +79 -0
  13. package/cypress/e2e/ILC/DesmosGraphing/editTabScoring.js +73 -0
  14. package/cypress/e2e/ILC/{EssayResponse/essayResponseGradingViewAndCorrectAnswerViewContents.smoke.js → DesmosGraphing/gradingViewAndCorrectAnswerViewContents.smoke.js} +22 -35
  15. package/cypress/e2e/ILC/DesmosGraphing/previewTabContent.smoke.js +67 -0
  16. package/cypress/e2e/ILC/DesmosGraphing/studentViewSettings.js +232 -0
  17. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +228 -0
  18. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +97 -0
  19. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +226 -0
  20. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +316 -0
  21. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingPenaltyScoring.js +57 -0
  22. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/manuallyAndNonScoredScoring.js +156 -0
  23. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +279 -0
  24. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionBasic.js +180 -0
  25. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionCorrectPointsEqualToAlternativePoints.js +266 -0
  26. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionCorrectPointsGreaterThanAlternativePoints.js +279 -0
  27. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionMinimumAndPenaltyScoring.js +257 -0
  28. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +273 -0
  29. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneBasic.js +193 -0
  30. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +241 -0
  31. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +275 -0
  32. package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneMinimumAndPenaltyScoring.js +252 -0
  33. package/cypress/e2e/ILC/DragAndDropIntoCategories/allOrNothingBasicForAllViews.smoke.js +282 -0
  34. package/cypress/e2e/ILC/DragAndDropIntoCategories/checkAnswerFunctionalityForAllViews.smoke.js +114 -0
  35. package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesClickAndDrop.js → clickAndDrop.js} +278 -282
  36. package/cypress/e2e/ILC/DragAndDropIntoCategories/draggableOptions.js +192 -0
  37. package/cypress/e2e/ILC/DragAndDropIntoCategories/editTabBasicSection.js +754 -0
  38. package/cypress/e2e/ILC/DragAndDropIntoCategories/editTabScoring.js +304 -0
  39. package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesHeaderSection.js → headerSection.js} +20 -29
  40. package/cypress/e2e/ILC/DragAndDropIntoCategories/manuallyAndNonScoredScoringEditTab.js +78 -0
  41. package/cypress/e2e/ILC/DragAndDropIntoCategories/minimumScoringPenaltyPointsAndRoundingDropdown.js +139 -0
  42. package/cypress/e2e/ILC/DragAndDropIntoCategories/previewContentsForAllViews.smoke.js +199 -0
  43. package/cypress/e2e/ILC/DragAndDropIntoCategories/specifyCorrectAnswerSection.js +73 -0
  44. package/cypress/e2e/ILC/DragAndDropIntoCategories/studentViewSettings.js +460 -0
  45. package/cypress/e2e/ILC/DragAndDropIntoCategories/studentViewSettingsForGroupedLayout.js +233 -0
  46. package/cypress/e2e/ILC/DragAndDropIntoCategories/switchingCasesBetweenOptionsLayout.js +48 -0
  47. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +379 -0
  48. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +565 -0
  49. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +718 -0
  50. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +339 -0
  51. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabScoring.js +76 -0
  52. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +107 -0
  53. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePageHeaderSection.js +74 -0
  54. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.js +1335 -0
  55. package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +410 -0
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/allOrNothingForAllViews.smoke.js +286 -0
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +200 -0
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +199 -0
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +292 -0
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/manuallyAndNonScored.js +151 -0
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +250 -0
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialDifferentWeightsBasic.js +434 -0
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +221 -0
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +250 -0
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialEqualWeightsBasic.js +173 -0
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +229 -0
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +200 -0
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +229 -0
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/checkAnswerFunctionalityForAllViews.smoke.js +122 -0
  70. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/draggableOptions.js +198 -0
  71. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +251 -0
  72. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/manuallyAndNonScoredEditTab.js +69 -0
  73. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +138 -0
  74. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/specifyCorrectAnswerSection.js +95 -0
  75. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +539 -0
  76. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/switchingCasesBetweenOptionsLayout.js +54 -0
  77. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +196 -0
  78. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +194 -0
  79. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +289 -0
  80. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/allOrNothingPenaltyScoring.js +56 -0
  81. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/manuallyAndNonScored.js +121 -0
  82. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +221 -0
  83. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialDifferentWeightsBasic.js +242 -0
  84. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +221 -0
  85. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +221 -0
  86. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialEqualWeightsBasic.js +147 -0
  87. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +201 -0
  88. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +173 -0
  89. package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +201 -0
  90. package/cypress/e2e/ILC/FillInTheGapsOverImageText/allOrNothingForAllViews.smoke.js +231 -0
  91. package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextCheckAnswerForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.smoke.js} +48 -57
  92. package/cypress/e2e/ILC/FillInTheGapsOverImageText/editTabScoringSection.js +279 -0
  93. package/cypress/e2e/ILC/FillInTheGapsOverImageText/previewContentsForAllViews.smoke.js +103 -0
  94. package/cypress/e2e/ILC/FillInTheGapsOverImageText/specifyCorrectAnswerSection.js +71 -0
  95. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +228 -0
  96. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +654 -0
  97. package/cypress/e2e/ILC/MultipleSelection/blockCreateItem.js +110 -0
  98. package/cypress/e2e/ILC/MultipleSelection/checkAnswerFunctionalityForAllViews.smoke.js +122 -0
  99. package/cypress/e2e/ILC/MultipleSelection/editTabBasicSection.js +159 -0
  100. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +274 -0
  101. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +73 -0
  102. package/cypress/e2e/ILC/MultipleSelection/manuallyAndNonScoredScoring.js +115 -0
  103. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +203 -0
  104. package/cypress/e2e/ILC/MultipleSelection/multipleSelectionAdditionalSettings.js +835 -0
  105. package/cypress/e2e/ILC/MultipleSelection/multipleSelectionBasicAccessibility.js +56 -0
  106. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +404 -0
  107. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +821 -0
  108. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsBasic.js +145 -0
  109. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +713 -0
  110. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +174 -0
  111. package/cypress/e2e/ILC/MultipleSelection/specifyCorrectAnswerSection.js +75 -0
  112. package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +530 -0
  113. package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +320 -0
  114. package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +225 -0
  115. package/cypress/e2e/ILC/Protractor/protractorHeaderFile.js +79 -0
  116. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +69 -0
  117. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +546 -0
  118. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +290 -0
  119. package/cypress/e2e/ILC/Ruler/rulerHeaderSection.js +85 -0
  120. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +68 -0
  121. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +194 -0
  122. package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +313 -0
  123. package/cypress/e2e/ILC/SingleSelection/blockCreateItem.js +111 -0
  124. package/cypress/e2e/ILC/SingleSelection/checkAnswerFunctionalityForAllViews.smoke.js +109 -0
  125. package/cypress/e2e/ILC/SingleSelection/editTabBasicSection.js +166 -0
  126. package/cypress/e2e/ILC/SingleSelection/editTabScoringSection.js +103 -0
  127. package/cypress/e2e/ILC/SingleSelection/headerSection.js +55 -0
  128. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +90 -0
  129. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +174 -0
  130. package/cypress/e2e/ILC/SingleSelection/singleSelectionAdditionalSettings.js +469 -0
  131. package/cypress/e2e/ILC/SingleSelection/specifyCorrectAnswerSection.js +72 -0
  132. package/cypress/e2e/ILC/SingleSelection/studentViewSettings.js +304 -0
  133. package/cypress/e2e/ILC/SingleSelection/trueOrFalseCreateItem.js +103 -0
  134. package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +283 -0
  135. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +206 -0
  136. package/cypress/pages/components/acceptedStudentInputComponent.js +92 -0
  137. package/cypress/pages/components/additionalSettingsPanel.js +8 -1
  138. package/cypress/pages/components/allowMultipleInstancesOfSameDraggableOptionComponent.js +54 -0
  139. package/cypress/pages/components/autoScoredAdditionalSettings.js +1 -1
  140. package/cypress/pages/components/autoScoredScoringPreviewTab.js +271 -0
  141. package/cypress/pages/components/autoScoredScoringSection.js +1 -1
  142. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +624 -0
  143. package/cypress/pages/components/autoScoredScoringSectionMultipleResponsesType.js +94 -36
  144. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +64 -8
  145. package/cypress/pages/components/autoScoredStudentViewSettings.js +141 -0
  146. package/cypress/pages/components/autoScoredStudentViewSettingsForPredefinedOptions.js +84 -0
  147. package/cypress/pages/components/backgroundImageUploadComponent.js +29 -0
  148. package/cypress/pages/components/ckEditorToolbar.js +1 -0
  149. package/cypress/pages/components/commonComponents.js +14 -7
  150. package/cypress/pages/components/correctIncorrectAnswerLabelComponent.js +38 -0
  151. package/cypress/pages/components/createQuestionBasePage.js +91 -75
  152. package/cypress/pages/components/desmosToolComponent.js +104 -0
  153. package/cypress/pages/components/draggableOptionContainer.js +628 -0
  154. package/cypress/pages/components/draggableOptionsSectionComponent.js +280 -0
  155. package/cypress/pages/components/enableOuterBorderComponent.js +59 -0
  156. package/cypress/pages/components/equationEditorFlyout.js +1 -26
  157. package/cypress/pages/components/essayResponseCommonComponents.js +32 -8
  158. package/cypress/pages/components/figOverImageCanvasComponent.js +53 -0
  159. package/cypress/pages/components/fillInTheGapsCommonComponents.js +0 -65
  160. package/cypress/pages/components/index.js +23 -10
  161. package/cypress/pages/components/listSortingAndOrderingBase.js +1 -1
  162. package/cypress/pages/components/lockUnlockOptionsComponent.js +65 -0
  163. package/cypress/pages/components/maximumCapacityPerDropzoneComponent.js +53 -0
  164. package/cypress/pages/components/maximumRecorderLengthComponent.js +2 -2
  165. package/cypress/pages/components/mcqAdditionalSettingsBase.js +30 -351
  166. package/cypress/pages/components/measuringToolComponent.js +215 -0
  167. package/cypress/pages/components/optionsWrapperComponent.js +310 -7
  168. package/cypress/pages/components/previewScoringAndShowCorrectAnswerComponent.js +1 -2
  169. package/cypress/pages/components/questionInputFieldComponent.js +109 -0
  170. package/cypress/pages/components/questionInstructionsComponent.js +53 -34
  171. package/cypress/pages/components/randomizeOptionsComponent.js +59 -0
  172. package/cypress/pages/components/scoringSectionBase.js +18 -2
  173. package/cypress/pages/components/scoringSectionBaseEditTab.js +401 -0
  174. package/cypress/pages/components/studentViewSettingsLabelComponent.js +28 -0
  175. package/cypress/pages/components/toolSettingsComponent.js +94 -0
  176. package/cypress/pages/components/toolVisibilityComponent.js +73 -0
  177. package/cypress/pages/components/uploadImageSectionComponent.js +0 -2
  178. package/cypress/pages/createItemPage.js +390 -9
  179. package/cypress/pages/desmosGraphingPage.js +256 -0
  180. package/cypress/pages/desmosToolPage.js +204 -0
  181. package/cypress/pages/dialogBoxBase.js +5 -5
  182. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1157 -1185
  183. package/cypress/pages/drawingResponsePage.js +1467 -0
  184. package/cypress/pages/essayResponsePage.js +24 -12
  185. package/cypress/pages/fillInTheGapsDragAndDropPage.js +12 -13
  186. package/cypress/pages/fillInTheGapsDropdownPage.js +4 -1
  187. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +479 -0
  188. package/cypress/pages/fillInTheGapsOverImageTextPage.js +314 -107
  189. package/cypress/pages/fillInTheGapsTextPage.js +4 -1
  190. package/cypress/pages/index.js +9 -1
  191. package/cypress/pages/itemPreviewPage.js +2 -1
  192. package/cypress/pages/itemPreviewSettingsPage.js +101 -8
  193. package/cypress/pages/listMatchingPage.js +11 -16
  194. package/cypress/pages/listOrderingPage.js +1 -2
  195. package/cypress/pages/listSortingPage.js +1 -2
  196. package/cypress/pages/multipleSelectionPage.js +516 -14
  197. package/cypress/pages/passagePage.js +10 -0
  198. package/cypress/pages/protractorPage.js +289 -0
  199. package/cypress/pages/rulerPage.js +441 -0
  200. package/cypress/pages/selectQuestionResourceToolPage.js +9 -2
  201. package/cypress/pages/shortTextResponsePage.js +11 -0
  202. package/cypress/pages/singleSelectionGridPage.js +1 -2
  203. package/cypress/pages/singleSelectionPage.js +490 -31
  204. package/cypress/pages/studentViewPage.js +13 -0
  205. package/cypress/pages/textEntryMathPage.js +689 -0
  206. package/deploy.yaml +2 -2
  207. package/package.json +1 -1
  208. package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTab.js +0 -342
  209. package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +0 -218
  210. package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTabTitleDescriptionAndTranscript.js +0 -187
  211. package/cypress/e2e/ILC/AudioPlayer/audioPlayerHeaderSection.js +0 -73
  212. package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTab.js +0 -302
  213. package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabPlaybackPlayer.js +0 -245
  214. package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +0 -78
  215. package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabTitleDescriptionAndTranscript.js +0 -248
  216. package/cypress/e2e/ILC/AudioResponse/audioResponseAdditionalSettings.js +0 -709
  217. package/cypress/e2e/ILC/AudioResponse/audioResponseAdditionalSettingsBasic.js +0 -149
  218. package/cypress/e2e/ILC/AudioResponse/audioResponseControlsForRecordingResponse.js +0 -308
  219. package/cypress/e2e/ILC/AudioResponse/audioResponseControlsResponsePlayback.js +0 -591
  220. package/cypress/e2e/ILC/AudioResponse/audioResponseEditTabBasicSections.js +0 -349
  221. package/cypress/e2e/ILC/AudioResponse/audioResponseHeaderSection.js +0 -80
  222. package/cypress/e2e/ILC/AudioResponse/audioResponseMinimalPreviewSection.smoke.js +0 -950
  223. package/cypress/e2e/ILC/AudioResponse/audioResponseScoringSection.js +0 -60
  224. package/cypress/e2e/ILC/AudioResponse/audioResponseStandardPreviewSection.smoke.js +0 -865
  225. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesAdditionalSettings.js +0 -294
  226. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesAdditionalSettingsBasic.js +0 -307
  227. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesAdditionalSettingsRowProperties.js +0 -372
  228. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesCategoriesSection.js +0 -275
  229. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesEditTabScoringTypes.js +0 -147
  230. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesGroupedSetCorrectAnswerCheckboxes.js +0 -266
  231. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesManuallyAndNonScored.js +0 -184
  232. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesManuallyAndNonScoredEditTabScoring.js +0 -68
  233. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesResponseOptionsSection.js +0 -112
  234. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesRowsSection.js +0 -304
  235. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothing.smoke.js +0 -121
  236. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -33
  237. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -35
  238. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -33
  239. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachCell.smoke.js +0 -39
  240. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachCellAlternatePointsGreaterThanCorrectPoints.js +0 -42
  241. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachCellCorrectPointsEqualToAlternatePoints.js +0 -49
  242. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachCellCorrectPointsGreaterThanAlternatePoints.js +0 -42
  243. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachResponse.smoke.js +0 -39
  244. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachResponseAlternatePointsGreaterThanCorrectPoints.js +0 -41
  245. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachResponseCorrectPointsEqualToAlternatePoints.js +0 -47
  246. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachResponseCorrectPointsGreaterThanAlternatePoints.js +0 -41
  247. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCell.js +0 -58
  248. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCellsAlternatePointsGreaterThanCorrectPoints.js +0 -42
  249. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsEqualToAlternatePoints.js +0 -48
  250. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsGreaterThanAlternatePoints.js +0 -42
  251. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponses.js +0 -58
  252. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponsesAlternatePointsGreaterThanCorrectPoints.js +0 -113
  253. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsEqualToAlternatePoints.js +0 -167
  254. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsGreaterThanAlternatePoints.js +0 -111
  255. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothing.smoke.js +0 -164
  256. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -33
  257. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -35
  258. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -33
  259. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachCell.js +0 -39
  260. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachCellAlternatePointsGreaterThanCorrectPoints.js +0 -42
  261. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachCellCorrectPointsEqualToAlternatePoints.js +0 -49
  262. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachCellCorrectPointsGreaterThanAlternatePoints.js +0 -42
  263. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachResponse.js +0 -38
  264. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachResponseAlternatePointsGreaterThanCorrectPoints.js +0 -41
  265. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachResponseCorrectPointsEqualToAlternatePoints.js +0 -47
  266. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachResponseCorrectPointsGreaterThanAlternatePoints.js +0 -41
  267. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCell.js +0 -58
  268. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCellAlternatePointsGreaterThanCorrectPoints.js +0 -42
  269. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCellCorrectPointsEqualToAlternatePoints.js +0 -48
  270. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCellCorrectPointsGreaterThanAlternatePoints.js +0 -42
  271. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponse.smoke.js +0 -61
  272. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponseAlternatePointsGreaterThanCorrectPoints.js +0 -113
  273. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponseCorrectPointsEqualToAlternatePoints.js +0 -166
  274. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponseCorrectPointsGreaterThanAlternatePoints.js +0 -111
  275. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesSetCorrectAnswerSection.js +0 -130
  276. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesStandardSetCorrectAnswerCheckboxes.js +0 -234
  277. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesSwitchingCases.js +0 -45
  278. package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +0 -432
  279. package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +0 -134
  280. package/cypress/e2e/ILC/EssayResponse/essayResponseCreateCustomCategory.smoke.js +0 -943
  281. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +0 -336
  282. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions2.js +0 -332
  283. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions3.js +0 -522
  284. package/cypress/e2e/ILC/EssayResponse/essayResponseEditCategoryFlyout.js +0 -402
  285. package/cypress/e2e/ILC/EssayResponse/essayResponseEditTabBasicSections.js +0 -558
  286. package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditor.smoke.js +0 -581
  287. package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditorCategories1.js +0 -290
  288. package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditorCategories2.js +0 -514
  289. package/cypress/e2e/ILC/EssayResponse/essayResponseHeaderSection.js +0 -80
  290. package/cypress/e2e/ILC/EssayResponse/essayResponsePreviewAddTable.js +0 -412
  291. package/cypress/e2e/ILC/EssayResponse/essayResponsePreviewContentsForAllViews.smoke.js +0 -79
  292. package/cypress/e2e/ILC/EssayResponse/essayResponsePreviewEditTable.js +0 -659
  293. package/cypress/e2e/ILC/EssayResponse/essayResponsePreviewHyperlink.js +0 -318
  294. package/cypress/e2e/ILC/EssayResponse/essayResponseScoringSection.js +0 -59
  295. package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +0 -33
  296. package/cypress/e2e/ILC/EssayResponseBasic/essayResponseBasicCustomizeFormattingOptions.js +0 -207
  297. package/cypress/e2e/ILC/EssayResponseMath/essayResponseMathCharacters.js +0 -38
  298. package/cypress/e2e/ILC/EssayResponseMath/essayResponseMathCreateItem.js +0 -243
  299. package/cypress/e2e/ILC/FeedbackScale/feedbackScaleAdditionalSettings.js +0 -162
  300. package/cypress/e2e/ILC/FeedbackScale/feedbackScaleAdditionalSettingsBasic.js +0 -119
  301. package/cypress/e2e/ILC/FeedbackScale/feedbackScaleColorPopup.js +0 -237
  302. package/cypress/e2e/ILC/FeedbackScale/feedbackScaleEditTab.js +0 -346
  303. package/cypress/e2e/ILC/FeedbackScale/feedbackScaleHeaderSection.js +0 -72
  304. package/cypress/e2e/ILC/FeedbackScale/feedbackScalePreviewTab.js +0 -389
  305. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +0 -356
  306. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettingsResponseAccordion.js +0 -299
  307. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropClickAndDrop.js +0 -278
  308. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabBasic.js +0 -198
  309. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabScoringTypes.js +0 -107
  310. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedEditTab.smoke.js +0 -81
  311. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingScoring.smoke.js +0 -64
  312. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingWithAlternateAnswer.js +0 -174
  313. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsManualAndNonScoredScoring.js +0 -83
  314. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsScoring.js +0 -68
  315. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsWithAlternateAnswer.js +0 -91
  316. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsScoring.js +0 -66
  317. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -90
  318. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedSetCorrectAnswerCheckboxes.js +0 -283
  319. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropHeaderSection.js +0 -84
  320. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropScoringSectionBasic.js +0 -21
  321. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerCheckboxes.js +0 -294
  322. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerSection.js +0 -66
  323. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsScoring.js +0 -52
  324. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsWithAlternateAnswer.js +0 -79
  325. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsAllOrNothingwithAlternateAnswer.js +0 -74
  326. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsAutoScoredAllOrNothingScoring.js +0 -133
  327. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsManualAndNonScoredScoring.js +0 -60
  328. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsScoring.js +0 -54
  329. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -78
  330. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsSection.js +0 -66
  331. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSwitchingCases.js +0 -54
  332. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillIntheGapsDragAndDropAlternateAnswer.js +0 -230
  333. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettings.js +0 -750
  334. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettingsBasic.js +0 -423
  335. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoring.smoke.js +0 -52
  336. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoringWithAlternateAnswer.js +0 -70
  337. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownEditTabBasicSection.js +0 -591
  338. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownEditTabScoringSection.js +0 -131
  339. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownHeaderSection.js +0 -126
  340. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownManuallyAndNonScoredScoring.js +0 -57
  341. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeights.js +0 -61
  342. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeightsWithAlternateAnswer.js +0 -78
  343. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeights.js +0 -61
  344. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeightsWithAlternateAnswer.js +0 -75
  345. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownRandomizeOptions.js +0 -86
  346. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownSetCorrectAnswerSection.js +0 -170
  347. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAddResponseContainer.smoke.js +0 -236
  348. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsAnswerNumeration.js +0 -206
  349. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +0 -222
  350. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsResponseAccordions.js +0 -366
  351. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.smoke.js +0 -361
  352. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +0 -630
  353. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditAriaLabelCheckbox.smoke.js +0 -137
  354. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownImageProperties.smoke.js +0 -171
  355. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +0 -867
  356. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +0 -766
  357. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPreviewTab.smoke.js +0 -77
  358. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownSupportedFileTypes.js +0 -86
  359. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAddResponseContainer.js +0 -221
  360. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettings.js +0 -450
  361. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsBasic.js +0 -200
  362. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsCustomSpecialCharachters.js +0 -120
  363. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsMultilineResponse.js +0 -188
  364. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsResponseAccordions.js +0 -431
  365. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsStudentResponseAreaAndLayout.js +0 -263
  366. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAllOrNothingScoring.smoke.js +0 -191
  367. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAllOrNothingWithAlternateAnswer.js +0 -613
  368. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAllOrNothingWithAlternateAnswerMatchFromAllResponsesTrue.js +0 -172
  369. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextConditionalCheckboxes.js +0 -203
  370. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditAriaLabelCheckbox.smoke.js +0 -137
  371. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditTabBasicSection.smoke.js +0 -146
  372. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditTabScoringSection.js +0 -227
  373. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextHeaderSection.js +0 -109
  374. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextImageProperties.js +0 -156
  375. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextManualAndNonScored.js +0 -157
  376. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextMatchFromAllResponses.js +0 -162
  377. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsScoring.js +0 -202
  378. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswer.js +0 -846
  379. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswerMatchFromAllResponsesTrue.js +0 -171
  380. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsScoring.js +0 -200
  381. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswer.js +0 -738
  382. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswerMatchFromAllResponsesTrue.js +0 -168
  383. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPreviewContentsForAllViews.smoke.js +0 -146
  384. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPreviewTab.smoke.js +0 -66
  385. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextSetCorrectAnswerSection.js +0 -113
  386. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextShowCorrectAnswerForAllView.smoke.js +0 -155
  387. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextSupportedFileTypes.js +0 -86
  388. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsAdvanceSettingsForAllResponseAreas.js +0 -528
  389. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsBasic.js +0 -263
  390. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsResponseAccordions.js +0 -734
  391. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsStudentResponseAreaAndLayout.js +0 -603
  392. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js +0 -58
  393. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAlternateAnswer.js +0 -104
  394. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAutoScoredScoring.smoke.js +0 -43
  395. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextCaseSensitiveAndIgnoreExtraSpacesCheckboxes.js +0 -174
  396. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextEditTabBasicSections.js +0 -176
  397. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextEditTabScoringSection.js +0 -150
  398. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextHeaderSection.js +0 -112
  399. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextManuallyAndNonScoredScoring.js +0 -49
  400. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeights.js +0 -49
  401. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeightsWithAlternateAnswer.js +0 -62
  402. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeights.js +0 -49
  403. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js +0 -60
  404. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextSetCorrectAnswerSection.js +0 -70
  405. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -213
  406. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -217
  407. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -215
  408. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingScoring.smoke.js +0 -191
  409. package/cypress/e2e/ILC/Highlight/HighlightScoring/highlightBasicScoringForTextSelectionTypes.smoke.js +0 -462
  410. package/cypress/e2e/ILC/Highlight/HighlightScoring/manuallyAndNonScored.js +0 -162
  411. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsAlternatePointsMoreThanCorrectPoints.js +0 -316
  412. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -387
  413. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsCorrectPointsMoreThanAlternatePoints.js +0 -316
  414. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsScoring.js +0 -250
  415. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -250
  416. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointEqualToAlternatePoints.js +0 -268
  417. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -250
  418. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsScoring.js +0 -231
  419. package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsBasic.js +0 -220
  420. package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsMaximumNumberOfAnswers.js +0 -135
  421. package/cypress/e2e/ILC/Highlight/highlightColorLibraryFlyout.smoke.js +0 -148
  422. package/cypress/e2e/ILC/Highlight/highlightEditTabScoringSection.js +0 -362
  423. package/cypress/e2e/ILC/Highlight/highlightHeaderSection.js +0 -91
  424. package/cypress/e2e/ILC/Highlight/highlightQuestionInstructionsAndQuestion.smoke.js +0 -185
  425. package/cypress/e2e/ILC/Highlight/highlightScoringSectionBasic.js +0 -21
  426. package/cypress/e2e/ILC/Highlight/highlightSetCorrectAnswerSection.js +0 -204
  427. package/cypress/e2e/ILC/Highlight/highlightTextSelectionDropdownAndHighlightOptionsSection.js +0 -175
  428. package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypeInPreviewTab.js +0 -237
  429. package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypeInSetCorrectAnswerSection.js +0 -341
  430. package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypesInHighlightOptionsSection.js +0 -375
  431. package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettings.js +0 -219
  432. package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettingsBasic.js +0 -246
  433. package/cypress/e2e/ILC/HighlightImage/highlightImageAllOrNothingScoring.js +0 -235
  434. package/cypress/e2e/ILC/HighlightImage/highlightImageAllOrNothingWithAlternateAnswer.js +0 -810
  435. package/cypress/e2e/ILC/HighlightImage/highlightImageCustomizeHighlightProperties.js +0 -669
  436. package/cypress/e2e/ILC/HighlightImage/highlightImageCustomizeHighlightPropertiesFunctionality.js +0 -356
  437. package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabBasic.smoke.js +0 -138
  438. package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabHighlightSectionContents.js +0 -318
  439. package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabScoring.js +0 -407
  440. package/cypress/e2e/ILC/HighlightImage/highlightImageHeaderSection.js +0 -86
  441. package/cypress/e2e/ILC/HighlightImage/highlightImageManuallyAndNonScoredScoring.js +0 -176
  442. package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsScoring.js +0 -209
  443. package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsWithAlternateAnswer.js +0 -895
  444. package/cypress/e2e/ILC/HighlightImage/highlightImagePartialEqualWeightsScoring.js +0 -208
  445. package/cypress/e2e/ILC/HighlightImage/highlightImagePartialEqualWeightsWithAlternateAnswer.js +0 -894
  446. package/cypress/e2e/ILC/HighlightImage/highlightImagePreviewTab.smoke.js +0 -88
  447. package/cypress/e2e/ILC/HighlightImage/highlightImageSetCorrectAnswerCheckboxes.js +0 -244
  448. package/cypress/e2e/ILC/HighlightImage/highlightImageSetCorrectAnswerSection.js +0 -186
  449. package/cypress/e2e/ILC/HighlightImage/highlightImageSupportedFileTypes.js +0 -86
  450. package/cypress/e2e/ILC/HighlightImage/highlightImageToolsFunctionalityEditTab.js +0 -160
  451. package/cypress/e2e/ILC/HighlightImage/highlightImageToolsFunctionalityPreviewTab.smoke.js +0 -163
  452. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -28
  453. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -30
  454. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -28
  455. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingScoring.smoke.js +0 -122
  456. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsManualAndNonScoredScoring.js +0 -49
  457. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialDifferentWeightsScoring.js +0 -48
  458. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -29
  459. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js +0 -35
  460. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -29
  461. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -30
  462. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -36
  463. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -30
  464. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialEqualWeightsScorings.js +0 -48
  465. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -28
  466. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -30
  467. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -28
  468. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsAllOrNothingScoring.js +0 -113
  469. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsManualAndNonScoredScoring.js +0 -48
  470. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -29
  471. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -35
  472. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -29
  473. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialDifferentWeightsScoring.js +0 -48
  474. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -29
  475. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -35
  476. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -29
  477. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialEqualWeightsScoring.js +0 -48
  478. package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsAnswerNumerationAndResponseOptionPlacement.js +0 -196
  479. package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsBasic.js +0 -210
  480. package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsStemAndResponseColumnHeader.js +0 -206
  481. package/cypress/e2e/ILC/ListMatching/listMatchingAlternateAnswer.smoke.js +0 -197
  482. package/cypress/e2e/ILC/ListMatching/listMatchingClickAndDrop.js +0 -644
  483. package/cypress/e2e/ILC/ListMatching/listMatchingEditTabScoringTypes.js +0 -105
  484. package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSection.smoke.js +0 -211
  485. package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSetCorrectAnswersCheckboxesEditTab.js +0 -139
  486. package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSetCorrectAnswersCheckboxesPreviewTab.js +0 -227
  487. package/cypress/e2e/ILC/ListMatching/listMatchingHeaderSection.js +0 -95
  488. package/cypress/e2e/ILC/ListMatching/listMatchingQuestionInstructionsAndStemsSection.smoke.js +0 -254
  489. package/cypress/e2e/ILC/ListMatching/listMatchingScoringSectionBasic.js +0 -21
  490. package/cypress/e2e/ILC/ListMatching/listMatchingSetCorrectAnswerSectionBasic.js +0 -40
  491. package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSection.js +0 -233
  492. package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSetCorrectAnswerCheckboxesEditTab.js +0 -113
  493. package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSetCorrectAnswerCheckboxesPreviewTab.smoke.js +0 -191
  494. package/cypress/e2e/ILC/ListMatching/listMatchingSwitchingCases.js +0 -47
  495. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -246
  496. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -247
  497. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -247
  498. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/allOrNothingScoring.smoke.js +0 -180
  499. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/manuallyAndNonScoredScoring.js +0 -160
  500. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -316
  501. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -287
  502. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -317
  503. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialDifferentWeightsScoring.js +0 -192
  504. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -286
  505. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -258
  506. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -287
  507. package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialEqualWeightsScoring.js +0 -190
  508. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsAnswerNumerationAndOptionLabel.js +0 -295
  509. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsBasic.js +0 -300
  510. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsOptionStyleDropdown.js +0 -302
  511. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsSetPointsPopup.js +0 -269
  512. package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabBasicSection.js +0 -316
  513. package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabScoringSection.js +0 -256
  514. package/cypress/e2e/ILC/ListOrdering/listOrderingHeaderSection.js +0 -83
  515. package/cypress/e2e/ILC/ListOrdering/listOrderingSetCorrectAnswerCheckboxes.js +0 -208
  516. package/cypress/e2e/ILC/ListOrdering/listOrderingSetCorrectAnswerSection.js +0 -172
  517. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -261
  518. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -261
  519. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -261
  520. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/allOrNothingScoring.smoke.js +0 -191
  521. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/manuallyAndNonScoredScoring.js +0 -171
  522. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -337
  523. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -302
  524. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -336
  525. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialDifferentWeightsScoring.js +0 -210
  526. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -306
  527. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -271
  528. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -305
  529. package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialEqualWeightsScoring.js +0 -207
  530. package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsAnswerNumerationAndOptionStyleDropdown.js +0 -319
  531. package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsBasic.js +0 -326
  532. package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsOptionLabelSection.js +0 -202
  533. package/cypress/e2e/ILC/ListSorting/listSortingClickAndDrop.js +0 -456
  534. package/cypress/e2e/ILC/ListSorting/listSortingEditTabBasicSection.js +0 -165
  535. package/cypress/e2e/ILC/ListSorting/listSortingEditTabScoringSection.js +0 -259
  536. package/cypress/e2e/ILC/ListSorting/listSortingHeaderSection.js +0 -89
  537. package/cypress/e2e/ILC/ListSorting/listSortingOptionsSection.js +0 -287
  538. package/cypress/e2e/ILC/ListSorting/listSortingSetCorrectAnswerCheckboxes.smoke.js +0 -269
  539. package/cypress/e2e/ILC/ListSorting/listSortingSetCorrectAnswerSection.js +0 -168
  540. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionAdditionalSettingsGridOptions.js +0 -351
  541. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +0 -258
  542. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsQuestionStem.js +0 -250
  543. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -263
  544. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -263
  545. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -261
  546. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAutoScoredScoring.smoke.js +0 -273
  547. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabBasicSection.js +0 -588
  548. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabScoringSection.js +0 -297
  549. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridHeaderSection.js +0 -98
  550. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridManuallyAndNonScoredScoring.js +0 -206
  551. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeights.js +0 -222
  552. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -339
  553. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -309
  554. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -340
  555. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeights.js +0 -257
  556. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -312
  557. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -284
  558. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -315
  559. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridRandomizeOptions.js +0 -124
  560. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridSetCorrectAnswerSection.js +0 -175
  561. package/cypress/e2e/ILC/Passage/multipageContentEditTab.js +0 -242
  562. package/cypress/e2e/ILC/Passage/passageAdditionalSettings.js +0 -99
  563. package/cypress/e2e/ILC/Passage/passageEditTab.js +0 -241
  564. package/cypress/e2e/ILC/Passage/passageHeaderSection.js +0 -73
  565. package/cypress/e2e/ILC/Passage/passagePreviewTab.js +0 -246
  566. package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +0 -185
  567. package/cypress/e2e/ILC/ReadingRuler/readingRulerHeaderSection.js +0 -55
  568. package/cypress/e2e/ILC/ReadingRuler/readingRulerPreviewTab.js +0 -257
  569. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettings.js +0 -376
  570. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettingsBasic.js +0 -336
  571. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.smoke.js +0 -407
  572. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseConditionalCheckboxes.js +0 -154
  573. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js +0 -166
  574. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseCustomSpecialCharacters.js +0 -167
  575. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseEditTabScoringSection.js +0 -87
  576. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseExactConditionalRadioButton.js +0 -157
  577. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseHeaderSection.js +0 -109
  578. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseManuallyScoredNonScoredScoringSection.js +0 -115
  579. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseSetCorrectAnswerSection.js +0 -137
  580. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAdditionalSettingsBasic.js +0 -233
  581. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -173
  582. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -179
  583. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -174
  584. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAutoScoredScoring.smoke.js +0 -208
  585. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabBasicSection.js +0 -589
  586. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabScoringSection.js +0 -282
  587. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridHeaderSection.js +0 -97
  588. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridManuallyAndNonScored.js +0 -146
  589. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridOptionsAdditionalSettings.js +0 -345
  590. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeights.js +0 -189
  591. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -247
  592. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -219
  593. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -246
  594. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeights.js +0 -191
  595. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -225
  596. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -197
  597. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -225
  598. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridQuestionStemAdditionalSettings.js +0 -257
  599. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridRandomizeOptions.js +0 -122
  600. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridSetCorrectAnswerSection.js +0 -183
  601. package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +0 -179
  602. package/cypress/e2e/ILC/UploadResponse/uploadResponseEditTabBasicSections.js +0 -225
  603. package/cypress/e2e/ILC/UploadResponse/uploadResponseHeaderSection.js +0 -66
  604. package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.smoke.js +0 -334
  605. package/cypress/e2e/ILC/UploadResponse/uploadResponseScoringSection.js +0 -60
  606. package/cypress/e2e/ILC/UploadResponse/uplodResponsePreviewUploadedFileProperties.js +0 -250
  607. package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettings.js +0 -135
  608. package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettingsBasic.js +0 -87
  609. package/cypress/e2e/ILC/VideoResponse/videoResponseEditTabBasic.js +0 -78
  610. package/cypress/e2e/ILC/VideoResponse/videoResponseHeaderSection.js +0 -74
  611. package/cypress/e2e/ILC/VideoResponse/videoResponsePreviewTab.smoke.js +0 -637
  612. package/cypress/e2e/ILC/VideoResponse/videoResponseScoringSection.js +0 -76
  613. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +0 -247
  614. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownConditionalCheckboxes.js +0 -258
  615. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditTabBasicSection.js +0 -132
  616. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditTabScoringSection.js +0 -237
  617. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownHeaderSection.js +0 -113
  618. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +0 -165
  619. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownOptionsForResponse.js +0 -303
  620. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +0 -378
  621. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +0 -377
  622. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownSetCorrectAnswerSection.js +0 -117
  623. package/cypress/pages/components/dragAndDropResponseOptions.js +0 -739
  624. package/cypress/pages/components/dragAndDropSetCorrectAnswerCheckboxComponents.js +0 -124
  625. package/cypress/pages/components/draggableOptionsContainer.js +0 -859
  626. package/cypress/pages/components/mcqOptionsComponent.js +0 -263
  627. package/cypress/pages/components/mcqPreviewComponents.js +0 -78
  628. package/cypress/pages/components/mcqQuestionCommonComponents.js +0 -265
  629. package/cypress/pages/components/mcqScoringComponent.js +0 -120
  630. package/cypress/pages/components/mcqSetCorrectAnswerSection.js +0 -143
@@ -0,0 +1,1467 @@
1
+ import utilities from "../support/helpers/utilities"
2
+ import { questionInstructionsComponent, createQuestionBasePage, commonComponents, additionalSettingsPanel, scoringSectionBaseEditTab } from "./components"
3
+ import { dialogBoxBase } from "./dialogBoxBase";
4
+
5
+ const css = Cypress.env('css');
6
+ const fontSizePopupOptions = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
7
+
8
+ const selectors = {
9
+ ...commonComponents,
10
+ ...dialogBoxBase,
11
+ ...additionalSettingsPanel,
12
+ ...questionInstructionsComponent,
13
+ ...scoringSectionBaseEditTab,
14
+ ...createQuestionBasePage,
15
+ //Customize toolbar options and controls
16
+ customizeToolbarOptionsAndControlsAccordion: () => cy.get('.drawing-response-accordion .ngie-accordion-summary'),
17
+ customizeToolbarOptionsAndControlsLabel: () => cy.get('.customized-options-label'),
18
+ toolbarOptionsAndControlsFormattingOptionsTiles: (toolbarOptionTitle = null) => {
19
+ if (toolbarOptionTitle) {
20
+ return cy.get(`.icon-button-custom-format[title*="${toolbarOptionTitle}"]`)
21
+ } else {
22
+ return cy.get('.icon-button-custom-format')
23
+ }
24
+ },
25
+ toolBarOptionsLabel: () => cy.get('[class*="ToolbarLabel"]').eq(0),
26
+ controlsLabel: () => cy.get('[class*="ToolbarLabel"]').eq(1),
27
+ customizeToolbarOptionsAndControlsSectionTickIcon: () => cy.get('.tick-icon-wrapper'),
28
+
29
+ //Additional options
30
+ additionalOptionsLabel: () => cy.get('[class*="CustomizedAdditionalOptionsLabel"]'),
31
+ optionsLabel: () => cy.get('[class*="OptionsTitleWrapper"]'),
32
+ optionLabelInfoIcon: () => cy.get('[class*="CustomizedAdditionalOptionsstyles__InfoIconWrapper"]'),
33
+ additionalOptionsTiles: (ariaLabel = null) => {
34
+ if (ariaLabel) {
35
+ return cy.get(`[data-ngie-testid*="-toggle-button"][aria-label="${ariaLabel}"]`)
36
+ } else {
37
+ return cy.get('[data-ngie-testid*="-toggle-button"]')
38
+ }
39
+ },
40
+
41
+ //Default colors
42
+ defaultStrokeColorsWrapper: () => cy.get('ColorSelectionComponentstyles__DefaultColorOptions').eq(0),
43
+ defaultStrokeFontColorLabel: () => cy.get('[class*="ColorSelectionComponentstyles__LabelWrapper"]').eq(0),
44
+ colorPickerBlock: () => cy.get('.color-picker-block'),
45
+ colorPickerBlockCloseIcon: () => cy.get('[class*="ColorSelectionComponentstyles__CloseIcon"]'),
46
+ defaultFillColorsLabel: () => cy.get('[class*="ColorSelectionComponentstyles__LabelWrapper"]').eq(1),
47
+ defaultFillColorsWrapper: () => cy.get('ColorSelectionComponentstyles__DefaultColorOptions').eq(1),
48
+
49
+ //Customize special characters
50
+ customizeSpecialCharactersCheckbox: () => cy.get('[data-ngie-testid="customize-special-characters-checkbox"] .ngie-checkbox input'),
51
+ customizeSpecialCharactersLabel: () => cy.get('[data-ngie-testid="customize-special-characters-checkbox"] [class*="label"]'),
52
+ groupByLanguageRadioButton: () => cy.get('[class*="CustomizedSpecialCharacterstyles__RadioGroupWrapper"] .ngie-radio-btn input').eq(0),
53
+ groupByLanguageLabel: () => cy.get('[class*="CustomizedSpecialCharacterstyles__RadioGroupWrapper"] .ngie-radio-label').eq(0),
54
+ showOnlyCustomSpecialCharactersRadioButton: () => cy.get('[class*="CustomizedSpecialCharacterstyles__RadioGroupWrapper"] .ngie-radio-btn input').eq(1),
55
+ showOnlyCustomSpecialCharactersLabel: () => cy.get('[class*="CustomizedSpecialCharacterstyles__RadioGroupWrapper"] .ngie-radio-label').eq(0),
56
+ selectSpecialCharacterLanguagesLabel: () => cy.get('[class*="CustomizedSpecialCharacterstyles__SpecialCharLabel"]'),
57
+ customizeSpecialCharactersPreviewButton: () => cy.get('[class*="CustomizedSpecialCharacterstyles__PreviewLabel"]'),
58
+ charactersCategoryTilesWrapper: () => cy.get('[class*="CustomizedSpecialCharacterstyles__DragAndDropWrapper"]'),
59
+ specialAndMathCharacterTiles: (specialOrMathCharacterCategory = null) => {
60
+ if (specialOrMathCharacterCategory) {
61
+ return cy.get(`[id*="DraggableItem"] button[aria-label="${specialOrMathCharacterCategory}"]`)
62
+ } else {
63
+ return cy.get('[id*="DraggableItem"] button')
64
+ }
65
+ },
66
+ specialAndMathCharacterTileIcon: () => cy.get('.equation-editor-icon'),
67
+ specialAndMathCharacterTileCategoryName: () => cy.get('.equation-editor-label-wrapper'),
68
+ specialAndMathCharacterTileSectionCategoriesDragIcon: () => cy.get('.drag-icon-equation-editor-button'),
69
+
70
+ //Customize math characters
71
+ customizeMathCharactersCheckbox: () => cy.get('[data-ngie-testid="customize-math-characters-checkbox"] .ngie-checkbox input'),
72
+ customizeMathCharactersLabel: () => cy.get('[data-ngie-testid="customize-math-characters-checkbox"] [class*="label"]'),
73
+ selectMathCharacterCategoryLabel: () => cy.get('[class*="CustomizedSpecialCharacterstyles__SpecialCharLabel"]'),
74
+ customizeMathCharactersPreviewButton: () => cy.get('[class*="CustomizedSpecialCharacterstyles__PreviewLabel"]'),
75
+
76
+ //Preview popup
77
+ charactersPreviewPopupSymbol: () => cy.get('[class*="CustomizedSpecialCharacterstyles__CharacterWrapper"]'),
78
+
79
+ //Special characters preview popup
80
+ specialCharactersPreviewPopupCharactersCategoryWrapper: () => cy.get('[class*="special"][class*="accordion"]'),
81
+ specialCharactersPreviewPopupCategoryAccordionExpandIcon: () => cy.get('[class*="expandIconWrapper"]'),
82
+ specialCharactersPreviewPopupCategoryLabel: () => cy.get('[class*="CustomizedSpecialCharacterstyles__AccordionLabel"]'),
83
+
84
+ //Math characters preview popup
85
+ mathCharactersPreviewPopupCharactersCategoryWrapper: () => cy.get('[class*="CustomizedSpecialCharacterstyles__AccordionWrapper"]'),
86
+ mathCharactersPreviewPopupCategoryLabel: () => cy.get('[class*="CustomizedMathCharacterstyles__PopupTitle"]'),
87
+
88
+ //Show only custom special characters section
89
+ customSpecialCharactersLabel: () => cy.get('[class*="CustomizedSpecialCharacterstyles__SpecialCharLabel"]'),
90
+ customSpecialCharactersInputField: () => cy.get('input[aria-label="Custom special characters"]'),
91
+
92
+ //Preview tab
93
+ previewTabDrawingToolbarWrapper: () => cy.get('.edit-question-preview-wrapper .drawing-tool__toolbar'),
94
+ previewTabDrawingToolbarOption: (drawingOption = null) => {
95
+ if (drawingOption) {
96
+ return cy.get(`.drawing-tool__button[aria-label = "${drawingOption}"]:visible`)
97
+ } else {
98
+ return cy.get('.drawing-tool__button:visible')
99
+ }
100
+ },
101
+ previewTabToolbarOptionTooltip: () => cy.get('.edit-question-preview-wrapper [role="tooltip"][class*="Tooltipstyles__TooltipContent"]'),
102
+ previewTabLowerCanvas: () => cy.get('.edit-question-preview-wrapper .lower-canvas'),
103
+ previewTabUpperCanvas: () => cy.get('.edit-question-preview-wrapper .upper-canvas'),
104
+ previewTabSecondaryToolbarOptionLabel: () => cy.get('.edit-question-preview-wrapper .drawing-tool__secondary-toolbar__tool-name'),
105
+ previewTabSecondaryToolbarOption: (ariaLabel = null) => {
106
+ if (ariaLabel) {
107
+ return cy.get(`.drawing-tool-options__tool__button[aria-label="${ariaLabel}"]:visible`);
108
+ } else {
109
+ return cy.get('.drawing-tool-options__tool__button:visible')
110
+ }
111
+ },
112
+ previewTabToolbarOptionName: () => cy.get('[class*="tool-name"]:visible'),
113
+ previewTabSecondaryOptionPopup: () => cy.get('.edit-question-preview-wrapper .drawing-tool-options__options'),
114
+ previewTabSecondaryOptionPopupTitle: () => cy.get('.edit-question-preview-wrapper .drawing-tool-options__options .drawing-tool-options__options__label'),
115
+ previewTabSecondaryOptionPopupOptions: () => cy.get('.edit-question-preview-wrapper .drawing-tool-options__options__options-list__button'),
116
+ previewTabColorPickerLabel: () => cy.get('.drawing-tool-color-picker__label'),
117
+ colorPalleteSelectedColorLabel: () => cy.get('.drawing-tool-color-picker__selected-color-label'),
118
+ colorPalleteSelectedColorBlock: () => cy.get('.drawing-tool-color-picker__selected-color'),
119
+ colorPalleteCancelButton: () => cy.get('.drawing-tool-color-picker__footer__cancel-btn'),
120
+ colorPalleteOkButton: () => cy.get('.drawing-tool-color-picker__footer__ok-btn'),
121
+
122
+ //Opacity popup
123
+ previewTabSecondaryPopupOpacityInputField: () => cy.get('.edit-question-preview-wrapper .drawing-tool-options__options__number-wrapper input'),
124
+ previewTabSecondaryPopupOpacityPercentageLabel: () => cy.get('.edit-question-preview-wrapper .drawing-tool-options__options__percentage-wrapper'),
125
+ previewTabSecondaryPopupOpacitySlider: () => cy.get('.edit-question-preview-wrapper .drawing-tool-options__options__slider'),
126
+ previewTabSecondaryOptionPopupStrokeImage: () => cy.get('.edit-question-preview-wrapper .drawing-tool-options__options__options-list__button svg[aria-label*="Stroke"]'),
127
+ previewTabSecondaryOptionPopupEraserImage: () => cy.get('.edit-question-preview-wrapper .drawing-tool-options__options__options-list__button svg[aria-label*="Eraser"]'),
128
+
129
+ //Font size popup
130
+ fontSizeOption: () => cy.get('.drawing-tool-options__options__text-size__button'),
131
+ fontSizeOptionLabels: () => cy.get('.text-size .drawing-tool-options__options__text-size__title'),
132
+ fontSizesLabels: () => cy.get('.text-size .drawing-tool-options__options__text-size__value'),
133
+
134
+ //Insert image
135
+ insertImageContainer: () => cy.get('.edit-question-preview-wrapper .drawing-tool-modal__content'),
136
+ insertImageContainerTitle: () => cy.get('.drawing-tool-modal__content .image-upload__title-text'),
137
+ insertImageContainerHelptext: () => cy.get('.image-upload__dropzone p'),
138
+ insertImageContainerSelectButton: () => cy.get('.drawing-tool-modal__content .image-upload__button'),
139
+ insertImageContainerCloseButton: () => cy.get('.drawing-tool-modal__content .drawing-tool-modal__close-button'),
140
+ inputTypeFile: () => cy.get('input[type="file"]'),
141
+ insertImageContainerErrorMessage: () => cy.get('.image-upload__error'),
142
+
143
+ //Characters popup
144
+ charactersPopupTitle: () => cy.get('[class*="characters__title-container"]'),
145
+ charactersPopupCloseButton: () => cy.get('[class*="characters__close-button"]'),
146
+ charactersPopupCategoryTitle: () => cy.get('[class*="characters__container"] [class*="options__characters__title"]'),
147
+ charactersPopupCharactersCategoryWrapper: () => cy.get('[class*="characters__characters-wrapper"]'),
148
+ charactersPopupCharacterSymbol: () => cy.get('[class*="characters__button"]'),
149
+
150
+ //Background section
151
+ backgroundLabel: () => cy.get('[class*="BackgroundLabelWrapper"]'),
152
+ blankCanvasLabel: () => cy.get('label[aria-label="Blank Canvas"]'),
153
+ blankCanvasRadioButton: () => cy.get('input[aria-label="Blank Canvas"]'),
154
+ imageLabel: () => cy.get('label[aria-label="Image"]'),
155
+ imageRadioButton: () => cy.get('input[aria-label="Image"]'),
156
+ patternLabel: () => cy.get('label[aria-label="Pattern"]'),
157
+ patternRadioButton: () => cy.get('input[aria-label="Pattern"]'),
158
+ canvasWidthLabel: () => cy.get('label[aria-labelledby="Canvas width (px)"]'),
159
+ canvasWidthInputField: () => cy.get('input[aria-label="Canvas width (px)"]'),
160
+ canvasHeightLabel: () => cy.get('label[aria-labelledby="Canvas height (px)"]'),
161
+ canvasHeightInputField: () => cy.get('input[aria-label="Canvas height (px)"]'),
162
+ aspectRatioButton: () => cy.get('.lock-reset-icon-wrapper button').eq(0),
163
+ resetDimensionsButton: () => cy.get('.lock-reset-icon-wrapper button').eq(1),
164
+ uploadLabel: () => cy.get('[class*="SimpleImageUploaderstyles__LabelWrapper"]').eq(0),
165
+ fileNameLabel: () => cy.get('[class*="SimpleImageUploaderstyles__LabelWrapper"]').eq(1),
166
+ fileUploadSection: () => cy.get('.file-input-wrapper'),
167
+ chooseFileButton: () => cy.get('.choose-file-button'),
168
+ noFileChosenLabel: () => cy.get('[aria-label="No file chosen"]'),
169
+ fileUploadProgressBar: () => cy.get('[class*="SimpleImageUploaderstyles__ProgressBar-"]'),
170
+ uploadedFileNameLabel: () => cy.get('[class*="SimpleImageUploaderstyles__SelectedFile-"]'),
171
+ imagePropertiesLabel: () => cy.get('.settings-label'),
172
+ fillImageToCanvasLabel: () => cy.get('[data-ngie-testid="fill-image-to-canvas-checkbox"]'),
173
+ fillImageToCanvasCheckbox: () => cy.get('[data-ngie-testid="fill-image-to-canvas-checkbox"] input'),
174
+ imageAlignmentLabel: () => cy.get('[class*="CanvasControlsstyles__AlignmentWrapper"] .additional-settings-label'),
175
+ topLeftOption: () => cy.get('li[class*="CanvasControlsstyles__AlignmentOption"]').eq(0),
176
+ centerOption: () => cy.get('li[class*="CanvasControlsstyles__AlignmentOption"]').eq(1),
177
+ topRightOption: () => cy.get('li[class*="CanvasControlsstyles__AlignmentOption"]').eq(2),
178
+ imageAlternativeTextLabel: () => cy.get('[class*="CanvasControlsstyles__AltTextWrapper"] .text-label'),
179
+ imageAlternativeTextInputField: () => cy.get('[class*="CanvasControlsstyles__AltTextWrapper"] input'),
180
+ opacityLabel: () => cy.get('[class*="CanvasControlsstyles__SliderWrapper"] .additional-settings-label'),
181
+ opacitySlider: () => cy.get('[class*="MuiSlider-root"]'),
182
+ opacityInputField: () => cy.get('.opacity-input-field input'),
183
+ editTabDrawingToolbarOption: (drawingOption = null) => {
184
+ if (drawingOption) {
185
+ return cy.get(`.drawing-tool__button[aria-label="${drawingOption}"]`)
186
+ } else {
187
+ return cy.get('.drawing-tool__button')
188
+ }
189
+ },
190
+ drawingToolWrapper: () => cy.get('.drawing-tool [class*="drawing-tool__wrapper"]'),
191
+ editTabUpperCanvas: () => cy.get('.upper-canvas'),
192
+ selectPatternLabel: () => cy.get('[class*="CanvasControlsstyles__PatternSelectionWrapper"] .additional-settings-label'),
193
+ orientationLabel: () => cy.get('#Orientation-dropdown-label'),
194
+ orientationDropdown: () => cy.get('#Orientation-select'),
195
+ orientationDropdownListOptions: (ariaLabel = null) => {
196
+ if (ariaLabel) {
197
+ return cy.get(`[aria-labelledby*="Orientation-dropdown-label"] [role="option"][aria-label*="${ariaLabel}"]`)
198
+ } else {
199
+ return cy.get('[aria-labelledby*="Orientation-dropdown-label"] [role="option"]')
200
+ }
201
+ },
202
+ selectPatternOptionsButton: (ariaLabel = null) => {
203
+ if (ariaLabel) {
204
+ return cy.get(`.drawing-response-options button[aria-label*="${ariaLabel}"]`)
205
+ } else {
206
+ return cy.get('.drawing-response-options button')
207
+ }
208
+ },
209
+ selectPatternOptionsLabel: () => cy.get('.drawing-response-options [class*="ListItemLabel"]'),
210
+
211
+ //additional settings
212
+ accessibilityLabel: () => cy.get('[class*="DrawingResponsestyles__AccessibilityWrapper"] .layout-label'),
213
+ flagThisQuestionAsNonAccessibleCheckboxLabel: () => cy.get('[data-ngie-testid="flag-this-question-as-non-accessible-checkbox"]'),
214
+ flagThisQuestionAsNonAccessibleCheckbox: () => cy.get('[data-ngie-testid="flag-this-question-as-non-accessible-checkbox"] input'),
215
+ canvasStyleLayoutLabel: () => cy.get('[class*="DrawingResponsestyles__LayoutLabel"].layout-label').eq(0),
216
+ defaultStrokeLineThicknessLabel: () => cy.get('.line-thickness-label'),
217
+ setLineTypeLabel: () => cy.get('.line-type-label'),
218
+ defaultStrokeLineThicknessButton: (ariaLabel = null) => {
219
+ if (ariaLabel) {
220
+ return cy.get(`[class*="DrawingResponsestyles__StrokeLineThicknessWrapper"] button[aria-label*="Default stroke/line thickness group ${ariaLabel}"]`)
221
+ } else {
222
+ return cy.get('[class*="DrawingResponsestyles__StrokeLineThicknessWrapper"] button')
223
+ }
224
+ },
225
+ additionalSettingsStrokeImage: () => cy.get('[class*="DrawingResponsestyles__StrokeLineThicknessWrapper"] svg[aria-label*="Stroke"]'),
226
+ setLineTypeButton: (ariaLabel = null) => {
227
+ if (ariaLabel) {
228
+ return cy.get(`[class*="DrawingResponsestyles__SetLineTypeWrapper"] button[aria-label*="Set line types group ${ariaLabel}"]`)
229
+ } else {
230
+ return cy.get('[class*="DrawingResponsestyles__SetLineTypeWrapper"] button')
231
+ }
232
+ },
233
+ spellCheckCheckBoxLabel: () => cy.get('[data-ngie-testid="spell-check-checkbox"]'),
234
+ spellCheckCheckBox: () => cy.get('[data-ngie-testid="spell-check-checkbox"] input'),
235
+
236
+ //Math characters popup
237
+ mathCharactersPopupCategoryTitle: () => cy.get('[class*="characters__container"] [class*="options__characters__title"]'),
238
+
239
+ //Special characters popup
240
+ specialCharactersPopupCategoryTitle: () => cy.get('[class*="characters__container"] [class*="options__accordion__header"]'),
241
+ specialCharactersPopupCategoryAccordionIcon: () => cy.get('[class*="characters__container"] [aria-label="AccordionIcon"]'),
242
+ customSpecialCharactersInputField: () => cy.get('input[aria-label="Custom special characters"]'),
243
+
244
+ //Edit tab color picker popup
245
+ editTabColorPickerPopupOpacityPalette: () => cy.get('.react-colorful__last-control .react-colorful__interactive'),
246
+ editTabColorPickerPopupOpacityPicker: () => cy.get('.react-colorful__last-control .react-colorful__pointer'),
247
+ editTabColorPickerPopupSetToNoColorButton: () => cy.get('.compact-popup-action-button-wrapper button').eq(0),
248
+ editTabColorPickerPopupCancelButton: () => cy.get('.compact-popup-action-button-wrapper button').eq(1),
249
+ editTabColorPickerPopupOkButton: () => cy.get('.compact-popup-action-button-wrapper button').eq(2),
250
+
251
+ //TODO: Student view: Need to remove once https://redmine.zeuslearning.com/issues/556302 is fixed
252
+ studentAndGradingViewDrawingToolbarOption: (drawingOption = null) => {
253
+ if (drawingOption) {
254
+ return cy.get(`.drawing-tool__button[aria-label = "${drawingOption}"]`).eq(0)
255
+ } else {
256
+ return cy.get('.drawing-tool__button')
257
+ }
258
+ },
259
+ studentViewUpperCanvas: () => cy.get('.upper-canvas').eq(0)
260
+ }
261
+
262
+ const steps = {
263
+ ...questionInstructionsComponent.steps,
264
+ ...createQuestionBasePage.steps,
265
+ ...dialogBoxBase.steps,
266
+ ...additionalSettingsPanel.steps,
267
+ ...questionInstructionsComponent.steps,
268
+ ...scoringSectionBaseEditTab.steps,
269
+ ...createQuestionBasePage.steps,
270
+ ...commonComponents.steps,
271
+ /**
272
+ * @param {string[]} arrayOfToolbarOptions array of toolbar options to be selected
273
+ * @description this function selects toolbar options from edit tab
274
+ */
275
+ selectEditTabToolbarOptions: (arrayOfToolbarOptions) => {
276
+ arrayOfToolbarOptions.forEach((arialabel) => {
277
+ drawingResponsePage.toolbarOptionsAndControlsFormattingOptionsTiles(arialabel)
278
+ .click()
279
+ .find('[role="menuitemcheckbox"]')
280
+ .should('have.attr', 'aria-checked', 'true');
281
+ });
282
+ },
283
+
284
+ /**
285
+ * @param {string} arialabel toolbar option to be selected
286
+ * @description this function selects toolbar option from preview tab
287
+ */
288
+ selectPreviewTabToolbarOption: (arialabel) => {
289
+ drawingResponsePage.previewTabDrawingToolbarOption(arialabel)
290
+ .click();
291
+ },
292
+
293
+ /**
294
+ * @param {string} arialabel toolbar option to be selected
295
+ * @description this function selects secondary toolbar option from preview tab
296
+ */
297
+ selectPreviewTabSecondaryToolbarOption: (secondaryOption) => {
298
+ drawingResponsePage.previewTabSecondaryToolbarOption(secondaryOption)
299
+ .click();
300
+ },
301
+
302
+ /**
303
+ * @description Select toolbar options in edit tab
304
+ * @param {string[]} arrayOfToolbarOptions Array of option tiles to be selected
305
+ */
306
+ selectOptionsTiles: (arrayOfToolbarOptions) => {
307
+ arrayOfToolbarOptions.forEach((arialabel) => {
308
+ drawingResponsePage.additionalOptionsTiles(arialabel)
309
+ .click()
310
+ .should('have.attr', 'aria-pressed', 'true');
311
+ });
312
+ },
313
+
314
+ /**
315
+ * @param {string} title title of secondary popup
316
+ * @description this function verifies title of the secondary option popup
317
+ */
318
+ verifySecondaryOptionPopupTitle: (title) => {
319
+ utilities.verifyInnerText(drawingResponsePage.previewTabSecondaryOptionPopupTitle(), title);
320
+ utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryOptionPopupTitle(), 'visible');
321
+ },
322
+
323
+ /**
324
+ * @param {string} title title of secondary option characters popup
325
+ * @description this function verifies title of the secondary option characters popup
326
+ */
327
+ verifySecondaryOptionCharactersPopupTitle: (title) => {
328
+ utilities.verifyInnerText(drawingResponsePage.charactersPopupTitle(), title);
329
+ utilities.verifyElementVisibilityState(drawingResponsePage.charactersPopupTitle(), 'visible');
330
+ },
331
+
332
+ /**
333
+ * @param {number} index index of secondary option
334
+ * @param {*} optionColor color of the option
335
+ * @description this function checks the color of the option
336
+ */
337
+ verifyCSSOfSecondaryOptionPopupOptions: (index, optionColor) => {
338
+ utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupOptions().eq(index), {
339
+ 'background-color': optionColor
340
+ });
341
+ },
342
+
343
+ /**
344
+ * @param {number} index index of secondary option
345
+ * @param {*} optionColor color of the option
346
+ * @description this function checks the color of the color block
347
+ */
348
+ verifyCSSOfDefaultFontStrokeFillColorBlockInEditTab: (index, optionColor) => {
349
+ utilities.verifyCSS(drawingResponsePage.colorPickerBlock().eq(index), {
350
+ 'background-color': optionColor
351
+ });
352
+ },
353
+
354
+ verifyNoColorBlockInDefaultFontStrokeColorBlockSection: (index) => {
355
+ drawingResponsePage.colorPickerBlock()
356
+ .eq(index)
357
+ .find('svg')
358
+ .should('have.class', 'no-color-icon');
359
+ },
360
+
361
+ verifyAddColorBlockInDefaultFontStrokeColorBlockSection: (index) => {
362
+ drawingResponsePage.colorPickerBlock()
363
+ .eq(index)
364
+ .find('path')
365
+ .should('have.attr', 'data-name', 'Add color');
366
+ },
367
+
368
+ verifyCloseIconOnColorBlockInDefaultFontStrokeColorBlockSection: (index) => {
369
+ drawingResponsePage.colorPickerBlock()
370
+ .eq(index)
371
+ .parents('[class*="ColorSelectionComponentstyles__ColorPickerWrapper"]')
372
+ .within(() => {
373
+ utilities.verifyElementVisibilityState(drawingResponsePage.colorPickerBlockCloseIcon(), 'visible');
374
+ });
375
+ },
376
+
377
+ clickOnColorBlockCloseButtonInDefaultFontStrokeColorBlockSection: (index) => {
378
+ drawingResponsePage.colorPickerBlockCloseIcon()
379
+ .eq(index)
380
+ .click();
381
+ },
382
+
383
+ clickOnFontStrokeFillColorBlockInEditTab: (index) => {
384
+ drawingResponsePage.colorPickerBlock()
385
+ .eq(index)
386
+ .click();
387
+ },
388
+
389
+ clickOnAddColorBlockInDefaultFontStrokeColorBlockSection: () => {
390
+ drawingResponsePage.colorPickerBlock()
391
+ .find('[data-name="Add color"]')
392
+ .click();
393
+ },
394
+
395
+ verifyAddColorBlockIsDisabledInDefaultFontStrokeColorBlockSection: () => {
396
+ drawingResponsePage.colorPickerBlock()
397
+ .last()
398
+ .should('have.attr', 'opacity', '0.38');
399
+ },
400
+
401
+ verifySelectedColorLabelAndSelectedColorBlock: () => {
402
+ utilities.verifyInnerText(drawingResponsePage.colorPalleteSelectedColorLabel(), 'Selected color');
403
+ utilities.verifyElementVisibilityState(drawingResponsePage.colorPalleteSelectedColorLabel(), 'visible');
404
+ utilities.verifyElementVisibilityState(drawingResponsePage.colorPalleteSelectedColorBlock(), 'visible');
405
+ },
406
+
407
+ /**
408
+ * @description Verify selected option from secondary option popup
409
+ * @param {number} selectedOptionIndex index of selected option
410
+ */
411
+ verifySelectedOptionFromSecondaryOptionPopup: (selectedOptionIndex) => {
412
+ drawingResponsePage.previewTabSecondaryOptionPopupOptions()
413
+ .eq(selectedOptionIndex)
414
+ .find('.drawing-tool-options__options__options-list__button--active')
415
+ .should('exist');
416
+ },
417
+
418
+ /**
419
+ * @param {number} optionIndex index of the option that has no color
420
+ * @description this function verifies the No color option
421
+ */
422
+ verifyNoColorOptionFromSecondaryOptionPopup: (optionIndex) => {
423
+ drawingResponsePage.previewTabSecondaryOptionPopupOptions()
424
+ .eq(optionIndex)
425
+ .find('svg')
426
+ .should('have.attr', 'aria-label', 'NoColor');
427
+ },
428
+
429
+ /**
430
+ * @param {number} index of the option to be selected
431
+ */
432
+ selectOptionFromSecondaryOptionPopup: (index) => {
433
+ drawingResponsePage.previewTabSecondaryOptionPopupOptions()
434
+ .eq(index)
435
+ .click()
436
+ },
437
+
438
+ verifySecondaryPopupDoesNotExist: () => {
439
+ utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryOptionPopup(), 'notExist')
440
+ },
441
+
442
+ /**
443
+ * @param {string} strokeColor color of the selected option displayed below the secondary option
444
+ * @description this function verifies secondary option stroke color
445
+ */
446
+ verifySecondaryOptionStrokeColor: (index, strokeColor) => {
447
+ utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption().eq(index).find('svg path[data-name*="Path"]').eq(1), {
448
+ 'fill': strokeColor
449
+ });
450
+ },
451
+
452
+ verifyPreviewTabColorPickerLabel: () => {
453
+ utilities.verifyInnerText(drawingResponsePage.previewTabColorPickerLabel(), 'Select color')
454
+ },
455
+
456
+ expandCustomizeToolbarOptionsAndControlsAccordion: () => {
457
+ drawingResponsePage.customizeToolbarOptionsAndControlsAccordion()
458
+ .click()
459
+ .should('have.attr', 'aria-expanded', 'true');
460
+ },
461
+
462
+ /**
463
+ * @param {string[]} toolbarOptionsArray Array of title of the toolbar options
464
+ * @description Select the toolbar option or controls tile in customize section
465
+ */
466
+ selectToolbarOptionsAndControlsFormattingOptionsTiles: (toolbarOptionsArray) => {
467
+ toolbarOptionsArray.forEach((toolbarOption) => {
468
+ drawingResponsePage.toolbarOptionsAndControlsFormattingOptionsTiles(toolbarOption)
469
+ .click()
470
+ .should('have.attr', 'aria-label', `${toolbarOption} selected`);
471
+ });
472
+ },
473
+
474
+ /**
475
+ * @description Verify that toolbar option is selected in preview tab
476
+ * @param {string} arialabel Aria-label of toolbar option
477
+ */
478
+ verifyToolbarOptionIsSelectedInPreviewTab: (arialabel) => {
479
+ drawingResponsePage.previewTabDrawingToolbarOption(arialabel)
480
+ .should('have.class', 'drawing-tool__button--active');
481
+ },
482
+
483
+ /**
484
+ * @description Verify that toolbar option is not selected in preview tab
485
+ * @param {string} arialabel Aria-label of toolbar option
486
+ */
487
+ verifyToolbarOptionIsNotSelectedInPreviewTab: (arialabel) => {
488
+ drawingResponsePage.previewTabDrawingToolbarOption(arialabel)
489
+ .should('not.have.class', 'drawing-tool__button--active');
490
+ },
491
+
492
+ /**
493
+ * @description Verify the displayed secondary toolbar options
494
+ * @param {string[]} secondaryOptionsArray Array of secondary toolbar options
495
+ */
496
+ verifyDisplayedSecondaryToolbarOptionsInPreviewTab: (secondaryOptionsArray) => {
497
+ secondaryOptionsArray.forEach((secondaryToolbarOption) => {
498
+ utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(secondaryToolbarOption), 'visible');
499
+ })
500
+ utilities.verifyElementCount(drawingResponsePage.previewTabSecondaryToolbarOption(), secondaryOptionsArray.length);
501
+ },
502
+
503
+ /**
504
+ * @param {string} color in the selected color block in rgb/rgba format
505
+ * @description this function is used to verify in the selected color block of the color popup
506
+ */
507
+ verifySelectedColorBlock: (color) => {
508
+ utilities.verifyCSS(drawingResponsePage.colorPalleteSelectedColorBlock(), {
509
+ 'background-color': color
510
+ });
511
+ },
512
+
513
+ verifyColorPopupCancelButton: () => {
514
+ utilities.verifyInnerText(drawingResponsePage.colorPalleteCancelButton(), 'Cancel');
515
+ utilities.verifyElementVisibilityState(drawingResponsePage.colorPalleteCancelButton(), 'visible');
516
+ },
517
+
518
+ verifyColorPopupOkButton: () => {
519
+ utilities.verifyInnerText(drawingResponsePage.colorPalleteOkButton(), 'OK');
520
+ utilities.verifyElementVisibilityState(drawingResponsePage.colorPalleteOkButton(), 'visible');
521
+ },
522
+
523
+ clickOnEditTabColorPaletteOkButton: () => {
524
+ drawingResponsePage.editTabColorPickerPopupOkButton()
525
+ .click();
526
+ },
527
+
528
+ clickOnEditTabColorPaletteCancelButton: () => {
529
+ drawingResponsePage.editTabColorPickerPopupCancelButton()
530
+ .click();
531
+ },
532
+
533
+ /**
534
+ * @param {number} index of the selected option
535
+ */
536
+ verifyFontSizePopupSelectedOption: (index) => {
537
+ drawingResponsePage.fontSizeOption()
538
+ .eq(index)
539
+ .should('have.class', 'active-item')
540
+ },
541
+
542
+ /**
543
+ * @param {number} index of option to be selected
544
+ */
545
+ selectOptionFromFontSizePopup: (index) => {
546
+ drawingResponsePage.fontSizeOption()
547
+ .eq(index)
548
+ .click();
549
+ },
550
+
551
+ /**
552
+ * @param {number} thickness of the stroke
553
+ * @description this function verifies the thickness of the stroke
554
+ */
555
+ verifySecondaryPopupEraserThickness: (thickness, index) => {
556
+ drawingResponsePage.previewTabSecondaryOptionPopupEraserImage()
557
+ .eq(index)
558
+ .should('have.attr', 'height', thickness)
559
+ .and('have.attr', 'width', thickness);
560
+ },
561
+
562
+ verifySecondaryPopupExist: () => {
563
+ utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryOptionPopup(), 'exist')
564
+ },
565
+
566
+ /**
567
+ * @param {number} opacityValue value of opacity input field
568
+ * @description this function verifies the value of opacity input field
569
+ */
570
+ verifySecondaryPopupOpacityInputFieldValue: (opacityValue) => {
571
+ drawingResponsePage.previewTabSecondaryPopupOpacityInputField()
572
+ .should('have.value', opacityValue);
573
+ },
574
+
575
+ /**
576
+ * @param {number} sliderValue value of opacity input field
577
+ * @description this function verifies the value of opacity input field
578
+ */
579
+ verifySecondaryPopupOpacitySliderValue: (sliderValue) => {
580
+ drawingResponsePage.previewTabSecondaryPopupOpacitySlider()
581
+ .should('have.value', sliderValue);
582
+ },
583
+
584
+ clickOnSecondaryPopupSlider: () => {
585
+ drawingResponsePage.previewTabSecondaryPopupOpacitySlider()
586
+ .click({ force: true });
587
+ },
588
+
589
+ /**
590
+ * @param {number} opacityValue value of opacity input field
591
+ * @description this function verifies the value of opacity input field
592
+ */
593
+ enterValueInOpacityInputFieldValue: (opacityValue) => {
594
+ drawingResponsePage.previewTabSecondaryPopupOpacityInputField()
595
+ .clear()
596
+ .type(opacityValue)
597
+ .should('have.value', opacityValue);
598
+ },
599
+
600
+ /**
601
+ * @param {number} thickness of the stroke
602
+ * @description this function verifies the thickness of the stroke
603
+ */
604
+ verifySecondaryPopupStrokeThickness: (thickness, index) => {
605
+ drawingResponsePage.previewTabSecondaryOptionPopupStrokeImage()
606
+ .eq(index)
607
+ .should('have.attr', 'height', thickness)
608
+ .and('have.attr', 'width', thickness);
609
+ },
610
+
611
+ closeSecondaryPopup: () => {
612
+ cy.get('body')
613
+ .click();
614
+ },
615
+
616
+ verifyInsertImageContainerIsVisible: () => {
617
+ utilities.verifyElementVisibilityState(drawingResponsePage.insertImageContainer(), 'visible');
618
+ },
619
+
620
+ verifyInsertImageContainerNotExist: () => {
621
+ utilities.verifyElementVisibilityState(drawingResponsePage.insertImageContainer(), 'notExist');
622
+ },
623
+
624
+ /**
625
+ * @param {string} fileName name of the file being uploaded
626
+ * @param {string} fileSize size of the file being uploaded
627
+ */
628
+ verifyUploadingFilesMessage: (fileName, fileSize) => {
629
+ drawingResponsePage.insertImageContainer()
630
+ .should('have.text', `Uploading files. Please wait...${fileName} - ${fileSize}`)
631
+ },
632
+
633
+ /**
634
+ * @param {string} file name of the file in fixtures/upload folder
635
+ * @description this function uploads a file
636
+ */
637
+ uploadFile: (file) => {
638
+ drawingResponsePage.inputTypeFile()
639
+ .attachFile(file);
640
+ },
641
+
642
+ verifyImageContainerErrorMessage: (fileName) => {
643
+ drawingResponsePage.insertImageContainerErrorMessage()
644
+ .should('have.text', `The following files were rejected${fileName} is too large. The maximum file size is 5MB`)
645
+ },
646
+
647
+ /**
648
+ * @description Verify the option displayed in Line type popup
649
+ * @param {string} lineType Type of line
650
+ * @param {number} index Index of line type option
651
+ */
652
+ verifySecondaryPopupLineType: (lineType, index) => {
653
+ drawingResponsePage.previewTabSecondaryOptionPopupOptions()
654
+ .eq(index)
655
+ .find('svg')
656
+ .should('have.attr', 'aria-label', `${lineType}`);
657
+ },
658
+
659
+ /**
660
+ * @description Verify the displayed selected text color under the text color option icon
661
+ * @param {string} color Color of the selected text color which is displayed under toolbar icon
662
+ */
663
+ verifySelectedTextColorUnderTextColorOptionInPreviewTab: (color) => {
664
+ utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption().eq(3).find('svg path[data-name*="Path"]').eq(0), {
665
+ 'fill': color
666
+ });
667
+ },
668
+
669
+ clickOnCharactersPopupCloseButton: () => {
670
+ drawingResponsePage.charactersPopupCloseButton()
671
+ .click();
672
+ },
673
+
674
+ /**
675
+ * @description Click on a symbol in characters popup
676
+ * @param {string} ariaLabel Aria-label of the symbol
677
+ */
678
+ clickOnCharacterPopupSymbol: (ariaLabel) => {
679
+ drawingResponsePage.charactersPopupCharacterSymbol()
680
+ .find(`svg[aria-label="${ariaLabel}"]`)
681
+ .click();
682
+ },
683
+
684
+ verifySecondaryToolbarOptionFontSizePopup: () => {
685
+ Object.keys(fontSizePopupOptions).forEach((size, index) => {
686
+ utilities.verifyInnerText(drawingResponsePage.fontSizeOptionLabels().eq(index), size);
687
+ utilities.verifyInnerText(drawingResponsePage.fontSizesLabels().eq(index), fontSizePopupOptions[size]);
688
+ });
689
+ },
690
+
691
+ /**
692
+ * @description Verify categories and symbols displayed in math characters popup
693
+ * @param {object[]} categoryAndSymbolsArray Array of list of categories and their symbols present in math characters popup
694
+ */
695
+ verifyMathCharactersPopupCategoriesAndSymbols: (categoryAndSymbolsArray) => {
696
+ categoryAndSymbolsArray.forEach((category, index) => {
697
+ utilities.verifyInnerText(drawingResponsePage.mathCharactersPopupCategoryTitle().eq(index), `${category.categoryName}`);
698
+ drawingResponsePage.charactersPopupCharactersCategoryWrapper()
699
+ .eq(index)
700
+ .within(() => {
701
+ categoryAndSymbolsArray[index].symbols.forEach((symbol, index) => {
702
+ drawingResponsePage.charactersPopupCharacterSymbol()
703
+ .eq(index)
704
+ .find('svg')
705
+ .should('have.attr', 'aria-label', `${symbol}`);
706
+ });
707
+ });
708
+ });
709
+ },
710
+
711
+ /**
712
+ * @description Verify symbols displayed in for a category in special characters popup
713
+ * @param {number} categoryIndex Index of the category
714
+ * @param {string[]} categorySymbolsArray Array of the symbols of the category
715
+ */
716
+ verifySpecialCharactersPopupCategorySymbols: (categoryIndex, categorySymbolsArray) => {
717
+ drawingResponsePage.charactersPopupCharactersCategoryWrapper()
718
+ .eq(categoryIndex)
719
+ .within(() => {
720
+ categorySymbolsArray[index].forEach((symbolARIALabel, index) => {
721
+ drawingResponsePage.charactersPopupCharacterSymbol()
722
+ .eq(index)
723
+ .find('svg')
724
+ .should('have.attr', 'aria-label', `${symbolARIALabel}`);
725
+ });
726
+ });
727
+ },
728
+
729
+ /**
730
+ * @description click on special characters popup category accordion
731
+ * @param {number} index index of category
732
+ */
733
+ clickOnSpecialCharactersCategoryAccordion: (index) => {
734
+ drawingResponsePage.specialCharactersPopupCategoryAccordionIcon()
735
+ .eq(index)
736
+ .click();
737
+ },
738
+
739
+ /**
740
+ * @description Verify the displayed categories and their accordions in special characters popup
741
+ * @param {object[]} categoryListArray Array of special characters categories
742
+ */
743
+ verifySpecialCharactersPopupCategoryTitlesAndAccordions: (categoryListArray) => {
744
+ categoryListArray.forEach((category, index) => {
745
+ utilities.verifyInnerText(drawingResponsePage.specialCharactersPopupCategoryTitle().eq(index), `${category.categoryName}`);
746
+ utilities.verifyElementVisibilityState(drawingResponsePage.specialCharactersPopupCategoryTitle().eq(index), 'visible');
747
+ utilities.verifyElementVisibilityState(drawingResponsePage.specialCharactersPopupCategoryAccordionIcon().eq(index), 'visible');
748
+ });
749
+ },
750
+
751
+ /**
752
+ * @description verify special characters popup category accordion is expanded
753
+ * @param {number} index index of category
754
+ */
755
+ verifySpecialCharactersPopupCategoryAccordionIsExpanded: (index) => {
756
+ drawingResponsePage.specialCharactersPopupCategoryTitle()
757
+ .eq(index)
758
+ .within(() => {
759
+ cy.wrap()
760
+ .find('span[class*="icon-open"]')
761
+ .should('exist');
762
+ });
763
+ utilities.verifyElementVisibilityState(drawingResponsePage.charactersPopupCharactersCategoryWrapper().eq(index), 'visible');
764
+ },
765
+
766
+ /**
767
+ * @description verify special characters popup category accordion is collapsed
768
+ * @param {number} index index of category
769
+ */
770
+ verifySpecialCharactersPopupCategoryAccordionIsCollapsed: (index) => {
771
+ drawingResponsePage.specialCharactersPopupCategoryTitle()
772
+ .eq(index)
773
+ .within(() => {
774
+ cy.wrap()
775
+ .find('span[class*="icon-open"]')
776
+ .should('not.exist');
777
+ });
778
+ utilities.verifyElementVisibilityState(drawingResponsePage.charactersPopupCharactersCategoryWrapper().eq(index), 'notExist');
779
+ },
780
+
781
+ /**
782
+ * @description Verify the special characters preview popup in edit tab
783
+ * @param {object[]} categoryAndSymbolsArray Array of list of categories and their symbols
784
+ */
785
+ verifySpecialCharactersPreviewPopupInEditTab: (categoryAndSymbolsArray) => {
786
+ categoryAndSymbolsArray.forEach((category, index) => {
787
+ utilities.verifyInnerText(drawingResponsePage.specialCharactersPreviewPopupCategoryLabel().eq(index), `${category.categoryName}`);
788
+ drawingResponsePage.charactersPopupCharactersCategoryWrapper()
789
+ .eq(index)
790
+ .within(() => {
791
+ drawingResponsePage.specialCharactersPreviewPopupCategoryAccordionExpandIcon()
792
+ .click();
793
+ category.symbols.forEach((symbolARIALabel, index) => {
794
+ drawingResponsePage.charactersPopupCharacterSymbol()
795
+ .eq(index)
796
+ .find('svg')
797
+ .should('have.attr', 'aria-label', `${symbolARIALabel}`);
798
+ });
799
+ });
800
+ });
801
+ },
802
+
803
+ /**
804
+ * @description Click on category accordion expand icon in special characters popup
805
+ * @param {number} index Index of category in popup
806
+ */
807
+ clickOnSpecialCharactersPreviewPopupCategoryAccordionExpandIcon: (index) => {
808
+ drawingResponsePage.specialCharactersPreviewPopupCategoryAccordionExpandIcon()
809
+ .eq(index)
810
+ .click();
811
+ },
812
+
813
+ checkCustomizeSpecialCharactersCheckbox: () => {
814
+ drawingResponsePage.customizeSpecialCharactersCheckbox()
815
+ .click()
816
+ .should('be.checked');
817
+ },
818
+
819
+ checkCustomizeMathCharactersCheckbox: () => {
820
+ drawingResponsePage.customizeMathCharactersCheckbox()
821
+ .click()
822
+ .should('be.checked');
823
+ },
824
+
825
+ verifyGroupedByLanguageRadioButtonIsSelected: () => {
826
+ drawingResponsePage.groupByLanguageRadioButton()
827
+ .should('be.checked');
828
+ },
829
+
830
+ /**
831
+ * @description Verify customized special or math character category tiles in edit tab
832
+ * @param {string[]} charactersCategoriesArray Array of special or math character categories
833
+ */
834
+ verifyCustomizeSpecialOrMathCharactersCategoryTiles: (charactersCategoriesArray) => {
835
+ drawingResponsePage.charactersCategoryTilesWrapper()
836
+ .within(() => {
837
+ charactersCategoriesArray.forEach((characterCategory, index) => {
838
+ drawingResponsePage.specialAndMathCharacterTiles()
839
+ .eq(index)
840
+ .should('have.attr', 'aria-label', `${characterCategory}`);
841
+ });
842
+ });
843
+ utilities.verifyElementCount(drawingResponsePage.specialAndMathCharacterTiles(), charactersCategoriesArray.length);
844
+ },
845
+
846
+ /**
847
+ * @description Verify selected special or math characters category tiles
848
+ * @param {string[]} selectedSpecialOrMathCharactersCategoriesArray Array of selected special or math characters categories
849
+ */
850
+ verifySelectedCustomizeSpecialOrMathCharactersCategoryTiles: (selectedSpecialOrMathCharactersCategoriesArray) => {
851
+ drawingResponsePage.charactersCategoryTilesWrapper()
852
+ .within(() => {
853
+ selectedSpecialOrMathCharactersCategoriesArray.forEach((characterCategory) => {
854
+ drawingResponsePage.specialAndMathCharacterTiles(characterCategory)
855
+ .should('have.class', 'Mui-selected')
856
+ .within(() => {
857
+ utilities.verifyElementVisibilityState(drawingResponsePage.customizeToolbarOptionsAndControlsSectionTickIcon(), 'visible');
858
+ });
859
+ });
860
+ });
861
+ },
862
+
863
+ clickOnCustomizeSpecialCharactersPreviewButton: () => {
864
+ drawingResponsePage.customizeSpecialCharactersPreviewButton()
865
+ .click();
866
+ },
867
+
868
+ clickOnCustomizeMathCharactersPreviewButton: () => {
869
+ drawingResponsePage.customizeMathCharactersPreviewButton()
870
+ .click();
871
+ },
872
+
873
+ /**
874
+ * @description Verify math characters categories and symbols in preview tab
875
+ * @param {object[]} categoryAndSymbolsArray Array of math characters categories and symbols
876
+ */
877
+ verifyMathCharactersPreviewPopupInEditTab: (categoryAndSymbolsArray) => {
878
+ categoryAndSymbolsArray.forEach((category, index) => {
879
+ utilities.verifyInnerText(drawingResponsePage.mathCharactersPreviewPopupCategoryLabel().eq(index), `${category.categoryName}`);
880
+ drawingResponsePage.mathCharactersPreviewPopupCharactersCategoryWrapper()
881
+ .eq(index)
882
+ .within(() => {
883
+ category.symbols.forEach((symbol, index) => {
884
+ utilities.verifyElementVisibilityState(drawingResponsePage.charactersPreviewPopupSymbol().eq(index), 'visible');
885
+ drawingResponsePage.charactersPreviewPopupSymbol()
886
+ .eq(index)
887
+ .find('path')
888
+ .should('have.attr', 'data-name', `${symbol}`);
889
+ });
890
+ utilities.verifyElementCount(drawingResponsePage.charactersPreviewPopupSymbol(), category.symbols.length);
891
+ });
892
+ });
893
+ utilities.verifyElementCount(drawingResponsePage.mathCharactersPreviewPopupCharactersCategoryWrapper(), categoryAndSymbolsArray.length);
894
+ },
895
+
896
+ clickOnSpecialOrMathCharactersCategoryTile: (categoryName) => {
897
+ drawingResponsePage.specialAndMathCharacterTiles(categoryName)
898
+ .click();
899
+ },
900
+
901
+ verifySpecialCharacterCategoryTileIsSelected: (categoryName) => {
902
+ drawingResponsePage.specialAndMathCharacterTiles(categoryName)
903
+ .should('have.attr', 'aria-pressed', 'true')
904
+ .within(() => {
905
+ utilities.verifyElementVisibilityState(drawingResponsePage.customizeToolbarOptionsAndControlsSectionTickIcon(), 'visible');
906
+ });
907
+ },
908
+
909
+ verifySpecialOrMathCharacterCategoryTileIsNotSelected: (categoryName) => {
910
+ drawingResponsePage.specialAndMathCharacterTiles(categoryName)
911
+ .should('have.attr', 'aria-pressed', 'false')
912
+ .within(() => {
913
+ utilities.verifyElementVisibilityState(drawingResponsePage.customizeToolbarOptionsAndControlsSectionTickIcon(), 'hidden');
914
+ });
915
+ },
916
+
917
+ selectShowOnlyCustomSpecialCharactersRadioButton: () => {
918
+ drawingResponsePage.showOnlyCustomSpecialCharactersRadioButton()
919
+ .click()
920
+ .should('be.checked');
921
+ },
922
+
923
+ selectGroupByLanguageRadioButton: () => {
924
+ drawingResponsePage.groupByLanguageRadioButton()
925
+ .click()
926
+ .should('be.checked');
927
+ },
928
+
929
+ verifyPatternRadioButtonIsNotSelected: () => {
930
+ drawingResponsePage.patternRadioButton()
931
+ .should('not.be.checked');
932
+ },
933
+
934
+ selectPatternRadioButton: () => {
935
+ drawingResponsePage.patternRadioButton()
936
+ .click()
937
+ .should('be.checked');
938
+ },
939
+
940
+ addInputToCustomSpecialCharactersInputField: (input) => {
941
+ drawingResponsePage.customSpecialCharactersInputField()
942
+ .type(`${input}`)
943
+ .should('have.value', `${input}`)
944
+ },
945
+
946
+ /**
947
+ * Verify custom special characters displayed in edit tab preview popup
948
+ * @param {string[]} customSpecialCharacters Array of custom special characters
949
+ */
950
+ verifyCustomSpecialCharactersDisplayedInPreviewPopupEditTab: (customSpecialCharacters) => {
951
+ customSpecialCharacters.forEach((customSpecialCharacter, index) => {
952
+ utilities.verifyInnerText(drawingResponsePage.charactersPreviewPopupSymbol().eq(index), `${customSpecialCharacter}`);
953
+ utilities.verifyElementVisibilityState(drawingResponsePage.charactersPreviewPopupSymbol().eq(index), 'visible');
954
+ });
955
+ utilities.verifyElementCount(drawingResponsePage.charactersPreviewPopupSymbol(), `${customSpecialCharacters.length}`);
956
+ },
957
+
958
+ /**
959
+ * Verify custom special characters displayed in characters popup in preview tab
960
+ * @param {string[]} customSpecialCharacters Array of custom special characters
961
+ */
962
+ verifyCustomSpecialCharactersDisplayedInPreviewTab: (customSpecialCharacters) => {
963
+ customSpecialCharacters.forEach((customSpecialCharacter, index) => {
964
+ utilities.verifyInnerText(drawingResponsePage.charactersPopupCharacterSymbol().eq(index), `${customSpecialCharacter}`);
965
+ utilities.verifyElementVisibilityState(drawingResponsePage.charactersPopupCharacterSymbol().eq(index), 'visible');
966
+ });
967
+ utilities.verifyElementCount(drawingResponsePage.charactersPopupCharacterSymbol(), `${customSpecialCharacters.length}`);
968
+ },
969
+
970
+ clickInOpacityPalette: () => {
971
+ drawingResponsePage.editTabColorPickerPopupOpacityPalette()
972
+ .click();
973
+ },
974
+
975
+ /**
976
+ * @description verify tooltip for disabled add color block button
977
+ * @param {string} tooltip Tooltip for disabled add color block button
978
+ */
979
+ verifyTooltipForDisabledAddColorButton: (tooltip) => {
980
+ utilities.hoverOverElement(drawingResponsePage.colorPickerBlock().last());
981
+ utilities.verifyTextContent(drawingResponsePage.tooltipText(), `${tooltip}`);
982
+ utilities.hoverAwayFromElement(drawingResponsePage.colorPickerBlock().last());
983
+ },
984
+
985
+ /**
986
+ * @param {number} opacityValue value of opacity on the opacity slider
987
+ * @description this function is used to verify the opacity value on the opacity slider
988
+ */
989
+ verifyOpacitySliderValue: (opacityValue) => {
990
+ drawingResponsePage.opacitySlider()
991
+ .find('input')
992
+ .should('have.value', opacityValue)
993
+ },
994
+
995
+ verifyDrawingToolsIsDisabled: () => {
996
+ utilities.verifyElementDisabledClass(drawingResponsePage.drawingToolWrapper());
997
+ },
998
+
999
+ clickOnCenterOptionAlignment: () => {
1000
+ drawingResponsePage.centerOption()
1001
+ .click();
1002
+ },
1003
+
1004
+ verifyCenterOptionAlignmentIsSelected: () => {
1005
+ drawingResponsePage.centerOption().find('button')
1006
+ .then(($element) => {
1007
+ const attributeValue = $element.attr('aria-label');
1008
+ expect(attributeValue).to.include('selected');
1009
+ });
1010
+ },
1011
+
1012
+ verifyTopLeftOptionAlignmentIsSelected: () => {
1013
+ drawingResponsePage.topLeftOption().find('button')
1014
+ .then(($element) => {
1015
+ const attributeValue = $element.attr('aria-label');
1016
+ expect(attributeValue).to.include('selected');
1017
+ });
1018
+ },
1019
+
1020
+ /**
1021
+ * @param {number} canvasWidth width of canvas in preview tab
1022
+ * @description this function verifies the width of canvas in preview tab
1023
+ */
1024
+ verifyCanvasWidthInPreviewTab: (canvasWidth) => {
1025
+ drawingResponsePage.previewTabUpperCanvas()
1026
+ .then(($element) => {
1027
+ const offsetWidth = $element[0].offsetWidth;
1028
+ expect(offsetWidth).to.closeTo(canvasWidth, 2);
1029
+ });
1030
+ },
1031
+
1032
+ /**
1033
+ * @param {number} canvasHeight height of canvas in preview tab
1034
+ * @description this function verifies the height of canvas in preview tab
1035
+ */
1036
+ verifyCanvasHeightInPreviewTab: (canvasHeight) => {
1037
+ drawingResponsePage.previewTabUpperCanvas()
1038
+ .then(($element) => {
1039
+ const offsetHeight = $element[0].offsetHeight;
1040
+ expect(offsetHeight).to.closeTo(canvasHeight, 2);
1041
+ })
1042
+ },
1043
+
1044
+ /**
1045
+ * @param {number} canvasWidth width of canvas in edit tab
1046
+ * @description this function verifies the width of canvas in edit tab
1047
+ */
1048
+ verifyCanvasWidthInEditTab: (canvasWidth) => {
1049
+ drawingResponsePage.editTabUpperCanvas()
1050
+ .then(($element) => {
1051
+ const offsetWidth = $element[0].offsetWidth;
1052
+ expect(offsetWidth).to.closeTo(canvasWidth, 2);
1053
+ });
1054
+ },
1055
+
1056
+ /**
1057
+ * @param {number} canvasHeight height of canvas in edit tab
1058
+ * @description this function verifies the height of canvas in edit tab
1059
+ */
1060
+ verifyCanvasHeightInEditTab: (canvasHeight) => {
1061
+ drawingResponsePage.editTabUpperCanvas()
1062
+ .then(($element) => {
1063
+ const offsetHeight = $element[0].offsetHeight;
1064
+ expect(offsetHeight).to.closeTo(canvasHeight, 2);
1065
+ })
1066
+ },
1067
+
1068
+ expandOrientationDropdown: () => {
1069
+ drawingResponsePage.orientationDropdown()
1070
+ .click();
1071
+ },
1072
+
1073
+ /**
1074
+ * @param {('Potrait'|'Landscape'|'Square')} listOption
1075
+ * @description this function selects an option from expanded minimum scoring dropdown
1076
+ */
1077
+ selectOrientationTypeListOption: (listOption) => {
1078
+ drawingResponsePage.orientationDropdownListOptions(listOption)
1079
+ .click();
1080
+ },
1081
+
1082
+ /**
1083
+ * @param {string[]} patterns - An array of pattern options.
1084
+ * @description * Verifies the visibilty and innertext of pattern labels.
1085
+ */
1086
+ verifySelectPatternOptionsLabel: (patterns) => {
1087
+ for (let index = 0; index < patterns.length; index++) {
1088
+ utilities.verifyInnerText(drawingResponsePage.selectPatternOptionsLabel().eq(index), patterns[index]);
1089
+ utilities.verifyElementVisibilityState(drawingResponsePage.selectPatternOptionsLabel().eq(index), 'visible');
1090
+ };
1091
+ },
1092
+
1093
+ /**
1094
+ * @param {string} arialabel pattern option to be selected
1095
+ * @description this function selects an pattern
1096
+ */
1097
+ selectPatternTypeOption: (arialabel) => {
1098
+ drawingResponsePage.selectPatternOptionsButton(arialabel)
1099
+ .click();
1100
+ },
1101
+
1102
+ /**
1103
+ * @description Verify that pattern option is selected.
1104
+ * @param {string} arialabel Aria-label of pattern option
1105
+ */
1106
+ verifyPatternOptionIsSelected: (arialabel) => {
1107
+ drawingResponsePage.selectPatternOptionsButton(arialabel)
1108
+ .then(($element) => {
1109
+ const attributeValue = $element.attr('aria-label');
1110
+ expect(attributeValue).to.include('selected');
1111
+ });
1112
+ },
1113
+
1114
+ verifyFlagThisQuestionAsNonAccessibleCheckboxIsUnchecked: () => {
1115
+ drawingResponsePage.flagThisQuestionAsNonAccessibleCheckbox()
1116
+ .should('not.be.checked');
1117
+ },
1118
+
1119
+ checkFlagThisQuestionAsNonAccessibleCheckbox: () => {
1120
+ drawingResponsePage.flagThisQuestionAsNonAccessibleCheckbox()
1121
+ .click()
1122
+ .should('be.checked');
1123
+ },
1124
+
1125
+ uncheckFlagThisQuestionAsNonAccessibleCheckbox: () => {
1126
+ drawingResponsePage.flagThisQuestionAsNonAccessibleCheckbox()
1127
+ .click()
1128
+ .should('not.be.checked');
1129
+ },
1130
+
1131
+ /**
1132
+ * @param {string} arialabel stroke/line thickness option to be selected
1133
+ * @description this function selects stroke/line thickness option
1134
+ */
1135
+ selectStrokeLineThicknessTypeOption: (arialabel) => {
1136
+ drawingResponsePage.defaultStrokeLineThicknessButton(arialabel)
1137
+ .click();
1138
+ },
1139
+
1140
+ /**
1141
+ * @description Verify that stroke/line thickness option is selected.
1142
+ * @param {string} arialabel Aria-label of stroke/line thickness option
1143
+ */
1144
+ verifyStrokeLineThicknessOptionIsSelected: (arialabel) => {
1145
+ drawingResponsePage.defaultStrokeLineThicknessButton(arialabel)
1146
+ .then(($element) => {
1147
+ const attributeValue = $element.attr('aria-label');
1148
+ expect(attributeValue).to.include('selected');
1149
+ });
1150
+ },
1151
+
1152
+ /**
1153
+ * @description Verify that selected icon is displayed.
1154
+ * @param {string} arialabel Aria-label of selected stroke/line thickness option
1155
+ */
1156
+ verifySelectedIconIsDisplayedOnStrokeThicknessButton: (arialabel) => {
1157
+ drawingResponsePage.defaultStrokeLineThicknessButton(arialabel)
1158
+ .find('[class*="SelectedIcon"] svg')
1159
+ .should('be.visible');
1160
+ },
1161
+
1162
+ /**
1163
+ * @param {number} thickness of the stroke
1164
+ * @description this function verifies the thickness of the stroke in additional settings
1165
+ */
1166
+ verifyStrokeThicknessInAdditionalSettings: (thickness, index) => {
1167
+ drawingResponsePage.additionalSettingsStrokeImage()
1168
+ .eq(index)
1169
+ .should('have.attr', 'height', thickness)
1170
+ .and('have.attr', 'width', thickness);
1171
+ },
1172
+
1173
+ /**
1174
+ * @param {string} arialabel set line type option to be unselected
1175
+ * @description this function unselect line type option
1176
+ */
1177
+ unselectSetLineTypeOption: (arialabel) => {
1178
+ drawingResponsePage.setLineTypeButton(arialabel)
1179
+ .click();
1180
+ },
1181
+
1182
+ verifySpellCheckCheckboxIsUnchecked: () => {
1183
+ drawingResponsePage.spellCheckCheckBox()
1184
+ .should('not.be.checked');
1185
+ },
1186
+
1187
+ checkSpellCheckCheckbox: () => {
1188
+ drawingResponsePage.spellCheckCheckBox()
1189
+ .click()
1190
+ .should('be.checked');
1191
+ },
1192
+
1193
+ uncheckSpellCheckCheckbox: () => {
1194
+ drawingResponsePage.spellCheckCheckBox()
1195
+ .click()
1196
+ .should('not.be.checked');
1197
+ },
1198
+
1199
+ /**
1200
+ * @description Verify that line type option is selected.
1201
+ * @param {string} arialabel Aria-label of line type option
1202
+ */
1203
+ verifyLineTypeOptionIsSelected: (arialabel) => {
1204
+ drawingResponsePage.setLineTypeButton(arialabel)
1205
+ .then(($element) => {
1206
+ const attributeValue = $element.attr('aria-label');
1207
+ expect(attributeValue).to.include('selected');
1208
+ });
1209
+ },
1210
+
1211
+ /**
1212
+ * @description Verify that line type option is not selected.
1213
+ * @param {string} arialabel Aria-label of line type option
1214
+ */
1215
+ verifyLineTypeOptionIsNotSelected: (arialabel) => {
1216
+ drawingResponsePage.setLineTypeButton(arialabel)
1217
+ .then(($element) => {
1218
+ const attributeValue = $element.attr('aria-label');
1219
+ expect(attributeValue).to.not.include('selected');
1220
+ });
1221
+ },
1222
+
1223
+ /**
1224
+ * @description Verify that selected icon is not displayed.
1225
+ * @param {string} arialabel Aria-label of line type option
1226
+ */
1227
+ verifySelectedIconIsNotDisplayedOnLineTypeButton: (arialabel) => {
1228
+ drawingResponsePage.setLineTypeButton(arialabel)
1229
+ .find('[class*="SelectedIcon"]')
1230
+ .should('not.exist');
1231
+ },
1232
+
1233
+ verifyBlankCanvasRadioButtonIsSelected: () => {
1234
+ drawingResponsePage.blankCanvasRadioButton()
1235
+ .should('be.checked');
1236
+ },
1237
+
1238
+ /**
1239
+ * @param {number} canvasWidth width of the canvas
1240
+ * @description this function verifies canvas width input field value
1241
+ */
1242
+ verifyCanvasWidthInputFieldValue: (canvasWidth) => {
1243
+ drawingResponsePage.canvasWidthInputField()
1244
+ .should('have.value', canvasWidth);
1245
+ },
1246
+
1247
+ /**
1248
+ * @param {number} canvasHeight height of the canvas
1249
+ * @description this function verifies canvas height input field value
1250
+ */
1251
+ verifyCanvasHeightInputFieldValue: (canvasHeight) => {
1252
+ drawingResponsePage.canvasHeightInputField()
1253
+ .should('have.value', canvasHeight);
1254
+ },
1255
+
1256
+ /**
1257
+ * @param {number} canvasHeight Height of the displayed canvas
1258
+ * @description Add input to canvas height input field
1259
+ */
1260
+ enterTextInCanvasHeightInputField: (canvasHeight) => {
1261
+ drawingResponsePage.canvasHeightInputField()
1262
+ .clear()
1263
+ .type(`${canvasHeight}`)
1264
+ .blur()
1265
+ .should('have.value', canvasHeight);
1266
+ },
1267
+
1268
+ /**
1269
+ * @param {number} canvasWidth Width of the displayed canvas
1270
+ * @description Add input to canvas width input field
1271
+ */
1272
+ enterTextInCanvasWidthInputField: (canvasWidth) => {
1273
+ drawingResponsePage.canvasWidthInputField()
1274
+ .clear()
1275
+ .type(`${canvasWidth}`)
1276
+ .blur()
1277
+ .should('have.value', canvasWidth);
1278
+ },
1279
+
1280
+ /**
1281
+ * @description this function locks aspect ratio
1282
+ */
1283
+ lockAspectRatio: () => {
1284
+ drawingResponsePage.aspectRatioButton()
1285
+ .click();
1286
+ steps.verifyAspectRatioButtonIsLocked();
1287
+ },
1288
+
1289
+ /**
1290
+ * @description this function unlocks aspect ratio
1291
+ */
1292
+ unlockAspectRatio: () => {
1293
+ drawingResponsePage.aspectRatioButton()
1294
+ .click();
1295
+ steps.verifyAspectRatioButtonIsUnlocked();
1296
+ },
1297
+
1298
+ /**
1299
+ * @description this function verifies aspect ratio is locked
1300
+ */
1301
+ verifyAspectRatioButtonIsLocked: () => {
1302
+ drawingResponsePage.aspectRatioButton()
1303
+ .should('have.attr', 'aria-label', 'Locked aspect ratio');
1304
+ },
1305
+
1306
+ /**
1307
+ * @description this function verifies aspect ratio is unlocked
1308
+ */
1309
+ verifyAspectRatioButtonIsUnlocked: () => {
1310
+ drawingResponsePage.aspectRatioButton()
1311
+ .should('have.attr', 'aria-label', 'Unlocked aspect ratio');
1312
+ },
1313
+
1314
+ /**
1315
+ * @description this function verifies the reset dimensions button is disabled
1316
+ */
1317
+ verifyResetDimensionsButtonIsDisabled: () => {
1318
+ utilities.verifyElementDisabled(drawingResponsePage.resetDimensionsButton());
1319
+ },
1320
+
1321
+ /**
1322
+ * @description this function resets dimensions
1323
+ */
1324
+ resetDimensions: () => {
1325
+ drawingResponsePage.resetDimensionsButton()
1326
+ .click();
1327
+ },
1328
+
1329
+ selectImageRadioButton: () => {
1330
+ drawingResponsePage.imageRadioButton()
1331
+ .click()
1332
+ .should('be.checked');
1333
+ },
1334
+
1335
+ selectShowOnlyCustomSpecialCharactersRadioButton: () => {
1336
+ drawingResponsePage.showOnlyCustomSpecialCharactersRadioButton()
1337
+ .click()
1338
+ .should('be.checked');
1339
+ },
1340
+
1341
+ verifyFillImageToCanvasCheckboxIsUnchecked: () => {
1342
+ drawingResponsePage.fillImageToCanvasCheckbox()
1343
+ .should('not.be.checked');
1344
+ },
1345
+
1346
+ checkFillImageToCanvasCheckbox: () => {
1347
+ drawingResponsePage.fillImageToCanvasCheckbox()
1348
+ .click()
1349
+ .should('be.checked');
1350
+ },
1351
+
1352
+ /**
1353
+ * @param {string} imageAlternativeText alternate input field
1354
+ * @description this function verifies text present in image alternative text input
1355
+ */
1356
+ verifyImageAlternativeTextInputField: (imageAlternativeText) => {
1357
+ drawingResponsePage.imageAlternativeTextInputField()
1358
+ .should('have.value', imageAlternativeText);
1359
+ },
1360
+
1361
+ /**
1362
+ * @param {number} opacityValue value of opacity
1363
+ * @description this function is used to verify the opacity value in the opacity input field
1364
+ */
1365
+ verifyOpacityInputFieldValue: (opacityValue) => {
1366
+ drawingResponsePage.opacityInputField()
1367
+ .should('have.value', opacityValue)
1368
+ },
1369
+
1370
+ /**
1371
+ * @param {number} value of opacity
1372
+ * @description this function is used to enter value in opacity input field
1373
+ */
1374
+ addInputToOpacityInputField: (value) => {
1375
+ drawingResponsePage.opacityInputField()
1376
+ .clear()
1377
+ .type(value, { delay: 0 })
1378
+ },
1379
+
1380
+ clickOnOpacitySlider: () => {
1381
+ drawingResponsePage.opacitySlider()
1382
+ .click();
1383
+ },
1384
+
1385
+ addInputToCustomSpecialCharactersInputField: (input) => {
1386
+ drawingResponsePage.customSpecialCharactersInputField()
1387
+ .type(`${input}`)
1388
+ .should('have.value', `${input}`)
1389
+ },
1390
+
1391
+ selectCustomSpecialCharacter: () => {
1392
+ drawingResponsePage.charactersPopupCharacterSymbol()
1393
+ .click();
1394
+ },
1395
+ // student view
1396
+ /**
1397
+ * @param {string} arialabel toolbar option to be selected
1398
+ * @description this function selects toolbar option from student view
1399
+ */
1400
+ selectStudentViewToolbarOption: (arialabel) => {
1401
+ drawingResponsePage.studentAndGradingViewDrawingToolbarOption(arialabel)
1402
+ .click();
1403
+ },
1404
+
1405
+ clickOnStudentViewUpperCanvas: () => {
1406
+ drawingResponsePage.studentViewUpperCanvas()
1407
+ .click({ force: true });
1408
+ createQuestionBasePage
1409
+ },
1410
+
1411
+ verifyCustomizeToolbarOptionsAndControlsAccordionCollapsedState: () => {
1412
+ drawingResponsePage.customizeToolbarOptionsAndControlsAccordion()
1413
+ .should('have.attr', 'aria-expanded', 'false');
1414
+ },
1415
+
1416
+ /**
1417
+ * @param {string} toolbarOption title of the toolbar options
1418
+ * @description Select the toolbar option or controls tile in customize section
1419
+ */
1420
+ unselectToolbarOptionsAndControlsFormattingOptionsTiles: (toolbarOption) => {
1421
+ drawingResponsePage.toolbarOptionsAndControlsFormattingOptionsTiles(toolbarOption)
1422
+ .click()
1423
+ .find('[role="menuitemcheckbox"]')
1424
+ .should('have.attr', 'aria-checked', 'false');
1425
+ },
1426
+
1427
+ /**
1428
+ * @param {string[]} defaultAdditionalOptionsArray Array of aria-label of the additional options
1429
+ * @description verifies that the additional option is unselected
1430
+ */
1431
+ verifyAdditionalOptionsUnselectedState: (defaultAdditionalOptionsArray) => {
1432
+ defaultAdditionalOptionsArray.forEach((additionalOption) => {
1433
+ drawingResponsePage.additionalOptionsTiles(additionalOption)
1434
+ .should('have.class', 'ngie-toggle-button-not-selected');
1435
+ });
1436
+ },
1437
+
1438
+ /**
1439
+ * @param {string} toolbarAndControlOption aria-label of the toolbar and controls formating options
1440
+ * @description verifies that the toolbar and controls formating options is in selected state.
1441
+ */
1442
+ verifyToolbarAndControlsOptionsSelectedState: (toolbarAndControlOption) => {
1443
+ drawingResponsePage.toolbarOptionsAndControlsFormattingOptionsTiles(toolbarAndControlOption)
1444
+ .should('have.class', 'Mui-selected');
1445
+ }
1446
+ }
1447
+
1448
+ const tests = {
1449
+ ...questionInstructionsComponent.tests,
1450
+ ...commonComponents.tests,
1451
+ ...additionalSettingsPanel.tests,
1452
+ ...questionInstructionsComponent.tests,
1453
+ ...scoringSectionBaseEditTab.tests,
1454
+ ...createQuestionBasePage.tests,
1455
+
1456
+ checkAccessibilityForSecondaryToolbarOptionPopup: () => {
1457
+ it('Accessibility of popup', { tags: 'a11y' }, () => {
1458
+ cy.checkAccessibility(drawingResponsePage.previewTabSecondaryOptionPopup());
1459
+ });
1460
+ }
1461
+ }
1462
+
1463
+ export const drawingResponsePage = {
1464
+ ...selectors,
1465
+ steps,
1466
+ tests
1467
+ }