itemengine-cypress-automation 1.0.189-e2e-execution-crash-fbb0d92.0 → 1.0.189

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. package/cypress/e2e/ILC/AudioPlayerNew/allSupportedFileTypes.js +79 -0
  2. package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +647 -0
  3. package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +429 -0
  4. package/cypress/e2e/ILC/AudioPlayerNew/customizePlayerLayoutSettings.js +596 -0
  5. package/cypress/e2e/ILC/AudioPlayerNew/previewContents.smoke.js +162 -0
  6. package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +792 -0
  7. package/cypress/e2e/ILC/AudioPlayerNew/studentViewSettings.js +253 -0
  8. package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +313 -0
  9. package/cypress/e2e/ILC/AudioResponseNew/additionalSettingsBasic.js +1 -22
  10. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +1 -1
  11. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -1
  12. package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -1
  13. package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +2 -11
  14. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +359 -0
  15. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
  16. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +6 -8
  17. package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +417 -28
  18. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
  19. package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +29 -1
  20. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -2
  21. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
  22. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +1 -1
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -0
  24. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -2
  25. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -1
  26. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +1 -1
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +1 -1
  30. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  31. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +3 -4
  32. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  33. package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +1 -0
  34. package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +1 -1
  35. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
  36. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +2 -2
  37. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
  38. package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +2 -2
  39. package/cypress/e2e/ILC/Graphing/studentViewSettings.js +1 -1
  40. package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
  41. package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +11 -3
  42. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +3 -3
  43. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingScoringCellShadeCount.js +2 -2
  44. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +143 -0
  45. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +132 -0
  46. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +143 -0
  47. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +144 -0
  48. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +143 -0
  49. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +131 -0
  50. package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +87 -0
  51. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +446 -0
  52. package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +1 -1
  53. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +194 -0
  54. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +195 -0
  55. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +274 -0
  56. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingPenaltyScoring.js +48 -0
  57. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +144 -0
  58. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +252 -0
  59. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsBasic.js +102 -0
  60. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +256 -0
  61. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +253 -0
  62. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +308 -0
  63. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +225 -0
  64. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +151 -0
  65. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +196 -0
  66. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +227 -0
  67. package/cypress/e2e/ILC/ListOrderingDropdown/additionalSettings.js +91 -0
  68. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +230 -0
  69. package/cypress/e2e/ILC/ListOrderingDropdown/checkAnswerFunctionalityForAllViews.smoke.js +124 -0
  70. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +221 -0
  71. package/cypress/e2e/ILC/ListOrderingDropdown/editTabScoring.js +203 -0
  72. package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +71 -0
  73. package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +197 -0
  74. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +201 -0
  75. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +115 -0
  76. package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +183 -0
  77. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +216 -0
  78. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +214 -0
  79. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +273 -0
  80. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingPenaltyScoring.js +52 -0
  81. package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +128 -0
  82. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +279 -0
  83. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +109 -0
  84. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +278 -0
  85. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +278 -0
  86. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +335 -0
  87. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +250 -0
  88. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +161 -0
  89. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +216 -0
  90. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +252 -0
  91. package/cypress/e2e/ILC/ListOrderingNew/additionalSettings.js +118 -0
  92. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +243 -0
  93. package/cypress/e2e/ILC/ListOrderingNew/checkAnswerFunctionalityForAllViews.smoke.js +128 -0
  94. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +155 -0
  95. package/cypress/e2e/ILC/ListOrderingNew/editTabScoring.js +195 -0
  96. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +78 -0
  97. package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +69 -0
  98. package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
  99. package/cypress/e2e/ILC/ListOrderingNew/previewContentsForAllViews.smoke.js +176 -0
  100. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +112 -0
  101. package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +244 -0
  102. package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
  103. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +1 -0
  104. package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +1 -1
  105. package/cypress/e2e/ILC/NumberLine/LayoutSection.js +209 -0
  106. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +1 -1
  107. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +1 -1
  108. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
  109. package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +1 -1
  110. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +1 -1
  111. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +1 -1
  112. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +1 -1
  113. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +1 -1
  114. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +58 -2
  115. package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +1 -1
  116. package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +1 -1
  117. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  118. package/cypress/e2e/ILC/NumberLine/headerSection.js +1 -1
  119. package/cypress/e2e/ILC/NumberLine/lineSettingsSection.js +33 -0
  120. package/cypress/e2e/ILC/NumberLine/numberLineSection.js +50 -0
  121. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +2 -2
  122. package/cypress/e2e/ILC/NumberLine/specifyCorrectAnswerSection.js +1 -1
  123. package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +2 -2
  124. package/cypress/e2e/ILC/NumberLine/toolSettings.js +2 -1
  125. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +1 -1
  126. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +696 -0
  127. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +173 -0
  128. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/layoutSection.js +211 -0
  129. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +75 -0
  130. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +204 -0
  131. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +229 -0
  132. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +229 -0
  133. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +229 -0
  134. package/cypress/e2e/ILC/NumberLineLabel/Scoring/manualAndNonScoredScoring.js +169 -0
  135. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +274 -0
  136. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsBasic.js +433 -0
  137. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +274 -0
  138. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +274 -0
  139. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +249 -0
  140. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsBasic.js +135 -0
  141. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +210 -0
  142. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +248 -0
  143. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +115 -0
  144. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +288 -0
  145. package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +153 -0
  146. package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +326 -0
  147. package/cypress/e2e/ILC/NumberLineLabel/editTabScoring.js +234 -0
  148. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +164 -0
  149. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +80 -0
  150. package/cypress/e2e/ILC/NumberLineLabel/layoutSection.js +204 -0
  151. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +79 -0
  152. package/cypress/e2e/ILC/NumberLineLabel/minimumScoringPenaltyPointsAndRoundingDropdown.js +85 -0
  153. package/cypress/e2e/ILC/NumberLineLabel/numberLineSection.js +51 -0
  154. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +120 -0
  155. package/cypress/e2e/ILC/NumberLineLabel/specifyCorrectAnswerSection.js +74 -0
  156. package/cypress/e2e/ILC/NumberLineLabel/studentViewSettings.js +183 -0
  157. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +76 -0
  158. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +292 -0
  159. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/checkAnswerFunctionalityForAllViews.smoke.js +155 -0
  160. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +166 -0
  161. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/layoutSection.js +360 -0
  162. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +80 -0
  163. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +111 -0
  164. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
  165. package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +49 -1
  166. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +1 -1
  167. package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +1 -1
  168. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +2 -2
  169. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -1
  170. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -1
  171. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -1
  172. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +0 -1
  173. package/cypress/e2e/ILC/TextSelection/additionalSettings.js +125 -0
  174. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -1
  175. package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  176. package/cypress/e2e/ILC/TextSelection/editTabScoringSection.js +5 -4
  177. package/cypress/e2e/ILC/TextSelection/headerSection.js +73 -0
  178. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +6 -7
  179. package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +179 -0
  180. package/cypress/e2e/ILC/TextSelection/specifyCorrectAnswerSection.js +89 -0
  181. package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +436 -0
  182. package/cypress/e2e/ILC/TextSelection/styleAndLayoutCustomizationAccordion.js +277 -0
  183. package/cypress/e2e/ILC/TextSelection/textSelectionModesInPreviewTab.js +222 -0
  184. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +260 -0
  185. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +380 -0
  186. package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +5 -5
  187. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
  188. package/cypress/e2e/ILC/VideoResponseNew/additionalSettingsBasic.js +77 -0
  189. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControls.js +313 -0
  190. package/cypress/e2e/ILC/VideoResponseNew/editAndPreviewTabScoringSection.js +99 -0
  191. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +171 -0
  192. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +179 -0
  193. package/cypress/e2e/ILC/VideoResponseNew/headerSection.js +79 -0
  194. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +201 -0
  195. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +567 -0
  196. package/cypress/e2e/ILC/VideoResponseNew/studentViewSettings.js +194 -0
  197. package/cypress/fixtures/constants.js +1 -1
  198. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
  199. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +20 -20
  200. package/cypress/fixtures/theme/ilc.json +22 -18
  201. package/cypress/pages/audioPlayerPage.js +668 -446
  202. package/cypress/pages/audioResponsePage.js +8 -80
  203. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  204. package/cypress/pages/chartsBarPage.js +231 -0
  205. package/cypress/pages/chartsDotPlotPage.js +8 -0
  206. package/cypress/pages/chartsLinePage.js +42 -0
  207. package/cypress/pages/components/allowTeachersToDownloadStudentResponseComponent.js +58 -0
  208. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +13 -23
  209. package/cypress/pages/components/autoScoredStudentViewSettings.js +6 -6
  210. package/cypress/pages/components/barAndLineChartComponent.js +120 -0
  211. package/cypress/pages/components/chartsCommonComponent.js +105 -0
  212. package/cypress/pages/components/commonComponents.js +1 -0
  213. package/cypress/pages/components/draggableOptionContainer.js +2 -1
  214. package/cypress/pages/components/equationEditorFlyout.js +3 -2
  215. package/cypress/pages/components/essayResponseCommonComponents.js +8 -2
  216. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -0
  217. package/cypress/pages/components/imageCanvasComponent.js +2 -1
  218. package/cypress/pages/components/index.js +7 -0
  219. package/cypress/pages/components/layoutSectionComponent.js +1156 -0
  220. package/cypress/pages/components/limitNumberOfRetakeComponent.js +90 -0
  221. package/cypress/pages/components/numberLineCommonComponent.js +685 -0
  222. package/cypress/pages/components/optionsWrapperComponent.js +13 -2
  223. package/cypress/pages/components/playbackControlsBaseComponent.js +20 -13
  224. package/cypress/pages/components/questionInstructionsComponent.js +3 -19
  225. package/cypress/pages/components/styleAndLayoutCustomizationAccordionComponent.js +46 -0
  226. package/cypress/pages/components/toolSettingsComponent.js +6 -0
  227. package/cypress/pages/contentBlocksPage.js +18 -2
  228. package/cypress/pages/createItemPage.js +75 -8
  229. package/cypress/pages/dialogBoxBase.js +2 -2
  230. package/cypress/pages/drawingResponsePage.js +24 -4
  231. package/cypress/pages/feedbackScalePage.js +3 -0
  232. package/cypress/pages/graphingPage.js +19 -1
  233. package/cypress/pages/gridFillPage.js +47 -59
  234. package/cypress/pages/index.js +5 -1
  235. package/cypress/pages/itemPreviewSettingsPage.js +4 -0
  236. package/cypress/pages/listOrderingPage.js +561 -555
  237. package/cypress/pages/matchingPage.js +1 -1
  238. package/cypress/pages/multipleSelectionPage.js +23 -1
  239. package/cypress/pages/numberLineLabelPage.js +1086 -0
  240. package/cypress/pages/numberLinePage.js +696 -78
  241. package/cypress/pages/rulerPage.js +6 -2
  242. package/cypress/pages/textSelectionPage.js +461 -23
  243. package/cypress/pages/videoResponsePage.js +393 -81
  244. package/package.json +1 -1
@@ -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', () => {
@@ -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', () => {
@@ -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 });
@@ -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] }]);
@@ -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(() => {
@@ -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();
@@ -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 });
@@ -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();
@@ -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
  });
@@ -114,7 +114,7 @@ describe('Create Item page - Fill in the gaps with text: Student view settings',
114
114
  it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
115
115
  fillInTheGapsTextPage.steps.switchToEditTab();
116
116
  fillInTheGapsTextPage.steps.expandMaxCheckAnswerAttemptsDropdown();
117
- fillInTheGapsTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('no limit');
117
+ fillInTheGapsTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
118
118
  fillInTheGapsTextPage.steps.switchToPreviewTab();
119
119
  fillInTheGapsTextPage.steps.verifyCheckAnswerButtonEnabled();
120
120
  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
@@ -103,7 +103,7 @@ describe('Create Item page - Graphing: Student view settings', () => {
103
103
  it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
104
104
  graphingPage.steps.switchToEditTab();
105
105
  graphingPage.steps.expandMaxCheckAnswerAttemptsDropdown();
106
- graphingPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('no limit');
106
+ graphingPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
107
107
  graphingPage.steps.switchToPreviewTab();
108
108
  graphingPage.steps.verifyCheckAnswerButtonEnabled();
109
109
  graphingPage.steps.selectGraphToolOptionPreviewTab('Vector');
@@ -62,8 +62,6 @@ describe('Create item page - grid fill - Check answer functionality', () => {
62
62
  break;
63
63
  case 'Student view':
64
64
  cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
65
- cy.log('Adding wait so that student view loads properly');
66
- cy.wait(5000);
67
65
  break;
68
66
  }
69
67
  });
@@ -110,6 +108,9 @@ describe('Create item page - grid fill - Check answer functionality', () => {
110
108
  });
111
109
 
112
110
  it('When user attempts the question correctly and clicks on \'Check answer\' button, then correct icon tick should be displayed in the correct answer cell, correct answer border should be displayed around correct answer cell and a status message with text \'Your answer is correct\' should be displayed', () => {
111
+ if (view === 'Grading view') {
112
+ studentViewPage.steps.clearResponses();
113
+ };
113
114
  gridFillPage.steps.selectCellPreviewTab(0, 0);
114
115
  gridFillPage.steps.selectCellPreviewTab(0, 1);
115
116
  checkAnswer(view);
@@ -84,7 +84,7 @@ describe('Create Item page - Grid fill : Grid layout', () => {
84
84
  gridFillPage.steps.verifyRowInputStepperIncreaseButtonIsDisabled();
85
85
  gridFillPage.steps.verifyColumnInputStepperIncreaseButtonIsDisabled();
86
86
  gridFillPage.steps.expandOpenTheGridSelectorDropdown();
87
- gridFillPage.steps.verifySelectedRowsAndColumns(9,17);
87
+ gridFillPage.steps.verifySelectedRowsAndColumns(9, 17);
88
88
  gridFillPage.steps.collapseOpenTheGridSelectorDropdown();
89
89
  });
90
90
 
@@ -142,16 +142,20 @@ describe('Create Item page - Grid fill : Grid layout', () => {
142
142
  gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
143
143
  });
144
144
 
145
- it('When \'Make responsive for mobile\' checkbox is checked and user enters value less than 44 in cell height input field then value should reset to 44', () => {
145
+ it('When \'Make responsive for mobile\' checkbox is checked and user enters value less than 44 in cell height input field then value should reset to 44 and an help text should be displayed', () => {
146
146
  gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
147
147
  gridFillPage.steps.updateValueInCellHeightInputField(20);
148
148
  gridFillPage.steps.verifyCellHeightInputField(44);
149
+ utilities.verifyElementVisibilityState(gridFillPage.makeResponsiveHelpText(), 'visible');
150
+ utilities.verifyInnerText(gridFillPage.makeResponsiveHelpText(), 'The cell dimension was automatically adjusted to be at least 44 pixels.');
149
151
  });
150
152
 
151
- it('When \'Make responsive for mobile\' checkbox is checked and user enters value less than 44 in cell width input field then value should reset to 44', () => {
153
+ it('When \'Make responsive for mobile\' checkbox is checked and user enters value less than 44 in cell width input field then value should reset to 44 and an help text should be displayed', () => {
152
154
  gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
153
155
  gridFillPage.steps.updateValueInCellWidthInputField(20);
154
156
  gridFillPage.steps.verifyCellWidthInputField(44);
157
+ utilities.verifyElementVisibilityState(gridFillPage.makeResponsiveHelpText(), 'visible');
158
+ utilities.verifyInnerText(gridFillPage.makeResponsiveHelpText(), 'The cell dimension was automatically adjusted to be at least 44 pixels.');
155
159
  });
156
160
 
157
161
  it('When \'Make responsive for mobile\' checkbox is checked and user enters value more than 200 in cell height input field then value should reset to 200', () => {
@@ -171,6 +175,10 @@ describe('Create Item page - Grid fill : Grid layout', () => {
171
175
  gridFillPage.steps.verifyMakeResponsiveCheckboxUnchecked();
172
176
  });
173
177
 
178
+ it('When \'Make responsive for mobile\' checkbox is unchecked then a the help text should not be displayed', () => {
179
+ utilities.verifyElementVisibilityState(gridFillPage.makeResponsiveHelpText(), 'notExist');
180
+ });
181
+
174
182
  it('When user unchecks \'Make responsive for mobile\' checkbox then values in cell height and cell width should remain unchanged', () => {
175
183
  gridFillPage.steps.verifyMakeResponsiveCheckboxUnchecked();
176
184
  gridFillPage.steps.verifyCellHeightInputField(200);
@@ -60,7 +60,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
60
60
  }
61
61
  if (view === 'Student view') {
62
62
  studentViewPage.steps.submitResponse();
63
- utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'visible');
63
+ utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'exist');
64
64
  }
65
65
  });
66
66
 
@@ -73,7 +73,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
73
73
  utilities.verifyElementVisibilityState(gridFillPage.gridWrapperPreviewTab(), 'visible');
74
74
  gridFillPage.steps.verifyRowsCountPreviewTab(4);
75
75
  gridFillPage.steps.verifyColumnsCountPreviewTab(6);
76
- utilities.verifyElementCount(gridFillPage.cellInPreviewTab(), 24);
76
+ gridFillPage.steps.getCellCountInGridPreviewTab(24);
77
77
  });
78
78
 
79
79
  it('Cell with \'Hide\' customization should be displayed', () => {
@@ -163,7 +163,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
163
163
  utilities.verifyCSS(utilities.getNthElement(gridFillPage.cellInPreviewTab(), 7), {
164
164
  'border-color': css.color.figDefaultComponentBorder
165
165
  });
166
- gridFillPage.steps.verifyDefaultResponseBackgroundColorPreviewTab(1,2);
166
+ gridFillPage.steps.verifyDefaultResponseBackgroundColorPreviewTab(1, 2);
167
167
  break;
168
168
  case 'Grading view':
169
169
  case 'Correct answer view':
@@ -1,7 +1,7 @@
1
1
  import { gridFillPage } from "../../../../pages";
2
2
  import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
3
 
4
- describe('Create item page - Grid fill : Partial equal weights', () => {
4
+ describe('Create item page - Grid fill : All or nothing with alternative answers', () => {
5
5
  before(() => {
6
6
  cy.loginAs('admin');
7
7
  });
@@ -92,7 +92,7 @@ describe('Create item page - Grid fill : Partial equal weights', () => {
92
92
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
93
93
  });
94
94
 
95
- it('When user attempt questions by selecting the exact number of cells specified in specify correct answer section and one extra response, then user should be awarded 0 points and when user unselects the extra response then user should be awarded full points', () => {
95
+ it('When user attempt questions by selecting the exact number of cells specified in specify correct answer section and one extra response, then user should be awarded 0 points and when user unselects the extra response then user should be awarded full points ', () => {
96
96
  gridFillPage.steps.resetQuestionPreview();
97
97
  gridFillPage.steps.selectCellPreviewTab(1, 1);
98
98
  gridFillPage.steps.selectCellPreviewTab(1, 3);