itemengine-cypress-automation 1.0.278-revert-134-updatedRepo12thDec-5aacd81.0 → 1.0.278

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -2
  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 +11 -5
  5. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +5 -3
  6. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +7 -5
  7. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +6 -2
  8. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +8 -0
  9. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +6 -0
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +4 -0
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +2 -0
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -0
  13. package/cypress/e2e/ILC/EssayResponse/toolSettings.js +8 -2
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +2 -1
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +1 -0
  17. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -0
  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 +0 -1
  30. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +2 -0
  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 +4 -2
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -0
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  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/layoutAndGridOptions.js +4 -2
  84. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +1 -0
  85. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +2 -1
  86. package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
  87. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +2 -0
  88. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  89. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +6 -0
  90. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  91. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  92. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  93. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  94. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  95. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  96. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +3 -2
  97. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +2 -0
  98. package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
  99. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
  100. package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
  101. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +2 -1
  102. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
  103. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +2 -1
  104. package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +3 -4
  105. package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +4 -0
  106. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +2 -3
  107. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +5 -0
  108. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
  109. package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +3 -0
  110. package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +6 -3
  111. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +5 -5
  112. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +5 -5
  113. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +5 -5
  114. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  115. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
  116. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
  117. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  118. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +6 -6
  119. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
  120. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
  121. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -1
  122. package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +23 -1
  123. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +1 -1
  124. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +1 -1
  125. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +476 -0
  126. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +1 -1
  127. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  128. package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +129 -0
  129. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +1 -1
  130. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +7 -5
  131. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +384 -0
  132. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
  133. package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
  134. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
  135. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
  136. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
  137. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
  138. package/cypress/pages/audioPlayerPage.js +2 -2
  139. package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
  140. package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
  141. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +19 -1
  142. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
  143. package/cypress/pages/components/essayResponseCommonComponents.js +6 -5
  144. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  145. package/cypress/pages/components/layoutSectionComponent.js +6 -2
  146. package/cypress/pages/components/numberLineCommonComponent.js +12 -5
  147. package/cypress/pages/components/playbackControlsBaseComponent.js +5 -0
  148. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
  149. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  150. package/cypress/pages/drawingResponsePage.js +18 -1
  151. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -2
  152. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -6
  153. package/cypress/pages/gridFillPage.js +2 -3
  154. package/cypress/pages/listOrderingPage.js +19 -12
  155. package/cypress/pages/matchingPage.js +16 -2
  156. package/cypress/pages/textEntryMathPage.js +715 -3
  157. package/cypress/pages/textEntryMathWithImagePage.js +133 -5
  158. package/package.json +1 -1
@@ -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.verifyCorrectIncorrectIconNotExist(2);
86
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(2);
106
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(1);
125
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(0);
185
- matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
184
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
185
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(1);
206
- matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
205
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
206
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(2);
86
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(2);
106
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(1);
125
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(0);
185
- matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
184
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
185
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(1);
206
- matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
205
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
206
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(2);
86
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(2);
106
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(1);
125
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(0);
185
- matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
184
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
185
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(1);
206
- matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
205
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
206
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(1);
44
- matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
43
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
44
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(1);
63
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(0);
82
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
83
83
  matchingPage.steps.verifyCorrectOptionIcon(1);
84
84
  matchingPage.steps.verifyCorrectOptionIcon(2);
85
85
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -20,6 +20,7 @@ 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.');
23
24
  matchingPage.steps.addMultipleOptionFields(2);
24
25
  matchingPage.steps.enterTextInPromptInputField(promptTextArray);
25
26
  matchingPage.steps.enterTextInOptionInputField(optionsArray);
@@ -150,7 +151,7 @@ describe('Create item page - Matching: All or nothing ', () => {
150
151
  matchingPage.steps.switchToGradingView();
151
152
  };
152
153
  matchingPage.steps.verifyCorrectOptionIcon(0);
153
- matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
154
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
154
155
  matchingPage.steps.verifyIncorrectOptionIcon(2);
155
156
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
156
157
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -171,7 +172,7 @@ describe('Create item page - Matching: All or nothing ', () => {
171
172
  matchingPage.steps.verifyPreviewScore(0, 20);
172
173
  matchingPage.steps.switchToGradingView();
173
174
  };
174
- matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
175
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
175
176
  matchingPage.steps.verifyCorrectOptionIcon(1);
176
177
  matchingPage.steps.verifyCorrectOptionIcon(2);
177
178
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -68,7 +68,9 @@ 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);
71
72
  cy.visit(`/item-engine/demo/render-item/correct-answer-view/${utilities.base64Encoding(itemReferenceID)}`);
73
+ cy.wait(2000);
72
74
  break;
73
75
  default:
74
76
  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.checkAddShowHideButtonCheckbox();
42
+ rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
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.verifyCorrectIncorrectIconNotExistDropdown(1);
157
+ matchingPage.steps.verifyIncorrectOptionIconDropdown(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.verifyCorrectIncorrectIconNotExistDropdown(0);
178
+ matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
179
179
  matchingPage.steps.verifyCorrectOptionIconDropdown(1);
180
180
  matchingPage.steps.verifyCorrectOptionIconDropdown(2);
181
181
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -40,7 +40,7 @@ describe('Create Item page: Tool settings', () => {
40
40
  rulerPage.steps.enterInputToOpacityInputField(60);
41
41
  rulerPage.steps.expandRotationDropdown();
42
42
  rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
43
- rulerPage.steps.checkAddShowHideButtonCheckbox();
43
+ rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
44
44
  toolSettingsComponent.steps.clickOnOkButton();
45
45
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
46
46
  toolSettingsComponent.steps.verifyToolSelectedState(0);
@@ -113,7 +113,8 @@ describe('Create item page: Number line label - Preview contents in all views',
113
113
  });
114
114
  });
115
115
 
116
- it('Accessibility of number line label', { tags: 'a11y' }, () => {
116
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-4737
117
+ it.skip('Accessibility of number line label', { tags: 'a11y' }, () => {
117
118
  cy.checkAccessibility(numberLineLabelPage.numberLinePreviewTab().parents('.ngie-jxgbox'));
118
119
  });
119
120
  });
@@ -42,7 +42,7 @@ describe('Create Item page: Tool settings', () => {
42
42
  rulerPage.steps.enterInputToOpacityInputField(60);
43
43
  rulerPage.steps.expandRotationDropdown();
44
44
  rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
45
- rulerPage.steps.checkAddShowHideButtonCheckbox();
45
+ rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
46
46
  toolSettingsComponent.steps.clickOnOkButton();
47
47
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
48
48
  toolSettingsComponent.steps.verifyToolSelectedState(0);
@@ -104,7 +104,8 @@ describe('Create item page: Number line label - Preview contents in all views',
104
104
  });
105
105
  });
106
106
 
107
- it('Accessibility of number line label', { tags: 'a11y' }, () => {
107
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-4737
108
+ it.skip('Accessibility of number line label', { tags: 'a11y' }, () => {
108
109
  cy.checkAccessibility(numberLineLabelPage.numberLinePreviewTab().parents('.ngie-jxgbox'));
109
110
  });
110
111
  });
@@ -257,9 +257,9 @@ describe('Create Item page - Protractor : Edit Tab', () => {
257
257
  utilities.verifyElementVisibilityState(protractorPage.protractorVisibilityLabel(), 'visible');
258
258
  });
259
259
 
260
- it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
260
+ it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be checked', () => {
261
261
  protractorPage.steps.verifyAddShowHideButtonLabel();
262
- protractorPage.steps.verifyAddShowHideButtonCheckboxUnchecked();
262
+ protractorPage.steps.verifyAddShowHideButtonCheckboxChecked();
263
263
  });
264
264
 
265
265
  it('CSS of \'Protractor visibility\' section', { tags: 'css' }, () => {
@@ -286,8 +286,7 @@ describe('Create Item page - Protractor : Edit Tab', () => {
286
286
  });
287
287
  });
288
288
 
289
- it('When user checks \'Add show/hide button\' checkbox, then \'Launch the Protractor by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
290
- protractorPage.steps.checkAddShowHideButtonCheckbox();
289
+ it('\'Launch the Protractor by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
291
290
  protractorPage.steps.verifyLaunchToolByDefaultLabel('protractor');
292
291
  protractorPage.steps.verifyLaunchToolByDefaultCheckboxUnchecked();
293
292
  });
@@ -15,6 +15,7 @@ describe('Protractor Tool: Preview Tab', () => {
15
15
  before(() => {
16
16
  cy.log('Navigating to protractor resource tool');
17
17
  protractorPage.steps.navigateToCreateResource('protractor');
18
+ protractorPage.steps.uncheckAddShowHideButtonCheckbox();
18
19
  });
19
20
 
20
21
  it(`When ${angleTypeOptions[2]} is selected for \'Angle type\' dropdown by default, then switching to the preview tab should display a protractor with both acute and obtuse degree measurements`, () => {
@@ -69,6 +70,7 @@ describe('Protractor Tool: Preview Tab', () => {
69
70
  before(() => {
70
71
  cy.log('Navigating to protractor resource tool');
71
72
  protractorPage.steps.navigateToCreateResource('protractor');
73
+ protractorPage.steps.uncheckAddShowHideButtonCheckbox();
72
74
  });
73
75
 
74
76
  it('When user enters text in the \'Alternative text\' input field, then alternative text should be displayed in the \'Preview tab\'', () => {
@@ -124,6 +126,7 @@ describe('Protractor Tool: Preview Tab', () => {
124
126
  before(() => {
125
127
  cy.log('Navigating to protractor resource tool');
126
128
  protractorPage.steps.navigateToCreateResource('protractor');
129
+ protractorPage.steps.uncheckAddShowHideButtonCheckbox();
127
130
  });
128
131
 
129
132
  it('When the opacity value is set to 40 percent by default, then the opacity of the protractor should be set to 40 percent in the preview tab', () => {
@@ -167,6 +170,7 @@ describe('Protractor Tool: Preview Tab', () => {
167
170
  before(() => {
168
171
  cy.log('Navigating to protractor resource tool');
169
172
  protractorPage.steps.navigateToCreateResource('protractor');
173
+ protractorPage.steps.uncheckAddShowHideButtonCheckbox();
170
174
  });
171
175
 
172
176
  it('When \'Add show/hide button\' checkbox is unchecked in the edit tab, then \'Show protractor\' button should not be displayed in preview tab', () => {
@@ -494,7 +494,7 @@ describe('Create Item page - Ruler: Edit Tab', () => {
494
494
  it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
495
495
  utilities.verifyElementVisibilityState(rulerPage.addShowHideButtonCheckbox(), 'exist');
496
496
  rulerPage.steps.verifyAddShowHideButtonLabel();
497
- rulerPage.steps.verifyAddShowHideButtonCheckboxUnchecked();
497
+ rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
498
498
  });
499
499
 
500
500
  it('CSS of \'Ruler visibility\' section', { tags: 'css' }, () => {
@@ -510,8 +510,7 @@ describe('Create Item page - Ruler: Edit Tab', () => {
510
510
  });
511
511
  });
512
512
 
513
- it('When user checks \'Add show/hide button\' checkbox, then \'Launch the ruler by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
514
- rulerPage.steps.checkAddShowHideButtonCheckbox();
513
+ it('\'Launch the ruler by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
515
514
  utilities.verifyElementVisibilityState(rulerPage.launchToolByDefaultCheckbox(), 'exist');
516
515
  rulerPage.steps.verifyLaunchToolByDefaultLabel('ruler');
517
516
  rulerPage.steps.verifyLaunchToolByDefaultCheckboxUnchecked();
@@ -32,6 +32,7 @@ describe('Ruler: Edit tab functionality', () => {
32
32
  before(() => {
33
33
  cy.log('Navigating to ruler resource tool');
34
34
  rulerPage.steps.navigateToCreateResource('ruler');
35
+ rulerPage.steps.uncheckAddShowHideButtonCheckbox();
35
36
  });
36
37
 
37
38
  rulerOptions.forEach((rulerOption)=> {
@@ -67,6 +68,7 @@ describe('Ruler: Edit tab functionality', () => {
67
68
  before(() => {
68
69
  cy.log('Navigating to ruler resource tool');
69
70
  rulerPage.steps.navigateToCreateResource('ruler');
71
+ rulerPage.steps.uncheckAddShowHideButtonCheckbox();
70
72
  });
71
73
 
72
74
  it('When the user chooses \'Custom image\' in the \'Unit of Measurement\' dropdown and adds an image file, then switching to the preview tab should display uploaded image as ruler with same dimensions', () => {
@@ -120,6 +122,7 @@ describe('Ruler: Edit tab functionality', () => {
120
122
  before(() => {
121
123
  cy.log('Navigating to ruler resource tool');
122
124
  rulerPage.steps.navigateToCreateResource('ruler');
125
+ rulerPage.steps.uncheckAddShowHideButtonCheckbox();
123
126
  });
124
127
 
125
128
  it('When \'Allow student to flip ruler\' checkbox is unchecked, then flip button should not be displayed on ruler in the preview tab', () => {
@@ -195,6 +198,7 @@ describe('Ruler: Edit tab functionality', () => {
195
198
  before(() => {
196
199
  cy.log('Navigating to \'Ruler\' resource tool');
197
200
  rulerPage.steps.navigateToCreateResource('ruler');
201
+ rulerPage.steps.uncheckAddShowHideButtonCheckbox();
198
202
  });
199
203
 
200
204
  it('When the opacity value is set to 40 percent by default, then the opacity of the ruler should be set to 40 percent in the preview tab', () => {
@@ -246,6 +250,7 @@ describe('Ruler: Edit tab functionality', () => {
246
250
  before(() => {
247
251
  cy.log('Navigating to ruler resource tool');
248
252
  rulerPage.steps.navigateToCreateResource('ruler');
253
+ rulerPage.steps.uncheckAddShowHideButtonCheckbox();
249
254
  });
250
255
 
251
256
  it('When \'Add show/hide button\' checkbox is unchecked in the edit tab, then \'Show ruler\' button should not be displayed in preview tab', () => {
@@ -26,7 +26,7 @@ describe('Create item page - Single selection: All or nothing with alternative a
26
26
  it('When the user selects \'Grading\' view without attempting the question then incorrect answer border and correct answer section should be displayed and correct/incorrect icons should not be displayed', () => {
27
27
  shortTextResponsePage.steps.switchToGradingView();
28
28
  shortTextResponsePage.steps.verifyCorrectIncorrectIconNotVisibleGradingView();
29
- shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
29
+ // shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
30
30
  shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Buildings');
31
31
  shortTextResponsePage.steps.switchToStudentView();
32
32
  });
@@ -20,6 +20,7 @@ describe('Simple calculator - Functionality cases, Undo/Redo Controls, Edge case
20
20
  simpleCalculatorPage.steps.selectCustomizeCalculatorSettingsSquareRootButton();
21
21
  simpleCalculatorPage.steps.selectCustomizeCalculatorSettingsExponentButton();
22
22
  simpleCalculatorPage.steps.selectCustomizeCalculatorSettingsSignChangeButton();
23
+ simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
23
24
  simpleCalculatorPage.steps.switchToPreviewTab();
24
25
  });
25
26
 
@@ -210,6 +211,7 @@ describe('Simple calculator - Functionality cases, Undo/Redo Controls, Edge case
210
211
  abortEarlySetup();
211
212
  before(() => {
212
213
  simpleCalculatorPage.steps.navigateToCreateResource('simple calculator');
214
+ simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
213
215
  simpleCalculatorPage.steps.switchToPreviewTab();
214
216
  });
215
217
 
@@ -276,6 +278,7 @@ describe('Simple calculator - Functionality cases, Undo/Redo Controls, Edge case
276
278
  abortEarlySetup();
277
279
  before(() => {
278
280
  simpleCalculatorPage.steps.navigateToCreateResource('simple calculator');
281
+ simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
279
282
  simpleCalculatorPage.steps.switchToPreviewTab();
280
283
  });
281
284
 
@@ -122,6 +122,7 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
122
122
  it('When the user modifies the options in customize calculator settings section, then the calculator buttons should be updated accordingly in the preview tab', () => {
123
123
  simpleCalculatorPage.steps.deselectCustomizeCalculatorSettingsHistoryButton();
124
124
  simpleCalculatorPage.steps.selectCustomizeCalculatorSettingsPercentageButton();
125
+ simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
125
126
  simpleCalculatorPage.steps.switchToPreviewTab();
126
127
  utilities.verifyElementVisibilityState(simpleCalculatorPage.checkHistoryButton(), 'notExist');
127
128
  utilities.verifyElementVisibilityState(simpleCalculatorPage.percentageButton(), 'visible');
@@ -138,9 +139,9 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
138
139
  utilities.verifyInnerText(simpleCalculatorPage.calculatorVisibilityLabel(), 'Simple calculator visibility');
139
140
  });
140
141
 
141
- it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
142
+ it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be checked', () => {
142
143
  simpleCalculatorPage.steps.verifyAddShowHideButtonLabel();
143
- simpleCalculatorPage.steps.verifyAddShowHideButtonCheckboxUnchecked();
144
+ simpleCalculatorPage.steps.verifyAddShowHideButtonCheckboxChecked();
144
145
  });
145
146
 
146
147
  it('CSS of \'Simple calculator visibility\' section', { tags: 'css' }, () => {
@@ -159,7 +160,7 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
159
160
  });
160
161
  });
161
162
 
162
- it('When user checks \'Add show/hide button\' checkbox, then \'Launch the simple calculator by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
163
+ it('\'Launch the simple calculator by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
163
164
  simpleCalculatorPage.steps.checkAddShowHideButtonCheckbox();
164
165
  simpleCalculatorPage.steps.verifyLaunchToolByDefaultLabel('simple calculator');
165
166
  simpleCalculatorPage.steps.verifyLaunchToolByDefaultCheckboxUnchecked();
@@ -191,6 +192,8 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
191
192
  });
192
193
 
193
194
  it('When \'Add show/hide button\' checkbox is unchecked in the edit tab, then \'Show simple calculator\' button should not be displayed in preview tab', () => {
195
+ simpleCalculatorPage.steps.switchToEditTab();
196
+ simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
194
197
  simpleCalculatorPage.steps.switchToPreviewTab();
195
198
  utilities.verifyElementVisibilityState(simpleCalculatorPage.calculatorVisibilityButton(), 'notExist');
196
199
  });
@@ -109,7 +109,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
109
109
  equationEditorFlyout.steps.clickOnOkButton();
110
110
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
111
111
  textEntryMathPage.steps.switchToGradingView();
112
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
112
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
113
113
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
114
114
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
115
115
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -126,7 +126,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
126
126
  equationEditorFlyout.steps.clickOnOkButton();
127
127
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
128
128
  textEntryMathPage.steps.switchToGradingView();
129
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
129
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
130
130
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
131
131
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
132
132
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -145,7 +145,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
145
145
  textEntryMathPage.steps.switchToGradingView();
146
146
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
147
147
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
148
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
148
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
149
149
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
150
150
  textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t', '6×π', '7.07⁢e']);
151
151
  textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -179,8 +179,8 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
179
179
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
180
180
  textEntryMathPage.steps.switchToGradingView();
181
181
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
182
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
183
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
182
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
183
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
184
184
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
185
185
  textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t', '6×π', '7.07⁢e']);
186
186
  textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -109,7 +109,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
109
109
  equationEditorFlyout.steps.clickOnOkButton();
110
110
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
111
111
  textEntryMathPage.steps.switchToGradingView();
112
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
112
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
113
113
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
114
114
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
115
115
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -126,7 +126,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
126
126
  equationEditorFlyout.steps.clickOnOkButton();
127
127
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
128
128
  textEntryMathPage.steps.switchToGradingView();
129
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
129
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
130
130
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
131
131
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
132
132
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -145,7 +145,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
145
145
  textEntryMathPage.steps.switchToGradingView();
146
146
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
147
147
  textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
148
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
148
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
149
149
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
150
150
  textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t', '2⁢x2⁢y2+4⁢x⁢y+4', '9000%']);
151
151
  textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -179,8 +179,8 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
179
179
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
180
180
  textEntryMathPage.steps.switchToGradingView();
181
181
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
182
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
183
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
182
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
183
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
184
184
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
185
185
  textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t', '2⁢x2⁢y2+4⁢x⁢y+4', '9000%']);
186
186
  textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -142,7 +142,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
142
142
  equationEditorFlyout.steps.clickOnOkButton();
143
143
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
144
144
  textEntryMathPage.steps.switchToGradingView();
145
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
145
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
146
146
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
147
147
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
148
148
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -159,7 +159,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
159
159
  equationEditorFlyout.steps.clickOnOkButton();
160
160
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
161
161
  textEntryMathPage.steps.switchToGradingView();
162
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
162
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
163
163
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
164
164
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
165
165
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -178,7 +178,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
178
178
  textEntryMathPage.steps.switchToGradingView();
179
179
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
180
180
  textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
181
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
181
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
182
182
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
183
183
  textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t', '2⁢x2⁢y2+4⁢x⁢y+4', '9000%']);
184
184
  textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -212,8 +212,8 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
212
212
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
213
213
  textEntryMathPage.steps.switchToGradingView();
214
214
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
215
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
216
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
215
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
216
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
217
217
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
218
218
  textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t', '2⁢x2⁢y2+4⁢x⁢y+4', '9000%']);
219
219
  textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -239,7 +239,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
239
239
  textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
240
240
  textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
241
241
  textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
242
- textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectAnswer', '2x2y2+4xy+4', '7.07e']);
242
+ textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t⁢A⁢n⁢s⁢w⁢e⁢r', '2⁢x2⁢y2+4⁢x⁢y+4', '7.07⁢e']);
243
243
  textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
244
244
  });
245
245
  });