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
@@ -12,14 +12,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
- beforeEach(() => {
16
- cy.startApplitools();
17
- });
18
-
19
- afterEach(() => {
20
- cy.eyesClose();
21
- });
22
-
23
15
  if (!grepTags || !grepTags.includes('smoke')) {
24
16
  describe('Question preview modes: Student view and Grading view', () => {
25
17
  abortEarlySetup();
@@ -127,14 +119,14 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
127
119
  });
128
120
  };
129
121
 
130
- it(`TEM ${view}: When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
122
+ it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed', () => {
131
123
  if (view === 'Grading view') {
132
124
  studentViewPage.steps.submitResponse();
133
125
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
134
126
  studentViewPage.steps.clickOnGoToGradingViewButton();
135
127
  gradingViewPage.steps.verifyGradingViewScore(0, 20);
136
128
  }
137
- if (view === 'Item preview' || view === 'Question preview') {
129
+ if (view === 'Question preview' || view === 'Item preview') {
138
130
  textEntryMathPage.steps.switchToGradingView();
139
131
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
140
132
  }
@@ -148,7 +140,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
148
140
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
149
141
  });
150
142
 
151
- it(`TEM ${view}: 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, and \'Your answer is incorrect\' label should be displayed`, () => {
143
+ 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, and \'Your answer is incorrect\' label should be displayed', () => {
152
144
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
153
145
  textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, 'Incorrect answer 1');
154
146
  equationEditorFlyout.steps.clickOnOkButton();
@@ -164,9 +156,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
164
156
  studentViewPage.steps.clickOnGoToGradingViewButton();
165
157
  gradingViewPage.steps.verifyGradingViewScore(0, 20);
166
158
  }
167
- if (view === 'Item preview' || view === 'Question preview') {
168
- textEntryMathPage.steps.switchToGradingView();
159
+ if (view === 'Question preview' || view === 'Item preview') {
169
160
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
161
+ textEntryMathPage.steps.switchToGradingView();
170
162
  }
171
163
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
172
164
  textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
@@ -176,10 +168,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
176
168
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
177
169
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
178
170
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
179
- cy.eyesCheckWindow(`TEM ${view} - Attempting the question incorrectly`);
180
171
  });
181
172
 
182
- it(`TEM ${view}: When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
173
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
183
174
  if (view === 'Grading view') {
184
175
  studentViewPage.steps.clearResponses();
185
176
  }
@@ -197,9 +188,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
197
188
  studentViewPage.steps.clickOnGoToGradingViewButton();
198
189
  gradingViewPage.steps.verifyGradingViewScore(0, 20);
199
190
  }
200
- if (view === 'Item preview' || view === 'Question preview') {
201
- textEntryMathPage.steps.switchToGradingView();
191
+ if (view === 'Question preview' || view === 'Item preview') {
202
192
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
193
+ textEntryMathPage.steps.switchToGradingView();
203
194
  }
204
195
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
205
196
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
@@ -211,7 +202,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
211
202
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
212
203
  });
213
204
 
214
- it(`TEM ${view}: When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed`, () => {
205
+ it('When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed', () => {
215
206
  if (view === 'Grading view') {
216
207
  studentViewPage.steps.clearResponses();
217
208
  }
@@ -226,9 +217,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
226
217
  studentViewPage.steps.clickOnGoToGradingViewButton();
227
218
  gradingViewPage.steps.verifyGradingViewScore(0, 20);
228
219
  }
229
- if (view === 'Item preview' || view === 'Question preview') {
230
- textEntryMathPage.steps.switchToGradingView();
220
+ if (view === 'Question preview' || view === 'Item preview') {
231
221
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
222
+ textEntryMathPage.steps.switchToGradingView();
232
223
  }
233
224
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
234
225
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
@@ -240,7 +231,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
240
231
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
241
232
  });
242
233
 
243
- it(`TEM ${view}: 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, and \'Your answer is correct\' should be displayed`, () => {
234
+ 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, and \'Your answer is correct\' should be displayed', () => {
244
235
  if (view === 'Grading view') {
245
236
  studentViewPage.steps.clearResponses();
246
237
  }
@@ -259,16 +250,15 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
259
250
  cy.wait(1000);
260
251
  gradingViewPage.steps.verifyGradingViewScore(20, 20);
261
252
  }
262
- if (view === 'Item preview' || view === 'Question preview') {
263
- textEntryMathPage.steps.switchToGradingView();
253
+ if (view === 'Question preview' || view === 'Item preview') {
264
254
  textEntryMathPage.steps.verifyPreviewScore(20, 20);
255
+ textEntryMathPage.steps.switchToGradingView();
265
256
  }
266
257
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
267
258
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
268
259
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
269
260
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
270
261
  textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
271
- cy.eyesCheckWindow(`TEM ${view} - Attempting the question correctly`);
272
262
  });
273
263
  });
274
264
  });
@@ -12,14 +12,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
- beforeEach(() => {
16
- cy.startApplitools();
17
- });
18
-
19
- afterEach(() => {
20
- cy.eyesClose();
21
- });
22
-
23
15
  views.forEach((view) => {
24
16
  describe(`Text entry math: all or nothing scoring - ${view}`, { tags: 'smoke' }, () => {
25
17
  abortEarlySetup();
@@ -104,7 +96,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
104
96
  });
105
97
  };
106
98
 
107
- it(`${view}: Formula template: When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
99
+ it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed', () => {
108
100
  if (view === 'Grading view') {
109
101
  studentViewPage.steps.submitResponse();
110
102
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -125,7 +117,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
125
117
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
126
118
  });
127
119
 
128
- it(`${view}: Formula template: 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, and \'Your answer is incorrect\' label should be displayed`, () => {
120
+ 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, and \'Your answer is incorrect\' label should be displayed', () => {
129
121
  textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
130
122
  equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 1');
131
123
  equationEditorFlyout.steps.clickOnOkButton();
@@ -159,10 +151,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
159
151
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
160
152
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
161
153
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
162
- cy.eyesCheckWindow(`Formula template: ${view} view - Incorrect attempt`);
163
154
  });
164
155
 
165
- it(`${view}: Formula template: When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
156
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
166
157
  if (view === 'Grading view') {
167
158
  studentViewPage.steps.clearResponses();
168
159
  }
@@ -201,7 +192,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
201
192
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
202
193
  });
203
194
 
204
- it(`${view}: Formula template: When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed`, () => {
195
+ it('When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed', () => {
205
196
  if (view === 'Grading view') {
206
197
  studentViewPage.steps.clearResponses();
207
198
  }
@@ -237,7 +228,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
237
228
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
238
229
  });
239
230
 
240
- it(`${view}: Formula template: 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, and \'Your answer is correct\' should be displayed`, () => {
231
+ 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, and \'Your answer is correct\' should be displayed', () => {
241
232
  if (view === 'Grading view') {
242
233
  studentViewPage.steps.clearResponses();
243
234
  }
@@ -273,8 +264,8 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
273
264
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
274
265
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
275
266
  textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
276
- cy.eyesCheckWindow(`Formula template: ${view} view - Correct attempt`);
277
267
  });
278
268
  });
279
269
  });
270
+
280
271
  });
@@ -532,7 +532,7 @@ describe('Create Item page - Text entry math: Evaluation methods - Custom settin
532
532
  textEntryMathPage.steps.addResponseArea();
533
533
  textEntryMathPage.steps.allotPoints(20);
534
534
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
535
- textEntryMathPage.steps.selectEvaluationMethod('Value is equivalent');
535
+ textEntryMathPage.steps.selectEvaluationMethod('Value is equivalent', 1);
536
536
  textEntryMathPage.steps.expandAdditionalSettings();
537
537
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
538
538
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
@@ -758,7 +758,7 @@ describe('Create Item page - Text entry math: Evaluation methods - Custom settin
758
758
  textEntryMathPage.steps.addResponseArea();
759
759
  textEntryMathPage.steps.allotPoints(20);
760
760
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
761
- textEntryMathPage.steps.selectEvaluationMethod('Match value');
761
+ textEntryMathPage.steps.selectEvaluationMethod('Match value', 2);
762
762
  textEntryMathPage.steps.expandAdditionalSettings();
763
763
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
764
764
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
@@ -1154,7 +1154,7 @@ describe('Create Item page - Text entry math: Evaluation methods - Custom settin
1154
1154
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
1155
1155
  textEntryMathPage.steps.allotPoints(20);
1156
1156
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
1157
- textEntryMathPage.steps.selectEvaluationMethod('Match exact');
1157
+ textEntryMathPage.steps.selectEvaluationMethod('Match exact', 8);
1158
1158
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
1159
1159
  equationEditorFlyout.steps.clearAll();
1160
1160
  equationEditorFlyout.steps.enterQuadraticEquation()
@@ -1,5 +1,6 @@
1
1
  import { textEntryMathPage } from "../../../pages";
2
2
  import { equationEditorFlyout } from "../../../pages/components";
3
+ import { customSettingsSeparatorComponent } from "../../../pages/components/customSettingsSeparatorsComponent";
3
4
 
4
5
  const arrNoSetAnswer = ['Response is true', 'Expanded form', 'Factored form', 'Simplified version'];
5
6
  const evaluationMethods = [
@@ -580,4 +581,196 @@ describe('Custom Settings Separators for Text Entry Math', () => {
580
581
  });
581
582
  });
582
583
  });
584
+
585
+ describe('Edit and preview tab functionality for tolerance', () => {
586
+ before(() => {
587
+ textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
588
+ cy.barsPreLoaderWait();
589
+ textEntryMathPage.steps.addResponseArea();
590
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
591
+ textEntryMathPage.steps.allotPoints(10);
592
+ textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '5');
593
+ textEntryMathPage.steps.clickOnCustomSettingsAccordion();
594
+ });
595
+
596
+ it('When user sets tolerance to 1 to 5, then the answer should be validated with a tolerance of respective value', () => {
597
+ for (let i = 1; i < 6; i++) {
598
+ customSettingsSeparatorComponent.steps.enterTextInToleranceInputField(i.toString());
599
+ textEntryMathPage.steps.switchToPreviewTab();
600
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
601
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `${5 + i}`);
602
+ equationEditorFlyout.steps.clickOnOkButton();
603
+ textEntryMathPage.steps.switchToGradingView();
604
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
605
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
606
+ textEntryMathPage.steps.switchToEditTab();
607
+ textEntryMathPage.steps.switchToPreviewTab();
608
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
609
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `${5 - i}`);
610
+ equationEditorFlyout.steps.clickOnOkButton();
611
+ textEntryMathPage.steps.switchToGradingView();
612
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
613
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
614
+ textEntryMathPage.steps.switchToEditTab();
615
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
616
+ textEntryMathPage.steps.clickOnCustomSettingsAccordion();
617
+ customSettingsSeparatorComponent.steps.clearTextInToleranceInputField();
618
+ }
619
+ });
620
+
621
+ it('When user sets tolerance to 1 to 5, then the answers above or below the tolerance level should be validated as incorrect', () => {
622
+ for (let i = 1; i < 6; i++) {
623
+ customSettingsSeparatorComponent.steps.enterTextInToleranceInputField(i.toString());
624
+ textEntryMathPage.steps.switchToPreviewTab();
625
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
626
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `${5 + i + 1}`);
627
+ equationEditorFlyout.steps.clickOnOkButton();
628
+ textEntryMathPage.steps.switchToGradingView();
629
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
630
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
631
+ textEntryMathPage.steps.switchToEditTab();
632
+ textEntryMathPage.steps.switchToPreviewTab();
633
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
634
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `${5 - i - 1}`);
635
+ equationEditorFlyout.steps.clickOnOkButton();
636
+ textEntryMathPage.steps.switchToGradingView();
637
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
638
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
639
+ textEntryMathPage.steps.switchToEditTab();
640
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
641
+ textEntryMathPage.steps.clickOnCustomSettingsAccordion();
642
+ customSettingsSeparatorComponent.steps.clearTextInToleranceInputField();
643
+ }
644
+ });
645
+
646
+ it('When user sets a value for tolerance and uses a decimal value as for correct answer, then the decimal inputs within the tolerance value should be validated as correct', () => {
647
+ textEntryMathPage.steps.deleteAResponseArea(0);
648
+ textEntryMathPage.steps.addResponseArea();
649
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
650
+ textEntryMathPage.steps.allotPoints(10);
651
+ textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '5.5');
652
+ textEntryMathPage.steps.clickOnCustomSettingsAccordion();
653
+ customSettingsSeparatorComponent.steps.enterTextInToleranceInputField('1.5');
654
+ textEntryMathPage.steps.switchToPreviewTab();
655
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
656
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `5.6`);
657
+ equationEditorFlyout.steps.clickOnOkButton();
658
+ textEntryMathPage.steps.switchToGradingView();
659
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
660
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
661
+ textEntryMathPage.steps.switchToEditTab();
662
+ textEntryMathPage.steps.switchToPreviewTab();
663
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
664
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `6.9999`);
665
+ equationEditorFlyout.steps.clickOnOkButton();
666
+ textEntryMathPage.steps.switchToGradingView();
667
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
668
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
669
+ textEntryMathPage.steps.switchToEditTab();
670
+ textEntryMathPage.steps.switchToPreviewTab();
671
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
672
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `4.001`);
673
+ equationEditorFlyout.steps.clickOnOkButton();
674
+ textEntryMathPage.steps.switchToGradingView();
675
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
676
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
677
+ });
678
+
679
+ it('When user sets a value for tolerance and uses a decimal value as for correct answer, then the decimal inputs outside the tolerance value should be validated as incorrect', () => {
680
+ textEntryMathPage.steps.switchToEditTab();
681
+ textEntryMathPage.steps.deleteAResponseArea(0);
682
+ textEntryMathPage.steps.addResponseArea();
683
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
684
+ textEntryMathPage.steps.allotPoints(10);
685
+ textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '5.5');
686
+ textEntryMathPage.steps.clickOnCustomSettingsAccordion();
687
+ customSettingsSeparatorComponent.steps.enterTextInToleranceInputField('1.5');
688
+ textEntryMathPage.steps.switchToPreviewTab();
689
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
690
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `7.1`);
691
+ equationEditorFlyout.steps.clickOnOkButton();
692
+ textEntryMathPage.steps.switchToGradingView();
693
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
694
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
695
+ textEntryMathPage.steps.resetQuestionPreview();
696
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
697
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `7.001`);
698
+ equationEditorFlyout.steps.clickOnOkButton();
699
+ textEntryMathPage.steps.switchToGradingView();
700
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
701
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
702
+ textEntryMathPage.steps.switchToEditTab();
703
+ textEntryMathPage.steps.switchToPreviewTab();
704
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
705
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `3.999`);
706
+ equationEditorFlyout.steps.clickOnOkButton();
707
+ textEntryMathPage.steps.switchToGradingView();
708
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
709
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
710
+ });
711
+
712
+ it('When user sets a value for tolerance and uses a fractional value as for correct answer, then the fractional inputs within the tolerance value should be validated as correct', () => {
713
+ textEntryMathPage.steps.switchToEditTab();
714
+ textEntryMathPage.steps.deleteAResponseArea(0);
715
+ textEntryMathPage.steps.addResponseArea();
716
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
717
+ textEntryMathPage.steps.allotPoints(10);
718
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
719
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'keyPad', symbolName: ['one', 'moveDown', 'two'] }]);
720
+ equationEditorFlyout.steps.clickOnOkButton();
721
+ textEntryMathPage.steps.clickOnCustomSettingsAccordion();
722
+ customSettingsSeparatorComponent.steps.enterTextInToleranceInputField('1');
723
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
724
+ textEntryMathPage.steps.switchToPreviewTab();
725
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
726
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `3/2`);
727
+ equationEditorFlyout.steps.clickOnOkButton();
728
+ textEntryMathPage.steps.switchToGradingView();
729
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
730
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
731
+ textEntryMathPage.steps.switchToEditTab();
732
+ textEntryMathPage.steps.switchToPreviewTab();
733
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
734
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `-1/2`);
735
+ equationEditorFlyout.steps.clickOnOkButton();
736
+ textEntryMathPage.steps.switchToGradingView();
737
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
738
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
739
+ textEntryMathPage.steps.switchToEditTab();
740
+ textEntryMathPage.steps.switchToPreviewTab();
741
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
742
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `1`);
743
+ equationEditorFlyout.steps.clickOnOkButton();
744
+ textEntryMathPage.steps.switchToGradingView();
745
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
746
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
747
+ });
748
+
749
+ it('When user sets a value for tolerance and uses a fractional value as for correct answer, then the fractional inputs outside the tolerance value should be validated as incorrect', () => {
750
+ textEntryMathPage.steps.switchToEditTab();
751
+ textEntryMathPage.steps.switchToPreviewTab();
752
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
753
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `4/2`);
754
+ equationEditorFlyout.steps.clickOnOkButton();
755
+ textEntryMathPage.steps.switchToGradingView();
756
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
757
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
758
+ textEntryMathPage.steps.switchToEditTab();
759
+ textEntryMathPage.steps.switchToPreviewTab();
760
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
761
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `-1`);
762
+ equationEditorFlyout.steps.clickOnOkButton();
763
+ textEntryMathPage.steps.switchToGradingView();
764
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
765
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
766
+ textEntryMathPage.steps.switchToEditTab();
767
+ textEntryMathPage.steps.switchToPreviewTab();
768
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
769
+ textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, `-2`);
770
+ equationEditorFlyout.steps.clickOnOkButton();
771
+ textEntryMathPage.steps.switchToGradingView();
772
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
773
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
774
+ });
775
+ });
583
776
  });
@@ -20,7 +20,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
20
20
  textEntryMathPage.steps.addResponseArea();
21
21
  textEntryMathPage.steps.allotPoints(20);
22
22
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
23
- textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure');
23
+ textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure', 3);
24
24
  textEntryMathPage.steps.clickOnCustomSettingsAccordion();
25
25
  textEntryMathPage.steps.expandSyntaxDropdown();
26
26
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Number');
@@ -337,7 +337,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
337
337
  textEntryMathPage.steps.addResponseArea();
338
338
  textEntryMathPage.steps.allotPoints(20);
339
339
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
340
- textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure');
340
+ textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure', 3);
341
341
  textEntryMathPage.steps.clickOnCustomSettingsAccordion();
342
342
  textEntryMathPage.steps.expandSyntaxDropdown();
343
343
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Fraction');
@@ -775,7 +775,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
775
775
  textEntryMathPage.steps.addResponseArea();
776
776
  textEntryMathPage.steps.allotPoints(20);
777
777
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
778
- textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure');
778
+ textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure', 3);
779
779
  textEntryMathPage.steps.clickOnCustomSettingsAccordion();
780
780
  textEntryMathPage.steps.expandSyntaxDropdown();
781
781
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Variable');
@@ -924,7 +924,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
924
924
  textEntryMathPage.steps.addResponseArea();
925
925
  textEntryMathPage.steps.allotPoints(20);
926
926
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
927
- textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure');
927
+ textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure', 3);
928
928
  textEntryMathPage.steps.clickOnCustomSettingsAccordion();
929
929
  textEntryMathPage.steps.expandSyntaxDropdown();
930
930
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Expression');
@@ -1223,7 +1223,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
1223
1223
  textEntryMathPage.steps.addResponseArea();
1224
1224
  textEntryMathPage.steps.allotPoints(20);
1225
1225
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
1226
- textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure');
1226
+ textEntryMathPage.steps.selectEvaluationMethod('Equivalent structure', 3);
1227
1227
  textEntryMathPage.steps.clickOnCustomSettingsAccordion();
1228
1228
  textEntryMathPage.steps.expandSyntaxDropdown();
1229
1229
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Scientific');
@@ -21,7 +21,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
21
21
  textEntryMathPage.steps.expandAdditionalSettings();
22
22
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
23
23
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
24
- textEntryMathPage.steps.selectEvaluationMethod('Match exact');
24
+ textEntryMathPage.steps.selectEvaluationMethod('Match exact', 8);
25
25
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
26
26
  });
27
27
 
@@ -23,7 +23,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
23
23
  textEntryMathPage.steps.expandAdditionalSettings();
24
24
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
25
25
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
26
- textEntryMathPage.steps.selectEvaluationMethod('Match value');
26
+ textEntryMathPage.steps.selectEvaluationMethod('Match value', 3);
27
27
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
28
28
  });
29
29
 
@@ -21,7 +21,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
21
21
  textEntryMathPage.steps.addResponseArea();
22
22
  textEntryMathPage.steps.allotPoints(20);
23
23
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
24
- textEntryMathPage.steps.selectEvaluationMethod('Response is true');
24
+ textEntryMathPage.steps.selectEvaluationMethod('Response is true', 4);
25
25
  textEntryMathPage.steps.expandAdditionalSettings();
26
26
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
27
27
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
@@ -217,7 +217,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
217
217
  textEntryMathPage.steps.addResponseArea();
218
218
  textEntryMathPage.steps.allotPoints(20);
219
219
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
220
- textEntryMathPage.steps.selectEvaluationMethod('Expanded form');
220
+ textEntryMathPage.steps.selectEvaluationMethod('Expanded form', 5);
221
221
  textEntryMathPage.steps.expandAdditionalSettings();
222
222
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
223
223
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
@@ -429,7 +429,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
429
429
  textEntryMathPage.steps.addResponseArea();
430
430
  textEntryMathPage.steps.allotPoints(20);
431
431
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
432
- textEntryMathPage.steps.selectEvaluationMethod('Factored form');
432
+ textEntryMathPage.steps.selectEvaluationMethod('Factored form', 6);
433
433
  textEntryMathPage.steps.expandAdditionalSettings();
434
434
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
435
435
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
@@ -628,7 +628,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
628
628
  textEntryMathPage.steps.addResponseArea();
629
629
  textEntryMathPage.steps.allotPoints(20);
630
630
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
631
- textEntryMathPage.steps.selectEvaluationMethod('Simplified version');
631
+ textEntryMathPage.steps.selectEvaluationMethod('Simplified version', 7);
632
632
  textEntryMathPage.steps.expandAdditionalSettings();
633
633
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
634
634
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
@@ -12,14 +12,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
- beforeEach(() => {
16
- cy.startApplitools();
17
- });
18
-
19
- afterEach(() => {
20
- cy.eyesClose();
21
- });
22
-
23
15
  views.forEach((view) => {
24
16
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
25
17
  abortEarlySetup();
@@ -77,10 +69,9 @@ describe('Create item page - Text entry math: Preview contents', () => {
77
69
  }
78
70
  });
79
71
 
80
- it(`TEM ${view}: Question instructions should be visible`, () => {
72
+ it('Question instructions should be visible', () => {
81
73
  utilities.verifyInnerText(textEntryMathPage.questionInstructionsText(), 'Enter the correct answer in the response field');
82
74
  utilities.verifyElementVisibilityState(textEntryMathPage.questionInstructionsText(), 'visible');
83
- cy.eyesCheckWindow(`TEM ${view}: Default state`);
84
75
  });
85
76
 
86
77
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -90,7 +81,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
90
81
  utilities.verifyElementCount(textEntryMathPage.responseFieldPreviewTab(), '2');
91
82
  });
92
83
 
93
- it(`TEM User should able to enter answers in the response fields for ${view}`, () => {
84
+ it(`User should able to enter answers in the response fields for ${view}`, () => {
94
85
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
95
86
  equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
96
87
  equationEditorFlyout.steps.clickOnOkButton();
@@ -100,14 +91,14 @@ describe('Create item page - Text entry math: Preview contents', () => {
100
91
  textEntryMathPage.steps.verifyResponseAreaContainsTextPreviewTab(1, '2x2y2+4xy+4');
101
92
  });
102
93
  } else if (view === 'Grading view') {
103
- it(`TEM The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
94
+ it(`The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
104
95
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, 'Correct1');
105
96
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
106
97
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
107
98
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
108
99
  });
109
100
  } else {
110
- it(`TEM The response input fields should be displayed filled with correct answers`, () => {
101
+ it(`The response input fields should be displayed filled with correct answers`, () => {
111
102
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, 'Correct1');
112
103
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
113
104
  });