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
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
75
75
  fillInTheGapsTextPage.steps.switchToGradingView();
76
76
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
77
77
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
78
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
78
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
79
79
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
80
80
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
81
81
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
83
83
  fillInTheGapsTextPage.steps.checkAnswer();
84
84
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
85
85
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
86
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
86
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
87
87
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
89
89
  });
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
94
94
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
95
95
  fillInTheGapsTextPage.steps.switchToGradingView();
96
96
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
97
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
98
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
97
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
98
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
99
99
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
100
100
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
101
101
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
102
102
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response, correct/incorrect status message and correct answer section should not be displayed')
103
103
  fillInTheGapsTextPage.steps.checkAnswer();
104
104
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
105
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
106
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
105
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
106
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
107
107
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
109
109
  });
@@ -131,16 +131,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
131
131
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
132
132
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
133
133
  fillInTheGapsTextPage.steps.switchToGradingView();
134
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
135
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
134
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
135
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
136
136
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
137
137
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
138
138
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
139
139
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
140
140
  /*cy.log('When the user has attempted the question with the common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response, correct/incorrect status message and correct answer section should not be displayed')
141
141
  fillInTheGapsTextPage.steps.checkAnswer();
142
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
143
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
142
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
143
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
144
144
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
145
145
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
146
146
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -152,16 +152,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal with alte
152
152
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
153
153
  fillInTheGapsTextPage.steps.switchToGradingView();
154
154
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
155
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
156
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
155
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
156
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
157
157
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
158
158
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
159
159
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
160
160
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response, correct/incorrect status message and correct answer section should not be displayed')
161
161
  fillInTheGapsTextPage.steps.checkAnswer();
162
162
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
163
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
164
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
163
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
164
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
165
165
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
166
166
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
167
167
  });
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
75
75
  fillInTheGapsTextPage.steps.switchToGradingView();
76
76
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
77
77
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
78
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
78
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
79
79
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
80
80
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
81
81
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
83
83
  fillInTheGapsTextPage.steps.checkAnswer();
84
84
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
85
85
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
86
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
86
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
87
87
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
89
89
  });
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
94
94
  fillInTheGapsTextPage.steps.verifyPreviewScore(3, 15);
95
95
  fillInTheGapsTextPage.steps.switchToGradingView();
96
96
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
97
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
98
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
97
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
98
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
99
99
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
100
100
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
101
101
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
102
102
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response correct/incorrect status message should not be displayed and correct answer section should not be displayed')
103
103
  fillInTheGapsTextPage.steps.checkAnswer();
104
104
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
105
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
106
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
105
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
106
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
107
107
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
109
109
  });
@@ -115,7 +115,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
115
115
  fillInTheGapsTextPage.steps.switchToGradingView();
116
116
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
117
117
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
118
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
118
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
119
119
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
120
120
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
121
121
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -123,7 +123,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
123
123
  fillInTheGapsTextPage.steps.checkAnswer();
124
124
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
125
125
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
126
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
126
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
127
127
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
129
129
  });
@@ -133,16 +133,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
133
133
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
134
134
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
135
135
  fillInTheGapsTextPage.steps.switchToGradingView();
136
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
137
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
136
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
137
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
138
138
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
139
139
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
140
140
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
141
141
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
142
142
  /*cy.log('When the user has attempted the question with common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response correct/incorrect status message should not be displayed and correct answer section should not be displayed')
143
143
  fillInTheGapsTextPage.steps.checkAnswer();
144
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
145
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
144
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
145
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
146
146
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
147
147
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
148
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -154,16 +154,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
154
154
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
155
155
  fillInTheGapsTextPage.steps.switchToGradingView();
156
156
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
157
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
158
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
157
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
158
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
159
159
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
160
160
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
161
161
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
162
162
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response correct/incorrect status message should not be displayed and correct answer section should not be displayed')
163
163
  fillInTheGapsTextPage.steps.checkAnswer();
164
164
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
165
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
166
- fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
165
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
166
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
167
167
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
169
169
  });
@@ -39,7 +39,7 @@ describe('Create Item page: Tool settings', () => {
39
39
  rulerPage.steps.expandRotationDropdown();
40
40
  rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
41
41
  rulerPage.steps.enterInputToOpacityInputField(60);
42
- rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
42
+ rulerPage.steps.checkAddShowHideButtonCheckbox();
43
43
  toolSettingsComponent.steps.clickOnOkButton();
44
44
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
45
45
  toolSettingsComponent.steps.verifyToolSelectedState(0);
@@ -120,7 +120,8 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
120
120
  });
121
121
  });
122
122
 
123
- it('Accessibility of grading view', { tags: 'a11y' }, () => {
123
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-4805
124
+ it.skip('Accessibility of grading view', { tags: 'a11y' }, () => {
124
125
  cy.checkAccessibility(graphingPage.graphPreviewTab());
125
126
  });
126
127
  });
@@ -193,7 +194,8 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
193
194
  });
194
195
  });
195
196
 
196
- it('Accessibility of correct answer section', { tags: 'a11y' }, () => {
197
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-4805
198
+ it.skip('Accessibility of correct answer section', { tags: 'a11y' }, () => {
197
199
  cy.checkAccessibility(graphingPage.graphPreviewTab());
198
200
  });
199
201
  });
@@ -419,8 +419,7 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
419
419
  graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: -1, xRange: 20, y: 1, yRange: 20 }]);
420
420
  });
421
421
 
422
- //Failing due to https://weldnorthed.atlassian.net/browse/IEI-4461
423
- it.skip('User should not be able to enter values below 0 and should be able to enter values above 999 in the Y grid spacing input field', () => {
422
+ it('User should not be able to enter values below 0 and should be able to enter values above 999 in the Y grid spacing input field', () => {
424
423
  graphingPage.steps.addTextInXTickIntervalInputFieldValue(-12);
425
424
  graphingPage.steps.verifyXTickIntervalInputFieldValue('12');
426
425
  graphingPage.steps.enterTextInXGridSpacingInputFieldValue(1500);
@@ -548,8 +547,7 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
548
547
  graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 3, xRange: 20, y: -1, yRange: 20 }]);
549
548
  });
550
549
 
551
- //Failing due to https://weldnorthed.atlassian.net/browse/IEI-4461
552
- it.skip('User should not be able to enter values below 0 and should be able to enter values above 999 in the Y grid spacing input field', () => {
550
+ it('User should not be able to enter values below 0 and should be able to enter values above 999 in the Y grid spacing input field', () => {
553
551
  graphingPage.steps.typeTextInYGridSpacingInputFieldValue(-12);
554
552
  graphingPage.steps.verifyYGridSpacingInputFieldValue('12')
555
553
  graphingPage.steps.enterTextInYGridSpacingInputFieldValue(1500);
@@ -30,7 +30,6 @@ describe('Create Item page - Grid fill: Specify Correct answer, Alternative corr
30
30
  gridFillPage.tests.verifyAutoScoredAddAlternativeAnswerButtonAndValidation();
31
31
 
32
32
  it('When user has added points and selected grid cells in the \'Correct\' accordion, then the user should be able to add alternative answer for the question using \'Add alternative answer\' button', () => {
33
- gridFillPage.steps.closeWarningPopup();
34
33
  gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
35
34
  gridFillPage.steps.allotPoints(20);
36
35
  gridFillPage.steps.addAlternativeAnswerAccordion(1);
@@ -173,8 +173,7 @@ describe('Create Item page - Image highlight: Customize image highlight style',
173
173
  imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(1);
174
174
  });
175
175
 
176
- //Remove skip once https://redmine.zeuslearning.com/issues/580697 has been resolved.
177
- it.skip('\'Border color\' icon should be displayed and as user hovers over it then a tooltip \'Stroke color\' should be displayed', () => {
176
+ it('\'Border color\' icon should be displayed and as user hovers over it then a tooltip \'Border color\' should be displayed', () => {
178
177
  utilities.verifyElementVisibilityState(imageHighlightPage.borderColorButton(), 'visible');
179
178
  imageHighlightPage.steps.verifyToolTipText(2, imageHighlightPage.borderColorButton(), 'Border color');
180
179
  });
@@ -39,7 +39,7 @@ describe('Create Item page: Tool settings', () => {
39
39
  rulerPage.steps.expandRotationDropdown();
40
40
  rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
41
41
  rulerPage.steps.enterInputToOpacityInputField(60);
42
- rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
42
+ rulerPage.steps.checkAddShowHideButtonCheckbox();
43
43
  toolSettingsComponent.steps.clickOnOkButton();
44
44
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
45
45
  toolSettingsComponent.steps.verifyToolSelectedState(0);
@@ -42,7 +42,6 @@ describe('Create item page - List ordering: Specify correct answer, Alternative
42
42
  it('When user tries to \'+Add alternative answer\' after allotting points without re-ordering the options then the warning popup should appear and on closing the warning popup, an error message should be displayed in the \'Specify correct answer\' section', () => {
43
43
  listOrderingPage.steps.clickOnAddAlternativeAnswerButton();
44
44
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'exist');
45
- dialogBoxBase.steps.closeWarningPopup();
46
45
  utilities.verifyInnerText(listOrderingPage.errorMessage(), 'Error: The correct answer sequence matches the option sequence. Please either rearrange the options or select \'Randomize options\' to continue.');
47
46
  utilities.verifyElementVisibilityState(listOrderingPage.errorMessage(), 'visible');
48
47
  });
@@ -59,7 +58,6 @@ describe('Create item page - List ordering: Specify correct answer, Alternative
59
58
  it('When the user unchecks the \'Randomize options\' checkbox and clicks on \'+Add alternative answer\' the error message should be displayed and on re-ordering the options the error message should disappear', () => {
60
59
  listOrderingPage.steps.uncheckRandomizeOptionsCheckbox();
61
60
  listOrderingPage.steps.clickOnAddAlternativeAnswerButton();
62
- dialogBoxBase.steps.closeWarningPopup();
63
61
  utilities.verifyElementVisibilityState(listOrderingPage.errorMessage(), 'visible');
64
62
  listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
65
63
  listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('sprout', 1);
@@ -45,7 +45,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
45
45
  listOrderingPage.steps.verifyPreviewScore(0, 24);
46
46
  listOrderingPage.steps.switchToGradingView();
47
47
  listOrderingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
48
- listOrderingPage.steps.verifyCorrectIncorrectIconsNotExistListOrderingReorderAsSeparate();
48
+ listOrderingPage.steps.verifyCorrectIncorrectIconsNotExist();
49
49
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
50
50
  });
51
51
 
@@ -92,18 +92,12 @@ describe('Create item page - List ordering: Scoring section', () => {
92
92
  });
93
93
 
94
94
  it('When the user gives a score input to \'Points\' input field, then the score should be equally divided amongst the options and the \'Points per response\' label should also update accordingly', () => {
95
- listOrderingPage.steps.clickAndDropOptionSeperateList('seed');
96
- listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
97
- listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
98
- listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
99
95
  listOrderingPage.steps.allotPoints(6);
100
96
  listOrderingPage.steps.verifyPointsPerResponseScore('1.5');
101
97
  });
102
98
 
103
99
  it('When the user adds a new option, then points per response should get updated accordingly', () => {
104
100
  listOrderingPage.steps.addOption();
105
- listOrderingPage.steps.enterTextInOptionInputField(4, 'fruit')
106
- listOrderingPage.steps.clickAndDropOptionSeperateList('fruit');
107
101
  listOrderingPage.steps.verifyPointsPerResponseScore('1.2');
108
102
  });
109
103
 
@@ -89,7 +89,7 @@ describe('Create Item page - Matching: Manually and non scored', () => {
89
89
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 2 }]);
90
90
  matchingPage.steps.switchToGradingView();
91
91
  matchingPage.steps.verifyCorrectOptionIcon(0);
92
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
92
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
93
93
  matchingPage.steps.verifyIncorrectOptionIcon(2);
94
94
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
95
95
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -107,7 +107,7 @@ describe('Create Item page - Matching: Manually and non scored', () => {
107
107
  matchingPage.steps.resetQuestionPreview();
108
108
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
109
109
  matchingPage.steps.switchToGradingView();
110
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
110
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
111
111
  matchingPage.steps.verifyCorrectOptionIcon(1);
112
112
  matchingPage.steps.verifyCorrectOptionIcon(2);
113
113
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -59,7 +59,7 @@ describe('Create item page - Matching: Partial different weights', () => {
59
59
  matchingPage.steps.verifyPreviewScore(9, 20);
60
60
  matchingPage.steps.switchToGradingView();
61
61
  matchingPage.steps.verifyCorrectOptionIcon(0);
62
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
62
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
63
63
  matchingPage.steps.verifyIncorrectOptionIcon(2);
64
64
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
65
65
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -78,7 +78,7 @@ describe('Create item page - Matching: Partial different weights', () => {
78
78
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
79
79
  matchingPage.steps.verifyPreviewScore(11, 20);
80
80
  matchingPage.steps.switchToGradingView();
81
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
81
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
82
82
  matchingPage.steps.verifyCorrectOptionIcon(1);
83
83
  matchingPage.steps.verifyCorrectOptionIcon(2);
84
84
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -83,7 +83,7 @@ describe('Create item page - Matching: Partial different weights', () => {
83
83
  matchingPage.steps.switchToGradingView();
84
84
  matchingPage.steps.verifyCorrectOptionIcon(0);
85
85
  matchingPage.steps.verifyCorrectOptionIcon(1);
86
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
86
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
87
87
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
89
89
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -103,7 +103,7 @@ describe('Create item page - Matching: Partial different weights', () => {
103
103
  matchingPage.steps.switchToGradingView();
104
104
  matchingPage.steps.verifyCorrectOptionIcon(0);
105
105
  matchingPage.steps.verifyCorrectOptionIcon(1);
106
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
106
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
107
107
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
109
109
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -122,7 +122,7 @@ describe('Create item page - Matching: Partial different weights', () => {
122
122
  matchingPage.steps.verifyPreviewScore(10, 15);
123
123
  matchingPage.steps.switchToGradingView();
124
124
  matchingPage.steps.verifyCorrectOptionIcon(0);
125
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
125
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
126
126
  matchingPage.steps.verifyCorrectOptionIcon(2);
127
127
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
@@ -181,8 +181,8 @@ describe('Create item page - Matching: Partial different weights', () => {
181
181
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
182
182
  matchingPage.steps.verifyPreviewScore(7, 15);
183
183
  matchingPage.steps.switchToGradingView();
184
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
185
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
184
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
185
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
186
  matchingPage.steps.verifyCorrectOptionIcon(2);
187
187
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
@@ -202,8 +202,8 @@ describe('Create item page - Matching: Partial different weights', () => {
202
202
  matchingPage.steps.verifyPreviewScore(0, 15);
203
203
  matchingPage.steps.switchToGradingView();
204
204
  matchingPage.steps.verifyIncorrectOptionIcon(0);
205
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
206
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
205
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
206
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
207
207
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
208
208
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
209
209
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -83,7 +83,7 @@ describe('Create item page - Matching: Partial different weights', () => {
83
83
  matchingPage.steps.switchToGradingView();
84
84
  matchingPage.steps.verifyCorrectOptionIcon(0);
85
85
  matchingPage.steps.verifyCorrectOptionIcon(1);
86
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
86
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
87
87
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
89
89
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -103,7 +103,7 @@ describe('Create item page - Matching: Partial different weights', () => {
103
103
  matchingPage.steps.switchToGradingView();
104
104
  matchingPage.steps.verifyCorrectOptionIcon(0);
105
105
  matchingPage.steps.verifyCorrectOptionIcon(1);
106
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
106
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
107
107
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
109
109
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -122,7 +122,7 @@ describe('Create item page - Matching: Partial different weights', () => {
122
122
  matchingPage.steps.verifyPreviewScore(10, 15);
123
123
  matchingPage.steps.switchToGradingView();
124
124
  matchingPage.steps.verifyCorrectOptionIcon(0);
125
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
125
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
126
126
  matchingPage.steps.verifyCorrectOptionIcon(2);
127
127
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -181,8 +181,8 @@ describe('Create item page - Matching: Partial different weights', () => {
181
181
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
182
182
  matchingPage.steps.verifyPreviewScore(7, 15);
183
183
  matchingPage.steps.switchToGradingView();
184
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
185
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
184
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
185
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
186
  matchingPage.steps.verifyCorrectOptionIcon(2);
187
187
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -202,8 +202,8 @@ describe('Create item page - Matching: Partial different weights', () => {
202
202
  matchingPage.steps.verifyPreviewScore(0, 15);
203
203
  matchingPage.steps.switchToGradingView();
204
204
  matchingPage.steps.verifyIncorrectOptionIcon(0);
205
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
206
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
205
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
206
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
207
207
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
208
208
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
209
209
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -83,7 +83,7 @@ describe('Create item page - Matching: Partial different weights', () => {
83
83
  matchingPage.steps.switchToGradingView();
84
84
  matchingPage.steps.verifyCorrectOptionIcon(0);
85
85
  matchingPage.steps.verifyCorrectOptionIcon(1);
86
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
86
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
87
87
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
89
89
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -103,7 +103,7 @@ describe('Create item page - Matching: Partial different weights', () => {
103
103
  matchingPage.steps.switchToGradingView();
104
104
  matchingPage.steps.verifyCorrectOptionIcon(0);
105
105
  matchingPage.steps.verifyCorrectOptionIcon(1);
106
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
106
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
107
107
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
109
109
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -122,7 +122,7 @@ describe('Create item page - Matching: Partial different weights', () => {
122
122
  matchingPage.steps.verifyPreviewScore(8, 15);
123
123
  matchingPage.steps.switchToGradingView();
124
124
  matchingPage.steps.verifyCorrectOptionIcon(0);
125
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
125
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
126
126
  matchingPage.steps.verifyCorrectOptionIcon(2);
127
127
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -181,8 +181,8 @@ describe('Create item page - Matching: Partial different weights', () => {
181
181
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
182
182
  matchingPage.steps.verifyPreviewScore(7, 15);
183
183
  matchingPage.steps.switchToGradingView();
184
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
185
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
184
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
185
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
186
  matchingPage.steps.verifyCorrectOptionIcon(2);
187
187
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -202,8 +202,8 @@ describe('Create item page - Matching: Partial different weights', () => {
202
202
  matchingPage.steps.verifyPreviewScore(0, 15);
203
203
  matchingPage.steps.switchToGradingView();
204
204
  matchingPage.steps.verifyIncorrectOptionIcon(0);
205
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
206
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
205
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
206
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
207
207
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
208
208
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
209
209
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -40,8 +40,8 @@ describe('Create item page - Matching: Partial equal weights', () => {
40
40
  matchingPage.steps.verifyPreviewScore(0, 15);
41
41
  matchingPage.steps.switchToGradingView();
42
42
  matchingPage.steps.verifyIncorrectOptionIcon(0);
43
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
44
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
43
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
44
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
45
45
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
46
46
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
47
47
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -60,7 +60,7 @@ describe('Create item page - Matching: Partial equal weights', () => {
60
60
  matchingPage.steps.verifyPreviewScore(5, 15);
61
61
  matchingPage.steps.switchToGradingView();
62
62
  matchingPage.steps.verifyCorrectOptionIcon(0);
63
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
63
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
64
64
  matchingPage.steps.verifyIncorrectOptionIcon(2);
65
65
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
66
66
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -79,7 +79,7 @@ describe('Create item page - Matching: Partial equal weights', () => {
79
79
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
80
80
  matchingPage.steps.verifyPreviewScore(10, 15);
81
81
  matchingPage.steps.switchToGradingView();
82
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
82
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
83
83
  matchingPage.steps.verifyCorrectOptionIcon(1);
84
84
  matchingPage.steps.verifyCorrectOptionIcon(2);
85
85
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -20,7 +20,6 @@ describe('Create item page - Matching: All or nothing ', () => {
20
20
  before(() => {
21
21
  matchingPage.steps.navigateToCreateQuestion('matching');
22
22
  cy.barsPreLoaderWait();
23
- matchingPage.steps.addTextInQuestionInstructionsInputField('Fill the categories with the right answer.');
24
23
  matchingPage.steps.addMultipleOptionFields(2);
25
24
  matchingPage.steps.enterTextInPromptInputField(promptTextArray);
26
25
  matchingPage.steps.enterTextInOptionInputField(optionsArray);
@@ -151,7 +150,7 @@ describe('Create item page - Matching: All or nothing ', () => {
151
150
  matchingPage.steps.switchToGradingView();
152
151
  };
153
152
  matchingPage.steps.verifyCorrectOptionIcon(0);
154
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
153
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
155
154
  matchingPage.steps.verifyIncorrectOptionIcon(2);
156
155
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
157
156
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -172,7 +171,7 @@ describe('Create item page - Matching: All or nothing ', () => {
172
171
  matchingPage.steps.verifyPreviewScore(0, 20);
173
172
  matchingPage.steps.switchToGradingView();
174
173
  };
175
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
174
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
176
175
  matchingPage.steps.verifyCorrectOptionIcon(1);
177
176
  matchingPage.steps.verifyCorrectOptionIcon(2);
178
177
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -68,9 +68,7 @@ describe('Create item page - Matching - Preview contents in all views', () => {
68
68
  cy.visit(`/item-engine/demo/render-item/grading-view/${utilities.base64Encoding(itemReferenceID)}`);
69
69
  break;
70
70
  case 'Correct answer view':
71
- cy.wait(1000);
72
71
  cy.visit(`/item-engine/demo/render-item/correct-answer-view/${utilities.base64Encoding(itemReferenceID)}`);
73
- cy.wait(2000);
74
72
  break;
75
73
  default:
76
74
  throw new Error('Invalid view');
@@ -39,7 +39,7 @@ describe('Create Item page: Tool settings', () => {
39
39
  rulerPage.steps.expandRotationDropdown();
40
40
  rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
41
41
  rulerPage.steps.enterInputToOpacityInputField(60);
42
- rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
42
+ rulerPage.steps.checkAddShowHideButtonCheckbox();
43
43
  rulerPage.steps.clickOnOkButton();
44
44
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
45
45
  toolSettingsComponent.steps.verifyToolSelectedState(0);
@@ -154,7 +154,7 @@ describe('Create item page - Matching: All or nothing ', () => {
154
154
  matchingPage.steps.switchToGradingView();
155
155
  };
156
156
  matchingPage.steps.verifyCorrectOptionIconDropdown(0);
157
- matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
157
+ matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
158
158
  matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
159
159
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
160
160
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -175,7 +175,7 @@ describe('Create item page - Matching: All or nothing ', () => {
175
175
  matchingPage.steps.verifyPreviewScore(0, 20);
176
176
  matchingPage.steps.switchToGradingView();
177
177
  };
178
- matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
178
+ matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
179
179
  matchingPage.steps.verifyCorrectOptionIconDropdown(1);
180
180
  matchingPage.steps.verifyCorrectOptionIconDropdown(2);
181
181
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');