itemengine-cypress-automation 1.0.283-applitools-caab082.0 → 1.0.283

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -36
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -14
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
  5. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
  6. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -18
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -16
  10. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -18
  11. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  12. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -17
  13. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -18
  14. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  15. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -16
  16. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
  17. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -16
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
  26. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -35
  28. package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
  29. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  45. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -16
  46. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +3 -12
  47. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -14
  48. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -15
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +4 -13
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -14
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -14
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
  59. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
  60. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -14
  61. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
  62. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -15
  63. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  64. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
  65. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -17
  66. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
  67. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -16
  68. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
  69. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -14
  70. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
  71. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -13
  72. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -14
  73. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
  74. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -16
  75. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
  76. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -15
  77. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -12
  78. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  79. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  80. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  81. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  82. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
  83. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  84. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  85. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  86. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  87. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  88. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  89. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  90. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  91. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  92. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -15
  93. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +4 -13
  94. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
  95. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  100. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  101. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  102. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  103. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  104. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  105. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  106. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  107. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  108. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -15
  109. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
  110. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -20
  111. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
  112. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
  113. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -15
  114. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
  115. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -15
  116. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  117. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  118. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -15
  119. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  120. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  121. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -15
  122. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +0 -10
  123. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
  124. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -15
  125. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  126. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -10
  127. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
  128. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
  129. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
  130. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -13
  131. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -14
  132. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
  133. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -13
  134. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
  135. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
  136. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -15
  137. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
  138. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
  139. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
  140. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
  141. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
  142. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
  143. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
  144. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
  145. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
  146. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
  147. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
  148. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
  149. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
  150. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
  151. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
  152. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  153. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
  154. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -24
  155. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -15
  156. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  157. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
  158. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  159. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  160. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  161. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  162. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
  163. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  164. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +12 -22
  165. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
  166. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -14
  167. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -17
  168. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -17
  169. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -12
  170. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -12
  171. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
  172. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
  173. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -17
  174. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -12
  175. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
  176. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
  177. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -19
  178. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  179. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -14
  180. package/cypress/pages/audioPlayerPage.js +4 -4
  181. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
  182. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  183. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
  184. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  185. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
  186. package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
  187. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  188. package/cypress/pages/createItemPage.js +38 -1
  189. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  190. package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
  191. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
  192. package/cypress/pages/listOrderingPage.js +1 -1
  193. package/cypress/pages/matchingPage.js +34 -7
  194. package/cypress/pages/multipleSelectionPage.js +17 -2
  195. package/cypress/pages/numberLineLabelPage.js +3 -3
  196. package/cypress/pages/readingRulerPage.js +5 -3
  197. package/cypress/pages/singleSelectionPage.js +5 -2
  198. package/cypress/pages/textEntryMathPage.js +19 -5
  199. package/cypress/pages/textSelectionPage.js +1 -1
  200. package/cypress/support/commands.js +0 -11
  201. package/cypress/support/e2e.js +0 -1
  202. package/package.json +1 -4
  203. package/cypress/e2e/applitools.config.js +0 -14
@@ -11,14 +11,6 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
- beforeEach(() => {
15
- cy.startApplitools();
16
- });
17
-
18
- afterEach(() => {
19
- cy.eyesClose();
20
- });
21
-
22
14
  if (!grepTags || !grepTags.includes('smoke')) {
23
15
  describe('Question preview modes: Student view and Grading view', () => {
24
16
  abortEarlySetup();
@@ -103,7 +95,7 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
103
95
  });
104
96
  };
105
97
 
106
- it(`${view}: FIG over image Text - When the user selects \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, and correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration`, () => {
98
+ it('When the user selects \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
107
99
  if (view === 'Grading view') {
108
100
  studentViewPage.steps.submitResponse();
109
101
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -121,7 +113,7 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
121
113
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
122
114
  });
123
115
 
124
- it(`${view}: FIG over image Text - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
116
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
125
117
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
126
118
  if (view === 'Grading view') {
127
119
  studentViewPage.steps.submitResponse();
@@ -138,10 +130,9 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
138
130
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
139
131
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
140
132
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
141
- cy.eyesCheckWindow(`FIG over image text - ${view} - Attempting the question incorrectly`);
142
133
  });
143
134
 
144
- it(`${view}: FIG over image Text - When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
135
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
145
136
  if (view === 'Grading view') {
146
137
  studentViewPage.steps.clearResponses();
147
138
  };
@@ -163,7 +154,7 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
163
154
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
164
155
  });
165
156
 
166
- it(`${view}: FIG over image Text - When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed`, () => {
157
+ it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
167
158
  if (view === 'Grading view') {
168
159
  studentViewPage.steps.clearResponses();
169
160
  };
@@ -185,7 +176,6 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
185
176
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
186
177
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
187
178
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();
188
- cy.eyesCheckWindow(`FIG over image text - ${view} view - Attempting the question correctly`);
189
179
  });
190
180
  });
191
181
  });
@@ -9,14 +9,6 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
9
9
  cy.loginAs('admin');
10
10
  });
11
11
 
12
- beforeEach(() => {
13
- cy.startApplitools();
14
- });
15
-
16
- afterEach(() => {
17
- cy.eyesClose();
18
- });
19
-
20
12
  views.forEach((view) => {
21
13
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
22
14
  abortEarlySetup();
@@ -70,10 +62,9 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
70
62
  }
71
63
  });
72
64
 
73
- it(`${view} - Fill in the gaps over image text Question instructions should be visible`, () => {
65
+ it('Question instructions should be visible', () => {
74
66
  utilities.verifyInnerText(fillInTheGapsOverImageTextPage.questionInstructionsText(), 'Fill in the gaps');
75
67
  utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.questionInstructionsText(), 'visible');
76
- cy.eyesCheckWindow(`${view} - Fill in the gaps over image text - Filled answer input fields`);
77
68
  });
78
69
 
79
70
  it('The image uploaded in the \'Background image\' section should be displayed', () => {
@@ -86,12 +77,12 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
86
77
  fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '' }, { responseIndex: 1, responseText: '' }, { responseIndex: 2, responseText: '' }]);
87
78
  });
88
79
 
89
- it(`User should be able to enter text in the answer input fields`, () => {
80
+ it('User should be able to enter text in the answer input fields', () => {
90
81
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
91
82
  fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
92
83
  });
93
84
  } else if (view === 'Grading view') {
94
- it(`The answer input fields should be displayed filled with answers`, () => {
85
+ it('The answer input fields should be displayed filled with answers', () => {
95
86
  utilities.verifyElementCount(fillInTheGapsOverImageTextPage.answerInputFieldPreviewTab(), 3);
96
87
  fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
97
88
  });
@@ -102,7 +93,7 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
102
93
  fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldDisabled(2);
103
94
  });
104
95
  } else {
105
- it(`The answer input fields should be displayed filled with correct answers`, () => {
96
+ it('The answer input fields should be displayed filled with correct answers', () => {
106
97
  utilities.verifyElementCount(fillInTheGapsOverImageTextPage.answerInputFieldPreviewTab(), 3);
107
98
  fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
108
99
  });
@@ -0,0 +1,237 @@
1
+ import { dialogBoxBase, fillInTheGapsTextPage, gradingViewPage, itemPreviewPage, studentViewPage } from "../../../../pages";
2
+ import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
+ import utilities from "../../../../support/helpers/utilities";
4
+ var itemReferenceID = "";
5
+
6
+ describe('Create item page - Fill in the gaps with text: Partial equal weights for blank responses', () => {
7
+ before(() => {
8
+ cy.loginAs('admin');
9
+ });
10
+
11
+ describe(`Auto scored - All or nothing scoring`, () => {
12
+ abortEarlySetup();
13
+ before(() => {
14
+ fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
15
+ cy.barsPreLoaderWait();
16
+ fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
17
+ fillInTheGapsTextPage.steps.allotPoints(24);
18
+ fillInTheGapsTextPage.steps.addResponseArea();
19
+ fillInTheGapsTextPage.steps.switchToPreviewTab();
20
+ });
21
+
22
+ it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
23
+ fillInTheGapsTextPage.steps.switchToGradingView();
24
+ fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
25
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
26
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
27
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
28
+ fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
29
+ utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
30
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
31
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
32
+ });
33
+
34
+ it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
35
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
36
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
37
+ fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
38
+ fillInTheGapsTextPage.steps.switchToGradingView();
39
+ fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
40
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
41
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
42
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
43
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
44
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
45
+ });
46
+
47
+ it('When the user has not set any answer in the \'Specify correct answer\' section and enters incorrect response in any response in the preview tab then correct icons should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect responses, points for the correct answers should be allocated and correct answer section should be displayed', () => {
48
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
49
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
50
+ fillInTheGapsTextPage.steps.switchToGradingView();
51
+ fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
52
+ //Failing due to https://redmine.zeuslearning.com/issues/588679
53
+ // fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
54
+ // fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
55
+ // fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
56
+ // fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
57
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
58
+ });
59
+
60
+ it('When the user sets an answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
61
+ fillInTheGapsTextPage.steps.switchToEditTab();
62
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
63
+ fillInTheGapsTextPage.steps.switchToPreviewTab();
64
+ fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
65
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
66
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
67
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
68
+ fillInTheGapsTextPage.steps.switchToGradingView();
69
+ fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
70
+ fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
71
+ utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
72
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
73
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
74
+ });
75
+
76
+ it('When the user has set an answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
77
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
78
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
79
+ fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
80
+ fillInTheGapsTextPage.steps.switchToGradingView();
81
+ fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
82
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
83
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
84
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
85
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
86
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
87
+ });
88
+
89
+ it('When the user has set an answer in the \'Specify correct answer\' section and enters responses in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
90
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
91
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
92
+ fillInTheGapsTextPage.steps.switchToGradingView();
93
+ fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
94
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
95
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
96
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
97
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
98
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
99
+ });
100
+
101
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
102
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
103
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
104
+ fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
105
+ fillInTheGapsTextPage.steps.switchToGradingView();
106
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
107
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
108
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
109
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
110
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
111
+ });
112
+
113
+ it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
114
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
115
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
116
+ fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
117
+ fillInTheGapsTextPage.steps.switchToGradingView();
118
+ fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
119
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
120
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
121
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
122
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
123
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
124
+ });
125
+ });
126
+
127
+ describe(`Auto scored - Partial equal weights`, () => {
128
+ abortEarlySetup();
129
+ before(() => {
130
+ fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
131
+ cy.barsPreLoaderWait();
132
+ fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
133
+ fillInTheGapsTextPage.steps.selectAutoScoredScoringSubtype('Partial equal weights')
134
+ fillInTheGapsTextPage.steps.allotPoints(24);
135
+ fillInTheGapsTextPage.steps.addResponseArea();
136
+ fillInTheGapsTextPage.steps.switchToPreviewTab();
137
+ });
138
+
139
+ it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
140
+ fillInTheGapsTextPage.steps.switchToGradingView();
141
+ fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
142
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
143
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
144
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
145
+ fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
146
+ utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
147
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
149
+ });
150
+
151
+ it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
152
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
153
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
154
+ fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
155
+ fillInTheGapsTextPage.steps.switchToGradingView();
156
+ fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
157
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
158
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
159
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
160
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
161
+ });
162
+
163
+ it('When the user has not set any answer in the \'Specify correct answer\' section and enters incorrect response in any response in the preview tab then correct icons should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect responses, points for the correct answers should be allocated and correct answer section should be displayed', () => {
164
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
165
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
166
+ fillInTheGapsTextPage.steps.switchToGradingView();
167
+ fillInTheGapsTextPage.steps.verifyPreviewScore(16, 24);
168
+ //Failing due to https://redmine.zeuslearning.com/issues/588679
169
+ // fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
170
+ // fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
171
+ // fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
172
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
173
+ });
174
+
175
+ it('When the user sets an answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
176
+ fillInTheGapsTextPage.steps.switchToEditTab();
177
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
178
+ fillInTheGapsTextPage.steps.switchToPreviewTab();
179
+ fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
180
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
181
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
182
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
183
+ fillInTheGapsTextPage.steps.switchToGradingView();
184
+ fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
185
+ fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
186
+ utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
187
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
189
+ });
190
+
191
+ it('When the user has set an answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
192
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
193
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
194
+ fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
195
+ fillInTheGapsTextPage.steps.switchToGradingView();
196
+ fillInTheGapsTextPage.steps.verifyPreviewScore(8, 24);
197
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
198
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
199
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
200
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
201
+ });
202
+
203
+ it('When the user has set an answer in the \'Specify correct answer\' section and enters responses in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
204
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
205
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
206
+ fillInTheGapsTextPage.steps.switchToGradingView();
207
+ fillInTheGapsTextPage.steps.verifyPreviewScore(16, 24);
208
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
209
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
210
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
211
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
212
+ });
213
+
214
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
215
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
216
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
217
+ fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
218
+ fillInTheGapsTextPage.steps.switchToGradingView();
219
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
220
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
221
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
222
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
223
+ });
224
+
225
+ it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
226
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
227
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
228
+ fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
229
+ fillInTheGapsTextPage.steps.switchToGradingView();
230
+ fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
231
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
232
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
233
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
234
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
235
+ });
236
+ });
237
+ });
@@ -11,14 +11,6 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
- beforeEach(() => {
15
- cy.startApplitools();
16
- });
17
-
18
- afterEach(() => {
19
- cy.eyesClose();
20
- });
21
-
22
14
  if (!grepTags || !grepTags.includes('smoke')) {
23
15
  describe('Question preview modes: Student view and Grading view', () => {
24
16
  abortEarlySetup();
@@ -95,7 +87,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
95
87
  });
96
88
  };
97
89
 
98
- it(`${view}: FIG text - When the user selects \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration and correct/incorrect status message should not be displayed`, () => {
90
+ it('When the user selects \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
99
91
  if (view === 'Grading view') {
100
92
  studentViewPage.steps.submitResponse();
101
93
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -113,7 +105,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
113
105
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
114
106
  });
115
107
 
116
- it(`${view}: FIG text - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
108
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
117
109
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
118
110
  if (view === 'Grading view') {
119
111
  studentViewPage.steps.submitResponse();
@@ -130,10 +122,9 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
130
122
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
131
123
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
132
124
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
133
- cy.eyesCheckWindow(`FIG Text - ${view} - Attempting the question incorrectly`);
134
125
  });
135
126
 
136
- it(`${view}: FIG text - When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
127
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
137
128
  if (view === 'Grading view') {
138
129
  studentViewPage.steps.clearResponses();
139
130
  };
@@ -155,7 +146,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
155
146
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
156
147
  });
157
148
 
158
- it(`${view}: FIG text - When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed`, () => {
149
+ it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
159
150
  if (view === 'Grading view') {
160
151
  studentViewPage.steps.clearResponses();
161
152
  };
@@ -176,7 +167,6 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
176
167
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
177
168
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
178
169
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
179
- cy.eyesCheckWindow(`FIG Text - ${view} - Attempting the question correctly`);
180
170
  });
181
171
  });
182
172
  });
@@ -11,14 +11,6 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
- beforeEach(() => {
15
- cy.startApplitools();
16
- });
17
-
18
- afterEach(() => {
19
- cy.eyesClose();
20
- });
21
-
22
14
  views.forEach((view) => {
23
15
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
24
16
  abortEarlySetup();
@@ -68,10 +60,9 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
68
60
  }
69
61
  });
70
62
 
71
- it(`Fill in the gaps text - ${view} Question instructions should be visible`, () => {
63
+ it('Question instructions should be visible', () => {
72
64
  utilities.verifyInnerText(fillInTheGapsTextPage.questionInstructionsText(), 'Fill in the gaps');
73
65
  utilities.verifyElementVisibilityState(fillInTheGapsTextPage.questionInstructionsText(), 'visible');
74
- cy.eyesCheckWindow(`Fill in the gaps text - ${view} - Default question state`);
75
66
  });
76
67
 
77
68
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -81,12 +72,12 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
81
72
  fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '' }, { responseIndex: 1, responseText: '' }, { responseIndex: 2, responseText: '' }]);
82
73
  });
83
74
 
84
- it(`Fill in the gaps text - ${view} User should be able to enter text in the answer input fields`, () => {
75
+ it('User should be able to enter text in the answer input fields', () => {
85
76
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
86
77
  fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
87
78
  });
88
79
  } else if (view === 'Grading view') {
89
- it(`Fill in the gaps text - ${view} The answer input fields should be displayed filled with answers`, () => {
80
+ it('The answer input fields should be displayed filled with answers', () => {
90
81
  utilities.verifyElementCount(fillInTheGapsTextPage.answerInputFieldPreviewTab(), 3);
91
82
  fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
92
83
  });
@@ -97,7 +88,7 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
97
88
  fillInTheGapsTextPage.steps.verifyAnswerInputFieldDisabled(2);
98
89
  });
99
90
  } else {
100
- it(`Fill in the gaps text - ${view} The answer input fields should be displayed filled with correct answers`, () => {
91
+ it('The answer input fields should be displayed filled with correct answers', () => {
101
92
  utilities.verifyElementCount(fillInTheGapsTextPage.answerInputFieldPreviewTab(), 3);
102
93
  fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
103
94
  });
@@ -13,14 +13,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
- beforeEach(() => {
17
- cy.startApplitools();
18
- });
19
-
20
- afterEach(() => {
21
- cy.eyesClose();
22
- });
23
-
24
16
  if (!grepTags || !grepTags.includes('smoke')) {
25
17
  describe('Question preview modes: Student view and Grading view', () => {
26
18
  abortEarlySetup();
@@ -122,7 +114,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
122
114
  });
123
115
  };
124
116
 
125
- it(`Graphing: ${view} - When the user selects 'Grading' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed`, () => {
117
+ it('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
126
118
  if (view === 'Grading view') {
127
119
  studentViewPage.steps.submitResponse();
128
120
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -154,7 +146,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
154
146
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ 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 }]);
155
147
  });
156
148
 
157
- it(`Graphing: ${view} - When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
149
+ it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
158
150
  graphingPage.steps.selectGraphToolOptionPreviewTab('Circle');
159
151
  graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -2, xRange: 20, y: 1, yRange: 20 }, { x: -4, xRange: 20, y: 1, yRange: 20 }]);
160
152
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -2, xRange: 20, y: 1, yRange: 20 }, { x: -4, xRange: 20, y: 1, yRange: 20 }]);
@@ -188,10 +180,9 @@ describe('Create Item page - Graphing: All or nothing ', () => {
188
180
  graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
189
181
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
190
182
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ 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 }]);
191
- cy.eyesCheckWindow(`Graphing: ${view} - Incorrect answer displayed in grading view`);
192
183
  });
193
184
 
194
- it(`Graphing: ${view} - When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph`, () => {
185
+ it('When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
195
186
  if (view === 'Grading view') {
196
187
  studentViewPage.steps.clearResponses();
197
188
  }
@@ -230,7 +221,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
230
221
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ 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 }]);
231
222
  });
232
223
 
233
- it(`Graphing: ${view} - When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
224
+ it('When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
234
225
  if (view === 'Grading view') {
235
226
  studentViewPage.steps.clearResponses();
236
227
  }
@@ -273,7 +264,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
273
264
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ 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 }]);
274
265
  });
275
266
 
276
- it(`Graphing: ${view} - When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view 'Your answer is correct' should be displayed and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
267
+ it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
277
268
  if (view === 'Grading view') {
278
269
  studentViewPage.steps.clearResponses();
279
270
  }
@@ -304,7 +295,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
304
295
  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 }]);
305
296
  graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
306
297
  graphingPage.steps.verifyCorrectAnswerSectionNotExist();
307
- cy.eyesCheckWindow(`Graphing: ${view} - Correct answer displayed in grading view`);
308
298
  });
309
299
  });
310
300
  });
@@ -14,14 +14,6 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
14
14
  cy.loginAs('admin');
15
15
  });
16
16
 
17
- beforeEach(() => {
18
- cy.startApplitools();
19
- });
20
-
21
- afterEach(() => {
22
- cy.eyesClose();
23
- });
24
-
25
17
  if (views.includes('Grading view')) {
26
18
  describe('Grading view contents', { tags: 'smoke' }, () => {
27
19
  abortEarlySetup();
@@ -67,14 +59,13 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
67
59
  utilities.verifyElementVisibilityState(graphingPage.graphControlOptionPreviewTab(), 'notExist');
68
60
  });
69
61
 
70
- it('Graphing: The graph plotted by the author in the edit tab should be displayed in the grading view', () => {
62
+ it('The graph plotted by the author in the edit tab should be displayed in the grading view', () => {
71
63
  utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionSineWave(), 'visible');
72
64
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 7, yRange: 20 }, { x: 1, xRange: 20, y: 8, yRange: 20 }]);
73
65
  utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionCircle(), 'visible');
74
66
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
75
67
  utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionLine(), 'visible');
76
68
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
77
- cy.eyesCheckWindow('Graphing - The graph plotted by the author in the edit tab should be displayed in the grading view');
78
69
  });
79
70
 
80
71
  it('Correct answer label should be displayed', () => {
@@ -172,14 +163,13 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
172
163
  utilities.verifyElementVisibilityState(graphingPage.graphControlOptionPreviewTab(), 'notExist');
173
164
  });
174
165
 
175
- it('Graphing: The graph plotted by the author along with the correct answer should be displayed in the correct answer view', () => {
166
+ it('The graph plotted by the author along with the correct answer should be displayed in the correct answer view', () => {
176
167
  utilities.verifyElementVisibilityState(graphingPage.graphLine(), 'visible');
177
168
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }])
178
169
  utilities.verifyElementVisibilityState(graphingPage.graphPolygon(), 'visible');
179
170
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }])
180
171
  utilities.verifyElementVisibilityState(graphingPage.graphCircle(), 'visible');
181
172
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }])
182
- cy.eyesCheckWindow('Graphing - The graph plotted by the author should be displayed in the correct answer view');
183
173
  });
184
174
 
185
175
  it('The points alloted to the question should be displayed', () => {