itemengine-cypress-automation 1.0.275-cssUpdates12Dec-bbaeace.0 → 1.0.276-updatedRepo12thDec-303c8a0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) 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 +1 -0
  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 +8 -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/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  112. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  113. package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +23 -1
  114. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +476 -0
  115. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  116. package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +129 -0
  117. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +7 -5
  118. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +384 -0
  119. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
  120. package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
  121. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
  122. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
  123. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
  124. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
  125. package/cypress/pages/audioPlayerPage.js +2 -2
  126. package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
  127. package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
  128. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +19 -1
  129. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
  130. package/cypress/pages/components/essayResponseCommonComponents.js +6 -5
  131. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  132. package/cypress/pages/components/layoutSectionComponent.js +6 -2
  133. package/cypress/pages/components/numberLineCommonComponent.js +12 -5
  134. package/cypress/pages/components/playbackControlsBaseComponent.js +5 -0
  135. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
  136. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  137. package/cypress/pages/drawingResponsePage.js +18 -1
  138. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -2
  139. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -6
  140. package/cypress/pages/gridFillPage.js +2 -3
  141. package/cypress/pages/listOrderingPage.js +19 -12
  142. package/cypress/pages/matchingPage.js +16 -2
  143. package/cypress/pages/textEntryMathPage.js +716 -4
  144. package/cypress/pages/textEntryMathWithImagePage.js +133 -5
  145. package/package.json +1 -1
@@ -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.verifyCorrectIncorrectIconNotExist(2);
78
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(2);
86
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(1);
98
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
97
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
98
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(1);
106
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
105
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
106
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(0);
135
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
134
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
135
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(0);
143
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
142
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
143
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(1);
156
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
155
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
156
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(1);
164
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
163
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
164
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(2);
78
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(2);
86
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(1);
98
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
97
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
98
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(1);
106
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
105
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
106
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(2);
118
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(2);
126
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(0);
137
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
136
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
137
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(0);
145
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
144
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
145
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(1);
158
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
157
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
158
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.verifyCorrectIncorrectIconNotExist(1);
166
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
165
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
166
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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.checkAddShowHideButtonCheckbox();
42
+ rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
43
43
  toolSettingsComponent.steps.clickOnOkButton();
44
44
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
45
45
  toolSettingsComponent.steps.verifyToolSelectedState(0);
@@ -419,7 +419,8 @@ 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
- 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', () => {
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', () => {
423
424
  graphingPage.steps.addTextInXTickIntervalInputFieldValue(-12);
424
425
  graphingPage.steps.verifyXTickIntervalInputFieldValue('12');
425
426
  graphingPage.steps.enterTextInXGridSpacingInputFieldValue(1500);
@@ -547,7 +548,8 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
547
548
  graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 3, xRange: 20, y: -1, yRange: 20 }]);
548
549
  });
549
550
 
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', () => {
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', () => {
551
553
  graphingPage.steps.typeTextInYGridSpacingInputFieldValue(-12);
552
554
  graphingPage.steps.verifyYGridSpacingInputFieldValue('12')
553
555
  graphingPage.steps.enterTextInYGridSpacingInputFieldValue(1500);
@@ -30,6 +30,7 @@ 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();
33
34
  gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
34
35
  gridFillPage.steps.allotPoints(20);
35
36
  gridFillPage.steps.addAlternativeAnswerAccordion(1);
@@ -173,7 +173,8 @@ describe('Create Item page - Image highlight: Customize image highlight style',
173
173
  imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(1);
174
174
  });
175
175
 
176
- it('\'Border color\' icon should be displayed and as user hovers over it then a tooltip \'Border color\' should be displayed', () => {
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', () => {
177
178
  utilities.verifyElementVisibilityState(imageHighlightPage.borderColorButton(), 'visible');
178
179
  imageHighlightPage.steps.verifyToolTipText(2, imageHighlightPage.borderColorButton(), 'Border color');
179
180
  });
@@ -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
  toolSettingsComponent.steps.clickOnOkButton();
44
44
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
45
45
  toolSettingsComponent.steps.verifyToolSelectedState(0);
@@ -42,6 +42,7 @@ 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();
45
46
  utilities.verifyInnerText(listOrderingPage.errorMessage(), 'Error: The correct answer sequence matches the option sequence. Please either rearrange the options or select \'Randomize options\' to continue.');
46
47
  utilities.verifyElementVisibilityState(listOrderingPage.errorMessage(), 'visible');
47
48
  });
@@ -58,6 +59,7 @@ describe('Create item page - List ordering: Specify correct answer, Alternative
58
59
  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', () => {
59
60
  listOrderingPage.steps.uncheckRandomizeOptionsCheckbox();
60
61
  listOrderingPage.steps.clickOnAddAlternativeAnswerButton();
62
+ dialogBoxBase.steps.closeWarningPopup();
61
63
  utilities.verifyElementVisibilityState(listOrderingPage.errorMessage(), 'visible');
62
64
  listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
63
65
  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.verifyCorrectIncorrectIconsNotExist();
48
+ listOrderingPage.steps.verifyCorrectIncorrectIconsNotExistListOrderingReorderAsSeparate();
49
49
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
50
50
  });
51
51
 
@@ -92,12 +92,18 @@ 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');
95
99
  listOrderingPage.steps.allotPoints(6);
96
100
  listOrderingPage.steps.verifyPointsPerResponseScore('1.5');
97
101
  });
98
102
 
99
103
  it('When the user adds a new option, then points per response should get updated accordingly', () => {
100
104
  listOrderingPage.steps.addOption();
105
+ listOrderingPage.steps.enterTextInOptionInputField(4, 'fruit')
106
+ listOrderingPage.steps.clickAndDropOptionSeperateList('fruit');
101
107
  listOrderingPage.steps.verifyPointsPerResponseScore('1.2');
102
108
  });
103
109
 
@@ -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.verifyCorrectIncorrectIconNotExist(1);
92
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(0);
110
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(1);
62
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.verifyCorrectIncorrectIconNotExist(0);
81
+ matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(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.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);