itemengine-cypress-automation 1.0.276-updatedRepo12thDec-303c8a0.0 → 1.0.277-revert-134-updatedRepo12thDec-108a6c6.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 +2 -1
  2. package/cypress/e2e/ILC/ChartsBar/toolSettings.js +1 -1
  3. package/cypress/e2e/ILC/ChartsLine/toolSettings.js +1 -1
  4. package/cypress/e2e/ILC/Compass/compassEditTabBasicsSection.js +5 -11
  5. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +0 -1
  6. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +5 -7
  7. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -6
  8. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +0 -8
  9. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +0 -8
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +0 -4
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +0 -2
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +0 -2
  13. package/cypress/e2e/ILC/EssayResponse/toolSettings.js +2 -8
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -2
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +0 -1
  17. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +0 -2
  18. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +1 -1
  19. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
  20. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
  21. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
  22. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
  23. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  24. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  25. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  26. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  27. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  28. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  29. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAlternateAnswerPopup.js +1 -0
  30. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -2
  31. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +1 -1
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +4 -4
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  36. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +7 -7
  37. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  38. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +8 -8
  39. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +8 -8
  42. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  45. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -2
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +2 -4
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +0 -2
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +1 -2
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -18
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +6 -6
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  70. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +9 -9
  71. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
  72. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
  73. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +3 -3
  74. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
  75. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
  76. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
  77. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
  78. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
  79. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  80. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  81. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  82. package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +1 -1
  83. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +2 -4
  84. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +0 -1
  85. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +1 -2
  86. package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
  87. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +0 -2
  88. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  89. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +0 -6
  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 +2 -3
  97. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +0 -2
  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 +1 -2
  102. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
  103. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -2
  104. package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +4 -3
  105. package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +0 -4
  106. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +3 -2
  107. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +0 -5
  108. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
  109. package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +0 -3
  110. package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +3 -6
  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 +1 -23
  114. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -476
  115. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  116. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +5 -7
  117. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
  118. package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
  119. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
  120. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
  121. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
  122. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
  123. package/cypress/pages/audioPlayerPage.js +2 -2
  124. package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
  125. package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
  126. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +1 -19
  127. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
  128. package/cypress/pages/components/essayResponseCommonComponents.js +5 -6
  129. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  130. package/cypress/pages/components/layoutSectionComponent.js +2 -6
  131. package/cypress/pages/components/numberLineCommonComponent.js +5 -12
  132. package/cypress/pages/components/playbackControlsBaseComponent.js +0 -5
  133. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
  134. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  135. package/cypress/pages/drawingResponsePage.js +1 -18
  136. package/cypress/pages/fillInTheGapsDragAndDropPage.js +2 -3
  137. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +6 -19
  138. package/cypress/pages/gridFillPage.js +3 -2
  139. package/cypress/pages/listOrderingPage.js +12 -19
  140. package/cypress/pages/matchingPage.js +2 -16
  141. package/cypress/pages/textEntryMathPage.js +4 -716
  142. package/cypress/pages/textEntryMathWithImagePage.js +5 -133
  143. package/package.json +1 -1
  144. package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +0 -129
  145. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +0 -384
@@ -82,7 +82,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
82
82
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
83
83
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(6, 15);
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
85
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
85
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
86
86
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
87
87
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -90,7 +90,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
90
90
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
91
91
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
92
92
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
93
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
93
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
94
94
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
95
95
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
96
96
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
102
102
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
103
103
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
104
104
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
105
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
105
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
106
106
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
107
107
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
108
108
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -110,7 +110,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
110
110
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
111
111
  /*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 a status message should not be displayed and correct answer section should not be displayed')
112
112
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
113
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
113
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
114
114
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
115
115
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
116
116
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -124,7 +124,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
124
124
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
125
125
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
126
126
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
127
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
127
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
128
128
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
129
129
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
130
130
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
132
132
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
133
133
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
134
134
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
135
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
135
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
136
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
137
137
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
138
138
  });
@@ -163,16 +163,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
163
163
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(5, 15);
164
164
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
165
165
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
166
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
167
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
166
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
167
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
168
168
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
169
169
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
170
170
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
171
171
  /*cy.log('When the user has attempted the question with equal number of correct responses from 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 a status message should not be displayed and correct answer section should not be displayed')
172
172
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
173
173
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
174
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
175
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
174
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
175
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
176
176
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
177
177
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
178
178
  });
@@ -183,16 +183,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
183
183
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
184
184
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
185
185
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
186
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
187
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
186
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
187
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
188
188
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
189
189
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
190
190
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
191
191
  /*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 a status message should not be displayed and correct answer section should not be displayed')
192
192
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
193
193
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
194
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
195
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
194
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
195
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
196
196
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
197
197
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
198
198
  });
@@ -82,7 +82,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
82
82
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
83
83
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
85
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
85
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
86
86
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
87
87
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -90,7 +90,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
90
90
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
91
91
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
92
92
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
93
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
93
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
94
94
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
95
95
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
96
96
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
102
102
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
103
103
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
104
104
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
105
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
105
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
106
106
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
107
107
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
108
108
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -110,7 +110,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
110
110
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
111
111
  /*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 a status message should not be displayed and correct answer section should not be displayed')
112
112
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
113
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
113
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
114
114
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
115
115
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
116
116
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -124,7 +124,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
124
124
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
125
125
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
126
126
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
127
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
127
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
128
128
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
129
129
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
130
130
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
132
132
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
133
133
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
134
134
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
135
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
135
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
136
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
137
137
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
138
138
  });
@@ -163,16 +163,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
163
163
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(5, 15);
164
164
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
165
165
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
166
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
167
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
166
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
167
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
168
168
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
169
169
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
170
170
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
171
171
  /*cy.log('When the user has attempted the question with equal number of correct responses from 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 a status message should not be displayed and correct answer section should not be displayed')
172
172
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
173
173
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
174
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
175
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
174
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
175
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
176
176
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
177
177
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
178
178
  });
@@ -183,16 +183,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
183
183
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
184
184
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
185
185
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
186
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
187
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
186
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
187
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
188
188
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
189
189
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
190
190
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
191
191
  /*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 a status message should not be displayed and correct answer section should not be displayed')
192
192
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
193
193
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
194
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
195
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
194
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
195
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
196
196
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
197
197
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
198
198
  });
@@ -82,7 +82,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
82
82
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
83
83
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
85
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
85
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
86
86
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
87
87
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -90,7 +90,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
90
90
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
91
91
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
92
92
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
93
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
93
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
94
94
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
95
95
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
96
96
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
102
102
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
103
103
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(6, 15);
104
104
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
105
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
105
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
106
106
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
107
107
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
108
108
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -110,7 +110,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
110
110
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
111
111
  /*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 a status message should not be displayed and correct answer section should not be displayed')
112
112
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
113
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
113
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
114
114
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
115
115
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
116
116
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -124,7 +124,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
124
124
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
125
125
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
126
126
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
127
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
127
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
128
128
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
129
129
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
130
130
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
132
132
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
133
133
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
134
134
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
135
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
135
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
136
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
137
137
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
138
138
  });
@@ -163,16 +163,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
163
163
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(5, 15);
164
164
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
165
165
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
166
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
167
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
166
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
167
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
168
168
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
169
169
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
170
170
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
171
171
  /*cy.log('When the user has attempted the question with equal number of correct responses from 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 a status message should not be displayed and correct answer section should not be displayed')
172
172
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
173
173
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
174
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
175
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
174
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
175
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
176
176
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
177
177
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
178
178
  });
@@ -183,16 +183,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
183
183
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
184
184
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
185
185
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
186
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
187
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
186
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
187
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
188
188
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
189
189
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
190
190
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
191
191
  /*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 a status message should not be displayed and correct answer section should not be displayed')
192
192
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
193
193
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
194
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
195
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
194
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
195
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
196
196
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
197
197
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
198
198
  });
@@ -155,7 +155,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
155
155
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
156
156
  };
157
157
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
158
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
158
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
159
159
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
160
160
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
161
161
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
@@ -176,7 +176,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
176
176
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
177
177
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
178
178
  };
179
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
179
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
180
180
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
181
181
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
182
182
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -280,16 +280,14 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
280
280
  fillInTheGapsOverImageDragAndDropPage.steps.verifyTextOfTextBoxInPreviewTab('Inserted text');
281
281
  });
282
282
 
283
- //Remove skip once https://weldnorthed.atlassian.net/issues/IEI-3943 is resolved
284
- it.skip('When the user clicks on the undo button in edit tab, then previous action should be reversed and same should reflect in preview tab', () => {
283
+ it('When the user clicks on the undo button in edit tab, then previous action should be reversed and same should reflect in preview tab', () => {
285
284
  fillInTheGapsOverImageDragAndDropPage.steps.switchToEditTab();
286
285
  fillInTheGapsOverImageDragAndDropPage.steps.undoAction();
287
286
  fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
288
287
  fillInTheGapsOverImageDragAndDropPage.steps.verifyTextOfTextBoxInPreviewTab('');
289
288
  });
290
289
 
291
- //Remove skip once https://weldnorthed.atlassian.net/issues/IEI-3943 is resolved
292
- it.skip('When the user clicks on the redo button in edit tab, then previous action should be reinstated and same should reflect in preview tab', () => {
290
+ it('When the user clicks on the redo button in edit tab, then previous action should be reinstated and same should reflect in preview tab', () => {
293
291
  fillInTheGapsOverImageDragAndDropPage.steps.switchToEditTab();
294
292
  fillInTheGapsOverImageDragAndDropPage.steps.redoAction();
295
293
  fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
@@ -59,9 +59,7 @@ describe('Preview tab contents for all views', () => {
59
59
  cy.visit(`/item-engine/demo/render-item/grading-view/${utilities.base64Encoding(itemReferenceID)}`);
60
60
  break;
61
61
  case 'Correct answer view':
62
- cy.wait(1000);
63
62
  cy.visit(`/item-engine/demo/render-item/correct-answer-view/${utilities.base64Encoding(itemReferenceID)}`);
64
- cy.wait(2000);
65
63
  break;
66
64
  default:
67
65
  throw new Error('Invalid view');
@@ -499,7 +499,7 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
499
499
  });
500
500
 
501
501
  it('By default, the options in the dropzone should be left aligned', () => {
502
- fillInTheGapsOverImageDragAndDropPage.steps.verifyOptionAlignmentInDropzoneInSpecifyCorrectAnswer('Left');
502
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyOptionAlignmentInDropzoneInSpecifyCorrectAnswer('left');
503
503
  });
504
504
 
505
505
  optionAlignment.forEach((option) => {
@@ -681,7 +681,6 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
681
681
  fillInTheGapsOverImageDragAndDropPage.steps.verifyImageIsUploaded();
682
682
  fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(10);
683
683
  fillInTheGapsOverImageDragAndDropPage.steps.selectResponseArea(0);
684
- fillInTheGapsOverImageDragAndDropPage.steps.selectResponseAreaPointerStyle('left');
685
684
  fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
686
685
  });
687
686
 
@@ -92,16 +92,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
92
92
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
93
93
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
94
94
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
95
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
96
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
95
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
96
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
97
97
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
98
98
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
99
99
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
100
100
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correctly answered dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
101
101
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
102
102
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
103
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
104
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
103
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
104
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
105
105
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
106
106
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
107
107
  });
@@ -112,16 +112,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
112
112
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
113
113
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
114
114
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
115
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
116
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
115
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
116
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
117
117
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
118
118
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
119
119
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
120
120
  /*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 correctly answered dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
121
121
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
122
122
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
123
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
124
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
123
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
124
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
125
125
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
126
126
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
127
127
  });
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
133
133
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
134
134
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
135
135
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
136
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
136
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
137
137
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
138
138
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
139
139
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -141,7 +141,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
141
141
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
142
142
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
143
143
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
144
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
144
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
145
145
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
146
146
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
147
147
  });
@@ -153,7 +153,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
153
153
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
154
154
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
155
155
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
156
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
156
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
157
157
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
158
158
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
159
159
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -161,7 +161,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
161
161
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
162
162
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
163
163
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
164
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
164
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
165
165
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
166
166
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
167
167
  });
@@ -171,16 +171,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
171
171
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: alternateAnswerArray[2] }]);
172
172
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
173
173
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
174
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
175
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
174
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
175
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
176
176
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
177
177
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
178
178
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
179
179
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
180
180
  /*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 correctly answered dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
181
181
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
182
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
183
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
182
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
183
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
184
184
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
185
185
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
186
186
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -192,16 +192,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
192
192
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
193
193
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
194
194
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
195
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
196
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
195
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
196
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
197
197
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
198
198
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
199
199
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
200
200
  /*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 dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
201
201
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
202
202
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
203
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
204
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
203
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
204
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
205
205
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
206
206
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
207
207
  });