itemengine-cypress-automation 1.0.276-updatedRepo12thDec-303c8a0.0 → 1.0.277

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +2 -1
  2. package/cypress/e2e/ILC/ChartsBar/toolSettings.js +1 -1
  3. package/cypress/e2e/ILC/ChartsLine/toolSettings.js +1 -1
  4. package/cypress/e2e/ILC/Compass/compassEditTabBasicsSection.js +5 -11
  5. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +0 -1
  6. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +5 -7
  7. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -6
  8. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +0 -8
  9. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +0 -8
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +0 -4
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +0 -2
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +0 -2
  13. package/cypress/e2e/ILC/EssayResponse/toolSettings.js +2 -8
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -2
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +0 -1
  17. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +0 -2
  18. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +1 -1
  19. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
  20. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
  21. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
  22. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
  23. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  24. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  25. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  26. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  27. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  28. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  29. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAlternateAnswerPopup.js +1 -0
  30. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -2
  31. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +1 -1
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +4 -4
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  36. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +7 -7
  37. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  38. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +8 -8
  39. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +8 -8
  42. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  45. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -2
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +2 -4
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +0 -2
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +1 -2
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -18
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +6 -6
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  70. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +9 -9
  71. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
  72. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
  73. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +3 -3
  74. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
  75. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
  76. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
  77. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
  78. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
  79. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  80. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  81. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  82. package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +1 -1
  83. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +4 -2
  84. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +2 -4
  85. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +0 -1
  86. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +1 -2
  87. package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
  88. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +0 -2
  89. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  90. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +0 -6
  91. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  92. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  93. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  94. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  95. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  96. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  97. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +2 -3
  98. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +0 -2
  99. package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
  100. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
  101. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -4
  102. package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
  103. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
  104. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -2
  105. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
  106. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -2
  107. package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +4 -3
  108. package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +0 -4
  109. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +3 -2
  110. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +0 -5
  111. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
  112. package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +0 -3
  113. package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +3 -6
  114. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  115. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  116. package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +1 -23
  117. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -476
  118. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  119. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +5 -7
  120. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
  121. package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
  122. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
  123. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
  124. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
  125. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
  126. package/cypress/pages/audioPlayerPage.js +2 -2
  127. package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
  128. package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
  129. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +1 -19
  130. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
  131. package/cypress/pages/components/essayResponseCommonComponents.js +5 -6
  132. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  133. package/cypress/pages/components/layoutSectionComponent.js +2 -6
  134. package/cypress/pages/components/numberLineCommonComponent.js +5 -12
  135. package/cypress/pages/components/playbackControlsBaseComponent.js +0 -5
  136. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
  137. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  138. package/cypress/pages/drawingResponsePage.js +1 -18
  139. package/cypress/pages/fillInTheGapsDragAndDropPage.js +2 -3
  140. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +6 -19
  141. package/cypress/pages/gridFillPage.js +3 -2
  142. package/cypress/pages/listOrderingPage.js +12 -19
  143. package/cypress/pages/matchingPage.js +2 -16
  144. package/cypress/pages/textEntryMathPage.js +4 -716
  145. package/cypress/pages/textEntryMathWithImagePage.js +5 -133
  146. package/package.json +1 -1
  147. package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +0 -129
  148. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +0 -384
@@ -94,7 +94,6 @@ const selectors = {
94
94
  correctAnswerSectionWithoutEnumerationWrapper: () => cy.get('[class*="Canvasstyle__DragAndDropCanvas"] .drag-and-drop-canvas'),
95
95
  dropzoneNumerationBox: () => cy.get('.answer-numeration-number-box'),
96
96
  correctAnswerResponseWrapperWithoutEnumeration: () => cy.get('.dnd-correct-answer-wrapper [class*="ResponseDropZonestyles__ResponseWrapper"]'),
97
- responseAreaPreviewTab: () => cy.get('[class*="ResponseDropZonestyles__ResponseWrapper"] .cell'),
98
97
  }
99
98
 
100
99
  const steps = {
@@ -336,7 +335,7 @@ const steps = {
336
335
  fillInTheGapsOverImageDragAndDropPage.optionContainerOptionsPreviewTab()
337
336
  .find('[role="math"]')
338
337
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
339
- // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
338
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
340
339
  utilities.verifyElementVisibilityState(utilities.getNthElement(draggableOptionContainer.draggableOptionDragIcon(), optionIndex), 'exist');
341
340
  },
342
341
 
@@ -361,7 +360,7 @@ const steps = {
361
360
  .eq(optionIndex)
362
361
  .find('[role="math"]')
363
362
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
364
- // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
363
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
365
364
  },
366
365
 
367
366
  /**
@@ -704,13 +703,13 @@ const steps = {
704
703
  verifyOptionInDropzoneNotWrapped: () => {
705
704
  fillInTheGapsOverImageDragAndDropPage.dropzoneOptionSpecifyCorrectAnswerSection()
706
705
  .eq(0)
707
- .should('have.css', 'height', '22px');
706
+ .should('have.css', 'height', '24px');
708
707
  },
709
708
 
710
709
  verifyOptionInDropzoneWrapped: () => {
711
710
  fillInTheGapsOverImageDragAndDropPage.dropzoneOptionSpecifyCorrectAnswerSection()
712
711
  .eq(0)
713
- .should('have.css', 'height', '66px');
712
+ .should('have.css', 'height', '72px');
714
713
  },
715
714
 
716
715
  expandOptionInDropzone: () => {
@@ -994,13 +993,13 @@ const steps = {
994
993
  break;
995
994
  case 'Left':
996
995
  fillInTheGapsOverImageDragAndDropPage.optionPanelWrapper()
997
- .should('have.css', 'width', '143.84375px')
996
+ .should('have.css', 'width', '142.84375px')
998
997
  .and('have.css', 'padding-right', '24px')
999
998
  .and('have.css', 'padding-left', '8px')
1000
999
  break;
1001
1000
  case 'Right':
1002
1001
  fillInTheGapsOverImageDragAndDropPage.optionPanelWrapper()
1003
- .should('have.css', 'width', '143.84375px')
1002
+ .should('have.css', 'width', '142.84375px')
1004
1003
  .and('have.css', 'padding-right', '8px')
1005
1004
  .and('have.css', 'padding-left', '24px')
1006
1005
  break;
@@ -1181,18 +1180,6 @@ const steps = {
1181
1180
  });
1182
1181
  });
1183
1182
  },
1184
-
1185
- /**
1186
- * Verifies the border style of a response area element.
1187
- * @param {number} responseAreaIndex - The index of the response area to verify.
1188
- * @param {string} borderStyle - The expected border style value.
1189
- */
1190
- verifyResponseAreaOverImageBorderStyle: (responseAreaIndex, borderStyle) => {
1191
- const styleName = borderStyle.toLowerCase();
1192
- utilities.verifyCSS(utilities.getNthElement(fillInTheGapsOverImageDragAndDropPage.responseAreaPreviewTab(), responseAreaIndex), {
1193
- 'border-style': styleName
1194
- });
1195
- },
1196
1183
  }
1197
1184
 
1198
1185
  const tests = {
@@ -174,7 +174,7 @@ const selectors = {
174
174
  correctAnswerLabel: () => cy.get('[class*="GridFillResponsestyles__CorrectAnswerLabel"]'),
175
175
  warningMessageContainer: () => cy.get('.disabled-wrapper-cls'),
176
176
  warningMessage: () => cy.get('.disabled-wrapper-cls [class*="DisabledTextWrapper"]'),
177
- resetButton: () => cy.get('[class*="reset-color-wrapper"] button')
177
+ resetButton: () => cy.get('[class*="reset-color-wrapper"] button'),
178
178
  }
179
179
 
180
180
  const steps = {
@@ -2849,7 +2849,8 @@ const steps = {
2849
2849
  scoringSectionBaseEditTab.pointsInputField()
2850
2850
  .eq(0)
2851
2851
  .should('have.value', points)
2852
- }
2852
+
2853
+ },
2853
2854
  }
2854
2855
 
2855
2856
  const tests = {
@@ -125,8 +125,6 @@ const selectors = {
125
125
  leftToggleButton: () => cy.get('[data-ngie-testid="left-toggle-button"]'),
126
126
  rightToggleButton: () => cy.get('[data-ngie-testid="right-toggle-button"]'),
127
127
  pannelPlacementRightToggle: () => cy.get('.panel-placement-reversed-cls'),
128
- correctIconNew: () => cy.get('[class*="ClozeWithDragAndDropstyles__TickIconWrapper"].icon-correct'),
129
- incorrectIconNew: () => cy.get('[class*="ClozeWithDragAndDropstyles__TickIconWrapper"].icon-incorrect'),
130
128
  }
131
129
 
132
130
  const steps = {
@@ -246,7 +244,7 @@ const steps = {
246
244
  break;
247
245
  case 'none':
248
246
  dragIcon
249
- .should('not.be.visible');
247
+ .should('not.exist');
250
248
  break;
251
249
  default:
252
250
  throw new Error('Invalid drag handle option');
@@ -296,7 +294,7 @@ const steps = {
296
294
  utilities.verifyElementVisibilityState(listOrderingPage.connectorIcon().eq(connector), 'visible');
297
295
  }
298
296
  },
299
-
297
+
300
298
  /**
301
299
  * Verifies the connector.
302
300
  * @param {string} connectorName - name of the connector
@@ -407,7 +405,7 @@ const steps = {
407
405
  .eq(optionIndex)
408
406
  .find('[role="math"]')
409
407
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
410
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
408
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
411
409
  },
412
410
 
413
411
  /**
@@ -502,7 +500,7 @@ const steps = {
502
500
  .eq(optionIndex)
503
501
  .find('[role="math"]')
504
502
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
505
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
503
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
506
504
  },
507
505
 
508
506
  /**
@@ -688,7 +686,7 @@ const steps = {
688
686
  utilities.getNthElement(listOrderingPage.optionSpecifyCorrectAnswerSection(), index)
689
687
  .find('[role="math"]')
690
688
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
691
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
689
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
692
690
  },
693
691
 
694
692
  /**
@@ -873,7 +871,7 @@ const steps = {
873
871
  .eq(optionIndex)
874
872
  .find('[role="math"]')
875
873
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
876
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
874
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
877
875
  },
878
876
 
879
877
  /**
@@ -1230,7 +1228,7 @@ const steps = {
1230
1228
  .eq(optionIndex)
1231
1229
  .find('[role="math"]')
1232
1230
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
1233
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
1231
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
1234
1232
  },
1235
1233
 
1236
1234
  /**
@@ -1274,7 +1272,7 @@ const steps = {
1274
1272
  .eq(optionIndex)
1275
1273
  .find('[role="math"]')
1276
1274
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
1277
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
1275
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
1278
1276
  },
1279
1277
 
1280
1278
  /**
@@ -1549,7 +1547,7 @@ const steps = {
1549
1547
  .eq(optionIndex)
1550
1548
  .find('[role="math"]')
1551
1549
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
1552
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
1550
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
1553
1551
  },
1554
1552
 
1555
1553
  /**
@@ -1561,7 +1559,7 @@ const steps = {
1561
1559
  .eq(optionIndex)
1562
1560
  .find('[role="math"]')
1563
1561
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
1564
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
1562
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
1565
1563
  },
1566
1564
 
1567
1565
  /**
@@ -1573,7 +1571,7 @@ const steps = {
1573
1571
  .eq(optionIndex)
1574
1572
  .find('[role="math"]')
1575
1573
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
1576
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
1574
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
1577
1575
  },
1578
1576
 
1579
1577
  /**
@@ -1585,7 +1583,7 @@ const steps = {
1585
1583
  .eq(optionIndex)
1586
1584
  .find('[role="math"]')
1587
1585
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
1588
- // .contains(constants.CKEditorInputFieldEnteredEquationText);
1586
+ // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
1589
1587
  },
1590
1588
 
1591
1589
  /**
@@ -1715,11 +1713,6 @@ const steps = {
1715
1713
  .should('have.css', 'pointer-events', 'none');
1716
1714
  });
1717
1715
  },
1718
-
1719
- verifyCorrectIncorrectIconsNotExistListOrderingReorderAsSeparate: () => {
1720
- utilities.verifyElementVisibilityState(listOrderingPage.correctIconNew(), 'notExist');
1721
- utilities.verifyElementVisibilityState(listOrderingPage.incorrectIconNew(), 'notExist');
1722
- }
1723
1716
  }
1724
1717
 
1725
1718
  const tests = {
@@ -167,7 +167,6 @@ const selectors = {
167
167
  draggableOptionsLabel: () => cy.get('.draggable-options-label'),
168
168
  dragHandleIconLabel: () => cy.get('[class*="__SubSectionLabel"]').eq(3),
169
169
  dragHandle: () => cy.get('[class*="DraggableItemstyle__ItemWrapper"] [class*="drag"]'),
170
- dragHandleNew: () => cy.get('[class*="DraggableItemstyle__ItemContainer"] .drag-icon-button'),
171
170
  dragHandleOptions: () => cy.get('.drag-handle-icon-block'),
172
171
  draggableOptionPanelPlacementLabel: () => cy.get('.draggable-option-panel-label'),
173
172
  panelPlacementLabel: () => cy.get('.panel-placement-style .options-label'),
@@ -894,19 +893,6 @@ const steps = {
894
893
  });
895
894
  },
896
895
 
897
- /**
898
- * @description Verifies the incorrect option icon for a specified dropzone in the Preview Tab.
899
- * @param {number} dropzoneIndex - The index of the dropzone to verify.
900
- * @param {number} optionIndex - The index of the option to verify.
901
- */
902
- verifyIncorrectOptionIconForEmptyOption: (dropzoneIndex) => {
903
- matchingPage.dropzonePreviewTab()
904
- .eq(dropzoneIndex)
905
- .within(() => {
906
- utilities.verifyElementVisibilityState(autoScoredScoringPreviewTab.incorrectIcon(), 'exist');
907
- });
908
- },
909
-
910
896
  /**
911
897
  * @description Verifies the absence of a correct/incorrect option icon for a specified option in the Preview Tab.
912
898
  * @param {number} optionIndex - The index of the option to verify.
@@ -2313,7 +2299,7 @@ const steps = {
2313
2299
  .should('have.class', 'drag-arrows-icon');
2314
2300
  break;
2315
2301
  case 'none':
2316
- matchingPage.dragHandleNew()
2302
+ matchingPage.dragHandle()
2317
2303
  .should('not.exist');
2318
2304
  break;
2319
2305
  }
@@ -2352,7 +2338,7 @@ const steps = {
2352
2338
  case 'none':
2353
2339
  matchingPage.previewTabQuestionWrapper()
2354
2340
  .within(() => {
2355
- matchingPage.dragHandleNew()
2341
+ matchingPage.dragHandle()
2356
2342
  .should('not.exist');
2357
2343
  });
2358
2344
  break;