itemengine-cypress-automation 1.0.349-TEMRegression4-f1b48a1.0 → 1.0.349

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/Dockerfile +1 -0
  2. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
  3. package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
  4. package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +398 -0
  5. package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +329 -0
  6. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +260 -0
  7. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +368 -0
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -2
  11. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  12. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  13. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  14. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  15. package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
  16. package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
  17. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
  18. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  19. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  20. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  21. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  22. package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
  23. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  24. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -4
  25. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  26. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
  27. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
  28. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
  29. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  30. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -4
  31. package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +2 -2
  32. package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
  33. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +62 -4
  34. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +115 -6
  35. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
  36. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  37. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  38. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  39. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  40. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  41. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  42. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  43. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
  44. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  45. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  46. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  47. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +29 -25
  48. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  49. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
  50. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
  51. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +201 -0
  52. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  53. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
  54. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -1
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +18 -20
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +1 -0
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +21 -30
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +211 -0
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +23 -30
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
  70. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
  71. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +1 -1
  72. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +25 -30
  73. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  74. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -10
  75. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -0
  76. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  77. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  78. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  79. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  80. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  81. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  82. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  83. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  84. package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
  85. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  86. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  87. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +5 -6
  88. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  89. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  90. package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
  91. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  92. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  93. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  94. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  95. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  96. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  97. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  98. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  99. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  100. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
  101. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
  102. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
  103. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
  104. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
  105. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
  106. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  107. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +1 -1
  108. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  109. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
  110. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  111. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +6 -10
  112. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
  113. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  114. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  115. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +35 -9
  116. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  117. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  118. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  119. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  120. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  121. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  122. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  123. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +35 -1
  124. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  125. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -0
  126. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  127. package/cypress/e2e/ILC/Matching/clickAndDrop.js +3 -5
  128. package/cypress/e2e/ILC/Matching/draggableOptions.js +4 -0
  129. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  130. package/cypress/e2e/ILC/Matching/headerSection.js +36 -11
  131. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  132. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
  133. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +227 -0
  134. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  135. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  136. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
  137. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  138. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  139. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  140. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
  141. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  142. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
  143. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  144. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
  145. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +5 -2
  146. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  147. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  148. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  149. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  150. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  151. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  152. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  153. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  154. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  155. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  156. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  157. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  158. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  159. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  160. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  161. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  162. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  163. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +31 -48
  164. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  165. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  166. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  167. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  168. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  169. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  170. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  171. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  172. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  173. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
  174. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
  175. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  176. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -1
  177. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  178. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  179. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +10 -3
  180. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
  181. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -3
  182. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  183. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
  184. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
  185. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
  186. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
  187. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
  188. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  189. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  190. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  191. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  192. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
  193. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  194. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  195. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  196. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
  197. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
  198. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +2 -0
  199. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  200. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  201. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  202. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  203. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  204. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -1
  205. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  206. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +7 -5
  207. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
  208. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  209. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +52 -0
  210. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +112 -0
  211. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +561 -0
  212. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +276 -0
  213. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  214. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +291 -0
  215. package/cypress/e2e/ILC/ThinkSphere/headerSection.js +53 -0
  216. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +621 -0
  217. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  218. package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
  219. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +296 -0
  220. package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
  221. package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +141 -0
  222. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
  223. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  224. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  225. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  226. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  227. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  228. package/cypress/e2e/Sessions/scores.js +8 -10
  229. package/cypress/e2e/applitools.config.js +3 -3
  230. package/cypress/fixtures/theme/ilc.json +14 -1
  231. package/cypress/fixtures/uploads/sample.webm +0 -0
  232. package/cypress/fixtures/uploads/sample.wmv +0 -0
  233. package/cypress/fixtures/uploads/sample20MB.mp4 +0 -0
  234. package/cypress/fixtures/uploads/sample2MB.mp4 +0 -0
  235. package/cypress/fixtures/uploads/sample2MB_2.mp4 +0 -0
  236. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  237. package/cypress/pages/audioPlayerPage.js +47 -22
  238. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  239. package/cypress/pages/chartsBarPage.js +20 -0
  240. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  241. package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
  242. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  243. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +16 -28
  244. package/cypress/pages/components/backgroundImageUploadComponent.js +32 -25
  245. package/cypress/pages/components/browseItemsPage.js +998 -7
  246. package/cypress/pages/components/ckEditorAudioPlayerComponent.js +1 -1
  247. package/cypress/pages/components/ckEditorEquationEditorComponent.js +5 -4
  248. package/cypress/pages/components/ckEditorInsertImageComponent.js +2 -2
  249. package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
  250. package/cypress/pages/components/commonComponents.js +8 -1
  251. package/cypress/pages/components/createQuestionBasePage.js +15 -2
  252. package/cypress/pages/components/defaultToolDropdown.js +7 -6
  253. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  254. package/cypress/pages/components/equationEditorSectionCommonComponent.js +10 -25
  255. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -3
  256. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -35
  257. package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
  258. package/cypress/pages/components/imageCanvasComponent.js +7 -6
  259. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  260. package/cypress/pages/components/questionInstructionsComponent.js +7 -0
  261. package/cypress/pages/components/scoringSectionBaseEditTab.js +5 -0
  262. package/cypress/pages/contentBlocksPage.js +2 -0
  263. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  264. package/cypress/pages/desmosGeometryPage.js +184 -4
  265. package/cypress/pages/dialogBoxBase.js +2 -1
  266. package/cypress/pages/drawingResponsePage.js +6 -4
  267. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  268. package/cypress/pages/gradingViewPage.js +8 -0
  269. package/cypress/pages/graphingPage.js +27 -8
  270. package/cypress/pages/gridFillPage.js +15 -6
  271. package/cypress/pages/index.js +2 -1
  272. package/cypress/pages/listOrderingPage.js +32 -1
  273. package/cypress/pages/matchingPage.js +26 -7
  274. package/cypress/pages/multipleSelectionPage.js +10 -39
  275. package/cypress/pages/numberLineLabelPage.js +31 -8
  276. package/cypress/pages/numberLinePage.js +19 -7
  277. package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
  278. package/cypress/pages/singleSelectionPage.js +0 -37
  279. package/cypress/pages/textEntryMathPage.js +24 -1
  280. package/cypress/pages/thinkSpherePage.js +2185 -0
  281. package/cypress/pages/uploadResponsePage.js +2 -1
  282. package/cypress/pages/videoResponsePage.js +3 -0
  283. package/cypress/support/commands.js +7 -4
  284. package/cypress/support/e2e.js +1 -0
  285. package/cypress/support/helpers/createItem.js +1200 -1
  286. package/cypress/support/helpers/utilities.js +88 -1
  287. package/package.json +3 -3
@@ -131,18 +131,17 @@ describe('Audio player: Edit tab', () => {
131
131
  });
132
132
 
133
133
  it('\'Source URL\' label and input field should not be displayed', () => {
134
- utilities.verifyElementVisibilityState(multipleSelectionPage.sourceUrlLabel(), 'notExist');
135
134
  utilities.verifyElementVisibilityState(audioPlayerPage.sourceUrlInputField(), 'notExist');
136
135
  });
137
136
 
138
137
  it('\'Upload\' label should be displayed', () => {
139
138
  utilities.verifyInnerText(multipleSelectionPage.uploadLabel(), 'Upload');
140
- utilities.verifyElementVisibilityState(multipleSelectionPage.uploadLabel(), 'visible');
139
+ utilities.verifyElementVisibilityState(multipleSelectionPage.uploadLabel(), 'exist');
141
140
  });
142
141
 
143
142
  it('\'File name\' label should be displayed', () => {
144
143
  utilities.verifyInnerText(multipleSelectionPage.fileNameLabel(), 'File name');
145
- utilities.verifyElementVisibilityState(multipleSelectionPage.fileNameLabel(), 'visible');
144
+ utilities.verifyElementVisibilityState(multipleSelectionPage.fileNameLabel(), 'exist');
146
145
  });
147
146
 
148
147
  it('\'Choose File\' button should be displayed', () => {
@@ -117,10 +117,8 @@ describe('Audio player: Edit tab', () => {
117
117
 
118
118
  it('When the user adds the transcript file and file upload is inprogress, file name and progress bar should be displayed below \'File name\' label. Progress bar should disappear once file is uploaded', () => {
119
119
  multipleSelectionPage.steps.uploadTranscriptFile('sample.txt');
120
- utilities.verifyElementVisibilityState(multipleSelectionPage.transcriptFileUploadProgressBar(), 'visible');
121
120
  utilities.verifyInnerText(multipleSelectionPage.uploadedTranscriptFileNameLabel(), 'sample.txt');
122
121
  utilities.verifyElementVisibilityState(multipleSelectionPage.uploadedTranscriptFileNameLabel(), 'visible');
123
- utilities.verifyElementVisibilityState(multipleSelectionPage.transcriptFileUploadProgressBar(), 'hidden');
124
122
  });
125
123
 
126
124
  it('CSS of progress bar and file name when file upload is in progress', { tags: 'css' }, () => {
@@ -189,8 +187,8 @@ describe('Audio player: Edit tab', () => {
189
187
  });
190
188
 
191
189
  it('The user should be able to enter text in the \'Transcript\' input field', () => {
192
- multipleSelectionPage.steps.enterTextInTranscriptInputField('This is a transcript text');
193
- utilities.verifyTextContent(multipleSelectionPage.typeInTranscriptInputField(), 'This is a transcript text');
190
+ multipleSelectionPage.steps.enterTextInCKEditorTranscriptInputField('This is a transcript text');
191
+ utilities.verifyTextContent(multipleSelectionPage.cKEditorTranscriptInputField(), 'This is a transcript text');
194
192
  });
195
193
 
196
194
  it('CSS of \'Type in transcript\' Section', { tags: 'css' }, () => {
@@ -182,9 +182,9 @@ describe('Audio player: Edit tab', () => {
182
182
 
183
183
  it('\'Playback Limit\' label and empty input field should be displayed', () => {
184
184
  utilities.verifyInnerText(multipleSelectionPage.playbackLimitLabel(), 'Playback Limit');
185
- utilities.verifyElementVisibilityState(multipleSelectionPage.playbackLimitLabel(), 'visible');
185
+ utilities.verifyElementVisibilityState(multipleSelectionPage.playbackLimitLabel(), 'exist');
186
186
  utilities.verifyInnerText(multipleSelectionPage.playbackLimitInputField(), '');
187
- utilities.verifyElementVisibilityState(multipleSelectionPage.playbackLimitInputField(), 'visible');
187
+ utilities.verifyElementVisibilityState(multipleSelectionPage.playbackLimitInputField(), 'exist');
188
188
  });
189
189
 
190
190
  it('When the user focuses in and out of the \'Playback Limit\' input field, no error message should be displayed', () => {
@@ -228,7 +228,7 @@ describe('Audio player: Edit tab', () => {
228
228
 
229
229
  it('\'Allow students to download the audio\' label and checkbox should be displayed. By default the \'Allow students to download the audio\' checkbox should be unchecked.', () => {
230
230
  utilities.verifyInnerText(multipleSelectionPage.allowStudentsToDownloadAudioLabel(), 'Allow students to download the audio');
231
- utilities.verifyElementVisibilityState(multipleSelectionPage.allowStudentsToDownloadAudioLabel(), 'visible');
231
+ utilities.verifyElementVisibilityState(multipleSelectionPage.allowStudentsToDownloadAudioLabel(), 'exist');
232
232
  multipleSelectionPage.steps.verifyAllowStudentsToDownloadAudioCheckboxNotChecked();
233
233
  });
234
234
 
@@ -31,8 +31,8 @@ describe('Audio player: Header section, buttons and saving item', () => {
31
31
 
32
32
  describe('OK button Contents', () => {
33
33
  it('\'OK\' button should be displayed in popup.', () => {
34
- utilities.verifyInnerText(multipleSelectionPage.okButton(), 'OK');
35
- utilities.verifyElementVisibilityState(multipleSelectionPage.okButton(), 'visible');
34
+ utilities.verifyInnerText(multipleSelectionPage.audioPlayerOkButton(), 'OK');
35
+ utilities.verifyElementVisibilityState(multipleSelectionPage.audioPlayerOkButton(), 'visible');
36
36
  });
37
37
 
38
38
  it('CSS of \'OK\' button', { tags: 'css' }, () => {
@@ -32,7 +32,7 @@ describe('Audio player: Edit tab', () => {
32
32
  multipleSelectionPage.steps.switchToEditTab();
33
33
  multipleSelectionPage.steps.clickOnAudioPlayerBlock();
34
34
  multipleSelectionPage.steps.clickOnLimitPlayAttempts();
35
- multipleSelectionPage.steps.setPlaybackLimit(2);
35
+ multipleSelectionPage.steps.setCKEditorPlaybackLimit(2);
36
36
  multipleSelectionPage.steps.clickOnOKButton();
37
37
  multipleSelectionPage.steps.focusInAndOutOfQuestionInstructionsInputField();
38
38
  multipleSelectionPage.steps.switchToPreviewTab();
@@ -32,7 +32,6 @@ describe('Audio player: Edit tab', () => {
32
32
  multipleSelectionPage.steps.switchToEditTab();
33
33
  multipleSelectionPage.steps.clickOnAudioPlayerBlock();
34
34
  multipleSelectionPage.steps.uploadTranscriptFile('sample.txt');
35
- utilities.verifyElementVisibilityState(multipleSelectionPage.transcriptFileUploadProgressBar(), 'visible');
36
35
  multipleSelectionPage.steps.clickOnOKButton();
37
36
  multipleSelectionPage.steps.focusInAndOutOfQuestionInstructionsInputField();
38
37
  multipleSelectionPage.steps.switchToPreviewTab();
@@ -49,7 +48,7 @@ describe('Audio player: Edit tab', () => {
49
48
  multipleSelectionPage.steps.switchToEditTab();
50
49
  multipleSelectionPage.steps.clickOnAudioPlayerBlock();
51
50
  multipleSelectionPage.steps.clickOnTypeInTranscriptRadioButton();
52
- multipleSelectionPage.steps.enterTextInTranscriptInputField('In triangle ABC,m ∠ ABC = (4x-12) ° and m ∠ ACB = (2x + 26) °');
51
+ multipleSelectionPage.steps.enterTextInCKEditorTranscriptInputField('In triangle ABC,m ∠ ABC = (4x-12) ° and m ∠ ACB = (2x + 26) °');
53
52
  multipleSelectionPage.steps.clickOnOKButton();
54
53
  multipleSelectionPage.steps.focusInAndOutOfQuestionInstructionsInputField();
55
54
  multipleSelectionPage.steps.switchToPreviewTab();
@@ -73,7 +72,7 @@ describe('Audio player: Edit tab', () => {
73
72
  multipleSelectionPage.steps.uploadFile('sample.mp3');
74
73
  utilities.verifyElementVisibilityState(multipleSelectionPage.fileUploadProgressBar(), 'hidden');
75
74
  multipleSelectionPage.steps.clickOnTypeInTranscriptRadioButton();
76
- multipleSelectionPage.steps.enterTextInTranscriptInputField('In triangle ABC,m ∠ ABC = (4x-12) ° and m ∠ ACB = (2x + 26) °');
75
+ multipleSelectionPage.steps.enterTextInCKEditorTranscriptInputField('In triangle ABC,m ∠ ABC = (4x-12) ° and m ∠ ACB = (2x + 26) °');
77
76
  multipleSelectionPage.steps.clickOnOKButton();
78
77
  });
79
78
 
@@ -44,8 +44,8 @@ describe('Equation Editor: Edit tab', () => {
44
44
  utilities.verifyElementVisibilityState(multipleSelectionPage.equationEditorLabel(), 'visible');
45
45
  utilities.verifyInnerText(multipleSelectionPage.okButton(), 'OK');
46
46
  utilities.verifyElementVisibilityState(multipleSelectionPage.okButton(), 'visible');
47
- utilities.verifyInnerText(multipleSelectionPage.cancelButton(), 'Cancel');
48
- utilities.verifyElementVisibilityState(multipleSelectionPage.cancelButton(), 'visible');
47
+ utilities.verifyInnerText(multipleSelectionPage.editorCancelButton(), 'Cancel');
48
+ utilities.verifyElementVisibilityState(multipleSelectionPage.editorCancelButton(), 'visible');
49
49
  });
50
50
 
51
51
  it('\'Select Mode\' label with \'Editor\', \'LaTex code\' and \'MathML\' radio button should be displayed. Also \'ARIA label\' label should be displayed with chevron down icon.', () => {
@@ -84,7 +84,7 @@ describe('Equation Editor: Edit tab', () => {
84
84
 
85
85
  it('When user writes any equation and clicks on cancel button it should not be visible on question instruction section', () => {
86
86
  multipleSelectionPage.steps.writeEquationUsingTools();
87
- multipleSelectionPage.steps.clickOnCancelButton();
87
+ multipleSelectionPage.steps.closeEquationEditor();
88
88
  utilities.verifyElementVisibilityState(multipleSelectionPage.equationWrapper(), 'notExist');
89
89
  });
90
90
 
@@ -93,7 +93,7 @@ describe('Equation Editor: Edit tab', () => {
93
93
  multipleSelectionPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
94
94
  multipleSelectionPage.steps.writeEquationUsingTools();
95
95
  multipleSelectionPage.steps.clickOnOkButton();
96
- utilities.verifyTextContent(multipleSelectionPage.equationInInputField(), 'x∨tan⁡(x+y)');
96
+ utilities.verifyTextContent(multipleSelectionPage.equationInInputField(), 'N∨tan⁡(N−P)');
97
97
  });
98
98
  });
99
99
 
@@ -28,8 +28,8 @@ describe('Insert Image: Edit tab', () => {
28
28
  });
29
29
 
30
30
  it('\'URL\', \'Alternative Text\', \'Width\', \'Height\', \'Border\', \'HSpace\', \'VSpace\' label with input field for each individual label and \'Preview\' label with image preview box should be visible ', () => {
31
- utilities.verifyInnerText(multipleSelectionPage.urlLabel(), 'URL');
32
- utilities.verifyElementVisibilityState(multipleSelectionPage.urlLabel(), 'visible');
31
+ utilities.verifyInnerText(multipleSelectionPage.imageUrlLabel(), 'URL');
32
+ utilities.verifyElementVisibilityState(multipleSelectionPage.imageUrlLabel(), 'visible');
33
33
  utilities.verifyElementVisibilityState(multipleSelectionPage.urlInputField(), 'visible');
34
34
  utilities.verifyInnerText(multipleSelectionPage.alternateTextLabel(), 'Alternative Text');
35
35
  utilities.verifyElementVisibilityState(multipleSelectionPage.alternateTextLabel(), 'visible');
@@ -82,7 +82,7 @@ describe('Insert Image: Edit tab', () => {
82
82
  'font-size': '12px',
83
83
  'font-weight': '400'
84
84
  });
85
- utilities.verifyCSS(multipleSelectionPage.urlLabel(), {
85
+ utilities.verifyCSS(multipleSelectionPage.imageUrlLabel(), {
86
86
  'color': 'rgb(0, 0, 0)',
87
87
  'font-size': '12px',
88
88
  'font-weight': '400'
@@ -152,7 +152,7 @@ describe('Insert Image: Edit tab', () => {
152
152
  });
153
153
 
154
154
  it('The changes and the pic should also be visible in the \'Preview Tab\'', () => {
155
- multipleSelectionPage.steps.focusInAndFocusOutOfQuestionInstructionsInputField();
155
+ multipleSelectionPage.steps.focusInAndOutOfQuestionInstructionsInputField();
156
156
  multipleSelectionPage.steps.switchToPreviewTab();
157
157
  multipleSelectionPage.steps.verifyCssOfImageInDifferentViews('300', '150', '5', '3', '10', 'Preview Tab');
158
158
  });
@@ -82,8 +82,8 @@ describe('Insert Table: Edit tab', () => {
82
82
  it('\'Border size\' label and input field with default value 1, \'Striped\' label and 3 strip options with default value none and \'Add hover state\' label and dropdown with default value none should be displayed.', () => {
83
83
  multipleSelectionPage.steps.scrollingDownInInsertTablePopUp();
84
84
  utilities.verifyInnerText(multipleSelectionPage.borderSizeLabel(), 'Border size');
85
- utilities.verifyElementVisibilityState(multipleSelectionPage.borderSizeLabel(), 'visible');
86
- utilities.verifyElementVisibilityState(multipleSelectionPage.borderSizeInputField(), 'visible');
85
+ utilities.verifyElementVisibilityState(multipleSelectionPage.borderSizeLabel(), 'exist');
86
+ utilities.verifyElementVisibilityState(multipleSelectionPage.borderSizeInputField(), 'exist');
87
87
  utilities.verifyInnerText(multipleSelectionPage.stripedLabel(), 'Striped');
88
88
  utilities.verifyElementVisibilityState(multipleSelectionPage.stripedLabel(), 'visible');
89
89
  utilities.verifyElementVisibilityState(multipleSelectionPage.clearStripes(), 'visible');
@@ -24,7 +24,7 @@ describe('Link Ck Editor: Edit tab', () => {
24
24
  utilities.verifyElementVisibilityState(multipleSelectionPage.uploadSectionTitle(), 'visible');
25
25
  utilities.verifyInnerText(multipleSelectionPage.uploadTitle(), 'Upload');
26
26
  utilities.verifyElementVisibilityState(multipleSelectionPage.uploadTitle(), 'visible');
27
- utilities.verifyElementVisibilityState(multipleSelectionPage.insertImageChooseFileButton(), 'visible');
27
+ utilities.verifyElementVisibilityState(multipleSelectionPage.insertImageChooseFileButton(), 'exist');
28
28
  utilities.verifyInnerText(multipleSelectionPage.sendItToServerButton(), 'Send it to the Server');
29
29
  utilities.verifyElementVisibilityState(multipleSelectionPage.sendItToServerButton(), 'visible');
30
30
  });
@@ -1,8 +1,11 @@
1
- import { contentBlocksPage } from "../../../pages";
1
+ import { contentBlocksPage, dialogBoxBase, itemPreviewPage } from "../../../pages";
2
+ import { browseItemsPage } from "../../../pages/components";
2
3
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
4
  import utilities from "../../../support/helpers/utilities";
4
5
  const css = Cypress.env('css');
5
6
 
7
+ var itemReferenceID = "";
8
+
6
9
  describe('Content blocks - Edit tab', () => {
7
10
  before(() => {
8
11
  cy.loginAs('admin');
@@ -82,6 +85,62 @@ describe('Content blocks - Edit tab', () => {
82
85
  it('Accessibility of header section', { tags: 'a11y' }, () => {
83
86
  cy.checkAccessibility(contentBlocksPage.headerLabel().parents('content-blocks'));
84
87
  });
88
+
89
+ describe('Saving a question with incomplete authoring', () => {
90
+ abortEarlySetup();
91
+ before(() => {
92
+ contentBlocksPage.steps.navigateToCreateResource('content blocks');
93
+ });
94
+
95
+ it('User should be able to save the resource with incomplete authoring and display a snackbar with the text "Saved successfully!" when the Save button is clicked', () => {
96
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please enter text block']);
97
+ contentBlocksPage.steps.saveAQuestionWithIncompleteAuthoring();
98
+ });
99
+ contentBlocksPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
100
+ });
101
+
102
+ describe('User should be able to edit incomplete authored resource', () => {
103
+ abortEarlySetup();
104
+ before(() => {
105
+ contentBlocksPage.steps.navigateToCreateResource('content blocks');
106
+ contentBlocksPage.steps.saveAQuestionWithIncompleteAuthoring();
107
+ contentBlocksPage.steps.editItem();
108
+ });
109
+
110
+ it('Warning icons should be displayed on the required input fields', () => {
111
+ contentBlocksPage.steps.verifyWarningIconOnRequiredFields([
112
+ 'Please enter text block',
113
+ ]);
114
+ });
115
+
116
+ it('When required input fields are filled then warning icons should disappear', () => {
117
+ contentBlocksPage.steps.enterTextInTextBlockInputField(0, 'Text block text');
118
+ contentBlocksPage.steps.verifyErrorMessageIsNotDisplayed();
119
+ });
120
+
121
+ it('Clicking on Save button the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
122
+ contentBlocksPage.steps.saveAQuestionAndVerifySnackbar();
123
+ });
124
+
125
+ it('Warning icon should not be visible', () => {
126
+ contentBlocksPage.steps.verifyWarningIconNotExist();
127
+ });
128
+ });
129
+
130
+ describe('Save as you go - Browse item page contents', () => {
131
+ abortEarlySetup();
132
+ before(() => {
133
+ contentBlocksPage.steps.navigateToCreateResource('content blocks');
134
+ contentBlocksPage.steps.saveAQuestionWithIncompleteAuthoring();
135
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
136
+ itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
137
+ browseItemsPage.steps.navigateToBrowseItemsPage();
138
+ });
139
+
140
+ it('When user saves an incompletely authored resource then a warning icon should be visible in browse items page', () => {
141
+ browseItemsPage.steps.verifyWarningIconInBrowseItemPage(`${itemReferenceID}`);
142
+ });
143
+ });
85
144
  });
86
145
 
87
146
  describe('Body section', () => {
@@ -113,10 +172,9 @@ describe('Content blocks - Edit tab', () => {
113
172
  contentBlocksPage.steps.verifyTextBlockInputFieldPlaceholderTextNotExist(contentBlocksPage.verifyTextBlockInputFieldPlaceholderText);
114
173
  });
115
174
 
116
- it('When user clears text and focuses out of text block input field, then error message \'Error: Text block is required.\' should be displayed', () => {
175
+ it('When user clears text and focuses out of text block input field, then error message should not be displayed', () => {
117
176
  contentBlocksPage.steps.clearAndFocusOutOfTextBlockInputField();
118
- utilities.verifyInnerText(contentBlocksPage.errorMessage(), 'Error: Text block is required.');
119
- utilities.verifyElementVisibilityState(contentBlocksPage.errorMessage(), 'visible');
177
+ utilities.verifyElementVisibilityState(contentBlocksPage.errorMessage(), 'notExist');
120
178
  });
121
179
 
122
180
  it('When user enters text again then error message should not be displayed', () => {
@@ -26,9 +26,6 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
26
26
  dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
27
27
  cy.barsPreLoaderWait();
28
28
  dragAndDropIntoCategoriesPage.steps.addTextInQuestionInstructionsInputField('Navigating to drag and drop into categories');
29
- dragAndDropIntoCategoriesPage.steps.setRowsAndColumnsForQuestion();
30
- dragAndDropIntoCategoriesPage.steps.addMultipleOptionFields(2);
31
- dragAndDropIntoCategoriesPage.steps.addInputToOptionsInputField(['Bat', 'Eagle', 'Parrot', 'Whale']);
32
29
  dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
33
30
  });
34
31
 
@@ -37,6 +34,9 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
37
34
  it('When the user sets correct answer responses and allots points, then the alloted points should be displayed in the preview tab', () => {
38
35
  dragAndDropIntoCategoriesPage.steps.switchToEditTab();
39
36
  dragAndDropIntoCategoriesPage.steps.allotPoints(20);
37
+ dragAndDropIntoCategoriesPage.steps.setRowsAndColumnsForQuestion();
38
+ dragAndDropIntoCategoriesPage.steps.addMultipleOptionFields(2);
39
+ dragAndDropIntoCategoriesPage.steps.addInputToOptionsInputField(['Bat', 'Eagle', 'Parrot', 'Whale']);
40
40
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Bat': 0, 'Whale': 4 });
41
41
  dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
42
42
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
@@ -251,12 +251,15 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
251
251
  case 'Question preview':
252
252
  dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
253
253
  cy.barsPreLoaderWait();
254
+ dragAndDropIntoCategoriesPage.steps.addTextInQuestionInstructionsInputField('Drag and drop options in correct categories.');
254
255
  dragAndDropIntoCategoriesPage.steps.expandScoringTypeDropdown();
255
256
  dragAndDropIntoCategoriesPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
256
257
  utilities.verifyInnerText(dragAndDropIntoCategoriesPage.scoringTypeDropdown(), 'Manually scored');
257
258
  cy.log('Adding wait to ensure Manually scored is selected');
258
259
  cy.wait(2000);
260
+ dragAndDropIntoCategoriesPage.steps.allotPoints(20);
259
261
  dragAndDropIntoCategoriesPage.steps.addInputToOptionsInputField(['Parrot', 'Whale']);
262
+ dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
260
263
  break;
261
264
  case 'Grading view':
262
265
  cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
@@ -282,6 +285,11 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
282
285
  });
283
286
  };
284
287
 
288
+ it('Question instructions should be visible', () => {
289
+ dragAndDropIntoCategoriesPage.steps.verifyQuestionInstructionsTextPreviewTab('Drag and drop options in correct categories.');
290
+ dragAndDropIntoCategoriesPage.steps.verifyVisibityOfQuestionInstructionsText();
291
+ });
292
+
285
293
  it('When the user selects \'Grading\' view, correct answer section should not be displayed', () => {
286
294
  if (view === 'Grading view') {
287
295
  studentViewPage.steps.submitResponse();
@@ -290,6 +298,23 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
290
298
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
291
299
  };
292
300
  });
301
+
302
+ it('User should be able to attempt the question in student view, and correct/incorrect icons, "Your answer is correct/incorrect" label, and correct answer section should not be displayed in grading view', () => {
303
+ dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Parrot': 0, 'Whale': 1 });
304
+ if (view === 'Grading view') {
305
+ studentViewPage.steps.submitResponse();
306
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
307
+ studentViewPage.steps.clickOnGoToGradingViewButton();
308
+ gradingViewPage.steps.verifyGradingViewScore('', 20);
309
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsNotExist();
310
+ dragAndDropIntoCategoriesPage.steps.verifyAnswerStatusBannerNotExist();
311
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExist();
312
+ };
313
+ if (view === 'Question preview' || view === 'Item preview') {
314
+ dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
315
+ dragAndDropIntoCategoriesPage.steps.checkManuallyScoredScoringLabel();
316
+ };
317
+ });
293
318
  });
294
319
  });
295
320
 
@@ -455,10 +480,12 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
455
480
  case 'Question preview':
456
481
  dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
457
482
  cy.barsPreLoaderWait();
458
- dragAndDropIntoCategoriesPage.steps.addInputToOptionsInputField(['Bat', 'Eagle']);
459
- dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Bat': 0, 'Eagle': 1 });
460
483
  dragAndDropIntoCategoriesPage.steps.expandScoringTypeDropdown();
461
484
  dragAndDropIntoCategoriesPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
485
+ dragAndDropIntoCategoriesPage.steps.addMultipleOptionFields(7);
486
+ dragAndDropIntoCategoriesPage.steps.addInputToOptionsInputField(['Bat', 'Eagle', 'Parrot', 'Whale', 'Platypus', 'Ostrich', 'Flying squirrel', 'Peacock', 'Kite']);
487
+ dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Bat': 0, 'Eagle': 1, 'Parrot': 2, 'Platypus': 3, 'Ostrich': 4, 'Whale': 5, 'Flying squirrel': 6, 'Peacock': 7, 'Kite': 8 });
488
+ dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
462
489
  break;
463
490
  case 'Grading view':
464
491
  cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
@@ -484,14 +511,96 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
484
511
  });
485
512
  };
486
513
 
514
+ it('When the user selects "Grading" view without attempting the question, non-scoring label should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label "Correct answers" should be displayed with correct answers and correct/incorrect icons should not be displayed', () => {
515
+ if (view === 'Grading view') {
516
+ studentViewPage.steps.submitResponse();
517
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
518
+ studentViewPage.steps.clickOnGoToGradingViewButton();
519
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
520
+ };
521
+ if (view === 'Question preview' || view === 'Item preview') {
522
+ dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
523
+ dragAndDropIntoCategoriesPage.steps.switchToGradingView();
524
+ dragAndDropIntoCategoriesPage.steps.checkNonScoredScoringLabel();
525
+ dragAndDropIntoCategoriesPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
526
+ };
527
+ utilities.verifyInnerText(dragAndDropIntoCategoriesPage.correctAnswersLabel(), 'Correct answers');
528
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsNotExist();
529
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle'], ['Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], ['Flying squirrel'], ['Peacock'], ['Kite']], ['1', '2', '3', '4', '5', '6', '7', '8', '9']);
530
+ });
531
+
487
532
  it('When the user attempts the question incorrectly for a non scored Question, then the incorrect Answer label and correct answer section should not be displayed', () => {
488
533
  if (view === 'Grading view') {
489
- dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Bat': 0, 'Eagle': 7 });
534
+ dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Bat': 8, 'Eagle': 7, 'Parrot': 3, 'Platypus': 2, 'Ostrich': 8, 'Whale': 6, 'Ostrich': 0, 'Flying squirrel': 5, 'Peacock': 4, 'Kite': 1 });
490
535
  studentViewPage.steps.submitResponse();
491
536
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
492
537
  studentViewPage.steps.clickOnGoToGradingViewButton();
493
538
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
539
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
540
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(1);
541
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
542
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(3);
543
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(4);
544
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(5);
545
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(6);
546
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(7);
547
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(8);
548
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle'], ['Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], ['Flying squirrel'], ['Peacock'], ['Kite']], ['1', '2', '3', '4', '5', '6', '7', '8', '9']);
549
+ };
550
+ });
551
+
552
+ it('hen the user attempts the question partially correct, then the user should be awarded 0 points and on switching to "Grading" view, correct icon should be displayed beside the correct answer responses, incorrect icon should be displayed beside incorrect answer responses, a status message with text "Your answer is incorrect" and correct answer section with all correct answers should be displayed', () => {
553
+ if (view === 'Grading view') {
554
+ studentViewPage.steps.clearResponses();
494
555
  };
556
+ dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Bat': 0, 'Eagle': 1, 'Parrot': 2, 'Platypus': 4 });
557
+ if (view === 'Grading view') {
558
+ studentViewPage.steps.submitResponse();
559
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
560
+ studentViewPage.steps.clickOnGoToGradingViewButton();
561
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
562
+ };
563
+ if (view === 'Question preview' || view === 'Item preview') {
564
+ dragAndDropIntoCategoriesPage.steps.checkNonScoredScoringLabel();
565
+ dragAndDropIntoCategoriesPage.steps.switchToGradingView();
566
+ };
567
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
568
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
569
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
570
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(3);
571
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
572
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle'], ['Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], ['Flying squirrel'], ['Peacock'], ['Kite']], ['1', '2', '3', '4', '5', '6', '7', '8', '9']);
573
+ });
574
+
575
+ it('When the user attempts the question correctly, and on switching to "Grading" view, non-scoring label should be displayed, correct icons should be displayed beside the correct responses, a status message with text "Your answer is correct" should be displayed and correct answer section should not be displayed', () => {
576
+ if (view === 'Question preview' || view === 'Item preview') {
577
+ dragAndDropIntoCategoriesPage.steps.resetQuestionPreview();
578
+ };
579
+ if (view === 'Grading view') {
580
+ studentViewPage.steps.clearResponses();
581
+ };
582
+ dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Bat': 0, 'Eagle': 1, 'Parrot': 2, 'Platypus': 3, 'Ostrich': 4, 'Whale': 5, 'Flying squirrel': 6, 'Peacock': 7, 'Kite': 8 });
583
+ if (view === 'Grading view') {
584
+ studentViewPage.steps.submitResponse();
585
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
586
+ studentViewPage.steps.clickOnGoToGradingViewButton();
587
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
588
+ };
589
+ if (view === 'Question preview' || view === 'Item preview') {
590
+ dragAndDropIntoCategoriesPage.steps.checkNonScoredScoringLabel();
591
+ dragAndDropIntoCategoriesPage.steps.switchToGradingView();
592
+ };
593
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
594
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
595
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
596
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
597
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(4);
598
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(5);
599
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(6);
600
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(7);
601
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(8);
602
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
603
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
495
604
  });
496
605
  });
497
606
 
@@ -43,6 +43,8 @@ describe('Create item page - Drag and drop into categories: Header section and S
43
43
  before(() => {
44
44
  dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
45
45
  cy.barsPreLoaderWait();
46
+ utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.questionInstructionsInputField(), 'visible');
47
+ utilities.verifyElementCount(dragAndDropIntoCategoriesPage.optionsInputField(), 2);
46
48
  });
47
49
 
48
50
  describe('Validation error messages', () => {
@@ -48,6 +48,9 @@ describe('Create Item Page: drag and drop into categories: Edit tab scoring type
48
48
  cy.log('Navigate to fill in the gaps - dropdown question type');
49
49
  dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
50
50
  cy.barsPreLoaderWait();
51
+ utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.questionInstructionsInputField(), 'visible');
52
+ utilities.verifyElementCount(dragAndDropIntoCategoriesPage.optionsInputField(), 2);
53
+ dragAndDropIntoCategoriesPage.steps.addTextInQuestionInstructionsInputField('Test question instructions');
51
54
  });
52
55
 
53
56
  it('User should be able to select \'Non scored\' scoring type from scoring type dropdown', () => {
@@ -79,7 +82,7 @@ describe('Create Item Page: drag and drop into categories: Edit tab scoring type
79
82
  dragAndDropIntoCategoriesPage.tests.verifyContentsOfSpecifyCorrectAnswerSection('Non scored');
80
83
 
81
84
  dragAndDropIntoCategoriesPage.tests.verifyPointsLabelAndInputFieldForNonScoredScoringType();
82
-
85
+
83
86
  it('User should able to save question with non scored scoring type', () => {
84
87
  dragAndDropIntoCategoriesPage.steps.saveAQuestionAndVerifySnackbar();
85
88
  });
@@ -30,6 +30,9 @@ describe('Create item page - Drag and drop into categories: Minimum scoring, Pen
30
30
  before(() => {
31
31
  dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
32
32
  cy.barsPreLoaderWait();
33
+ utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.questionInstructionsInputField(), 'visible');
34
+ utilities.verifyElementCount(dragAndDropIntoCategoriesPage.optionsInputField(), 2);
35
+ dragAndDropIntoCategoriesPage.steps.addTextInQuestionInstructionsInputField('Test question instructions');
33
36
  });
34
37
 
35
38
  //Per dropzone
@@ -87,6 +87,9 @@ describe('Drag and drop into categories - Style and layout customization accordi
87
87
  dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
88
88
  cy.barsPreLoaderWait();
89
89
  dragAndDropIntoCategoriesPage.steps.expandStyleAndLayoutCustomizationAccordion();
90
+ utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.questionInstructionsInputField(), 'visible');
91
+ utilities.verifyElementCount(dragAndDropIntoCategoriesPage.optionsInputField(), 2);
92
+ dragAndDropIntoCategoriesPage.steps.addTextInQuestionInstructionsInputField('Test question instructions');
90
93
  });
91
94
 
92
95
  rowColumnOptions.forEach((option) => {
@@ -137,6 +137,7 @@ describe('Drawing response - Additional settings', () => {
137
137
  before(() => {
138
138
  drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
139
139
  cy.barsPreLoaderWait();
140
+ drawingResponsePage.steps.switchToEditTab();
140
141
  drawingResponsePage.steps.expandAdditionalSettings();
141
142
  });
142
143
 
@@ -273,7 +273,6 @@ describe('Create item page - Drawing response: Background: Blank canvas, Image,
273
273
 
274
274
  it('When the user adds an image file and file upload is inprogress, file name and progress bar should be displayed below \'File name\' label. Progress bar should disappear once file is uploaded', () => {
275
275
  drawingResponsePage.steps.uploadFile('uploads/image.png');
276
- utilities.verifyElementVisibilityState(drawingResponsePage.fileUploadProgressBar(), 'visible');
277
276
  utilities.verifyInnerText(drawingResponsePage.uploadedFileNameLabel(), 'image.png');
278
277
  utilities.verifyElementVisibilityState(drawingResponsePage.uploadedFileNameLabel(), 'visible');
279
278
  utilities.verifyElementVisibilityState(drawingResponsePage.fileUploadProgressBar(), 'notExist');
@@ -285,7 +284,6 @@ describe('Create item page - Drawing response: Background: Blank canvas, Image,
285
284
 
286
285
  //upload the same file again
287
286
  drawingResponsePage.steps.uploadFile('uploads/image.png');
288
- utilities.verifyElementVisibilityState(drawingResponsePage.fileUploadProgressBar(), 'visible');
289
287
  utilities.verifyInnerText(drawingResponsePage.uploadedFileNameLabel(), 'image.png');
290
288
  utilities.verifyElementVisibilityState(drawingResponsePage.uploadedFileNameLabel(), 'visible');
291
289
  utilities.verifyElementVisibilityState(drawingResponsePage.fileUploadProgressBar(), 'notExist');
@@ -307,17 +305,13 @@ describe('Create item page - Drawing response: Background: Blank canvas, Image,
307
305
  utilities.verifyElementVisibilityState(drawingResponsePage.uploadedFileNameLabel(), 'visible');
308
306
  });
309
307
 
310
- it('When the user uploads a file that is not supported, following error message should be displayed: \'Error: The file type is not supported. Please upload a file with the following supported formats: JPG, PNG, GIF, SVG.\'', () => {
308
+ it('When the user uploads a file that is not supported, following error message should not be displayed', () => {
311
309
  drawingResponsePage.steps.uploadFile('uploads/sample.mp4')
312
- utilities.verifyInnerText(drawingResponsePage.errorMessage(), 'Error: The file type is not supported. Please upload a file with the following supported formats: JPG, PNG, GIF, SVG.');
313
- utilities.verifyElementVisibilityState(drawingResponsePage.errorMessage(), 'visible');
310
+ utilities.verifyElementVisibilityState(drawingResponsePage.errorMessage(), 'notExist');
314
311
  });
315
312
 
316
- drawingResponsePage.tests.verifyErrorMessageCSSAndA11y();
317
-
318
313
  it('When the user uploads supported format of image file, error message should disappear', () => {
319
314
  drawingResponsePage.steps.uploadFile('uploads/sample2.jpg');
320
- utilities.verifyElementVisibilityState(drawingResponsePage.errorMessage(), 'notExist');
321
315
  });
322
316
 
323
317
  //Failing due to https://redmine.zeuslearning.com/issues/555227
@@ -585,6 +585,7 @@ describe('Create item page - Drawing response: Customize special characters, Cus
585
585
  it('When the user has modified contents in the \'Fill color\' section in the edit tab, the updates should be displayed in the \'Fill color\' popup in the preview tab', () => {
586
586
  drawingResponsePage.steps.switchToPreviewTab();
587
587
  drawingResponsePage.steps.selectPreviewTabToolbarOption(`${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[11].displayName}`);
588
+ drawingResponsePage.steps.selectPreviewTabToolbarOption(`${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[11].displayName}`);
588
589
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption('Fill color');
589
590
  drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(0, 'rgb(255, 0, 0)');
590
591
  drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(6, 255, 172)');
@@ -233,7 +233,7 @@ describe('Create item page - Drawing response: Question instructions, Customize
233
233
  utilities.verifyInnerText(drawingResponsePage.defaultStrokeFontColorLabel(), 'Default stroke/font colors');
234
234
  utilities.verifyElementVisibilityState(drawingResponsePage.defaultStrokeColorsWrapper(), 'visible');
235
235
  drawingResponsePage.steps.verifyCSSOfDefaultFontStrokeFillColorBlockInEditTab(0, 'rgb(0, 112, 128)');
236
- } else if(!toolbarOption.additionalOptions.includes(' StrokeFontColor')) {
236
+ } else if (!toolbarOption.additionalOptions.includes(' StrokeFontColor')) {
237
237
  utilities.verifyElementVisibilityState(drawingResponsePage.defaultStrokeColorsWrapper(), 'notExist');
238
238
  }
239
239
  else if (toolbarOption.additionalOptions.includes(' FillColor')) {
@@ -241,7 +241,7 @@ describe('Create item page - Drawing response: Question instructions, Customize
241
241
  utilities.verifyInnerText(drawingResponsePage.defaultFillColorsLabel(), 'Default fill colors');
242
242
  utilities.verifyElementVisibilityState(drawingResponsePage.defaultFillColorsWrapper(), 'visible');
243
243
  drawingResponsePage.steps.verifyCSSOfDefaultFontStrokeFillColorBlockInEditTab(1, 'rgb(0, 224, 255)');
244
- } else if(!toolbarOption.additionalOptions.includes(' FillColor')) {
244
+ } else if (!toolbarOption.additionalOptions.includes(' FillColor')) {
245
245
  utilities.verifyElementVisibilityState(drawingResponsePage.defaultNewFillColorsWrapper(), 'notExist');
246
246
  }
247
247
  else if (toolbarOption.additionalOptions.includes(' SpecialChar')) {
@@ -249,7 +249,7 @@ describe('Create item page - Drawing response: Question instructions, Customize
249
249
  utilities.verifyElementDisabledClass(drawingResponsePage.customizeSpecialCharactersLabel());
250
250
  utilities.verifyElementVisibilityState(drawingResponsePage.customizeSpecialCharactersCheckbox(), 'exist');
251
251
  utilities.verifyElementDisabled(drawingResponsePage.customizeSpecialCharactersCheckbox());
252
- } else if(!toolbarOption.additionalOptions.includes(' SpecialChar')) {
252
+ } else if (!toolbarOption.additionalOptions.includes(' SpecialChar')) {
253
253
  utilities.verifyElementVisibilityState(drawingResponsePage.customizeSpecialCharactersLabel(), 'notExist');
254
254
  utilities.verifyElementVisibilityState(drawingResponsePage.customizeSpecialCharactersCheckbox(), 'notExist');
255
255
  }