itemengine-cypress-automation 1.0.284-RepoUpdate13thJan-c7ac0b4.0 → 1.0.285-applitools-da9f1a8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
  5. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
  6. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
  9. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
  10. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  11. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
  12. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
  13. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  14. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
  15. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
  16. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
  17. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +6 -7
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
  25. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  26. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +19 -21
  27. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
  28. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  29. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +15 -6
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
  44. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  45. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
  53. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
  54. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
  55. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -5
  56. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  57. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
  58. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
  59. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
  60. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
  61. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
  62. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
  63. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
  64. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
  65. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
  66. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
  67. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +6 -5
  68. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
  69. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
  70. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -3
  71. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  72. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  73. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  74. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  75. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  76. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  77. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  78. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  79. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  80. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  81. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  82. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  83. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  84. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +14 -5
  85. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
  86. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
  87. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  88. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  89. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  90. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  91. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  92. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  93. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  94. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  95. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  99. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
  100. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
  101. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
  102. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
  103. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  104. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
  105. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  106. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  107. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  108. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  109. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +3 -2
  110. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
  111. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -5
  112. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
  113. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
  114. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  115. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  116. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  117. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
  118. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
  119. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
  120. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
  121. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +5 -6
  122. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
  123. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
  124. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
  125. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  126. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
  127. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  128. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
  129. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
  130. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  131. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
  132. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  133. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  134. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  135. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  136. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
  137. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  138. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  139. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
  140. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
  141. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
  142. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  143. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
  144. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
  145. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
  146. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
  147. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
  148. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  149. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
  150. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
  151. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
  152. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  153. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
  154. package/cypress/e2e/applitools.config.js +14 -0
  155. package/cypress/pages/audioPlayerPage.js +4 -4
  156. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
  157. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  158. package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
  159. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  160. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
  161. package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
  162. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  163. package/cypress/pages/createItemPage.js +1 -38
  164. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  165. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
  166. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
  167. package/cypress/pages/listOrderingPage.js +1 -1
  168. package/cypress/pages/matchingPage.js +7 -34
  169. package/cypress/pages/multipleSelectionPage.js +2 -17
  170. package/cypress/pages/numberLineLabelPage.js +3 -3
  171. package/cypress/pages/readingRulerPage.js +3 -5
  172. package/cypress/pages/singleSelectionPage.js +2 -5
  173. package/cypress/pages/textEntryMathPage.js +5 -19
  174. package/cypress/pages/textSelectionPage.js +1 -1
  175. package/cypress/support/commands.js +11 -0
  176. package/cypress/support/e2e.js +1 -0
  177. package/package.json +4 -1
  178. package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
  179. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
  180. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
  181. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
  182. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
  183. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
  184. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
  185. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
  186. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
  187. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
  188. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
  189. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
  190. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
  191. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
  192. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
  193. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
  194. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
  195. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
  196. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
  197. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
  198. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
  199. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
  200. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
  201. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
  202. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -44,7 +44,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
44
44
  };
45
45
 
46
46
  views.forEach((view) => {
47
- describe(` Charts - Dot: All or nothing scoring - ${view}`, { tags: 'smoke' }, () => {
47
+ describe(`Charts - Dot: All or nothing scoring - ${view}`, { tags: 'smoke' }, () => {
48
48
  abortEarlySetup();
49
49
  before(() => {
50
50
  switch (view) {
@@ -116,7 +116,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
116
116
  };
117
117
 
118
118
  //Note: Remove comment after https://redmine.zeuslearning.com/issues/570904 is resolved
119
- it.skip('When the user selects \'Grading\' view without attempting the question, then by default correct dot column should have correct icons, incorrect dot column should have incorrect icons, the correct answer should be displayed in the correct answer section number line axis and correct/incorrect status message should not be displayed', () => {
119
+ it.skip(`${view} - Charts Dot - When the user selects \'Grading\' view without attempting the question, then by default correct dot column should have correct icons, incorrect dot column should have incorrect icons, the correct answer should be displayed in the correct answer section number line axis and correct/incorrect status message should not be displayed`, () => {
120
120
  if (view === 'Grading view') {
121
121
  studentViewPage.steps.submitResponse();
122
122
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -141,7 +141,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
141
141
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
142
142
  });
143
143
 
144
- 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
144
+ it(`${view} - Charts Dot - 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
145
145
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 4, min: 1, interval: 1 });
146
146
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 6, min: 1, interval: 1, defaultDots: 0 });
147
147
  if (view === 'Grading view') {
@@ -170,7 +170,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
170
170
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
171
171
  });
172
172
 
173
- it('When the user attempts the question by adding more dots than required in the dot columns having dots by default, 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
173
+ it(`${view} - Charts Dot - When the user attempts the question by adding more dots than required in the dot columns having dots by default, 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
174
174
  if (view === 'Grading view') {
175
175
  studentViewPage.steps.clearResponses();
176
176
  };
@@ -201,7 +201,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
201
201
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
202
202
  });
203
203
 
204
- it('When the user attempts the question by setting fewer dots than required in the dot columns having dots by default, 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
204
+ it(`${view} - Charts Dot - When the user attempts the question by setting fewer dots than required in the dot columns having dots by default, 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
205
205
  if (view === 'Grading view') {
206
206
  studentViewPage.steps.clearResponses();
207
207
  };
@@ -233,7 +233,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
233
233
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
234
234
  });
235
235
 
236
- it('When the user attempts the question by removing all the dots to dot column that is not supposed to be empty, 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
236
+ it(`${view} - Charts Dot - When the user attempts the question by removing all the dots to dot column that is not supposed to be empty, 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
237
237
  if (view === 'Grading view') {
238
238
  studentViewPage.steps.clearResponses();
239
239
  };
@@ -265,7 +265,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
265
265
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
266
266
  });
267
267
 
268
- it('When the user attempts the question by adding dots to the dot columns that is supposed to be empty, 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
268
+ it(`${view} - Charts Dot - When the user attempts the question by adding dots to the dot columns that is supposed to be empty, 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 dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
269
269
  if (view === 'Grading view') {
270
270
  studentViewPage.steps.clearResponses();
271
271
  };
@@ -297,7 +297,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
297
297
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
298
298
  });
299
299
 
300
- it('When the user attempts the question by changing number of dots in the dot columns which have the correct number of dots by default and setting a dot column correctly, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the incorrectly attempted dot column should be displayed incorrect, correctly attempted dot column should be displayed correct, and the correct answer should be displayed in the correct answer section number line axis', () => {
300
+ it(`${view} - Charts Dot - When the user attempts the question by changing number of dots in the dot columns which have the correct number of dots by default and setting a dot column correctly, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the incorrectly attempted dot column should be displayed incorrect, correctly attempted dot column should be displayed correct, and the correct answer should be displayed in the correct answer section number line axis`, () => {
301
301
  if (view === 'Grading view') {
302
302
  studentViewPage.steps.clearResponses();
303
303
  };
@@ -330,7 +330,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
330
330
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
331
331
  });
332
332
 
333
- it('When the user attempts the question correctly, the user should be awarded with full points and on switching to grading view, \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
333
+ it(`${view} - Charts Dot - When the user attempts the question correctly, the user should be awarded with full points and on switching to grading view, \'Your answer is correct\' should be displayed and correct answer section should not be displayed`, () => {
334
334
  if (view === 'Grading view') {
335
335
  studentViewPage.steps.clearResponses();
336
336
  };
@@ -88,7 +88,7 @@ describe('Create item page - Dot plot charts : Grading view, Correct answer view
88
88
  chartsDotPlotPage.steps.verifyDotCountCorrectAnswerSection(2, { point: 1, min: 1, interval: 0.25 });
89
89
  });
90
90
 
91
- it('Correct answer section along with dot plot attempted by the user should be displayed', () => {
91
+ it('Charts Dot - Correct answer section along with dot plot attempted by the user should be displayed', () => {
92
92
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 0.25 });
93
93
  chartsDotPlotPage.steps.verifyCorrectDotPreviewTab({ point: 3, min: 1, interval: 0.25 });
94
94
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 0.25 });
@@ -181,7 +181,7 @@ describe('Create item page - Dot plot charts : Grading view, Correct answer view
181
181
  chartsDotPlotPage.steps.verifyCorrectDotPreviewTab({ point: 3, min: 1, interval: 0.25 });
182
182
  });
183
183
 
184
- it('The points alloted to the question should be displayed', () => {
184
+ it('Charts Dot - The points alloted to the question should be displayed', () => {
185
185
  correctAnswerViewPage.steps.verifyAvailablePoints(10);
186
186
  });
187
187
 
@@ -13,6 +13,14 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
+ beforeEach(() => {
17
+ cy.startApplitools();
18
+ });
19
+
20
+ afterEach(() => {
21
+ cy.eyesClose();
22
+ });
23
+
16
24
  views.forEach((view) => {
17
25
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
18
26
  abortEarlySetup();
@@ -71,13 +79,13 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
71
79
  utilities.verifyElementVisibilityState(chartsDotPlotPage.previewTabXAxisLabelButton(), 'visible');
72
80
  });
73
81
 
74
- it('The number line axis should be displayed with labels from 1 to 6 with 20 divisions', () => {
82
+ it(`${view} - Charts Dot - The number line axis should be displayed with labels from 1 to 6 with 20 divisions`, () => {
75
83
  utilities.verifyElementVisibilityState(chartsDotPlotPage.numberLineAxisPreviewTab(), 'exist');
76
84
  chartsDotPlotPage.steps.verifyDivisionsOnNumberLineAxisPreviewTab({ min: 1, max: 6, interval: 0.25 });
77
85
  chartsDotPlotPage.steps.verifyLabelsOnNumberLineAxisPreviewTab(1, 6, 4);
78
86
  });
79
87
 
80
- it('User should be able to edit the X axis labels in preview tab', () => {
88
+ it(`${view} - Charts Dot - User should be able to edit the X axis labels in preview tab`, () => {
81
89
  chartsDotPlotPage.steps.editXAxisLabelInPreviewTab('Numbers of days');
82
90
  utilities.verifyInnerText(chartsDotPlotPage.previewTabXAxisLabelButton(), 'Numbers of days');
83
91
  });
@@ -164,7 +172,7 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
164
172
  chartsDotPlotPage.steps.unselectDotColumnInPreviewTab({ point: 4, min: 1, interval: 0.25 });
165
173
  });
166
174
 
167
- it('When user removes dots from dot column having 10 dots then \'Add dot\' button should be in enabled state', () => {
175
+ it(`${view} - Charts Dot - When user removes dots from dot column having 10 dots then \'Add dot\' button should be in enabled state`, () => {
168
176
  //using minus button
169
177
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(9, { point: 5, min: 1, interval: 0.25 });
170
178
  chartsDotPlotPage.steps.selectDotColumnInPreviewTab({ point: 5, min: 1, interval: 0.25 });
@@ -174,6 +182,7 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
174
182
  chartsDotPlotPage.steps.decreaseDotInDotColumnUsingKeyboardPreviewTab(1, { point: 4, min: 1, interval: 0.25 });
175
183
  utilities.verifyElementNotDisabled(chartsDotPlotPage.addButtonPreviewTab());
176
184
  chartsDotPlotPage.steps.unselectDotColumnInPreviewTab({ point: 4, min: 1, interval: 0.25 });
185
+ cy.eyesCheckWindow(`${view} - Charts Dot - Charts Dot: After Adding/Removing dots`);
177
186
  });
178
187
 
179
188
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -370,7 +379,7 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
370
379
  utilities.verifyElementNotDisabled(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[0]));
371
380
  });
372
381
 
373
- it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state and control options should be in disabled state', () => {
382
+ it(`${view} - Charts Dot - When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state and control options should be in disabled state`, () => {
374
383
  chartsDotPlotPage.steps.selectControlOptionPreviewTab(controlOptions[2]);
375
384
  chartsDotPlotPage.steps.confirmReset();
376
385
  chartsDotPlotPage.steps.verifyDotColumnIsLockedInPreviewTab({ point: 1, min: 1, interval: 0.25 });
@@ -0,0 +1,14 @@
1
+ module.exports = {
2
+ apiKey: 'iv996xa7KXMrp8xQ8JwZ9TybQwOUVjzBDzDzoEyyr8z4110',
3
+ serverUrl: 'https://eyes.applitools.com',
4
+ browser: [
5
+ { width: 1366, height: 609, name: 'chrome' },
6
+ { width: 1280, height: 832, name: 'edgechromium' },
7
+ { width: 1536, height: 960, name: 'safari' },
8
+ { width: 1024, height: 1366, name: 'safari' }
9
+ ],
10
+ //Configuration options: https://applitools.com/tutorials/sdks/cypress/configuration
11
+ ignoreDisplacements: true, // Set to false to detect mismatches in the displacements of the elements
12
+ failCypressOnDiff: false, // Set to true to fail the test when differences are detected
13
+ isDisabled: false // Set to true to disable Applitools
14
+ };
@@ -788,14 +788,14 @@ const steps = {
788
788
  audioPlayerPage.audioOverviewInputField()
789
789
  .find('[data-widget="ngie_equation"]')
790
790
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
791
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
791
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
792
792
  },
793
793
 
794
794
  verifyEquationInAudioOverviewPreviewTab: () => {
795
795
  audioPlayerPage.audioOverviewPreviewTab()
796
796
  .find('[role="math"]')
797
797
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
798
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
798
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
799
799
  },
800
800
 
801
801
  verifyLinkInAudioOverviewInputField: () => {
@@ -897,14 +897,14 @@ const steps = {
897
897
  audioPlayerPage.transcriptInputField()
898
898
  .find('[data-widget="ngie_equation"]')
899
899
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
900
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
900
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
901
901
  },
902
902
 
903
903
  verifyEquationInTranscriptPreviewTab: () => {
904
904
  audioPlayerPage.transcriptContentPreviewTab()
905
905
  .find('[role="math"]')
906
906
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
907
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
907
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
908
908
  },
909
909
 
910
910
  verifyLinkInTranscriptInputField: () => {
@@ -90,23 +90,6 @@ const steps = {
90
90
  .should('be.visible');
91
91
  },
92
92
 
93
- /**
94
- * @description type in the tolerance input field
95
- * @param {string} text - text to be entered in the input field
96
- */
97
- enterTextInToleranceInputField: (text: string) => {
98
- customSettingsSeparatorComponent.toleranceInputField()
99
- .type(text);
100
- },
101
-
102
- /**
103
- * @description clear the tolerance input field
104
- */
105
- clearTextInToleranceInputField: () => {
106
- customSettingsSeparatorComponent.toleranceInputField()
107
- .clear();
108
- },
109
-
110
93
  /**
111
94
  * Verifies the selected state of decimal separator toggle options.
112
95
  * @param {string} option - The aria-label of the option to be verified.
@@ -221,7 +221,7 @@ const steps = {
221
221
  * @description Select category and enter the equations in equation editor input field
222
222
  * @param {Object[]} responses - An array of objects containing the categoryName and symbolName
223
223
  * @param {string} responses[].categoryName Name of the category
224
- * @param {string[]} responses[].symbolName Name of the symbol from the selected category
224
+ * @param {string} responses[].symbolName Name of the symbol from the selected category
225
225
  */
226
226
  enterEquation: (responses) => {
227
227
  responses.forEach(({ categoryName, symbolName }) => {
@@ -363,6 +363,7 @@ const tests = {
363
363
  equationEditorSectionCommonComponent.steps.focusInResponseAnswerInputFieldPreviewTab(0);
364
364
  }
365
365
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'visible');
366
+ cy.eyesCheckWindow('Equation Editor flyout in preview tab');
366
367
  });
367
368
 
368
369
  it('\'Done\'button should be displayed at the bottom of the flyout', () => {
@@ -430,11 +431,12 @@ const tests = {
430
431
  cy.checkAccessibility(equationEditorFlyout.dialogBox());
431
432
  });
432
433
 
433
- it('Cancel button should be displayed in the flyout and when user clicks the \'Cancel\' button then the flyout should close', () => {
434
+ it(`${questionType} Cancel button should be displayed in the flyout and when user clicks the 'Cancel' button then the flyout should close`, () => {
434
435
  utilities.verifyElementVisibilityState(equationEditorFlyout.buttonCancel(), 'visible');
435
436
  utilities.verifyInnerText(equationEditorFlyout.buttonCancel(), 'Cancel');
436
437
  equationEditorFlyout.steps.clickOnEquationEditorCancelButton();
437
438
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
439
+ cy.eyesCheckWindow(`${questionType} Equation Editor flyout should not be displayed`);
438
440
  });
439
441
  },
440
442
 
@@ -11,7 +11,7 @@ const selectors = {
11
11
  specifyPointsForEachIncorrectDropzoneRadioButton: () => cy.get('input[aria-label*="Specify points for each incorrect"]'),
12
12
 
13
13
  correctAnswersNumeration: () => cy.get('[class*="__AnswerCell"] .answer-numeration-number-box'),
14
- correctAnswersOptions: () => cy.get('[class*="__AnswerWrapper"]'),
14
+ correctAnswersOptions: () => cy.get('[class*="__AnswerWrapper"] .question-text-wrapper'),
15
15
  correctAnswersLabel: () => cy.get('.correct-answers-label'),
16
16
  tickIconWrapper: () => cy.get('.tick-icon-wrapper'),
17
17
  correctAnswerContainer: () => cy.get('.dnd-correct-answer-wrapper'),
@@ -248,10 +248,6 @@ const steps = {
248
248
  utilities.verifyElementDisabledClass(utilities.getNthElement(fillInTheGapsDropdownCommonComponent.dropdownPreviewTab(), dropdownIndex));
249
249
  },
250
250
 
251
- verifyVisibilityOfCorrectAnswerLabel: ()=>{
252
- utilities.verifyInnerText(fillInTheGapsOverImageDropdownPage.correctAnswersLabel(), 'Correct answers');
253
- },
254
-
255
251
  /**
256
252
  * @param {string[]} dropdownOptionsArray Array of dropdown options
257
253
  * @description Verify the options displayed in dropdown
@@ -756,7 +752,7 @@ const tests = {
756
752
  });
757
753
 
758
754
  //Note: the expand and close dropdown does not work hence selecting one option here, the error message appears
759
- it('When user expands and collapses the dropdown without selecting any option, \'Error: Please set a correct answer.\' error message should be displayed', () => {
755
+ it('When user expands and collapses the dropdown without selecting any option, \'Error: Please set a correct answer.\' error message should not be displayed', () => {
760
756
  fillInTheGapsDropdownCommonComponent.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, 'Flower');
761
757
  utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'exist');
762
758
  });
@@ -479,7 +479,7 @@ const steps = {
479
479
  utilities.getNthElement(gridQuestionCommonComponent.tableCell(), column)
480
480
  .find('[role="math"]')
481
481
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
482
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
482
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
483
483
  });
484
484
  });
485
485
  },
@@ -561,23 +561,6 @@ const steps = {
561
561
  });
562
562
  },
563
563
 
564
- /**
565
- * Unselects options in the preview tab.
566
- * @param {Object} position - The position of the option button.
567
- * @param {number} position.row - The row index (zero-based) in the preview tab.
568
- * @param {number} position.column - The column index (zero-based) of the option button in the preview tab.
569
- */
570
- unselectOptionsInPreviewTab: ({ row, column }) => {
571
- gridQuestionCommonComponent.gridPreviewTab().within(() => {
572
- utilities.getNthElement(gridQuestionCommonComponent.tableRow(), row)
573
- .within(() => {
574
- utilities.getNthElement(gridQuestionCommonComponent.optionsButton(), column)
575
- .click()
576
- .should('not.have.class', 'selected');
577
- });
578
- });
579
- },
580
-
581
564
  /**
582
565
  * Selects options for all question stems in the preview tab.
583
566
  * @param {Object[]} rowsAndColumns - An array of objects containing row and column indices.
@@ -671,29 +654,6 @@ const steps = {
671
654
  });
672
655
  },
673
656
 
674
- /**
675
- * Verifies correct answer responses for multiple rows and columns.
676
- * @param {Array<{row: number, column: number}>} rowsAndColumns - An array of objects containing row and column indices.
677
- * @returns {void}
678
- */
679
- verifyBlankAnswerResponseCorrectAnswerSection: (rowsAndColumns) => {
680
- rowsAndColumns.forEach(({ row, column }) => {
681
- gridQuestionCommonComponent.correctAnswerGrid()
682
- .within(() => {
683
- utilities.getNthElement(gridQuestionCommonComponent.tableRow(), row)
684
- .within(() => {
685
- utilities.getNthElement(gridQuestionCommonComponent.optionsButton(), column)
686
- .should('not.have.class', 'selected');
687
- utilities.getNthElement(gridQuestionCommonComponent.optionsButton(), column)
688
- .within(() => {
689
- utilities.verifyElementVisibilityState(autoScoredScoringPreviewTab.correctIcon(), 'notExist');
690
- utilities.verifyElementVisibilityState(autoScoredScoringPreviewTab.incorrectIcon(), 'notExist');
691
- });
692
- });
693
- })
694
- });
695
- },
696
-
697
657
  verifyCorrectAnswerSectionNotExists: () => {
698
658
  utilities.verifyElementVisibilityState(gridQuestionCommonComponent.correctAnswersSectionLabel(), 'notExist');
699
659
  },
@@ -183,7 +183,7 @@ const steps = {
183
183
  .eq(index)
184
184
  .find('[data-widget="ngie_equation"]')
185
185
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
186
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
186
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
187
187
  },
188
188
 
189
189
  /**
@@ -30,9 +30,7 @@ const selectors = {
30
30
  selectedSectionUnderline: () => cy.get('[class*="MuiTabs-indicator"]').eq(1),
31
31
  sectionsNumber1Label: () => cy.get('.tablist-numbered-label').eq(0),
32
32
  sectionsNumber2Label: () => cy.get('.tablist-numbered-label').eq(1),
33
- noPreviewText: () => cy.get('[class*="__NoPreview"]'),
34
- editItemButton: () => cy.get('.icon-pencil'),
35
- pointsValue: () => cy.get('[class*="PreviewTabstyles__PointsValue"]')
33
+ noPreviewText: () => cy.get('[class*="__NoPreview"]')
36
34
  }
37
35
 
38
36
  const steps = {
@@ -574,41 +572,6 @@ const steps = {
574
572
  expect(panelWidth + sectionWidth).to.be.closeTo(itemWidth, 1);
575
573
  });
576
574
  });
577
- },
578
-
579
- /**
580
- * @param {number} index of the question
581
- * @description this function is used to click on edit item button
582
- */
583
- editItem: (index) => {
584
- createItemPage.editItemButton()
585
- .eq(index)
586
- .click();
587
- },
588
-
589
- /**
590
- * @param {string} pointsValue points of the question
591
- * @description this function is used to verify points value
592
- */
593
- verifyPointsValue: (pointsValue) => {
594
- utilities.verifyInnerText(createItemPage.pointsValue(), pointsValue)
595
- },
596
-
597
- /**
598
- * @param {string} questionType The type of question
599
- * @description this function is used to verify the question type header
600
- */
601
- verifyCreateQuestionPageQuestionTypeHeader: (questionType) => {
602
- utilities.verifyInnerText(createItemPage.createQuestionPageQuestionTypeHeader(), questionType);
603
- },
604
-
605
- /**
606
- * @param {number} index of the question
607
- * @param {string} questionType
608
- * @description this function is used to verify the question
609
- */
610
- verifyQuestionTitle: (index, questionType) => {
611
- utilities.verifyInnerText(utilities.getNthElement(createItemPage.questionTitle(), index), questionType);
612
575
  }
613
576
  }
614
577
 
@@ -820,7 +820,7 @@ const steps = {
820
820
  .eq(optionIndex)
821
821
  .find('[role="math"]')
822
822
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
823
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
823
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
824
824
  utilities.verifyElementVisibilityState(utilities.getNthElement(draggableOptionContainer.draggableOptionDragIcon(), optionIndex), 'exist');
825
825
  });
826
826
  },
@@ -33,7 +33,7 @@ const selectors = {
33
33
  //Specify correct answer section
34
34
  dropzoneSpecifyCorrectAnswerSection: () => cy.get('[class="droppable-area"] [role="button"]'),
35
35
  optionContainerOptionsSpecifyCorrectAnswerSection: () => cy.get('.draggable-selected-item'),
36
- optionsContainerSpecifyCorrectAnswerSection: () => cy.get('.draggable-wrapper'),
36
+ optionsContainerSpecifyCorrectAnswerSection: () => cy.get('.draggable-wrapper'),
37
37
  addAlternateButtonSpecifyCorrectAnswer: () => cy.get('.alternate-option-btn-wrapper button'),
38
38
  selectedAlternateAnswerCountSpecifyCorrectAnswer: () => cy.get('.selected-option-wrapper'),
39
39
  alternateAnswerPopup: () => cy.get('.alternate-option-popup-wrapper'),
@@ -105,48 +105,6 @@ const steps = {
105
105
  });
106
106
  },
107
107
 
108
- /**
109
- * Sets options in dropzone in the Preview Tab based on the provided optionsObject.
110
- * @param {Object} optionsObject - An object where keys are option texts and values are dropzone indices.
111
- */
112
- clickAndDropOptionInDropzoneWithIndexSpecifyCorrectAnswerSection: (optionsObject) => {
113
- Object.entries(optionsObject).forEach(([index, dropzoneIndex]) => {
114
- fillInTheGapsDragAndDropPage.optionContainerOptionsSpecifyCorrectAnswerSection()
115
- .eq(index)
116
- .click();
117
- fillInTheGapsDragAndDropPage.dropzoneSpecifyCorrectAnswerSection()
118
- .eq(dropzoneIndex)
119
- .click({ force: true });
120
- });
121
- },
122
-
123
- /**
124
- * Sets options in dropzone in the Preview Tab based on the provided optionsObject.
125
- * @param {Object} optionsObject - An object where keys are option texts and values are dropzone indices.
126
- */
127
- clickAndDropOptionOutsideDropzoneWithIndexPreviewTab: (dropzoneIndex) => {
128
- fillInTheGapsDragAndDropPage.dropzonePreviewTab()
129
- .eq(dropzoneIndex)
130
- .click();
131
- cy.get('.option-drag-and-drop')
132
- .click({ force: true });
133
- },
134
-
135
- /**
136
- * Sets options in dropzone in the Preview Tab based on the provided optionsObject.
137
- * @param {Object} optionsObject - An object where keys are option texts and values are dropzone indices.
138
- */
139
- clickAndDropOptionWithIndexInDropzonePreviewTab: (optionsObject) => {
140
- Object.entries(optionsObject).forEach(([index, dropzoneIndex]) => {
141
- fillInTheGapsDragAndDropPage.optionContainerOptionsPreviewTab()
142
- .eq(index)
143
- .click();
144
- fillInTheGapsDragAndDropPage.dropzonePreviewTab()
145
- .eq(dropzoneIndex)
146
- .click({ force: true });
147
- });
148
- },
149
-
150
108
  /**
151
109
  * Sets options in dropzone in the Preview Tab based on the provided optionsObject.
152
110
  * @param {Object} optionsObject - An object where keys are option texts and values are dropzone indices.
@@ -250,7 +208,7 @@ const steps = {
250
208
  fillInTheGapsDragAndDropPage.optionContainerOptionsPreviewTab()
251
209
  .find('[role="math"]')
252
210
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
253
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
211
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
254
212
  utilities.verifyElementVisibilityState(utilities.getNthElement(draggableOptionContainer.draggableOptionDragIcon(), optionIndex), 'exist');
255
213
  },
256
214
 
@@ -275,7 +233,7 @@ const steps = {
275
233
  .eq(optionIndex)
276
234
  .find('[role="math"]')
277
235
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
278
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
236
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
279
237
  },
280
238
 
281
239
  /**
@@ -95,7 +95,6 @@ const selectors = {
95
95
  dropzoneNumerationBox: () => cy.get('.answer-numeration-number-box'),
96
96
  correctAnswerResponseWrapperWithoutEnumeration: () => cy.get('.dnd-correct-answer-wrapper [class*="ResponseDropZonestyles__ResponseWrapper"]'),
97
97
  responseAreaPreviewTab: () => cy.get('[class*="ResponseDropZonestyles__ResponseWrapper"] .cell'),
98
- droppedOptionPreviewTab: () => cy.get('.response-dropped')
99
98
  }
100
99
 
101
100
  const steps = {
@@ -187,34 +186,6 @@ const steps = {
187
186
  });
188
187
  },
189
188
 
190
- /**
191
- * Sets options in dropzone in the Preview Tab based on the provided optionsObject.
192
- * @param {Object} optionsObject - An object where keys are option texts and values are dropzone indices.
193
- */
194
- clickAndDropOptionWithIndexInDropzonePreviewTab: (optionsObject) => {
195
- Object.entries(optionsObject).forEach(([index, dropzoneIndex]) => {
196
- fillInTheGapsOverImageDragAndDropPage.optionContainerOptionsPreviewTab()
197
- .eq(index)
198
- .click();
199
- fillInTheGapsOverImageDragAndDropPage.dropzonePreviewTab()
200
- .eq(dropzoneIndex)
201
- .click({ force: true });
202
- });
203
- },
204
-
205
- /**
206
- * Sets options in dropzone in the Preview Tab based on the provided optionsObject.
207
- * @param {Object} optionsObject - An object where keys are option texts and values are dropzone indices.
208
- */
209
- clickAndDropOptionOutsideDropzoneWithIndexPreviewTab: (droppedIndex) => {
210
- fillInTheGapsOverImageDragAndDropPage.droppedOptionPreviewTab()
211
- .eq(droppedIndex)
212
- .click();
213
- cy.get('.option-drag-and-drop')
214
- .click();
215
- },
216
-
217
-
218
189
  /**
219
190
  * Verifies the correct answer responses without enumeration.
220
191
  * @param {string[]} correctAnswerArray - An array of correct answer responses to verify.
@@ -365,7 +336,7 @@ const steps = {
365
336
  fillInTheGapsOverImageDragAndDropPage.optionContainerOptionsPreviewTab()
366
337
  .find('[role="math"]')
367
338
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
368
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
339
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
369
340
  utilities.verifyElementVisibilityState(utilities.getNthElement(draggableOptionContainer.draggableOptionDragIcon(), optionIndex), 'exist');
370
341
  },
371
342
 
@@ -390,7 +361,7 @@ const steps = {
390
361
  .eq(optionIndex)
391
362
  .find('[role="math"]')
392
363
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
393
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
364
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
394
365
  },
395
366
 
396
367
  /**
@@ -432,10 +403,6 @@ const steps = {
432
403
  });
433
404
  },
434
405
 
435
- verifyVisibilityOfCorrectAnswerLabel: ()=>{
436
- utilities.verifyInnerText(fillInTheGapsOverImageDragAndDropPage.correctAnswersLabel(), 'Correct answers');
437
- },
438
-
439
406
  /**
440
407
  * @description Verifies the absence of a correct/incorrect option icon for a specified option in the Preview Tab.
441
408
  * @param {number} optionIndex - The index of the option to verify.
@@ -1719,7 +1719,7 @@ const steps = {
1719
1719
  verifyCorrectIncorrectIconsNotExistListOrderingReorderAsSeparate: () => {
1720
1720
  utilities.verifyElementVisibilityState(listOrderingPage.correctIconNew(), 'notExist');
1721
1721
  utilities.verifyElementVisibilityState(listOrderingPage.incorrectIconNew(), 'notExist');
1722
- },
1722
+ }
1723
1723
  }
1724
1724
 
1725
1725
  const tests = {