itemengine-cypress-automation 1.0.284-applitools-38637bb.0 → 1.0.285

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. package/cypress/e2e/Gzip/gzip.js +7 -7
  2. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -36
  3. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -14
  4. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  5. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
  6. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
  7. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -17
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  10. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -14
  11. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -17
  12. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  13. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -15
  14. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -17
  15. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  16. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -14
  17. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
  18. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -15
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  28. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -35
  29. package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
  30. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
  31. package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +1 -0
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  45. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  46. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  47. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -15
  48. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -13
  49. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -13
  50. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -14
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +5 -14
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -13
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -13
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
  61. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
  62. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -13
  63. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
  64. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -14
  65. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  66. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
  67. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -16
  68. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
  69. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -15
  70. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
  71. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -13
  72. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
  73. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -11
  74. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -13
  75. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -14
  76. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
  77. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
  78. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -14
  79. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -12
  80. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  81. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  82. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  83. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  84. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
  85. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  86. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  87. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  88. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  89. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  90. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  91. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  92. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  93. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  94. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -14
  95. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +6 -14
  96. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  100. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
  101. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  102. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  103. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  104. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  105. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  106. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  107. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  108. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  109. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  110. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -14
  111. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
  112. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -19
  113. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
  114. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
  115. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
  116. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
  117. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -14
  118. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  119. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  120. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +6 -14
  121. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  122. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  123. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +6 -14
  124. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +1 -10
  125. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
  126. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  127. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  128. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  129. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
  130. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
  131. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
  132. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -12
  133. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +16 -0
  134. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -14
  135. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
  136. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -12
  137. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
  138. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
  139. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
  140. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
  141. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
  142. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
  143. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
  144. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
  145. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
  146. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
  147. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
  148. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
  149. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
  150. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
  151. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
  152. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
  153. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
  154. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
  155. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  156. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
  157. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -23
  158. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -5
  159. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  160. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
  161. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  162. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  163. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -2
  164. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  165. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
  166. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  167. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  168. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
  169. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -13
  170. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -16
  171. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  172. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -12
  173. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -12
  174. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
  175. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
  176. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -16
  177. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  178. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
  179. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
  180. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -18
  181. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  182. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -13
  183. package/cypress/pages/audioPlayerPage.js +4 -4
  184. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
  185. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  186. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
  187. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  188. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
  189. package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
  190. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  191. package/cypress/pages/createItemPage.js +38 -1
  192. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  193. package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
  194. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
  195. package/cypress/pages/graphingPage.js +3 -0
  196. package/cypress/pages/listOrderingPage.js +1 -1
  197. package/cypress/pages/matchingPage.js +34 -7
  198. package/cypress/pages/multipleSelectionPage.js +17 -2
  199. package/cypress/pages/numberLineLabelPage.js +3 -3
  200. package/cypress/pages/readingRulerPage.js +5 -3
  201. package/cypress/pages/singleSelectionPage.js +5 -2
  202. package/cypress/pages/studentViewPage.js +4 -4
  203. package/cypress/pages/textEntryMathPage.js +19 -5
  204. package/cypress/pages/textSelectionPage.js +1 -1
  205. package/cypress/support/commands.js +0 -11
  206. package/cypress/support/e2e.js +0 -1
  207. package/package.json +1 -4
  208. 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();
@@ -140,7 +132,7 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
140
132
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
141
133
  });
142
134
 
143
- 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', () => {
144
136
  if (view === 'Grading view') {
145
137
  studentViewPage.steps.clearResponses();
146
138
  };
@@ -162,7 +154,7 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
162
154
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
163
155
  });
164
156
 
165
- 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', () => {
166
158
  if (view === 'Grading view') {
167
159
  studentViewPage.steps.clearResponses();
168
160
  };
@@ -184,7 +176,6 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
184
176
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
185
177
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
186
178
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();
187
- cy.eyesCheckWindow(`FIG over image text - ${view} view - Attempting the question correctly`);
188
179
  });
189
180
  });
190
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();
@@ -132,7 +124,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
132
124
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
133
125
  });
134
126
 
135
- 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', () => {
136
128
  if (view === 'Grading view') {
137
129
  studentViewPage.steps.clearResponses();
138
130
  };
@@ -154,7 +146,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
154
146
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
155
147
  });
156
148
 
157
- 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', () => {
158
150
  if (view === 'Grading view') {
159
151
  studentViewPage.steps.clearResponses();
160
152
  };
@@ -175,7 +167,6 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
175
167
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
176
168
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
177
169
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
178
- cy.eyesCheckWindow(`FIG Text - ${view} - Attempting the question correctly`);
179
170
  });
180
171
  });
181
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();
@@ -93,6 +85,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
93
85
  itemPreviewPage.steps.switchToPreviewTab();
94
86
  break;
95
87
  case 'Grading view':
88
+ cy.wait(5000);
96
89
  cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
97
90
  break;
98
91
  }
@@ -122,7 +115,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
122
115
  });
123
116
  };
124
117
 
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`, () => {
118
+ 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
119
  if (view === 'Grading view') {
127
120
  studentViewPage.steps.submitResponse();
128
121
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -154,7 +147,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
154
147
  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
148
  });
156
149
 
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`, () => {
150
+ 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
151
  graphingPage.steps.selectGraphToolOptionPreviewTab('Circle');
159
152
  graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -2, xRange: 20, y: 1, yRange: 20 }, { x: -4, xRange: 20, y: 1, yRange: 20 }]);
160
153
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -2, xRange: 20, y: 1, yRange: 20 }, { x: -4, xRange: 20, y: 1, yRange: 20 }]);
@@ -190,7 +183,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
190
183
  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
184
  });
192
185
 
193
- 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`, () => {
186
+ 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', () => {
194
187
  if (view === 'Grading view') {
195
188
  studentViewPage.steps.clearResponses();
196
189
  }
@@ -229,7 +222,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
229
222
  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 }]);
230
223
  });
231
224
 
232
- 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`, () => {
225
+ 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', () => {
233
226
  if (view === 'Grading view') {
234
227
  studentViewPage.steps.clearResponses();
235
228
  }
@@ -272,7 +265,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
272
265
  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 }]);
273
266
  });
274
267
 
275
- 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`, () => {
268
+ 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', () => {
276
269
  if (view === 'Grading view') {
277
270
  studentViewPage.steps.clearResponses();
278
271
  }
@@ -303,7 +296,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
303
296
  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 }]);
304
297
  graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
305
298
  graphingPage.steps.verifyCorrectAnswerSectionNotExist();
306
- cy.eyesCheckWindow(`Graphing: ${view} - Correct answer displayed in grading view`);
307
299
  });
308
300
  });
309
301
  });
@@ -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', () => {