itemengine-cypress-automation 1.0.189-e2e-execution-crash-83cdbd4.0 → 1.0.190-7thMayFixes-fcaf7b8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. package/cypress/e2e/ILC/AudioPlayerNew/allSupportedFileTypes.js +81 -0
  2. package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +620 -0
  3. package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +402 -0
  4. package/cypress/e2e/ILC/AudioPlayerNew/customizePlayerLayoutSettings.js +596 -0
  5. package/cypress/e2e/ILC/AudioPlayerNew/previewContents.smoke.js +162 -0
  6. package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +792 -0
  7. package/cypress/e2e/ILC/AudioPlayerNew/studentViewSettings.js +253 -0
  8. package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +313 -0
  9. package/cypress/e2e/ILC/AudioResponseNew/additionalSettingsBasic.js +1 -22
  10. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +2 -2
  11. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -1
  12. package/cypress/e2e/ILC/AudioResponseNew/editAndPreviewTabScoringSection.js +1 -1
  13. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +1 -0
  14. package/cypress/e2e/ILC/AudioResponseNew/headerSection.js +4 -20
  15. package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -1
  16. package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +2 -11
  17. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +366 -0
  18. package/cypress/e2e/ILC/ChartsBar/checkAnswerFunctionalityForAllViews.smoke.js +181 -0
  19. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +283 -0
  20. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +625 -0
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettingsBasic.js +1 -1
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
  23. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +2 -2
  24. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +0 -3
  25. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +3 -5
  26. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +0 -4
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabScoring.js +0 -1
  28. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +6 -8
  29. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePageHeaderSection.js +4 -24
  30. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +0 -9
  31. package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +418 -29
  32. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
  33. package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +0 -2
  34. package/cypress/e2e/ILC/EssayResponse/headerSection.js +3 -18
  35. package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +0 -1
  36. package/cypress/e2e/ILC/EssayResponseMath/mathCharacters.js +0 -1
  37. package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +29 -1
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +0 -5
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -2
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
  41. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +0 -4
  42. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +1 -1
  43. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +3 -3
  44. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -0
  45. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +5 -5
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -2
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +4 -4
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +0 -4
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +1 -1
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +1 -1
  53. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  54. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +3 -4
  55. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  56. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +1 -2
  57. package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +1 -0
  58. package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +1 -3
  59. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
  60. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +2 -2
  61. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
  62. package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +2 -2
  63. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +2 -1
  64. package/cypress/e2e/ILC/Graphing/studentViewSettings.js +1 -1
  65. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -6
  66. package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
  67. package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +11 -3
  68. package/cypress/e2e/ILC/GridFill/headerSection.js +4 -5
  69. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +3 -3
  70. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingScoringCellShadeCount.js +2 -2
  71. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +143 -0
  72. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +132 -0
  73. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +143 -0
  74. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +144 -0
  75. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +143 -0
  76. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +131 -0
  77. package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +87 -0
  78. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +446 -0
  79. package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +1 -1
  80. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +276 -0
  81. package/cypress/e2e/ILC/ImageHighlight/checkAnswerFunctionalityForAllViews.smoke.js +141 -0
  82. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +150 -0
  83. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +194 -0
  84. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +195 -0
  85. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +274 -0
  86. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingPenaltyScoring.js +48 -0
  87. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +144 -0
  88. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +252 -0
  89. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsBasic.js +102 -0
  90. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +256 -0
  91. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +253 -0
  92. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +308 -0
  93. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +225 -0
  94. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +151 -0
  95. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +196 -0
  96. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +227 -0
  97. package/cypress/e2e/ILC/ListOrderingDropdown/additionalSettings.js +91 -0
  98. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +230 -0
  99. package/cypress/e2e/ILC/ListOrderingDropdown/checkAnswerFunctionalityForAllViews.smoke.js +124 -0
  100. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +221 -0
  101. package/cypress/e2e/ILC/ListOrderingDropdown/editTabScoring.js +203 -0
  102. package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +71 -0
  103. package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +197 -0
  104. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +201 -0
  105. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +115 -0
  106. package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +183 -0
  107. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +216 -0
  108. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +214 -0
  109. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +273 -0
  110. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingPenaltyScoring.js +52 -0
  111. package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +128 -0
  112. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +279 -0
  113. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +109 -0
  114. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +278 -0
  115. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +278 -0
  116. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +335 -0
  117. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +250 -0
  118. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +161 -0
  119. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +216 -0
  120. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +252 -0
  121. package/cypress/e2e/ILC/ListOrderingNew/additionalSettings.js +118 -0
  122. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +243 -0
  123. package/cypress/e2e/ILC/ListOrderingNew/checkAnswerFunctionalityForAllViews.smoke.js +128 -0
  124. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +155 -0
  125. package/cypress/e2e/ILC/ListOrderingNew/editTabScoring.js +195 -0
  126. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +78 -0
  127. package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +69 -0
  128. package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
  129. package/cypress/e2e/ILC/ListOrderingNew/previewContentsForAllViews.smoke.js +176 -0
  130. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +112 -0
  131. package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +244 -0
  132. package/cypress/e2e/ILC/Matching/additionalSettings.js +1 -0
  133. package/cypress/e2e/ILC/Matching/headerSection.js +2 -2
  134. package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
  135. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +1 -0
  136. package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +1 -1
  137. package/cypress/e2e/ILC/NumberLine/LayoutSection.js +209 -0
  138. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +23 -21
  139. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +5 -3
  140. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +8 -6
  141. package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +1 -1
  142. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +1 -1
  143. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +1 -1
  144. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +1 -1
  145. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +1 -1
  146. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +60 -3
  147. package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
  148. package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +2 -9
  149. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  150. package/cypress/e2e/ILC/NumberLine/headerSection.js +4 -4
  151. package/cypress/e2e/ILC/NumberLine/lineSettingsSection.js +33 -0
  152. package/cypress/e2e/ILC/NumberLine/numberLineSection.js +50 -0
  153. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +2 -2
  154. package/cypress/e2e/ILC/NumberLine/specifyCorrectAnswerSection.js +1 -1
  155. package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +3 -3
  156. package/cypress/e2e/ILC/NumberLine/toolSettings.js +2 -1
  157. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +1 -1
  158. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +697 -0
  159. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +173 -0
  160. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/layoutSection.js +211 -0
  161. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +75 -0
  162. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +204 -0
  163. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +231 -0
  164. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +231 -0
  165. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +231 -0
  166. package/cypress/e2e/ILC/NumberLineLabel/Scoring/manualAndNonScoredScoring.js +169 -0
  167. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +274 -0
  168. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsBasic.js +433 -0
  169. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +274 -0
  170. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +274 -0
  171. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +249 -0
  172. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsBasic.js +135 -0
  173. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +210 -0
  174. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +248 -0
  175. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +115 -0
  176. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +289 -0
  177. package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +154 -0
  178. package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +326 -0
  179. package/cypress/e2e/ILC/NumberLineLabel/editTabScoring.js +234 -0
  180. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +164 -0
  181. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +80 -0
  182. package/cypress/e2e/ILC/NumberLineLabel/layoutSection.js +204 -0
  183. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +79 -0
  184. package/cypress/e2e/ILC/NumberLineLabel/minimumScoringPenaltyPointsAndRoundingDropdown.js +85 -0
  185. package/cypress/e2e/ILC/NumberLineLabel/numberLineSection.js +51 -0
  186. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +120 -0
  187. package/cypress/e2e/ILC/NumberLineLabel/specifyCorrectAnswerSection.js +74 -0
  188. package/cypress/e2e/ILC/NumberLineLabel/studentViewSettings.js +183 -0
  189. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +76 -0
  190. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +292 -0
  191. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/checkAnswerFunctionalityForAllViews.smoke.js +155 -0
  192. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +166 -0
  193. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/layoutSection.js +360 -0
  194. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +80 -0
  195. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +111 -0
  196. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
  197. package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +49 -1
  198. package/cypress/e2e/ILC/ShortTextResponseNew/editTabScoringSection.js +1 -1
  199. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +1 -7
  200. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +1 -2
  201. package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +1 -1
  202. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +2 -2
  203. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +5 -5
  204. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -1
  205. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -1
  206. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -1
  207. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +0 -1
  208. package/cypress/e2e/ILC/TextSelection/additionalSettings.js +125 -0
  209. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -1
  210. package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  211. package/cypress/e2e/ILC/TextSelection/editTabScoringSection.js +5 -4
  212. package/cypress/e2e/ILC/TextSelection/headerSection.js +73 -0
  213. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +6 -7
  214. package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +179 -0
  215. package/cypress/e2e/ILC/TextSelection/specifyCorrectAnswerSection.js +89 -0
  216. package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +436 -0
  217. package/cypress/e2e/ILC/TextSelection/styleAndLayoutCustomizationAccordion.js +277 -0
  218. package/cypress/e2e/ILC/TextSelection/textSelectionModesInPreviewTab.js +222 -0
  219. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +260 -0
  220. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +380 -0
  221. package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +5 -5
  222. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
  223. package/cypress/e2e/ILC/VideoResponseNew/additionalSettingsBasic.js +77 -0
  224. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControls.js +313 -0
  225. package/cypress/e2e/ILC/VideoResponseNew/editAndPreviewTabScoringSection.js +99 -0
  226. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +171 -0
  227. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +179 -0
  228. package/cypress/e2e/ILC/VideoResponseNew/headerSection.js +79 -0
  229. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +201 -0
  230. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +567 -0
  231. package/cypress/e2e/ILC/VideoResponseNew/studentViewSettings.js +192 -0
  232. package/cypress/fixtures/constants.js +1 -1
  233. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
  234. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +20 -20
  235. package/cypress/fixtures/theme/ilc.json +22 -18
  236. package/cypress/pages/audioPlayerPage.js +669 -445
  237. package/cypress/pages/audioResponsePage.js +10 -80
  238. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  239. package/cypress/pages/chartsBarPage.js +517 -0
  240. package/cypress/pages/chartsDotPlotPage.js +8 -0
  241. package/cypress/pages/chartsLinePage.js +42 -0
  242. package/cypress/pages/components/allowTeachersToDownloadStudentResponseComponent.js +58 -0
  243. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +19 -26
  244. package/cypress/pages/components/autoScoredStudentViewSettings.js +7 -7
  245. package/cypress/pages/components/barAndLineChartComponent.js +123 -0
  246. package/cypress/pages/components/chartsCommonComponent.js +138 -0
  247. package/cypress/pages/components/commonComponents.js +1 -0
  248. package/cypress/pages/components/draggableOptionContainer.js +2 -1
  249. package/cypress/pages/components/equationEditorFlyout.js +3 -2
  250. package/cypress/pages/components/essayResponseCommonComponents.js +8 -2
  251. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -0
  252. package/cypress/pages/components/imageCanvasComponent.js +5 -4
  253. package/cypress/pages/components/index.js +8 -0
  254. package/cypress/pages/components/layoutSectionComponent.js +1156 -0
  255. package/cypress/pages/components/limitNumberOfRetakeComponent.js +90 -0
  256. package/cypress/pages/components/numberLineCommonComponent.js +685 -0
  257. package/cypress/pages/components/optionsWrapperComponent.js +13 -2
  258. package/cypress/pages/components/playbackControlsBaseComponent.js +20 -13
  259. package/cypress/pages/components/questionInputFieldComponent.js +2 -1
  260. package/cypress/pages/components/questionInstructionsComponent.js +3 -19
  261. package/cypress/pages/components/resetPopupComponent.js +7 -3
  262. package/cypress/pages/components/scoringSectionBaseEditTab.js +6 -17
  263. package/cypress/pages/components/singleMultipleSelectionModeComponent.js +16 -0
  264. package/cypress/pages/components/styleAndLayoutCustomizationAccordionComponent.js +46 -0
  265. package/cypress/pages/components/toolSettingsComponent.js +6 -0
  266. package/cypress/pages/contentBlocksPage.js +19 -3
  267. package/cypress/pages/createItemPage.js +75 -8
  268. package/cypress/pages/dialogBoxBase.js +2 -2
  269. package/cypress/pages/dragAndDropIntoCategoriesPage.js +22 -24
  270. package/cypress/pages/drawingResponsePage.js +25 -4
  271. package/cypress/pages/feedbackScalePage.js +3 -0
  272. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +14 -0
  273. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  274. package/cypress/pages/graphingPage.js +19 -1
  275. package/cypress/pages/gridFillPage.js +47 -59
  276. package/cypress/pages/imageHighlightPage.js +364 -0
  277. package/cypress/pages/index.js +6 -1
  278. package/cypress/pages/itemPreviewSettingsPage.js +4 -0
  279. package/cypress/pages/listOrderingPage.js +561 -555
  280. package/cypress/pages/matchingPage.js +3 -2
  281. package/cypress/pages/multipleSelectionPage.js +23 -1
  282. package/cypress/pages/numberLineLabelPage.js +1093 -0
  283. package/cypress/pages/numberLinePage.js +696 -78
  284. package/cypress/pages/protractorPage.js +1 -1
  285. package/cypress/pages/readingRulerPage.js +1 -1
  286. package/cypress/pages/rulerPage.js +9 -5
  287. package/cypress/pages/textEntryMathPage.js +2 -2
  288. package/cypress/pages/textSelectionPage.js +461 -23
  289. package/cypress/pages/videoResponsePage.js +396 -83
  290. package/package.json +1 -1
  291. package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +0 -432
  292. package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +0 -134
@@ -26,7 +26,7 @@ describe('Create question page - Essay Response: Edit category', () => {
26
26
 
27
27
  it('Title of the flyout should be \'Edit category\'', () => {
28
28
  utilities.verifyElementVisibilityState(editCategoryFlyout.dialogBoxTitle(), 'exist');
29
- utilities.verifyInnerText(editCategoryFlyout.dialogBoxTitle(), 'Edit Category');
29
+ utilities.verifyInnerText(editCategoryFlyout.dialogBoxTitle(), 'Edit category');
30
30
  });
31
31
 
32
32
  it('\'Select the symbols to display to the students.\' help text should be displayed below the title', () => {
@@ -13,7 +13,6 @@ describe('Essay response: Customize math characters', () => {
13
13
  describe('Preview tab - \'Special characters\' - content', () => {
14
14
  abortEarlySetup();
15
15
  before(() => {
16
- cy.log('Navigating to drawing response question type');
17
16
  essayResponsePage.steps.navigateToCreateQuestion('essay response');
18
17
  cy.barsPreLoaderWait();
19
18
  });
@@ -114,7 +113,6 @@ describe('Essay response: Customize math characters', () => {
114
113
  describe('\'Special characters\' - functionality', () => {
115
114
  abortEarlySetup();
116
115
  before(() => {
117
- cy.log('Navigating to drawing response question type');
118
116
  essayResponsePage.steps.navigateToCreateQuestion('essay response');
119
117
  cy.barsPreLoaderWait();
120
118
  essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
@@ -1,6 +1,5 @@
1
1
  import abortEarlySetup from "../../../support/helpers/abortEarly";
2
- import { essayResponsePage, dialogBoxBase } from "../../../pages";
3
- import { commonComponents } from "../../../pages/components";
2
+ import { essayResponsePage } from "../../../pages";
4
3
 
5
4
  describe('Create question page - Essay response: Header section and Saving question', () => {
6
5
  before(() => {
@@ -41,24 +40,10 @@ describe('Create question page - Essay response: Header section and Saving quest
41
40
  cy.barsPreLoaderWait();
42
41
  });
43
42
 
44
- describe('Validation error messages', () => {
45
- dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
46
-
47
- it('Validation error messages should be displayed below required input fields', () => {
48
- essayResponsePage.steps.verifyQuestionInstructionsErrorMessage();
49
- essayResponsePage.steps.verifyPointsFieldErrorMessage();
50
- });
51
-
52
- it('Validation error messages should disappear when required input fields are filled', () => {
53
- essayResponsePage.steps.addQuestionInstructions();
54
- essayResponsePage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
55
- essayResponsePage.steps.allotPoints(20);
56
- essayResponsePage.steps.verifyPointsFieldErrorMessageIsNotDisplayed();
57
- });
58
- });
43
+ essayResponsePage.tests.verifyCreateItemWrapperContentsA11y();
59
44
 
60
45
  describe('Saving a question', () => {
61
- it('When user has filled all the mandatory fields then on clicking on Save Question button the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
46
+ it('When user clicks on "Save question" button, then the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
62
47
  essayResponsePage.steps.saveAQuestionAndVerifySnackbar();
63
48
  });
64
49
 
@@ -98,7 +98,6 @@ describe('Essay Response Preview: Hyperlink', () => {
98
98
  it('\'Cancel\' button should be displayed in the popup and when user clicks on it then the popup should close', () => {
99
99
  utilities.verifyElementVisibilityState(essayResponsePage.hyperlinkDialogboxButtonCancel(), 'visible');
100
100
  essayResponsePage.steps.clickOnHyperLinkDialogBoxCancelButton();
101
- utilities.verifyElementVisibilityState(essayResponsePage.hyperlinkDialogboxButtonOk(), 'notExist');
102
101
  utilities.verifyElementVisibilityState(essayResponsePage.hyperlinkDialogboxButtonCancel(), 'notExist');
103
102
  });
104
103
  });
@@ -137,7 +137,6 @@ describe('Essay response math: Customize math characters', () => {
137
137
  describe('Preview tab - toolbar option - \'Math characters\' - content and functionality', () => {
138
138
  abortEarlySetup();
139
139
  before(() => {
140
- cy.log('Navigating to drawing response question type');
141
140
  essayResponseMathPage.steps.navigateToCreateQuestion('essay response - math');
142
141
  cy.barsPreLoaderWait();
143
142
  });
@@ -1,5 +1,7 @@
1
+ import { dialogBoxBase } from "../../../pages";
1
2
  import { feedbackScalePage } from "../../../pages/feedbackScalePage";
2
3
  import abortEarlySetup from "../../../support/helpers/abortEarly";
4
+ import utilities from "../../../support/helpers/utilities";
3
5
 
4
6
  describe('Create question page - Feedback scale: Header section and Saving question', () => {
5
7
  before(() => {
@@ -30,7 +32,33 @@ describe('Create question page - Feedback scale: Header section and Saving quest
30
32
  feedbackScalePage.steps.navigateToCreateQuestion('feedback scale')
31
33
  });
32
34
 
33
- feedbackScalePage.tests.verifyCancelButton('feedback scale');
35
+ it('When user has made no edits and clicks on Cancel button, the user should be directed back to the \'Select a Question\' page', () => {
36
+ feedbackScalePage.steps.clickOnCancelButton();
37
+ utilities.verifyElementVisibilityState(feedbackScalePage.selectAQuestionHeaderText(), 'visible');
38
+ utilities.verifyElementVisibilityState(feedbackScalePage.questionTypeOptionTitle(), 'visible');
39
+ });
40
+
41
+ it('When user has made some edits/changes and clicks on Cancel button, a popup should be displayed', () => {
42
+ feedbackScalePage.steps.selectQuestionType('feedback scale');
43
+ feedbackScalePage.steps.addTextInQuestionInstructionsInputField('Feedback scale');
44
+ feedbackScalePage.steps.clickOnCancelButton();
45
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
46
+ });
47
+
48
+ dialogBoxBase.tests.verifyContentsOfLeavePagePopupWithCSSAnda11y();
49
+
50
+ it(`Clicking on \'No, I'd like to go back\' button should close the popup and user should remain on the edit interface of the question`, () => {
51
+ dialogBoxBase.steps.clickOnRejectButtonInDialogBox();
52
+ feedbackScalePage.steps.verifyEditTabSelectedState();
53
+ utilities.verifyTextContent(feedbackScalePage.questionInstructionsInputField(), 'Feedback scale');
54
+ });
55
+
56
+ it(`Clicking on \'Yes, I want to leave this page\' button should discard all changes and direct the user to the \'Select a question\' page.`, () => {
57
+ feedbackScalePage.steps.clickOnCancelButton();
58
+ dialogBoxBase.steps.clickOnAcceptButtonInDialogBox();
59
+ utilities.verifyElementVisibilityState(feedbackScalePage.selectAQuestionHeaderText(), 'visible');
60
+ utilities.verifyElementVisibilityState(feedbackScalePage.questionTypeOptionTitle(), 'visible');
61
+ });
34
62
  });
35
63
 
36
64
  describe('Saving a question', () => {
@@ -1,6 +1,5 @@
1
1
  import abortEarlySetup from "../../../support/helpers/abortEarly";
2
2
  import { dialogBoxBase, fillInTheGapsDragAndDropPage } from "../../../pages";
3
- import utilities from "../../../support/helpers/utilities";
4
3
  const options = ['Flower', 'Leaves'];
5
4
 
6
5
  describe('Create item page - Fill in the gaps drag and drop: Header section and Saving question', () => {
@@ -46,19 +45,15 @@ describe('Create item page - Fill in the gaps drag and drop: Header section and
46
45
  dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
47
46
 
48
47
  it('Validation error messages should be displayed below required input fields', () => {
49
- fillInTheGapsDragAndDropPage.steps.verifyQuestionInstructionsErrorMessage();
50
48
  fillInTheGapsDragAndDropPage.steps.verifyOptionsInputFieldErrorMessage(0);
51
49
  fillInTheGapsDragAndDropPage.steps.verifyOptionsInputFieldErrorMessage(1);
52
- fillInTheGapsDragAndDropPage.steps.verifyPointsFieldErrorMessage();
53
50
  fillInTheGapsDragAndDropPage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
54
51
  fillInTheGapsDragAndDropPage.steps.verifySpecifyCorrectAnswerErrorMessage();
55
52
  });
56
53
 
57
54
  it('Validation error messages should disappear when required input fields are filled', () => {
58
- fillInTheGapsDragAndDropPage.steps.addTextInQuestionInstructionsInputField('Drag and drop options in the correct dropzone');
59
55
  fillInTheGapsDragAndDropPage.steps.addInputToOptionsInputField(options);
60
56
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Flower': 0, 'Leaves': 1 });
61
- fillInTheGapsDragAndDropPage.steps.allotPoints(10);
62
57
  fillInTheGapsDragAndDropPage.steps.verifyErrorMessageIsNotDisplayed();
63
58
  fillInTheGapsDragAndDropPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
64
59
  });
@@ -30,11 +30,11 @@ describe('Preview tab contents for all views', () => {
30
30
  fillInTheGapsDragAndDropPage.steps.focusInOptionsInputField(0);
31
31
  fillInTheGapsDragAndDropPage.steps.selectImageOptionFromCKEditorToolbar();
32
32
  fillInTheGapsDragAndDropPage.steps.addImageToInputField();
33
- fillInTheGapsDragAndDropPage.steps.enterTextInOptionInputField(0, 'Petals');
33
+ fillInTheGapsDragAndDropPage.steps.addTextInputToOptionsInputFieldWithImage(0);
34
34
  cy.log('Add bold text to input field')
35
35
  fillInTheGapsDragAndDropPage.steps.focusInOptionsInputField(1);
36
36
  fillInTheGapsDragAndDropPage.steps.selectBoldOptionFromCKEditorToolbar();
37
- fillInTheGapsDragAndDropPage.steps.enterTextInOptionInputField(1, 'This is a bold option');
37
+ fillInTheGapsDragAndDropPage.steps.addBoldTextInputToOptionsInputField(1);
38
38
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Solve the following': 1, 'Petals': 2, 'This is a bold option': 0 });
39
39
  fillInTheGapsDragAndDropPage.steps.allotPoints(10);
40
40
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
@@ -327,7 +327,7 @@ describe('Create Item page - Fill in the gaps with drag and drop: Student view s
327
327
  it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
328
328
  fillInTheGapsDragAndDropPage.steps.switchToEditTab();
329
329
  fillInTheGapsDragAndDropPage.steps.expandMaxCheckAnswerAttemptsDropdown();
330
- fillInTheGapsDragAndDropPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('no limit');
330
+ fillInTheGapsDragAndDropPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
331
331
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
332
332
  fillInTheGapsDragAndDropPage.steps.verifyCheckAnswerButtonEnabled();
333
333
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0 });
@@ -46,20 +46,16 @@ describe('Create item page - Fill in the gaps with dropdown: Header section and
46
46
  dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
47
47
 
48
48
  it('Validation error messages should be displayed below required input fields', () => {
49
- fillInTheGapsDropdownPage.steps.verifyQuestionInstructionsErrorMessage();
50
49
  fillInTheGapsDropdownPage.steps.verifyOptionsInputFieldErrorMessage(0);
51
- fillInTheGapsDropdownPage.steps.verifyPointsFieldErrorMessage();
52
50
  fillInTheGapsDropdownPage.steps.verifySpecifyCorrectAnswerErrorMessage();
53
51
  fillInTheGapsDropdownPage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
54
52
  });
55
53
 
56
54
  it('Validation error messages should disappear when required input fields are filled', () => {
57
- fillInTheGapsDropdownPage.steps.addTextInQuestionInstructionsInputField('Select correct option from dropdown');
58
55
  fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown);
59
56
  fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(1, optionsForDropdown);
60
57
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, optionsForDropdown[0]);
61
58
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, optionsForDropdown[1]);
62
- fillInTheGapsDropdownPage.steps.allotPoints(10);
63
59
  fillInTheGapsDropdownPage.steps.verifyErrorMessageIsNotDisplayed();
64
60
  fillInTheGapsDropdownPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
65
61
  });
@@ -171,7 +171,7 @@ describe('Create Item page - Fill in the gaps with dropdown: Student view settin
171
171
  it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
172
172
  fillInTheGapsDropdownPage.steps.switchToEditTab();
173
173
  fillInTheGapsDropdownPage.steps.expandMaxCheckAnswerAttemptsDropdown();
174
- fillInTheGapsDropdownPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('no limit');
174
+ fillInTheGapsDropdownPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
175
175
  fillInTheGapsDropdownPage.steps.switchToPreviewTab();
176
176
  fillInTheGapsDropdownPage.steps.verifyCheckAnswerButtonEnabled();
177
177
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsForDropdown[0] }]);
@@ -144,10 +144,10 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
144
144
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCanvasSelectedMenuText('Select');
145
145
  });
146
146
 
147
- it(`When user selects dropzone, then 9 options ${dropzonePointerStyles} should be displayed and by default ${dropzonePointerStyles[7]} should be selected`, () => {
147
+ it(`When user selects dropzone, then 9 options ${dropzonePointerStyles} should be displayed and by default ${dropzonePointerStyles[0]} should be selected`, () => {
148
148
  fillInTheGapsOverImageDragAndDropPage.steps.selectResponseArea(1);
149
149
  utilities.verifyElementCount(fillInTheGapsOverImageDragAndDropPage.responseAreaStyle(), 9);
150
- fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[7], 1);
150
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[0], 1);
151
151
  });
152
152
 
153
153
  it('CSS of dropzones', { tags: 'css' }, () => {
@@ -220,7 +220,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
220
220
  fillInTheGapsOverImageDragAndDropPage.steps.verifyColorPopupIsDisplayed();
221
221
  });
222
222
 
223
- fillInTheGapsOverImageDragAndDropPage.tests. verifyColorPopupSelectColorTitle();
223
+ fillInTheGapsOverImageDragAndDropPage.tests.verifyColorPopupSelectColorTitle();
224
224
 
225
225
  fillInTheGapsOverImageDragAndDropPage.tests.verifySaturationAndOpacityGradientPalette('rgb(0, 0, 46)');
226
226
 
@@ -189,6 +189,7 @@ describe('Create item page - fill in the gaps over image - drag and drop: Scorin
189
189
  });
190
190
  });
191
191
 
192
+ //Failing die to https://redmine.zeuslearning.com/issues/567278
192
193
  describe('Auto scored: Partial - different weights scoring - Specify correct answer section', () => {
193
194
  abortEarlySetup();
194
195
  before(() => {
@@ -17,7 +17,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Header
17
17
  fillInTheGapsOverImageDragAndDropPage.tests.verifyCreateQuestionPageQuestionTypeHeader('Fill in the gaps over image with drag and drop');
18
18
  });
19
19
 
20
- describe('Tabs section', () => {
20
+ describe('Tabs section', () => {
21
21
  abortEarlySetup();
22
22
  before(() => {
23
23
  fillInTheGapsOverImageDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps over image with drag and drop');
@@ -46,10 +46,10 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Header
46
46
  dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
47
47
 
48
48
  it('Validation error messages should be displayed below required input fields', () => {
49
- fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionInstructionsErrorMessage();
50
- utilities.verifyInnerText(utilities.getNthElement(fillInTheGapsOverImageDragAndDropPage.errorMessage(), 1), 'Error: Image is required.');
51
- utilities.verifyInnerText(utilities.getNthElement(fillInTheGapsOverImageDragAndDropPage.errorMessage(), 2), 'Error: Please insert a dropzone.');
52
- fillInTheGapsOverImageDragAndDropPage.steps.verifyPointsFieldErrorMessage();
49
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
50
+ utilities.verifyInnerText(utilities.getNthElement(fillInTheGapsOverImageDragAndDropPage.errorMessage(), 0), 'Error: Image is required.');
51
+ utilities.verifyInnerText(utilities.getNthElement(fillInTheGapsOverImageDragAndDropPage.errorMessage(), 1), 'Error: Please insert a dropzone.');
52
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyPointsFieldErrorMessageIsNotDisplayed();
53
53
  fillInTheGapsOverImageDragAndDropPage.steps.verifyOptionsInputFieldErrorMessage(0);
54
54
  fillInTheGapsOverImageDragAndDropPage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
55
55
  fillInTheGapsOverImageDragAndDropPage.steps.verifySpecifyCorrectAnswerErrorMessage();
@@ -28,16 +28,16 @@ describe('Preview tab contents for all views', () => {
28
28
  fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(80);
29
29
  fillInTheGapsOverImageDragAndDropPage.steps.insertTextArea(20, 'This is a text area');
30
30
  cy.log('Add image to option input field')
31
+ fillInTheGapsOverImageDragAndDropPage.steps.editOptionInputField(0, 'Petals');
31
32
  fillInTheGapsOverImageDragAndDropPage.steps.focusInOptionsInputField(0);
32
33
  fillInTheGapsOverImageDragAndDropPage.steps.selectImageOptionFromCKEditorToolbar();
33
34
  fillInTheGapsOverImageDragAndDropPage.steps.addImageToInputField();
34
- fillInTheGapsOverImageDragAndDropPage.steps.enterTextInOptionInputField(0, 'Petals');
35
35
  cy.log('Add bold text to input field')
36
36
  fillInTheGapsOverImageDragAndDropPage.steps.focusInOptionsInputField(1);
37
37
  fillInTheGapsOverImageDragAndDropPage.steps.selectBoldOptionFromCKEditorToolbar();
38
38
  fillInTheGapsOverImageDragAndDropPage.steps.enterTextInOptionInputField(1, 'This is a bold option');
39
39
  cy.log('Add equation to option input field')
40
- fillInTheGapsOverImageDragAndDropPage.steps.enterTextInOptionInputField(2, 'Solve the following');
40
+ fillInTheGapsOverImageDragAndDropPage.steps.editOptionInputField(2, 'Solve the following');
41
41
  fillInTheGapsOverImageDragAndDropPage.steps.focusInOptionsInputField(2);
42
42
  fillInTheGapsOverImageDragAndDropPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
43
43
  fillInTheGapsOverImageDragAndDropPage.steps.addGenericEquationUsingEquationEditorToCKEditorInputField();
@@ -280,7 +280,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
280
280
  });
281
281
  });
282
282
 
283
- describe('Allow students to check answer: Edit tab', () => {
283
+ describe('Allow student to check answer: Edit tab', () => {
284
284
  abortEarlySetup();
285
285
  before(() => {
286
286
  fillInTheGapsOverImageDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps over image with drag and drop');
@@ -304,7 +304,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
304
304
  fillInTheGapsOverImageDragAndDropPage.tests.verifyAllowStudentsToCheckAnswerContentsCSSAndA11y();
305
305
  });
306
306
 
307
- describe('Allow students to check answer: Preview tab', () => {
307
+ describe('Allow student to check answer: Preview tab', () => {
308
308
  abortEarlySetup();
309
309
  before(() => {
310
310
  fillInTheGapsOverImageDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps over image with drag and drop');
@@ -321,7 +321,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
321
321
  fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
322
322
  });
323
323
 
324
- it('When the user has added options and specified correct answer and points then on checking the \'Allow students to check answer\' checkbox the Check answer button should be displayed in the preview tab', () => {
324
+ it('When the user has added options and specified correct answer and points then on checking the \'Allow student to check answer\' checkbox the Check answer button should be displayed in the preview tab', () => {
325
325
  fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
326
326
  fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
327
327
  utilities.verifyInnerText(fillInTheGapsOverImageDragAndDropPage.checkAnswerButton(), 'Check answer');
@@ -360,7 +360,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
360
360
  it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
361
361
  fillInTheGapsOverImageDragAndDropPage.steps.switchToEditTab();
362
362
  fillInTheGapsOverImageDragAndDropPage.steps.expandMaxCheckAnswerAttemptsDropdown();
363
- fillInTheGapsOverImageDragAndDropPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('no limit');
363
+ fillInTheGapsOverImageDragAndDropPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
364
364
  fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
365
365
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCheckAnswerButtonEnabled();
366
366
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0 });
@@ -47,22 +47,18 @@ describe('Create item page - Fill in the gaps over image - dropdown: Header sect
47
47
  dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
48
48
 
49
49
  it('Validation error messages should be displayed below required input fields', () => {
50
- fillInTheGapsOverImageDropdownPage.steps.verifyQuestionInstructionsErrorMessage();
51
50
  utilities.verifyInnerText(utilities.getNthElement(commonComponents.errorMessage(), 1), 'Error: Image is required.');
52
51
  utilities.verifyInnerText(utilities.getNthElement(commonComponents.errorMessage(), 2), 'Error: Please insert a dropdown.');
53
- fillInTheGapsOverImageDropdownPage.steps.verifyPointsFieldErrorMessage();
54
52
  fillInTheGapsOverImageDropdownPage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
55
53
  });
56
54
 
57
55
  it('Validation error messages should disappear when required input fields are filled', () => {
58
- fillInTheGapsOverImageDropdownPage.steps.addTextInQuestionInstructionsInputField('Select correct option from dropdown');
59
56
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
60
57
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
61
58
  fillInTheGapsOverImageDropdownPage.steps.insertResponseArea(10);
62
59
  fillInTheGapsOverImageDropdownPage.steps.enterAndVerifyImageAlternativeTextInInputField('Image alternative text');
63
60
  fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown);
64
61
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, optionsForDropdown[0]);
65
- fillInTheGapsOverImageDropdownPage.steps.allotPoints(10);
66
62
  commonComponents.steps.verifyErrorMessageIsNotDisplayed();
67
63
  fillInTheGapsOverImageDropdownPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
68
64
  });
@@ -196,7 +196,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Student vie
196
196
  it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
197
197
  fillInTheGapsOverImageDropdownPage.steps.switchToEditTab();
198
198
  fillInTheGapsOverImageDropdownPage.steps.expandMaxCheckAnswerAttemptsDropdown();
199
- fillInTheGapsOverImageDropdownPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('no limit');
199
+ fillInTheGapsOverImageDropdownPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
200
200
  fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
201
201
  fillInTheGapsOverImageDropdownPage.steps.verifyCheckAnswerButtonEnabled();
202
202
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsForDropdown[0] }]);
@@ -203,17 +203,17 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
203
203
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Branch' }]);
204
204
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(12.6, 15);
205
205
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
206
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
206
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
207
207
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
208
- fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
208
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
209
209
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
210
210
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
211
211
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
212
212
  cy.log('When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers and clicks on \'Check answer\' button, then correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed')
213
213
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
214
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
214
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
215
215
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
216
- fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
216
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
217
217
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
218
218
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();
219
219
  });
@@ -187,7 +187,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
187
187
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
188
188
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
189
189
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
190
- fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Roots']);
190
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Branch']);
191
191
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
192
192
  cy.log('When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion and clicks on the \'Check answer\' button, correct icons should be displayed beside correct accordion responses, incorrect icons should be displayed beside alternative accordion responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
193
193
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
@@ -121,7 +121,7 @@ describe('Create Item page - drag and drop into categories: Student view setting
121
121
  it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
122
122
  fillInTheGapsOverImageTextPage.steps.switchToEditTab();
123
123
  fillInTheGapsOverImageTextPage.steps.expandMaxCheckAnswerAttemptsDropdown();
124
- fillInTheGapsOverImageTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('no limit');
124
+ fillInTheGapsOverImageTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
125
125
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
126
126
  fillInTheGapsOverImageTextPage.steps.verifyCheckAnswerButtonEnabled();
127
127
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
@@ -196,20 +196,20 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
196
196
  fillInTheGapsTextPage.steps.expandCorrectAnswerAccordion();
197
197
  fillInTheGapsTextPage.steps.allotPartialDifferentWeightsPoints({ 0: 1.2, 1: 2.2, 2: 1.6 });
198
198
  fillInTheGapsTextPage.steps.switchToPreviewTab();
199
- fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Branch' }]);
199
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Branch' }]);
200
200
  fillInTheGapsTextPage.steps.verifyPreviewScore(10.4, 23);
201
201
  fillInTheGapsTextPage.steps.switchToGradingView();
202
- fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
202
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
203
203
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
204
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
204
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
205
205
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
206
206
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
207
207
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
208
208
  cy.log('When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers and clicks on the \'Check answer\' button, correct icon icons should be displayed beside the correct responses from the correct accordion, incorrect icons should be displayed beside the incorrectly answered responses, correct/incorrect answer status message and correct answer section should not be displayed')
209
209
  fillInTheGapsTextPage.steps.checkAnswer();
210
- fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
210
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
211
211
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
212
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
212
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
213
213
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
214
214
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
215
215
  });
@@ -199,17 +199,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
199
199
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Branch' }]);
200
200
  fillInTheGapsTextPage.steps.verifyPreviewScore(12.6, 15);
201
201
  fillInTheGapsTextPage.steps.switchToGradingView();
202
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
202
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
203
203
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
204
- fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
204
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
205
205
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
206
206
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
207
207
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
208
208
  cy.log('When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers and clicks on \'Check answer\' button, then correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed')
209
209
  fillInTheGapsTextPage.steps.checkAnswer();
210
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
211
210
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
212
- fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
211
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
213
212
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
214
213
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
215
214
  });
@@ -183,7 +183,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
183
183
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
184
184
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
185
185
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
186
- fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Roots']);
186
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Branch']);
187
187
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
188
188
  cy.log('When the user has attempted the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers and clicks on the \'Check answer\' button, correct icons should be displayed for the alternative accordion response, incorrect icon should be displayed for the correct accordion responses, correct/incorrect answer status message and correct answer section should not be displayed')
189
189
  fillInTheGapsTextPage.steps.checkAnswer();
@@ -74,8 +74,7 @@ describe('Create item page - Fill in the gaps with text: Scoring section', () =>
74
74
  fillInTheGapsTextPage.tests.verifyContentsOfSpecifyCorrectAnswerSection();
75
75
 
76
76
  it('When no points are entered in the points input field, then points per response should not be displayed on the response accordion', () => {
77
- fillInTheGapsTextPage.steps.verifyPointsDisplayedOnResponseAccordion(0, 0);
78
- fillInTheGapsTextPage.steps.verifyPointsDisplayedOnResponseAccordion(1, 0);
77
+ utilities.verifyElementVisibilityState(fillInTheGapsTextPage.responseAccordionPointsLabel(), 'notExist');
79
78
  });
80
79
 
81
80
  it('When the user gives a score input to \'Points\' input field, then the score should be equally divided and displayed on each response tab with a \'Points:\' label', () => {
@@ -57,6 +57,7 @@ describe('Create item page - Fill in the gaps with text: Header section and savi
57
57
  it('Validation error messages should disappear when required input fields are filled', () => {
58
58
  fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Question instruction');
59
59
  fillInTheGapsTextPage.steps.allotPoints(10);
60
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }]);
60
61
  fillInTheGapsTextPage.steps.verifyErrorMessageIsNotDisplayed();
61
62
  fillInTheGapsTextPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
62
63
  });
@@ -11,7 +11,6 @@ describe('Create Item page - Fill in the gaps with text: Student view settings',
11
11
  describe('Student view settings : Spell check - Edit tab functionality', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
- cy.log('Navigating to drawing response question type');
15
14
  fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
16
15
  cy.barsPreLoaderWait();
17
16
  });
@@ -22,7 +21,6 @@ describe('Create Item page - Fill in the gaps with text: Student view settings',
22
21
  describe('Student view settings : Spell check - Preview tab functionality', () => {
23
22
  abortEarlySetup();
24
23
  before(() => {
25
- cy.log('Navigating to drawing response question type');
26
24
  fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
27
25
  cy.barsPreLoaderWait();
28
26
  fillInTheGapsTextPage.steps.switchToPreviewTab();
@@ -114,7 +112,7 @@ describe('Create Item page - Fill in the gaps with text: Student view settings',
114
112
  it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
115
113
  fillInTheGapsTextPage.steps.switchToEditTab();
116
114
  fillInTheGapsTextPage.steps.expandMaxCheckAnswerAttemptsDropdown();
117
- fillInTheGapsTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('no limit');
115
+ fillInTheGapsTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
118
116
  fillInTheGapsTextPage.steps.switchToPreviewTab();
119
117
  fillInTheGapsTextPage.steps.verifyCheckAnswerButtonEnabled();
120
118
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
@@ -161,7 +161,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
161
161
  utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
162
162
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
163
163
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
164
- graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
164
+ graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
165
165
 
166
166
  //Correct answer section
167
167
  utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 2);
@@ -183,7 +183,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
183
183
  utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
184
184
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
185
185
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
186
- graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
186
+ graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
187
187
  graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
188
188
  graphingPage.steps.verifyCorrectAnswerSectionNotExist();
189
189
  });
@@ -203,7 +203,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
203
203
  utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
204
204
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
205
205
  utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
206
- graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
206
+ graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
207
207
 
208
208
  //Correct answer section
209
209
  utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 2);
@@ -226,7 +226,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
226
226
  utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
227
227
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
228
228
  utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
229
- graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
229
+ graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
230
230
  graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
231
231
  graphingPage.steps.verifyCorrectAnswerSectionNotExist();
232
232
  });
@@ -229,7 +229,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
229
229
  utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
230
230
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
231
231
  utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
232
- graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
232
+ graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
233
233
 
234
234
  //Correct answer section
235
235
  utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 2);
@@ -252,7 +252,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
252
252
  utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
253
253
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
254
254
  utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
255
- graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
255
+ graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
256
256
  graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
257
257
  graphingPage.steps.verifyCorrectAnswerSectionNotExist();
258
258
  });
@@ -227,9 +227,9 @@ describe('Graphing: Add background shapes section', () => {
227
227
  graphingPage.steps.switchToEditTab();
228
228
  graphingPage.steps.clickOnGraphTitle();
229
229
  graphingPage.steps.enterTextInTitlePopupAddLabelInputField('Edit graph title');
230
- graphingPage.steps.clickOnTitlePopupCancelButton();
230
+ graphingPage.steps.clickOnTitlePopupSaveButton();
231
231
  graphingPage.steps.switchToPreviewTab();
232
- utilities.verifyInnerText(graphingPage.graphTitlePreviewTab(), 'Graph title');
232
+ utilities.verifyInnerText(graphingPage.graphTitlePreviewTab(), 'Edit graph title');
233
233
  });
234
234
 
235
235
  //X axis