itemengine-cypress-automation 1.0.222 → 1.0.223

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/customizePlaybackControls.js +1 -1
  2. package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +12 -5
  3. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +370 -0
  4. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +285 -0
  5. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +629 -0
  6. package/cypress/e2e/ILC/ChartsBar/Scoring/addAndDeleteBarAllOrNothingScoring.js +4 -2
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +5 -4
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -1
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +2 -1
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/manuallyAndNonScored.js +2 -1
  11. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -1
  12. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +11 -10
  13. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -1
  14. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -1
  15. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +2 -1
  16. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -1
  17. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -1
  18. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -1
  19. package/cypress/e2e/ILC/ChartsBar/Scoring/toleranceThresholdScoring.js +2 -1
  20. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +2 -1
  21. package/cypress/e2e/ILC/ChartsBar/gridSettings.js +8 -5
  22. package/cypress/e2e/ILC/ChartsBar/selectChartTypeSection.js +12 -12
  23. package/cypress/e2e/ILC/ChartsLine/editTabScoringSection.js +1 -1
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +0 -1
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +3 -2
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionBasic.js +2 -2
  27. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionCorrectPointsGreaterThanAlternativePoints.js +2 -2
  28. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +4 -2
  29. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettingsBasic.js +2 -1
  30. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +2 -1
  31. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -2
  32. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +0 -2
  33. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +2 -2
  34. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDraggableOptionsPanel.js +6 -3
  35. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +7 -6
  36. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
  37. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions2.js +4 -0
  38. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions3.js +17 -11
  39. package/cypress/e2e/ILC/FeedbackScaleNew/additionalSettings.js +11 -11
  40. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +8 -8
  41. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
  42. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
  43. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +3 -4
  44. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +3 -1
  45. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +4 -4
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -1
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +2 -4
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +1 -0
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +6 -6
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsBasic.js +1 -0
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +3 -3
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  62. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +6 -6
  63. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  64. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  65. package/cypress/e2e/ILC/FillInTheGapsTextNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  66. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +53 -44
  67. package/cypress/e2e/ILC/Graphing/toolsControlsAndBackgroundSection.js +4 -6
  68. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +2 -2
  69. package/cypress/e2e/ILC/ImageHighlight/Scoring/manuallyAndNonScored.js +2 -1
  70. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  71. package/cypress/e2e/ILC/ImageHighlight/Scoring/singleSelectionPreviewScoring.js +9 -9
  72. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  73. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +3 -1
  74. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  75. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  76. package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -3
  77. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +6 -6
  78. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  79. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  80. package/cypress/e2e/ILC/Matching/additionalSettings.js +1 -0
  81. package/cypress/e2e/ILC/Matching/maximumCapacityPerDropzoneSection.js +8 -56
  82. package/cypress/e2e/ILC/Matching/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -4
  83. package/cypress/e2e/ILC/Matching/specifyCorrectAnswerSection.js +2 -1
  84. package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
  85. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +1 -1
  86. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -4
  87. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +6 -6
  88. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +1 -0
  89. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +12 -12
  90. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +1 -1
  91. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +48 -48
  92. package/cypress/e2e/ILC/MultipleSelectionGridNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -2
  93. package/cypress/e2e/ILC/NumberLine/LayoutSection.js +22 -25
  94. package/cypress/e2e/ILC/NumberLine/additionalSettings.js +23 -3
  95. package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +96 -7
  96. package/cypress/e2e/ILC/NumberLine/lineSettingsSection.js +12 -2
  97. package/cypress/e2e/ILC/NumberLine/numberLineSection.js +4 -6
  98. package/cypress/e2e/ILC/NumberLine/specifyCorrectAnswerSection.js +1 -2
  99. package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +3 -2
  100. package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
  101. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/layoutSection.js +3 -5
  102. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +12 -3
  103. package/cypress/e2e/ILC/NumberLineLabel/specifyCorrectAnswerSection.js +1 -1
  104. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
  105. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +2 -1
  106. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +2 -1
  107. package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +9 -9
  108. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +2 -0
  109. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -1
  110. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +3 -3
  111. package/cypress/e2e/ILC/SingleSelectionGridNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -2
  112. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +20 -0
  113. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +214 -0
  114. package/cypress/e2e/ILC/TextEntryMath/specifyCorrectAnswerSection.js +2 -1
  115. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +1 -6
  116. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +1 -2
  117. package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/audioOverviewAndTranscript.js +3 -2
  118. package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/customizePlayerLayoutSettings.js +2 -2
  119. package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/standardAudioPlayerStyle.js +3 -3
  120. package/cypress/e2e/ILC/VideoResponseNew/studentViewSettingsCompactRecorderStyle.js +3 -1
  121. package/cypress/e2e/ILC/chartsDotsPlot/additionalSettings.js +6 -6
  122. package/cypress/e2e/ILC/chartsDotsPlot/editTabScoring.js +4 -4
  123. package/cypress/e2e/ILC/chartsDotsPlot/minimumScoringPenaltyPointsAndRoundingDropdown.js +5 -5
  124. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +3 -1
  125. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +4 -2
  126. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +3 -1
  127. package/cypress/e2e/ILC/chartsDotsPlot/scoring/manualAndNonScoredScoring.js +9 -7
  128. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +62 -60
  129. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +29 -27
  130. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +45 -45
  131. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +28 -28
  132. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +48 -34
  133. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +41 -38
  134. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +26 -26
  135. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +41 -38
  136. package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +7 -5
  137. package/cypress/pages/audioPlayerPage.js +2 -2
  138. package/cypress/pages/audioResponsePage.js +1 -0
  139. package/cypress/pages/chartsBarPage.js +177 -76
  140. package/cypress/pages/chartsDotPlotPage.js +28 -43
  141. package/cypress/pages/components/additionalSettingsPanel.js +5 -2
  142. package/cypress/pages/components/barAndLineChartComponent.js +1 -1
  143. package/cypress/pages/components/chartsCommonComponent.js +28 -0
  144. package/cypress/pages/components/colorPopupComponent.js +2 -0
  145. package/cypress/pages/components/createQuestionBasePage.js +1 -0
  146. package/cypress/pages/components/draggableOptionsSectionComponent.js +1 -0
  147. package/cypress/pages/components/editCategoryFlyout.js +6 -4
  148. package/cypress/pages/components/essayResponseCommonComponents.js +1 -1
  149. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -0
  150. package/cypress/pages/components/gridQuestionCommonComponent.js +2 -4
  151. package/cypress/pages/components/imageCanvasComponent.js +7 -5
  152. package/cypress/pages/components/layoutSectionComponent.js +4 -3
  153. package/cypress/pages/components/numberLineCommonComponent.js +38 -21
  154. package/cypress/pages/components/opacityComponent.js +1 -0
  155. package/cypress/pages/components/optionsWrapperComponent.js +1 -0
  156. package/cypress/pages/components/questionInstructionsComponent.js +1 -1
  157. package/cypress/pages/components/responseAreaSettingsPopupComponent.js +8 -0
  158. package/cypress/pages/components/scoringSectionBaseEditTab.js +5 -2
  159. package/cypress/pages/components/toolSettingsComponent.js +1 -0
  160. package/cypress/pages/contentBlocksPage.js +1 -0
  161. package/cypress/pages/dragAndDropIntoCategoriesPage.js +9 -2
  162. package/cypress/pages/fillInTheGapsDropdownPage.js +16 -1
  163. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +16 -1
  164. package/cypress/pages/fillInTheGapsOverImageTextPage.js +20 -1
  165. package/cypress/pages/graphingPage.js +43 -10
  166. package/cypress/pages/gridFillPage.js +11 -3
  167. package/cypress/pages/matchingPage.js +2 -0
  168. package/cypress/pages/numberLineLabelPage.js +1 -1
  169. package/cypress/pages/numberLinePage.js +25 -24
  170. package/cypress/pages/readingRulerPage.js +6 -2
  171. package/cypress/pages/rulerPage.js +1 -0
  172. package/cypress/pages/shortTextResponsePage.js +3 -1
  173. package/cypress/pages/singleSelectionPage.js +25 -2
  174. package/cypress/pages/textSelectionPage.js +1 -1
  175. package/cypress/pages/videoResponsePage.js +7 -2
  176. package/package.json +1 -1
  177. /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/allSupportedFileTypes.js +0 -0
  178. /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/barAudioPlayerStyle.js +0 -0
  179. /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/compactAudioPlayerStyle.js +0 -0
  180. /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/headerSection.js +0 -0
  181. /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/previewContents.smoke.js +0 -0
  182. /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/studentViewSettings.js +0 -0
  183. /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/uploadAndAddAudioFile.js +0 -0
  184. /package/cypress/fixtures/uploads/{sample10Sec.mp3 → sampleAudio.mp3} +0 -0
@@ -31,7 +31,8 @@ describe('Create item page - Charts - Bar: All or nothing scoring with alternati
31
31
  chartsBarPage.steps.switchToPreviewTab();
32
32
  });
33
33
 
34
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icon should be not be displayed for bar, the correct accordion answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
34
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
35
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icon should be not be displayed for bar, the correct accordion answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
35
36
  chartsBarPage.steps.switchToGradingView();
36
37
  chartsBarPage.steps.verifyPreviewScore(0, 20);
37
38
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -144,11 +145,11 @@ describe('Create item page - Charts - Bar: All or nothing scoring with alternati
144
145
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 2, value: 5, range: 10 });
145
146
  chartsBarPage.steps.verifyPreviewScore(0, 20);
146
147
  chartsBarPage.steps.switchToGradingView();
147
- chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
148
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
148
149
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
149
- chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
150
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
150
151
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
151
- chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
152
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
152
153
  chartsBarPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
153
154
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 0, barValue: 4, range: 10 });
154
155
  chartsBarPage.steps.verifyLockedBarInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 10 });
@@ -31,7 +31,8 @@ describe('Create item page - Charts - Bar: All or nothing scoring with alternati
31
31
  chartsBarPage.steps.switchToPreviewTab();
32
32
  });
33
33
 
34
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icon should not be displayed for bar, the correct accordion answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
34
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
35
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icon should not be displayed for bar, the correct accordion answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
35
36
  chartsBarPage.steps.switchToGradingView();
36
37
  chartsBarPage.steps.verifyPreviewScore(0, 20);
37
38
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -33,7 +33,8 @@ describe('Create item page - Charts - Bar: All or nothing scoring with alternati
33
33
  chartsBarPage.steps.switchToPreviewTab();
34
34
  });
35
35
 
36
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icon should not be displayed for any bar, the correct accordion answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
36
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
37
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icon should not be displayed for any bar, the correct accordion answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
37
38
  chartsBarPage.steps.switchToGradingView();
38
39
  chartsBarPage.steps.verifyPreviewScore(0, 20);
39
40
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -66,7 +66,8 @@ describe('Create Item page - Charts - Bar: Manually and non scored', () => {
66
66
 
67
67
  chartsBarPage.tests.verifyGradingStudentViewRadioButtonAndScoringTypeInPreviewTab('Non scored');
68
68
 
69
- it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed for any bar, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
69
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
70
+ it.skip('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed for any bar, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
70
71
  chartsBarPage.steps.switchToGradingView();
71
72
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
72
73
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
@@ -27,7 +27,8 @@ describe('Create item page - Charts - Bar: Partial different weights', () => {
27
27
  chartsBarPage.steps.switchToPreviewTab();
28
28
  });
29
29
 
30
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icons should not be displayed for any bar, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
30
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
31
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icons should not be displayed for any bar, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
31
32
  chartsBarPage.steps.switchToGradingView();
32
33
  chartsBarPage.steps.verifyPreviewScore(0, 20);
33
34
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -32,7 +32,8 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
32
32
  chartsBarPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
35
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
35
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
36
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
36
37
  chartsBarPage.steps.switchToGradingView();
37
38
  chartsBarPage.steps.verifyPreviewScore(0, 28);
38
39
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
@@ -77,15 +78,15 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
77
78
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 4, range: 10 });
78
79
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 6, range: 10 });
79
80
  chartsBarPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
80
- /* cy.log('When the user selects check answer after incorrectly attempting the question, then correct/incorrect status message should not be displayed, incorrect icons should be displayed on the incorrectly attempted bars')
81
- chartsBarPage.steps.checkAnswer();
82
- chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
83
- chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
84
- chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
85
- chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
86
- chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
87
- chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
- chartsBarPage.steps.verifyCorrectAnswerSectionNotExist(); */
81
+ /* cy.log('When the user selects check answer after incorrectly attempting the question, then correct/incorrect status message should not be displayed, incorrect icons should be displayed on the incorrectly attempted bars')
82
+ chartsBarPage.steps.checkAnswer();
83
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'incorrect');
84
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(1);
85
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'incorrect');
86
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'incorrect');
87
+ chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'incorrect');
88
+ chartsBarPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
89
+ chartsBarPage.steps.verifyCorrectAnswerSectionNotExist(); */
89
90
  });
90
91
 
91
92
  it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion (less than full points)and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
@@ -32,7 +32,8 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
32
32
  chartsBarPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
35
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
35
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
36
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
36
37
  chartsBarPage.steps.switchToGradingView();
37
38
  chartsBarPage.steps.verifyPreviewScore(0, 23);
38
39
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -32,7 +32,8 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
32
32
  chartsBarPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
35
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
35
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
36
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
36
37
  chartsBarPage.steps.switchToGradingView();
37
38
  chartsBarPage.steps.verifyPreviewScore(0, 28);
38
39
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -27,7 +27,8 @@ describe('Create item page - Charts - Bar: Partial equal weights', () => {
27
27
  chartsBarPage.steps.switchToPreviewTab();
28
28
  });
29
29
 
30
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
30
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
31
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
31
32
  chartsBarPage.steps.switchToGradingView();
32
33
  chartsBarPage.steps.verifyPreviewScore(0, 20);
33
34
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(0, 'correct');
@@ -32,7 +32,8 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
32
32
  chartsBarPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
35
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the alternate accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
35
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
36
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the alternate accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
36
37
  chartsBarPage.steps.switchToGradingView();
37
38
  chartsBarPage.steps.verifyPreviewScore(0, 20);
38
39
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -33,7 +33,8 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
33
33
  chartsBarPage.steps.switchToPreviewTab();
34
34
  });
35
35
 
36
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
36
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
37
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
37
38
  chartsBarPage.steps.switchToGradingView();
38
39
  chartsBarPage.steps.verifyPreviewScore(0, 20);
39
40
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -32,7 +32,8 @@ describe('Create item page - Charts - Bar: Partial equal weights scoring with al
32
32
  chartsBarPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
35
- it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
35
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
36
+ it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct icon should be displayed for bar set to correct by default, incorrect icon should be displayed for incorrect graph, the correct accordion answer should be displayed in the correct answer section graph and incorrect status message should be displayed', () => {
36
37
  chartsBarPage.steps.switchToGradingView();
37
38
  chartsBarPage.steps.verifyPreviewScore(0, 20);
38
39
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -24,7 +24,8 @@ describe('Create item page - Charts - Bar : All or nothing with Tolerance/Thresh
24
24
  chartsBarPage.steps.setToleranceThresholdValue(1);
25
25
  });
26
26
 
27
- it('When the user selects \'Grading\' view without attempting the question,the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
27
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
28
+ it.skip('When the user selects \'Grading\' view without attempting the question,the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
28
29
  chartsBarPage.steps.switchToPreviewTab();
29
30
  chartsBarPage.steps.switchToGradingView();
30
31
  chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
@@ -104,7 +104,8 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
104
104
  });
105
105
  };
106
106
 
107
- it('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
107
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
108
+ it.skip('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
108
109
  if (view === 'Grading view') {
109
110
  studentViewPage.steps.submitResponse();
110
111
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -254,9 +254,9 @@ describe('Create item: Charts- Bar : Select chart type', () => {
254
254
  it('When user updates value in Grid snapping input field and sets bar on charts then the bar\'s placement should align with the specified grid snapping value in select chart type and the specify correct answer section', () => {
255
255
  chartsBarPage.steps.enterValueInGridSnappingInputField(2);
256
256
  chartsBarPage.steps.verifyValueInGridSnappingInputField(2);
257
- cy.log('Adding a wait as it takes time to reflect changes in the graph')
257
+ cy.log('Adding a wait as it takes time to reflect changes in the graph');
258
258
  cy.wait(1000);
259
- chartsBarPage.steps.incrementBarValueUsingUpArrowSelectChartType(0);
259
+ chartsBarPage.steps.increaseBarValueUsingUpArrowSelectChartType(0);
260
260
  chartsBarPage.steps.verifyBarHeightInSelectChartType({ barIndex: 0, barValue: 2, range: 10 });
261
261
  chartsBarPage.steps.increaseBarValueUsingUpArrowInSpecifyCorrectAnswer(0);
262
262
  chartsBarPage.steps.verifyBarHeightInSpecifyCorrectAnswer({ barIndex: 0, barValue: 2, range: 10 });
@@ -329,7 +329,9 @@ describe('Create item: Charts- Bar : Select chart type', () => {
329
329
  abortEarlySetup();
330
330
  before(() => {
331
331
  chartsBarPage.steps.navigateToCreateQuestion('charts');
332
- chartsBarPage.steps.addTextInQuestionInstructionsInputField('Bar chart');
332
+ chartsBarPage.steps.setGraphTitle('Bar chart');
333
+ chartsBarPage.steps.setXAxisLabel('Days');
334
+ chartsBarPage.steps.setYAxisLabel('Profit');
333
335
  cy.barsPreLoaderWait();
334
336
  chartsBarPage.steps.setGraphTitle('Bar chart');
335
337
  chartsBarPage.steps.setXAxisLabel('Days');
@@ -371,7 +373,8 @@ describe('Create item: Charts- Bar : Select chart type', () => {
371
373
 
372
374
  it('When user selects Vertical direction again then Vertical chart should be displayed in select chart type and specify correct answer section', () => {
373
375
  chartsBarPage.steps.selectVerticalDirectionRadioButton();
374
- chartsBarPage.steps.verifyChartOrientationPreviewTab('Vertical');
376
+ chartsBarPage.steps.verifyChartOrientationSelectChartType('Vertical');
377
+ chartsBarPage.steps.verifyChartOrientationSpecifyCorrectAnswer('Vertical');
375
378
  });
376
379
 
377
380
  it('When Add gap between bars checkbox is checked then space should be present between the bars in select chart type and specify correct answer section', () => {
@@ -381,7 +384,7 @@ describe('Create item: Charts- Bar : Select chart type', () => {
381
384
  });
382
385
 
383
386
  it('When user unchecks Add gap between bars checkbox then space should not be present between the bars in select chart type and specify correct answer section', () => {
384
- chartsBarPage.steps.uncheckAddGapBetweenBarsCheckboxCheckbox();
387
+ chartsBarPage.steps.uncheckAddGapBetweenBarsCheckbox();
385
388
  chartsBarPage.steps.verifyNoSpaceBetweenBarsSelectChartType();
386
389
  chartsBarPage.steps.verifyNoSpaceBetweenBarsSpecifyCorrectAnswer();
387
390
  });
@@ -327,14 +327,14 @@ describe('Select chart type - Chart', () => {
327
327
 
328
328
  it('When bar is at the topmost value and the user still tries to increase its value, then the bar value should not increase', () => {
329
329
  for (var i = 0; i < 17; i++) {
330
- chartsBarPage.steps.incrementBarValueUsingUpArrowSelectChartType(0);
330
+ chartsBarPage.steps.increaseBarValueUsingUpArrowSelectChartType(0);
331
331
  }
332
332
  chartsBarPage.steps.verifyBarHeightInSelectChartType({ barIndex: 0, barValue: 20, range: 20 });
333
333
  });
334
334
 
335
335
  it('When bar is at the bottommost value and the user still tries to decrease its value, then the bar value should not decrease', () => {
336
- chartsBarPage.steps.decrementBarValueUsingDownArrowSelectChartType(2);
337
- chartsBarPage.steps.decrementBarValueUsingDownArrowSelectChartType(2);
336
+ chartsBarPage.steps.decreaseBarValueUsingDownArrowSelectChartType(2);
337
+ chartsBarPage.steps.decreaseBarValueUsingDownArrowSelectChartType(2);
338
338
  chartsBarPage.steps.verifyBarHeightInSelectChartType({ barIndex: 2, barValue: 0, range: 20 });
339
339
  });
340
340
 
@@ -613,7 +613,7 @@ describe('Select chart type - Chart', () => {
613
613
  });
614
614
 
615
615
  it('Add bar label and button should be displayed and by default, button should be in unselected state', () => {
616
- utilities.verifyInnerText(chartsBarPage.addBarOrPointOptionLabel(), 'Add bar');
616
+ utilities.verifyInnerText(chartsBarPage.addBarOrPointOptionLabel(), );
617
617
  utilities.verifyElementVisibilityState(chartsBarPage.addBarOrPointOptionLabel(), 'visible');
618
618
  chartsBarPage.steps.verifyAddBarOrPointToolbarOptionButton();
619
619
  chartsBarPage.steps.verifyAddBarOrPointToolbarOptionUnselected();
@@ -624,7 +624,7 @@ describe('Select chart type - Chart', () => {
624
624
  });
625
625
 
626
626
  it('When user has not selected add tool button then Add bar button should not be displayed in specify correct answer section', () => {
627
- utilities.verifyElementVisibilityState(chartsBarPage.controlOptionsSpecifyCorrectAnswer('Add bar'), 'notExist');
627
+ utilities.verifyElementVisibilityState(chartsBarPage.controlOptionsSpecifyCorrectAnswer(), 'notExist');
628
628
  });
629
629
 
630
630
  it('User should be able to select Add bar tool button', () => {
@@ -636,12 +636,12 @@ describe('Select chart type - Chart', () => {
636
636
  });
637
637
 
638
638
  it('When Add bar tool button is in selected state then Add bar button should be displayed in enabled state in the specify correct answer section', () => {
639
- utilities.verifyElementVisibilityState(chartsBarPage.controlOptionsSpecifyCorrectAnswer('Add bar'), 'visible');
640
- utilities.verifyElementNotDisabled(chartsBarPage.controlOptionsSpecifyCorrectAnswer('Add bar'));
639
+ utilities.verifyElementVisibilityState(chartsBarPage.controlOptionsSpecifyCorrectAnswer(), 'visible');
640
+ utilities.verifyElementNotDisabled(chartsBarPage.controlOptionsSpecifyCorrectAnswer());
641
641
  });
642
642
 
643
643
  it('When user hovers over Add bar button then Add bar tooltip should be displayed in specify correct answer section', () => {
644
- chartsBarPage.controlOptionsSpecifyCorrectAnswer('Add bar')
644
+ chartsBarPage.controlOptionsSpecifyCorrectAnswer()
645
645
  .verifyTooltip('Add bar');
646
646
  });
647
647
 
@@ -649,14 +649,14 @@ describe('Select chart type - Chart', () => {
649
649
  chartsBarPage.steps.addBarOrPointInChartInSpecifyCorrectAnswerSection();
650
650
  utilities.verifyElementCount(chartsBarPage.specifyCorrectAnswerBar(), 4);
651
651
  chartsBarPage.steps.verifyBarLabelSpecifyCorrectAnswer(3, 'Bar 4');
652
- utilities.verifyElementDisabled(chartsBarPage.controlOptionsSpecifyCorrectAnswer('Add bar'));
652
+ utilities.verifyElementDisabled(chartsBarPage.controlOptionsSpecifyCorrectAnswer());
653
653
  });
654
654
 
655
655
  it('When user deletes the added bar then added bar should be deleted and Add bar button should be in enabled state', () => {
656
656
  chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 3, value: 2, range: 10 });
657
657
  chartsBarPage.steps.deleteBarInSpecifyCorrectAnswer(3);
658
658
  utilities.verifyElementCount(chartsBarPage.specifyCorrectAnswerBar(), 3);
659
- utilities.verifyElementNotDisabled(chartsBarPage.controlOptionsSpecifyCorrectAnswer('Add bar'));
659
+ utilities.verifyElementNotDisabled(chartsBarPage.controlOptionsSpecifyCorrectAnswer());
660
660
  });
661
661
 
662
662
  it('When user updates the Max bar count in select chart type then user should be able to add bars according to the updated value in specify correct answer section', () => {
@@ -668,12 +668,12 @@ describe('Select chart type - Chart', () => {
668
668
  for (var i = 1; i < 7; i++) {
669
669
  chartsBarPage.steps.verifyBarLabelSpecifyCorrectAnswer(i - 1, `Bar ${i}`);
670
670
  }
671
- utilities.verifyElementDisabled(chartsBarPage.controlOptionsSpecifyCorrectAnswer('Add bar'));
671
+ utilities.verifyElementDisabled(chartsBarPage.controlOptionsSpecifyCorrectAnswer());
672
672
  });
673
673
 
674
674
  it('When user unselects the Add bar tool button then Add bar button should not be displayed and added bar should still remain in specify correct answer', () => {
675
675
  chartsBarPage.steps.unselectAddBarOrPointToolbarOption();
676
- utilities.verifyElementVisibilityState(chartsBarPage.controlOptionsSpecifyCorrectAnswer('Add bar'), 'notExist');
676
+ utilities.verifyElementVisibilityState(chartsBarPage.controlOptionsSpecifyCorrectAnswer(), 'notExist');
677
677
  utilities.verifyElementCount(chartsBarPage.specifyCorrectAnswerBar(), 6);
678
678
  });
679
679
 
@@ -202,7 +202,7 @@ describe('Create item page - Charts - Line: Scoring section', () => {
202
202
 
203
203
  it('When the user updates the entered points in \'All or nothing\' scoring type and switches to \'Partial different weights\' scoring type, then the points should be equally divided and displayed besides each correct option', () => {
204
204
  chartsLinePage.steps.allotPoints(12);
205
- cy.wait(250)
205
+ cy.wait(1000);
206
206
  chartsLinePage.steps.selectAutoScoredScoringSubtype('Partial different weights');
207
207
  chartsLinePage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([3, 3, 3, 3]);
208
208
  });
@@ -156,7 +156,6 @@ describe('Create Item page - drag and drop into categories: All or nothing scori
156
156
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
157
157
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(4);
158
158
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(5);
159
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(6);
160
159
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Tiger'], ['Whale']], ['1', '2', '3', '4', '5']);
161
160
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
162
161
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -164,7 +164,7 @@ describe('Create item page - Drag and drop into categories: Per correct option w
164
164
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();*/
165
165
  });
166
166
 
167
- it('When the user attempts the question partially correct with all the cells correctly attempted as per the correct accordion but with an extra incorrect option, then the user should be awarded points as per the total of correct options as per the correct accordion and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides the incorrect answer responses, correct/incorrect answer status message and correct answer section should not be displayed', () => {
167
+ it('When the user attempts the question partially correct with all the cells correctly attempted as per the correct accordion but with an extra incorrect option, then the user should be awarded points as per the total of correct options as per the correct accordion and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides the incorrect answer responses, correct/incorrect answer status message and correct answer section should be displayed', () => {
168
168
  dragAndDropIntoCategoriesPage.steps.resetQuestionPreview();
169
169
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Bat': 0, 'Eagle': 1, 'Parrot': 1, 'Ostrich': 3, 'Platypus': 2, 'Whale': 4, 'Octopus': 5 });
170
170
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(18, 30);
@@ -177,7 +177,8 @@ describe('Create item page - Drag and drop into categories: Per correct option w
177
177
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(5);
178
178
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(6);
179
179
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
180
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
180
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount
181
+ ([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus']], ['1', '2', '4', '5', '6']);
181
182
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
182
183
  /*cy.log('When the user has attempted the question with partially correct with all the cells correctly attempted as per the alternative accordion but with an extra incorrect option and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides the incorrect answer responses, correct/incorrect answer status message and correct answer section should not be displayed')
183
184
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -95,7 +95,7 @@ describe('Create item page - Drag and drop into categories: Per correct option s
95
95
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();*/
96
96
  });
97
97
 
98
- it('When the user attempts the question partially correct with all the cells correctly attempted but with an extra option which is not set as correct answer, the points awarded should be of the total points obtained by each correct option and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer responses, correct/incorrect answer status message and correct answer section should not be displayed', () => {
98
+ it('When the user attempts the question partially correct with all the cells correctly attempted but with an extra option which is not set as correct answer, the points awarded should be of the total points obtained by each correct option and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer responses, correct/incorrect answer status message should not be displayed and correct answer section should be displayed', () => {
99
99
  dragAndDropIntoCategoriesPage.steps.resetQuestionPreview();
100
100
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Bat': 0, 'Flying squirrel': 0, 'Eagle': 1, 'Parrot': 1, 'Platypus': 2, 'Ostrich': 3, 'Whale': 4, 'Peacock': 4 });
101
101
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(35, 35);
@@ -109,7 +109,7 @@ describe('Create item page - Drag and drop into categories: Per correct option s
109
109
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(6);
110
110
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(7);
111
111
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
112
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
112
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale']], ['1', '2', '3', '4', '5']);
113
113
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
114
114
  /*cy.log('When the user has attempted the question partially correct with all the cells correctly attempted but with an extra option which is not set as correct answer and clicks on \'Check answer\' button, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer responses, correct/incorrect answer status message should not be displayed and correct answer section should not be displayed')
115
115
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -164,7 +164,7 @@ describe('Create item page - Drag and drop into categories: Per correct option w
164
164
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();*/
165
165
  });
166
166
 
167
- it('When the user attempts the question partially correct with all the cells correctly attempted as per the alternative accordion but with an extra incorrect option, then the user should be awarded points as per the total of correct options as per the alternative accordion and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides the incorrect answer responses, correct/incorrect answer status message and correct answer section should not be displayed', () => {
167
+ it('When the user attempts the question partially correct with all the cells correctly attempted as per the alternative accordion but with an extra incorrect option, then the user should be awarded points as per the total of correct options as per the alternative accordion and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides the incorrect answer responses, correct/incorrect answer status message should not be displayed and correct answer section should be displayed', () => {
168
168
  dragAndDropIntoCategoriesPage.steps.resetQuestionPreview();
169
169
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Eagle': 1, 'Peacock': 1, 'Ostrich': 3, 'Platypus': 4, 'Octopus': 5, 'Whale': 5 });
170
170
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(18, 30);
@@ -177,7 +177,7 @@ describe('Create item page - Drag and drop into categories: Per correct option w
177
177
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(5);
178
178
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(6);
179
179
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
180
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
180
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale']], ['1', '2', '3', '4', '5']);
181
181
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
182
182
  /*cy.log('When the user has attempted the question with partially correct with all the cells correctly attempted as per the alternative accordion but with an extra incorrect option and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides the incorrect answer responses, correct/incorrect answer status message and correct answer section should not be displayed')
183
183
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -15,7 +15,8 @@ describe('Drag and drop into categories - Additional settings', () => {
15
15
  cy.loginAs('admin');
16
16
  });
17
17
 
18
- describe('Additional Settings: Grading view - Contents in edit tab', () => {
18
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/574098 is resolved
19
+ describe.skip('Additional Settings: Grading view - Contents in edit tab', () => {
19
20
  abortEarlySetup();
20
21
  before(() => {
21
22
  dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
@@ -83,7 +84,8 @@ describe('Drag and drop into categories - Additional settings', () => {
83
84
  dragAndDropIntoCategoriesPage.steps.expandAdditionalSettings();
84
85
  });
85
86
 
86
- it(`"ARIA label for dropzones" label should be displayed`, () => {
87
+ //Need to remove the skip once https://redmine.zeuslearning.com/issues/574098 is resolved
88
+ it.skip(`"ARIA label for dropzones" label should be displayed`, () => {
87
89
  utilities.verifyInnerText(dragAndDropIntoCategoriesPage.ariaLabelSectionLabel(), `ARIA label for dropzones`);
88
90
  utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.ariaLabelSectionLabel(), 'visible');
89
91
  });
@@ -55,7 +55,8 @@ describe('Drag and drop into categories - Additional settings', () => {
55
55
  });
56
56
  });
57
57
 
58
- describe('Additional settings: Font size - functionality in preview tab', () => {
58
+ //Need to remove this skip once https://redmine.zeuslearning.com/issues/567239 is resolved
59
+ describe.skip('Additional settings: Font size - functionality in preview tab', () => {
59
60
  abortEarlySetup();
60
61
  before(() => {
61
62
  dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
@@ -225,7 +225,8 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
225
225
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
226
226
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(4);
227
227
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(5);
228
- dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
228
+ //Need to remove comment once https://redmine.zeuslearning.com/issues/577009 is resolved
229
+ // dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
229
230
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
230
231
  });
231
232
  });
@@ -500,7 +500,7 @@ describe('Create Item Page: Drag and drop into categories: Click and drop cases
500
500
  it('When user has dropped all the options from a group in the response areas, then empty group should be displayed in the options container', () => {
501
501
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Eagle': 0, 'Whale': 0, 'Platypus': 1 });
502
502
  dragAndDropIntoCategoriesPage.steps.verifyGroupedOptionsTitleSpecifyCorrectAnswerSection(0, 'Group A')
503
- utilities.verifyElementCount(dragAndDropIntoCategoriesPage.groupedOptionsContainerSpecifyCorrectAnswerSection(), 1)
503
+ dragAndDropIntoCategoriesPage.steps.verifyEmptyGroupInSpecifyCorrectAnswerSection(0);
504
504
  });
505
505
  });
506
506
 
@@ -670,7 +670,7 @@ describe('Create Item Page: Drag and drop into categories: Click and drop cases
670
670
  it('When user has dropped all the options from a group in the response areas, then empty group should be displayed in the options container', () => {
671
671
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Whale': 0, 'Platypus': 1, 'Eagle': 0 });
672
672
  dragAndDropIntoCategoriesPage.steps.verifyGroupedOptionsTitlePreviewTab(0, 'Group A')
673
- utilities.verifyElementCount(dragAndDropIntoCategoriesPage.groupedOptionsContainerPreviewTab(), 1)
673
+ dragAndDropIntoCategoriesPage.steps.verifyEmptyGroupInSpecifyCorrectAnswerSection(0);
674
674
  });
675
675
  });
676
676
  });
@@ -134,7 +134,6 @@ describe('Create Item page - Drag and drop into categories: Draggable options se
134
134
  cy.log('Pre step: Set options in group 2 tab, then add new group');
135
135
  dragAndDropIntoCategoriesPage.steps.enterTextInOptionInputField(0, 'option 3');
136
136
  dragAndDropIntoCategoriesPage.steps.enterTextInOptionInputField(1, 'option 4');
137
-
138
137
  dragAndDropIntoCategoriesPage.steps.addGroup(2);
139
138
  });
140
139
 
@@ -142,7 +141,6 @@ describe('Create Item page - Drag and drop into categories: Draggable options se
142
141
  cy.log('Pre step: Set options in group 3 tab, then switch to group 2 tab and \'Close\' icon button');
143
142
  dragAndDropIntoCategoriesPage.steps.enterTextInOptionInputField(0, 'option 5');
144
143
  dragAndDropIntoCategoriesPage.steps.enterTextInOptionInputField(1, 'option 6');
145
-
146
144
  dragAndDropIntoCategoriesPage.steps.switchToGroupTab(1);
147
145
  dragAndDropIntoCategoriesPage.steps.deleteGroup(1);
148
146
  utilities.verifyElementCount(dragAndDropIntoCategoriesPage.groupTab(), 2)
@@ -38,7 +38,7 @@ describe('Create Item page - Drag and drop into categories: Pagination cases - E
38
38
  cy.log('Pre-step: Setting number of columns to 15');
39
39
  dragAndDropIntoCategoriesPage.steps.addInputToColumnInputStepper(15);
40
40
  dragAndDropIntoCategoriesPage.steps.clickOnRightArrowNavigationButtonSpecifyCorrectAnswerSection();
41
- dragAndDropIntoCategoriesPage.steps.verifyColumnIsVisibleInTableSpecifyCorrectAnswer(8);
41
+ dragAndDropIntoCategoriesPage.steps.verifyColumnIsVisibleInTableSpecifyCorrectAnswer(7);
42
42
  utilities.verifyElementNotDisabled(dragAndDropIntoCategoriesPage.leftArrowNavigationButtonSpecifyCorrectAnswerSection());
43
43
  utilities.verifyElementNotDisabled(dragAndDropIntoCategoriesPage.rightArrowNavigationButtonSpecifyCorrectAnswerSection());
44
44
  });
@@ -53,7 +53,7 @@ describe('Create Item page - Drag and drop into categories: Pagination cases - E
53
53
 
54
54
  it('When user clicks on the left arrow navigation button, then the table should be scrolled by one column towards its left and the right arrow navigation button should be enabled', () => {
55
55
  dragAndDropIntoCategoriesPage.steps.clickOnLeftArrowNavigationButtonSpecifyCorrectAnswerSection();
56
- dragAndDropIntoCategoriesPage.steps.verifyColumnIsVisibleInTableSpecifyCorrectAnswer(8);
56
+ dragAndDropIntoCategoriesPage.steps.verifyColumnIsVisibleInTableSpecifyCorrectAnswer(7);
57
57
  utilities.verifyElementNotDisabled(dragAndDropIntoCategoriesPage.rightArrowNavigationButtonSpecifyCorrectAnswerSection());
58
58
  utilities.verifyElementNotDisabled(dragAndDropIntoCategoriesPage.leftArrowNavigationButtonSpecifyCorrectAnswerSection());
59
59
  });
@@ -35,8 +35,9 @@ describe('Drag and drop into categories - Style and layout customization', () =>
35
35
  dragAndDropIntoCategoriesPage.steps.verifyPanelPlacementSpecifyCorrectAnswerSection('Bottom');
36
36
  });
37
37
 
38
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/574098 is resolved
38
39
  panelPlacement.forEach((option) => {
39
- it(`When user selects ${option} option from the Panel placement options then panel placement should be at the ${option} in specify correct answer section`, () => {
40
+ it.skip(`When user selects ${option} option from the Panel placement options then panel placement should be at the ${option} in specify correct answer section`, () => {
40
41
  dragAndDropIntoCategoriesPage.steps.selectPanelPlacementOption(option)
41
42
  dragAndDropIntoCategoriesPage.steps.verifyPanelPlacementSpecifyCorrectAnswerSection(option);
42
43
  });
@@ -82,12 +83,14 @@ describe('Drag and drop into categories - Style and layout customization', () =>
82
83
  dragAndDropIntoCategoriesPage.steps.verifyOptionAlignmentInPanelOptionSelected('left');
83
84
  });
84
85
 
85
- it('By default the option alignment in panel placement should be at the left', () => {
86
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/574098 is resolved
87
+ it.skip('By default the option alignment in panel placement should be at the left', () => {
86
88
  dragAndDropIntoCategoriesPage.steps.verifyOptionAlignmentInPanelInSpecifyCorrectAnswer('Left');
87
89
  });
88
90
 
91
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/574098 is resolved
89
92
  optionAlignment.forEach((option) => {
90
- it(`When user selects ${option} option from the option alignment in panel placement options then option alignment placement should be at the ${option} in specify correct answer section`, () => {
93
+ it.skip(`When user selects ${option} option from the option alignment in panel placement options then option alignment placement should be at the ${option} in specify correct answer section`, () => {
91
94
  dragAndDropIntoCategoriesPage.steps.selectOptionAlignmentInPanelOption(option.toLowerCase());
92
95
  dragAndDropIntoCategoriesPage.steps.verifyOptionAlignmentInPanelInSpecifyCorrectAnswer(option);
93
96
  });