itemengine-cypress-automation 1.0.277 → 1.0.279-4092Changes-71debc9.0

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
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
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 different weigh
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 different weigh
94
94
  fillInTheGapsTextPage.steps.verifyPreviewScore(7, 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
  });
@@ -115,7 +115,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
115
115
  fillInTheGapsTextPage.steps.switchToGradingView();
116
116
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
117
117
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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 different weigh
123
123
  fillInTheGapsTextPage.steps.checkAnswer();
124
124
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
125
125
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
126
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
126
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
127
127
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
129
129
  });
@@ -135,7 +135,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
135
135
  fillInTheGapsTextPage.steps.switchToGradingView();
136
136
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
137
137
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
138
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
138
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
139
139
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
140
140
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
141
141
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -143,7 +143,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
143
143
  fillInTheGapsTextPage.steps.checkAnswer();
144
144
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
145
145
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
146
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
146
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
147
147
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
148
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
149
149
  });
@@ -153,16 +153,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
153
153
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
154
154
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
155
155
  fillInTheGapsTextPage.steps.switchToGradingView();
156
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
157
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
156
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
157
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
158
158
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(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 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 and correct answer section should not be displayed')
163
163
  fillInTheGapsTextPage.steps.checkAnswer();
164
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
165
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
164
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
165
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
166
166
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
167
167
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -174,16 +174,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
174
174
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
175
175
  fillInTheGapsTextPage.steps.switchToGradingView();
176
176
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
177
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
178
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
177
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
178
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
179
179
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
180
180
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
181
181
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
182
182
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon 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')
183
183
  fillInTheGapsTextPage.steps.checkAnswer();
184
184
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
185
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
185
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
186
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
187
187
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
189
189
  });
@@ -32,16 +32,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights',
32
32
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
33
33
  fillInTheGapsTextPage.steps.switchToGradingView();
34
34
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
35
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
36
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
35
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
36
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
37
37
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
38
38
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
39
39
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
40
40
  /*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, correct/incorrect status message and correct answer section should not be displayed')
41
41
  fillInTheGapsTextPage.steps.checkAnswer();
42
42
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
43
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
44
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
43
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
44
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
45
45
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
46
46
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
47
47
  });
@@ -52,7 +52,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights',
52
52
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
53
53
  fillInTheGapsTextPage.steps.switchToGradingView();
54
54
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
55
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
55
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
56
56
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
57
57
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
58
58
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
@@ -60,7 +60,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights',
60
60
  /*cy.log('When the user attempts the question partially correct and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, correct/incorrect status message and correct answer section should not be displayed')
61
61
  fillInTheGapsTextPage.steps.checkAnswer();
62
62
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
63
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
63
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
64
64
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
65
65
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
66
66
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -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(['Petals', 'Leaves', '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(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(['Petals', 'Leaves', '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.verifyCorrectOptionIcon(0);
117
117
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
118
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
118
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
119
119
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
120
120
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', '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.verifyCorrectOptionIcon(0);
125
125
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(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(['Petals', 'Leaves', '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(['Petals', 'Leaves', '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
  });
@@ -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();