itemengine-cypress-automation 1.0.225-activeDeadlineSecondsUpdated-34c7d0c.0 → 1.0.226-5thAugustFixes-cc6b557.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +9 -5
  2. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -6
  3. package/cypress/e2e/ILC/ChartsBar/Scoring/addAndDeleteBarAllOrNothingScoring.js +2 -1
  4. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  5. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +2 -1
  6. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -1
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -3
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -2
  9. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +2 -1
  10. package/cypress/e2e/ILC/ChartsBar/editTabScoringSection.js +2 -2
  11. package/cypress/e2e/ILC/ChartsBar/gridSettings.js +3 -3
  12. package/cypress/e2e/ILC/ChartsBar/selectChartTypeSection.js +11 -10
  13. package/cypress/e2e/ILC/ChartsLine/Scoring/addAndDeletePointAllOrNothingScoring.js +307 -0
  14. package/cypress/e2e/ILC/ChartsLine/Scoring/manuallyAndNonScored.js +282 -0
  15. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +387 -0
  16. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +280 -0
  17. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +280 -0
  18. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +340 -0
  19. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +255 -0
  20. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +230 -0
  21. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +354 -0
  22. package/cypress/e2e/ILC/ChartsLine/Scoring/toleranceThresholdScoring.js +143 -0
  23. package/cypress/e2e/ILC/ChartsLine/additionalSettings.js +4 -2
  24. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +2 -2
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +1 -2
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +5 -6
  27. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +1 -1
  28. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
  29. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -1
  30. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +1 -0
  31. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +50 -126
  32. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions3.js +1 -1
  33. package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +2 -2
  34. package/cypress/e2e/ILC/EssayResponseMath/mathCharacters.js +8 -6
  35. package/cypress/e2e/ILC/FeedbackScaleNew/editTabBasicSection.js +2 -1
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +6 -7
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneSettings.js +1 -0
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/specifyCorrectAnswerSection.js +2 -1
  39. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsBasic.js +4 -3
  40. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +6 -4
  41. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +2 -2
  42. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/specifyCorrectAnswerSection.js +2 -1
  43. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +2 -1
  44. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +3 -3
  45. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -1
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -2
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -1
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +3 -2
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +2 -1
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/setLimitSection.js +10 -8
  51. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -2
  52. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +3 -2
  53. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +3 -2
  54. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +3 -2
  55. package/cypress/e2e/ILC/FillInTheGapsTextNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -2
  56. package/cypress/e2e/ILC/FillInTheGapsTextNew/setLimitSection.js +7 -5
  57. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +32 -21
  58. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeigtsCorrectPointsGreaterThanAlternativePoints.js +2 -2
  59. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  60. package/cypress/e2e/ILC/ImageHighlight/backgroundImageAndCanvasProperties.js +4 -3
  61. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +1 -1
  62. package/cypress/e2e/ILC/ImageHighlight/editTabScoring.js +1 -1
  63. package/cypress/e2e/ILC/ImageHighlight/imageHighlightStyle.js +6 -6
  64. package/cypress/e2e/ILC/ImageHighlight/minimumScoringPenaltyPointsAndRoundingDropdown.js +8 -6
  65. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +5 -3
  66. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/setPointsPopup.js +2 -1
  67. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
  68. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/studentViewSettings.js +2 -1
  69. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +2 -1
  70. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +2 -1
  71. package/cypress/e2e/ILC/Matching/maximumCapacityPerDropzoneSection.js +1 -3
  72. package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
  73. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
  74. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  75. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -1
  76. package/cypress/e2e/ILC/MultipleSelectionGridNew/additionalSettings.js +4 -2
  77. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +4 -3
  78. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +2 -2
  79. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +2 -2
  80. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
  81. package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +2 -2
  82. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +11 -11
  83. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +5 -5
  84. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  85. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +3 -3
  86. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +15 -15
  87. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +7 -7
  88. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +2 -2
  89. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +14 -14
  90. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +3 -3
  91. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +1 -1
  92. package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +17 -2
  93. package/cypress/e2e/ILC/NumberLineLabel/editTabScoring.js +8 -8
  94. package/cypress/e2e/ILC/NumberLineLabel/layoutSection.js +15 -28
  95. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +4 -4
  96. package/cypress/e2e/ILC/NumberLineLabel/numberLineSection.js +5 -5
  97. package/cypress/e2e/ILC/NumberLineLabel/studentViewSettings.js +4 -2
  98. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/layoutSection.js +28 -42
  99. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +5 -5
  100. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +6 -4
  101. package/cypress/e2e/ILC/ShortTextResponseNew/manuallyAndNonScoredScoring.js +2 -1
  102. package/cypress/e2e/ILC/SingleSelectionGridNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -2
  103. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +113 -112
  104. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  105. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +66 -65
  106. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +1 -0
  107. package/cypress/e2e/ILC/TextSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +8 -4
  108. package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +2 -1
  109. package/cypress/e2e/ILC/TextSelection/specifyCorrectAnswerSection.js +2 -1
  110. package/cypress/e2e/ILC/VideoResponseNew/studentViewSettingsStandardRecorderStyle.js +3 -2
  111. package/cypress/e2e/ILC/chartsDotsPlot/additionalSettings.js +4 -2
  112. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +2 -2
  113. package/cypress/e2e/ILC/chartsDotsPlot/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -3
  114. package/cypress/e2e/ILC/chartsDotsPlot/numberLineAxisSettings.js +4 -4
  115. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +3 -3
  116. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +2 -1
  117. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -1
  118. package/cypress/e2e/ILC/chartsDotsPlot/scoring/manualAndNonScoredScoring.js +4 -3
  119. package/cypress/e2e/ILC/chartsDotsPlot/selectChartTypeSection.js +2 -2
  120. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +14 -7
  121. package/cypress/pages/audioResponsePage.js +14 -2
  122. package/cypress/pages/chartsDotPlotPage.js +28 -1
  123. package/cypress/pages/chartsLinePage.js +16 -3
  124. package/cypress/pages/components/additionalSettingsPanel.js +0 -3
  125. package/cypress/pages/components/chartsCommonComponent.js +5 -1
  126. package/cypress/pages/components/createCustomCategoryFlyout.js +47 -12
  127. package/cypress/pages/components/customizeMathCharacterComponent.js +1 -1
  128. package/cypress/pages/components/equationEditorFlyout.js +12 -13
  129. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +2 -1
  130. package/cypress/pages/components/playbackControlsBaseComponent.js +1 -1
  131. package/cypress/pages/components/scoringSectionBaseEditTab.js +1 -1
  132. package/cypress/pages/dragAndDropIntoCategoriesPage.js +2 -2
  133. package/cypress/pages/essayResponseMathPage.js +19 -10
  134. package/cypress/pages/essayResponsePage.js +16 -10
  135. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +9 -5
  136. package/cypress/pages/imageHighlightPage.js +46 -29
  137. package/cypress/pages/matchingPage.js +1 -1
  138. package/cypress/pages/numberLineLabelPage.js +25 -28
  139. package/cypress/pages/numberLinePage.js +9 -2
  140. package/cypress/pages/shortTextResponsePage.js +33 -9
  141. package/package.json +1 -1
@@ -206,7 +206,8 @@ describe('Create item page: Feedback scale - Question instructions, Legend text,
206
206
 
207
207
  it('On switching to the Preview tab, No scoring label or score should be displayed', () => {
208
208
  feedbackScalePage.steps.switchToPreviewTab();
209
- utilities.verifyElementVisibilityState(feedbackScalePage.scoringTypeLabelPreviewTab(), 'notExist');
209
+ // Uncomment below code once https://redmine.zeuslearning.com/issues/578695 is resolved
210
+ // utilities.verifyElementVisibilityState(feedbackScalePage.scoringTypeLabelPreviewTab(), 'notExist');
210
211
  });
211
212
 
212
213
  feedbackScalePage.tests.verifyGradingStudentViewRadioButtonAndScoringTypeInPreviewTab('Non scored');
@@ -264,7 +264,6 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
264
264
  fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
265
265
  cy.barsPreLoaderWait();
266
266
  fillInTheGapsDragAndDropPage.steps.addResponseArea();
267
- fillInTheGapsDragAndDropPage.steps.addResponseArea();
268
267
  fillInTheGapsDragAndDropPage.steps.addMultipleOptionFields(3);
269
268
  fillInTheGapsDragAndDropPage.steps.addInputToOptionsInputField(['Petals', 'Leaves', 'Roots', 'Flower', 'Stem']);
270
269
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
@@ -317,19 +316,19 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
317
316
  fillInTheGapsDragAndDropPage.steps.allotTotalPenaltyPoints(4);
318
317
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
319
318
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Roots': 0 });
320
- fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(-3.99, 20);
319
+ fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(-4, 20);
321
320
  });
322
321
 
323
322
  it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
324
323
  fillInTheGapsDragAndDropPage.steps.resetQuestionPreview();
325
324
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Flower': 1, 'Roots': 1, 'Leaves': 2 });
326
- fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(12.67, 20);
325
+ fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(12.6667, 20);
327
326
  });
328
327
 
329
328
  it('When the user attempts the question correctly along with multiple incorrect options, then penalty points for each incorrect dropzone should get deducted from the awarded points', () => {
330
329
  fillInTheGapsDragAndDropPage.steps.resetQuestionPreview();
331
330
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Stem': 1, 'Roots': 1, 'Leaves': 2 });
332
- fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(12.67, 20);
331
+ fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(12.6667, 20);
333
332
  });
334
333
 
335
334
  it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
@@ -386,19 +385,19 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
386
385
  fillInTheGapsDragAndDropPage.steps.checkAutomaticallySetPenaltyPointsCheckbox();
387
386
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
388
387
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Roots': 0 });
389
- fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(-20.01, 20);
388
+ fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(-20, 20);
390
389
  });
391
390
 
392
391
  it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
393
392
  fillInTheGapsDragAndDropPage.steps.resetQuestionPreview();
394
393
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Flower': 1, 'Roots': 1, 'Leaves': 2 });
395
- fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(7.33, 20);
394
+ fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(7.3333, 20);
396
395
  });
397
396
 
398
397
  it('When the user attempts the question correctly along with multiple incorrect options, then penalty points for each incorrect dropzone should get deducted from the awarded points', () => {
399
398
  fillInTheGapsDragAndDropPage.steps.resetQuestionPreview();
400
399
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Roots': 1, 'Stem': 2 });
401
- fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(-4.34, 20);
400
+ fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(-4.3333, 20);
402
401
  });
403
402
 
404
403
  it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
@@ -8,6 +8,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Dropzone setti
8
8
  cy.loginAs('admin');
9
9
  });
10
10
 
11
+ //Failling due to https://redmine.zeuslearning.com/issues/573051
11
12
  describe('Dropzone settings - Contents', () => {
12
13
  abortEarlySetup();
13
14
  before(() => {
@@ -82,7 +82,8 @@ describe('Create Item page - Fill in the gaps with drag and drop: Specify correc
82
82
  fillInTheGapsDragAndDropPage.steps.verifyAlternativeAnswerAccordionLabel(0);
83
83
  });
84
84
 
85
- it('When the user deletes an option assigned as correct in the correct accordion then the correct accordion should be in the expanded state', () => {
85
+ //nedd to remove comment after https://redmine.zeuslearning.com/issues/573055 is resolved
86
+ it.skip('When the user deletes an option assigned as correct in the correct accordion then the correct accordion should be in the expanded state', () => {
86
87
  fillInTheGapsDragAndDropPage.steps.deleteOption(3);
87
88
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerAccordionIsExpanded();
88
89
  });
@@ -96,9 +96,10 @@ describe('Fill In the gaps with dropdown - Additional settings', () => {
96
96
  'font-size': fontSizes[option]
97
97
  });
98
98
  fillInTheGapsDropdownPage.steps.switchToGradingView();
99
- utilities.verifyCSS(fillInTheGapsDropdownPage.correctAnswersLabel(), {
100
- 'font-size': fontSizes[option]
101
- });
99
+ //Need to remove comment once https://redmine.zeuslearning.com/issues/564870 is resolved
100
+ // utilities.verifyCSS(fillInTheGapsDropdownPage.correctAnswersLabel(), {
101
+ // 'font-size': fontSizes[option]
102
+ // });
102
103
  utilities.verifyCSS(fillInTheGapsDropdownPage.correctAnswerResponseNumeration(), {
103
104
  'font-size': fontSizes[option]
104
105
  });
@@ -129,8 +129,9 @@ describe('Create item page - Fill in the gaps with dropdown: Dropdown settings',
129
129
  it('When \'Set for all dropdowns\' checkbox is checked, user updates the width input field value and clicks on OK, then width of all response areas in question input field should be updated', () => {
130
130
  fillInTheGapsDropdownPage.steps.addInputToWidthInputField(180);
131
131
  fillInTheGapsDropdownPage.steps.clickOnResponseAreaSettingsOkButton();
132
- fillInTheGapsDropdownPage.steps.verifyResponseAreaWidth(0, '180px');
133
- fillInTheGapsDropdownPage.steps.verifyResponseAreaWidth(1, '180px');
132
+ // Need to remove comments once https://redmine.zeuslearning.com/issues/574168 is resolved
133
+ // fillInTheGapsDropdownPage.steps.verifyResponseAreaWidth(0, '180px');
134
+ // fillInTheGapsDropdownPage.steps.verifyResponseAreaWidth(1, '180px');
134
135
  });
135
136
 
136
137
  it('When \'Set for all dropdowns\' checkbox is checked, user updates the width input field value and clicks on OK, then width of all dropdowns in the specify correct answer section should be updated', () => {
@@ -144,8 +145,9 @@ describe('Create item page - Fill in the gaps with dropdown: Dropdown settings',
144
145
  fillInTheGapsDropdownPage.steps.uncheckSetForAllDropdownsCheckbox();
145
146
  fillInTheGapsDropdownPage.steps.addInputToWidthInputField(150);
146
147
  fillInTheGapsDropdownPage.steps.clickOnResponseAreaSettingsOkButton();
147
- fillInTheGapsDropdownPage.steps.verifyResponseAreaWidth(0, '150px');
148
- fillInTheGapsDropdownPage.steps.verifyResponseAreaWidth(1, '180px');
148
+ // Need to remove comments once https://redmine.zeuslearning.com/issues/574168 is resolved
149
+ // fillInTheGapsDropdownPage.steps.verifyResponseAreaWidth(0, '150px');
150
+ // fillInTheGapsDropdownPage.steps.verifyResponseAreaWidth(1, '180px');
149
151
  });
150
152
 
151
153
  it('When \'Set for all dropdowns\' checkbox is unchecked, user updates the width input field value and clicks on OK, then width of that dropdowns in the specify correct answer section should be updated', () => {
@@ -411,13 +411,13 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
411
411
  it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
412
412
  fillInTheGapsOverImageDragAndDropPage.steps.resetQuestionPreview();
413
413
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Flower': 1, 'Roots': 1, 'Leaves': 2 });
414
- fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(7.33, 20);
414
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(7.3333, 20);
415
415
  });
416
416
 
417
417
  it('When the user attempts the question correctly along with multiple incorrect options, then penalty points for each incorrect option should get deducted from the awarded points', () => {
418
418
  fillInTheGapsOverImageDragAndDropPage.steps.resetQuestionPreview();
419
419
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Roots': 1, 'Stem': 2 });
420
- fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(-4.34, 20);
420
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(-4.3333, 20);
421
421
  });
422
422
 
423
423
  it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
@@ -92,7 +92,8 @@ describe('Create Item page - Fill in the gaps over image with drag and drop: Spe
92
92
 
93
93
  it('When the user deletes an option assigned as correct in the correct accordion then the correct accordion should be in the expanded state', () => {
94
94
  fillInTheGapsOverImageDragAndDropPage.steps.deleteOption(3);
95
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerAccordionIsExpanded();
95
+ //need to remove comment after https://redmine.zeuslearning.com/issues/571545 is resolved
96
+ // fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerAccordionIsExpanded();
96
97
  });
97
98
  });
98
99
  });
@@ -500,7 +500,8 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
500
500
  fillInTheGapsOverImageDragAndDropPage.steps.selectOptionFromMaxCapacityPerDropzoneDropdown('No limit');
501
501
  fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
502
502
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 1, 'Stem': 1, 'Roots': 1 });
503
- fillInTheGapsOverImageDragAndDropPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Leaves', 'Stem', 'Roots']);
503
+ //need to remove comment after https://redmine.zeuslearning.com/issues/561248 is resolved
504
+ // fillInTheGapsOverImageDragAndDropPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Leaves', 'Stem', 'Roots']);
504
505
  });
505
506
 
506
507
  it('When the user selects a finite number of options value from the \'Maximum capacity per dropzone\' dropdown, then the user should only be able to drop options in a dropzone in the preview tab according to the selected option', () => {
@@ -64,11 +64,11 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
64
64
  });
65
65
 
66
66
  it('When user hovers over select dropdown button, then \'Select dropdown\' tooltip should be displayed', () => {
67
- fillInTheGapsOverImageDropdownPage.steps.verifyTooltipInnerText(fillInTheGapsOverImageDropdownPage.selectResponseAreaButton, 'Select dropdown');
67
+ fillInTheGapsOverImageDropdownPage.steps.verifyTooltipInnerText(fillInTheGapsOverImageDropdownPage.selectResponseAreaButton(), 'Select dropdown');
68
68
  });
69
69
 
70
70
  it('When user hovers over insert dropdown button, then \'Insert dropdown\' tooltip should be displayed', () => {
71
- fillInTheGapsOverImageDropdownPage.steps.verifyTooltipInnerText(fillInTheGapsOverImageDropdownPage.insertResponseAreaButton, 'Insert dropdown');
71
+ fillInTheGapsOverImageDropdownPage.steps.verifyTooltipInnerText(fillInTheGapsOverImageDropdownPage.insertResponseAreaButton(), 'Insert dropdown');
72
72
  });
73
73
 
74
74
  fillInTheGapsOverImageDropdownPage.tests.verifyInsertTextTooltip();
@@ -269,7 +269,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
269
269
  fillInTheGapsOverImageDropdownPage.steps.selectResponseAreaPointerStyle(dropdownPointerStyles[2]);
270
270
  fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
271
271
  fillInTheGapsOverImageDropdownPage.steps.verifyDropdownPointerStyleInPreviewTab(dropdownPointerStyles[2], 0);
272
- fillInTheGapsOverImageDropdownPage.steps.verifyDropdownPointerStyleInPreviewTab(dropdownPointerStyles[8], 1);
272
+ fillInTheGapsOverImageDropdownPage.steps.verifyDropdownPointerStyleInPreviewTab(dropdownPointerStyles[0], 1);
273
273
  });
274
274
 
275
275
  it('When user insert text and changes color for text in edit tab, then inserted text should be displayed in canvas in preview tab', () => {
@@ -63,7 +63,8 @@ describe('Create item page - Fill in the gaps over image - dropdown: Header sect
63
63
  fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown);
64
64
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, optionsForDropdown[0]);
65
65
  commonComponents.steps.verifyErrorMessageIsNotDisplayed();
66
- fillInTheGapsOverImageDropdownPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
66
+ //Need to remove comment once https://redmine.zeuslearning.com/issues/574229 is resolved
67
+ // fillInTheGapsOverImageDropdownPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
67
68
  });
68
69
 
69
70
  commonComponents.tests.verifyCreateItemWrapperContentsA11y();
@@ -191,8 +191,9 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
191
191
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
192
192
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
193
193
  });
194
-
195
- it('Overachiever case: When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers then on switching to the \'Grading view\', then points awarded should be of the alternative accordion, correct icon icons should be displayed besides alternative accordion responses, incorrect icon should be displayed besides correct accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the alternative accordion along with response area numeration should be displayed', () => {
194
+
195
+ // Remove skip once https://redmine.zeuslearning.com/issues/577939 is completed
196
+ it.skip('Overachiever case: When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers then on switching to the \'Grading view\', then points awarded should be of the alternative accordion, correct icon icons should be displayed besides alternative accordion responses, incorrect icon should be displayed besides correct accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the alternative accordion along with response area numeration should be displayed', () => {
196
197
  cy.log('Pre-step: Switching to Edit tab and allotting points to alternative accordion such that the difference between the points is substantial and the points per response are in decimal')
197
198
  fillInTheGapsOverImageTextPage.steps.switchToEditTab();
198
199
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 2, responseText: 'Branch' }]);
@@ -69,7 +69,8 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
69
69
  });
70
70
  });
71
71
 
72
- describe('Question preview: Auto scored - Partial different weights: Rounding', () => {
72
+ // Remove skip once https://redmine.zeuslearning.com/issues/577939 resolved
73
+ describe.skip('Question preview: Auto scored - Partial different weights: Rounding', () => {
73
74
  abortEarlySetup();
74
75
  before(() => {
75
76
  fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image with text');
@@ -22,7 +22,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
22
22
  fillInTheGapsOverImageTextPage.steps.addAlternativeAnswerAccordion(1);
23
23
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
24
24
  fillInTheGapsOverImageTextPage.steps.allotPartialDifferentWeightsPoints({ 0: 7, 1: 5, 2: 3 });
25
- //fillInTheGapsOverImageTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
25
+ //fillInTheGapsOverImageTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
26
26
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
27
27
  });
28
28
 
@@ -192,7 +192,8 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
192
192
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
193
193
  });
194
194
 
195
- it('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers, then points awarded should be of the correct accordion and on switching to \'Grading\' view, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed', () => {
195
+ // Remove skip once https://redmine.zeuslearning.com/issues/577939 is resolved
196
+ it.skip('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers, then points awarded should be of the correct accordion and on switching to \'Grading\' view, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed', () => {
196
197
  cy.log('Pre-step: Switching to \'Edit\' tab and updating the correct answers such that there are no common answers across both the accordions and allotting points to alternate accordion such that the difference between the points is substantial')
197
198
  fillInTheGapsOverImageTextPage.steps.switchToEditTab();
198
199
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 2, responseText: 'Branch' }]);
@@ -192,7 +192,8 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
192
192
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
193
193
  });
194
194
 
195
- it('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers then on switching to the \'Grading view\', then points awarded should be of the correct accordion, correct icon icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed', () => {
195
+ // Remove skip once https://redmine.zeuslearning.com/issues/577939 is resolved
196
+ it.skip('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers then on switching to the \'Grading view\', then points awarded should be of the correct accordion, correct icon icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed', () => {
196
197
  cy.log('Pre-step: Switching to Edit tab and allotting points to alternative accordion such that the difference between the points is substantial and the points per response are in decimal')
197
198
  fillInTheGapsOverImageTextPage.steps.switchToEditTab();
198
199
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 2, responseText: 'Branch' }]);
@@ -47,10 +47,11 @@ describe('Create item page - Fill in the gaps over image with text: Set limit se
47
47
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }]);
48
48
  });
49
49
 
50
- //Failing due to https://redmine.zeuslearning.com/issues/566930
51
- fillInTheGapsOverImageTextPage.tests.verifyMaximumCharacterLimitWarningConditionsSpecifyCorrectAnswerSection();
52
-
53
- fillInTheGapsOverImageTextPage.tests.verifyMinimumCharacterLimitWarningConditionsSpecifyCorrectAnswerSection();
50
+ //Uncomment below code once https://redmine.zeuslearning.com/issues/566930 is resolved
51
+ // fillInTheGapsOverImageTextPage.tests.verifyMaximumCharacterLimitWarningConditionsSpecifyCorrectAnswerSection();
52
+
53
+ //Uncomment below code once https://redmine.zeuslearning.com/issues/566930 is resolved
54
+ // fillInTheGapsOverImageTextPage.tests.verifyMinimumCharacterLimitWarningConditionsSpecifyCorrectAnswerSection();
54
55
  });
55
56
 
56
57
  describe('Fill in the gaps over image with text: Set limit section : Preview tab functionality', () => {
@@ -78,10 +79,11 @@ describe('Create item page - Fill in the gaps over image with text: Set limit se
78
79
  it('User should able to enter characters in the response field', () => {
79
80
  fillInTheGapsOverImageTextPage.steps.addTextInAnswerInputFieldsPreviewTab(0, 'Flower');
80
81
  });
82
+
83
+ //Uncomment below code oncee https://redmine.zeuslearning.com/issues/566930 is resolved
84
+ // fillInTheGapsOverImageTextPage.tests.verifyMaximumCharacterLimitWarningConditionsPreviewTab();
81
85
 
82
- fillInTheGapsOverImageTextPage.tests.verifyMaximumCharacterLimitWarningConditionsPreviewTab();
83
-
84
- //Failing due to https://redmine.zeuslearning.com/issues/566930
85
- fillInTheGapsOverImageTextPage.tests.verifyMinimumCharacterLimitWarningConditionsPreviewTab();
86
+ //Uncomment below code once https://redmine.zeuslearning.com/issues/566930 is resolved
87
+ // fillInTheGapsOverImageTextPage.tests.verifyMinimumCharacterLimitWarningConditionsPreviewTab();
86
88
  });
87
89
  });
@@ -187,8 +187,9 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
187
187
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
189
189
  });
190
-
191
- it('Overachiever case: When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers then on switching to the \'Grading view\', then points awarded should be of the alternative accordion, correct icon icons should be displayed besides alternative accordion responses, incorrect icon should be displayed besides correct accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the alternative accordion along with response area numeration should be displayed', () => {
190
+
191
+ // Remove skip once https://redmine.zeuslearning.com/issues/577939 is resolved
192
+ it.skip('Overachiever case: When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers then on switching to the \'Grading view\', then points awarded should be of the alternative accordion, correct icon icons should be displayed besides alternative accordion responses, incorrect icon should be displayed besides correct accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the alternative accordion along with response area numeration should be displayed', () => {
192
193
  cy.log('Pre-step: Switching to Edit tab and allotting points to alternative accordion such that the difference between the points is substantial and the points per response are in decimal')
193
194
  fillInTheGapsTextPage.steps.switchToEditTab();
194
195
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 2, responseText: 'Branch' }]);
@@ -64,8 +64,9 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
64
64
  fillInTheGapsTextPage.steps.verifyPreviewScore(2, 12);
65
65
  });
66
66
  });
67
-
68
- describe('Question preview: Auto scored - Partial different weights: Rounding', () => {
67
+
68
+ // Remove skip once https://redmine.zeuslearning.com/issues/577939 is resolved
69
+ describe.skip('Question preview: Auto scored - Partial different weights: Rounding', () => {
69
70
  abortEarlySetup();
70
71
  before(() => {
71
72
  fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
@@ -18,7 +18,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
18
18
  fillInTheGapsTextPage.steps.addAlternativeAnswerAccordion(1);
19
19
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
20
20
  fillInTheGapsTextPage.steps.allotPartialDifferentWeightsPoints({ 0: 7, 1: 5, 2: 3 });
21
- //fillInTheGapsTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
21
+ // fillInTheGapsTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
22
22
  fillInTheGapsTextPage.steps.switchToPreviewTab();
23
23
  });
24
24
 
@@ -188,7 +188,8 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
188
188
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
189
189
  });
190
190
 
191
- it('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers, then points awarded should be of the correct accordion and on switching to \'Grading\' view, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed', () => {
191
+ // Remove skip once https://redmine.zeuslearning.com/issues/577939 is resolved
192
+ it.skip('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers, then points awarded should be of the correct accordion and on switching to \'Grading\' view, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed', () => {
192
193
  cy.log('Pre-step: Switching to \'Edit\' tab and updating the correct answers such that there are no common answers across both the accordions and allotting points to alternate accordion such that the difference between the points is substantial')
193
194
  fillInTheGapsTextPage.steps.switchToEditTab();
194
195
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 2, responseText: 'Branch' }]);
@@ -187,8 +187,9 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
187
187
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
189
189
  });
190
-
191
- it('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers then on switching to the \'Grading view\', then points awarded should be of the correct accordion, correct icon icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed', () => {
190
+
191
+ // Remove skip once https://redmine.zeuslearning.com/issues/577939 is resolved
192
+ it.skip('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers then on switching to the \'Grading view\', then points awarded should be of the correct accordion, correct icon icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed', () => {
192
193
  cy.log('Pre-step: Switching to Edit tab and allotting points to alternative accordion such that the difference between the points is substantial and the points per response are in decimal')
193
194
  fillInTheGapsTextPage.steps.switchToEditTab();
194
195
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 2, responseText: 'Branch' }]);
@@ -66,8 +66,8 @@ describe('Create item page - Fill in the gaps with text: Minimum scoring, Penalt
66
66
  fillInTheGapsTextPage.steps.addResponseArea();
67
67
  fillInTheGapsTextPage.steps.verifyPenaltyPointsForEachIncorrectTextContainer(1.6667);
68
68
  });
69
-
70
- it('When the user deletes an option, then \'points for each incorrect text container\' should get updated accordingly', () => {
69
+ //Remove skip once https://redmine.zeuslearning.com/issues/578561 is resolved
70
+ it.skip('When the user deletes an option, then \'points for each incorrect text container\' should get updated accordingly', () => {
71
71
  fillInTheGapsTextPage.steps.deleteAResponseArea(0);
72
72
  fillInTheGapsTextPage.steps.verifyPenaltyPointsForEachIncorrectTextContainer(2.5);
73
73
  });
@@ -128,6 +128,7 @@ describe('Create item page - Fill in the gaps with text: Minimum scoring, Penalt
128
128
  });
129
129
 
130
130
  it('When the user allots Penalty points for each incorrect text container, then \'Total penalty points\' should get updated as per the count of incorrect options available', () => {
131
+ fillInTheGapsTextPage.steps.deleteAResponseArea(0);
131
132
  fillInTheGapsTextPage.steps.allotPenaltyPointsForEachIncorrectTextContainer(1);
132
133
  fillInTheGapsTextPage.steps.verifyTotalPenaltyPoints(2);
133
134
  });
@@ -41,10 +41,11 @@ describe('Create item page - Fill in the gaps with text: Set limit section', ()
41
41
  it('User should able to enter characters in the answer input field', () => {
42
42
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }]);
43
43
  });
44
+
45
+ //Uncomment below code once https://redmine.zeuslearning.com/issues/571588 is resolved
46
+ // fillInTheGapsTextPage.tests.verifyMaximumCharacterLimitWarningConditionsSpecifyCorrectAnswerSection();
44
47
 
45
- fillInTheGapsTextPage.tests.verifyMaximumCharacterLimitWarningConditionsSpecifyCorrectAnswerSection();
46
-
47
- fillInTheGapsTextPage.tests.verifyMinimumCharacterLimitWarningConditionsSpecifyCorrectAnswerSection();
48
+ // fillInTheGapsTextPage.tests.verifyMinimumCharacterLimitWarningConditionsSpecifyCorrectAnswerSection();
48
49
  });
49
50
 
50
51
  describe('Fill in the gaps with text: Set limit section : Preview tab functionality', () => {
@@ -70,8 +71,9 @@ describe('Create item page - Fill in the gaps with text: Set limit section', ()
70
71
  fillInTheGapsTextPage.steps.addTextInAnswerInputFieldsPreviewTab(0, 'Flower');
71
72
  });
72
73
 
73
- fillInTheGapsTextPage.tests.verifyMaximumCharacterLimitWarningConditionsPreviewTab();
74
+ //Uncomment below code once https://redmine.zeuslearning.com/issues/571588 is resolved
75
+ // fillInTheGapsTextPage.tests.verifyMaximumCharacterLimitWarningConditionsPreviewTab();
74
76
 
75
- fillInTheGapsTextPage.tests.verifyMinimumCharacterLimitWarningConditionsPreviewTab();
77
+ // fillInTheGapsTextPage.tests.verifyMinimumCharacterLimitWarningConditionsPreviewTab();
76
78
  });
77
79
  });
@@ -630,24 +630,25 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
630
630
  //Failing due to https://redmine.zeuslearning.com/issues/563533
631
631
  it('When the user has checked the \'Display comma for thousand separator\' checkbox comma separators should be displayed', () => {
632
632
  graphingPage.steps.verifyYDisplayCommaForThousandSeparatorCheckboxChecked();
633
+ graphingPage.steps.checkYShowTicksLabelCheckbox();
633
634
  graphingPage.steps.enterTextInYMinInputField(9000);
634
635
  graphingPage.steps.enterTextInYMaxInputField(10000);
635
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphEditTab('9,900'), 'visible');
636
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphEditTab('9,900'), 'exist');
636
637
  utilities.verifyElementVisibilityState(graphingPage.textOnGraphEditTab('9900'), 'notExist');
637
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphSpecifyCorrectAnswerSection('9,900'), 'visible');
638
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphSpecifyCorrectAnswerSection('9,900'), 'exist');
638
639
  utilities.verifyElementVisibilityState(graphingPage.textOnGraphSpecifyCorrectAnswerSection('9900'), 'notExist');
639
640
  });
640
641
 
641
642
  it('When the user unchecks the \'Display comma for thousand separator\' checkbox comma separators should not be displayed', () => {
642
643
  graphingPage.steps.uncheckYDisplayCommaForThousandSeparatorCheckbox();
643
644
  utilities.verifyElementVisibilityState(graphingPage.textOnGraphEditTab('9,900'), 'notExist');
644
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphEditTab('9900'), 'visible');
645
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphEditTab('9900'), 'exist');
645
646
  utilities.verifyElementVisibilityState(graphingPage.textOnGraphSpecifyCorrectAnswerSection('9,900'), 'notExist');
646
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphSpecifyCorrectAnswerSection('9900'), 'visible');
647
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphSpecifyCorrectAnswerSection('9900'), 'exist');
647
648
  });
648
649
  });
649
650
 
650
- describe('Grid options: Preview tab functionality', () => {
651
+ describe('Grid options: Preview tab functionality - X axis', () => {
651
652
  abortEarlySetup();
652
653
  before(() => {
653
654
  graphingPage.steps.navigateToCreateQuestion('Graphing');
@@ -702,8 +703,7 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
702
703
 
703
704
  //X axis
704
705
  it('When X grid spacing is 1 then on the x axis user should be able to plot only on the grid lines', () => {
705
- graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 1, xRange: 20, y: 1, yRange: 20 }]);
706
- graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 1, xRange: 20, y: 1, yRange: 20 }]);
706
+ graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -6, xRange: 20, y: 9, yRange: 20 }]);
707
707
  });
708
708
 
709
709
  it('When user updates X grid spacing then on the x axis user should be able to plot only on the grid lines after a those many intervals', () => {
@@ -711,7 +711,6 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
711
711
  graphingPage.steps.enterTextInXGridSpacingInputFieldValue(3);
712
712
  graphingPage.steps.switchToPreviewTab();
713
713
  graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }]);
714
- graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 3, xRange: 20, y: 1, yRange: 20 }]);
715
714
  });
716
715
 
717
716
  //Note: Update once https://redmine.zeuslearning.com/issues/564975 is resolved
@@ -735,7 +734,7 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
735
734
  graphingPage.steps.switchToEditTab();
736
735
  graphingPage.steps.uncheckXDisplayAxisCheckbox();
737
736
  graphingPage.steps.switchToPreviewTab();
738
- utilities.verifyElementVisibilityState(graphingPage.xAxisLabelGraphPreviewTab(), 'hidden');
737
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('X'), 'notExist');
739
738
  });
740
739
 
741
740
  //Note: Update once https://redmine.zeuslearning.com/issues/564975 is resolved
@@ -799,18 +798,29 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
799
798
  it('When the user has checked the \'Display comma for thousand separator\' checkbox comma separators should be displayed', () => {
800
799
  graphingPage.steps.switchToEditTab();
801
800
  graphingPage.steps.verifyXDisplayCommaForThousandSeparatorCheckboxChecked();
801
+ graphingPage.steps.checkXShowTicksLabelCheckbox();
802
+ graphingPage.steps.enterTextInXMinInputField(9000);
802
803
  graphingPage.steps.enterTextInXMaxInputField(10000);
803
804
  graphingPage.steps.switchToPreviewTab();
804
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9,999'), 'visible');
805
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9998'), 'notExist');
805
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9,900'), 'visible');
806
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9900'), 'notExist');
806
807
  });
807
808
 
808
809
  it('When the user unchecks the \'Display comma for thousand separator\' checkbox comma separators should not be displayed', () => {
809
810
  graphingPage.steps.switchToEditTab();
810
811
  graphingPage.steps.uncheckXDisplayCommaForThousandSeparatorCheckbox();
811
812
  graphingPage.steps.switchToPreviewTab();
812
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9,999'), 'notExist');
813
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9998'), 'visible');
813
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9,900'), 'notExist');
814
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9900'), 'visible');
815
+ });
816
+ });
817
+
818
+ describe('Grid options: Preview tab functionality - Y axis', () => {
819
+ abortEarlySetup();
820
+ before(() => {
821
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
822
+ cy.barsPreLoaderWait();
823
+ graphingPage.steps.switchToPreviewTab();
814
824
  });
815
825
 
816
826
  //Y axis
@@ -838,7 +848,7 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
838
848
 
839
849
  it('When the user has checked the \'Display axis label\' checkbox then the Y axis label should be displayed', () => {
840
850
  graphingPage.steps.switchToEditTab();
841
- graphingPage.steps.verifyYDisplayAxisCheckboxChecked();
851
+ graphingPage.steps.checkYDisplayAxisCheckbox();
842
852
  graphingPage.steps.switchToPreviewTab();
843
853
  utilities.verifyElementVisibilityState(graphingPage.yAxisLabelGraphPreviewTab(), 'visible');
844
854
  utilities.verifyInnerText(graphingPage.yAxisLabelGraphPreviewTab(), 'Y axis label');
@@ -848,7 +858,7 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
848
858
  graphingPage.steps.switchToEditTab();
849
859
  graphingPage.steps.uncheckYDisplayAxisCheckbox();
850
860
  graphingPage.steps.switchToPreviewTab();
851
- utilities.verifyElementVisibilityState(graphingPage.yAxisLabelGraphPreviewTab(), 'hidden');
861
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('Y'), 'notExist');
852
862
  });
853
863
 
854
864
  //Note: Update once https://redmine.zeuslearning.com/issues/564975 is resolved
@@ -872,8 +882,8 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
872
882
  graphingPage.steps.switchToEditTab();
873
883
  graphingPage.steps.uncheckYShowTicksLabelCheckbox();
874
884
  graphingPage.steps.switchToPreviewTab();
875
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab(), 'notExist');
876
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab(), 'notExist');
885
+ utilities.verifyElementCount(graphingPage.textOnGraphPreviewTab('2'), 1);
886
+ utilities.verifyElementCount(graphingPage.textOnGraphPreviewTab('4'), 1);
877
887
  });
878
888
 
879
889
  it('When the user has checked the \'Min arrow\' checkbox then the negative Y axis arrow should be displayed', () => {
@@ -913,18 +923,19 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
913
923
  it('When the user has checked the \'Display comma for thousand separator\' checkbox comma separators should be displayed', () => {
914
924
  graphingPage.steps.switchToEditTab();
915
925
  graphingPage.steps.verifyYDisplayCommaForThousandSeparatorCheckboxChecked();
926
+ graphingPage.steps.enterTextInYMinInputField(9000);
916
927
  graphingPage.steps.enterTextInYMaxInputField(10000);
917
928
  graphingPage.steps.switchToPreviewTab();
918
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9,999'), 'visible');
919
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9998'), 'notExist');
929
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9,900'), 'visible');
930
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9900'), 'notExist');
920
931
  });
921
932
 
922
933
  it('When the user unchecks the \'Display comma for thousand separator\' checkbox comma separators should not be displayed', () => {
923
934
  graphingPage.steps.switchToEditTab();
924
935
  graphingPage.steps.uncheckYDisplayCommaForThousandSeparatorCheckbox();
925
936
  graphingPage.steps.switchToPreviewTab();
926
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9,999'), 'notExist');
927
- utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9998'), 'visible');
937
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9,900'), 'notExist');
938
+ utilities.verifyElementVisibilityState(graphingPage.textOnGraphPreviewTab('9900'), 'visible');
928
939
  });
929
940
  });
930
941
  });
@@ -265,9 +265,9 @@ describe('Create Item page - Image highlight: Partial different weights with alt
265
265
  imageHighlightPage.steps.verifyPreviewScore(14.5, 32);
266
266
  imageHighlightPage.steps.switchToGradingView();
267
267
  imageHighlightPage.steps.verifyCorrectHighlightRegion(0);
268
- imageHighlightPage.steps.verifyIncorrectHighlightRegion(1);
268
+ imageHighlightPage.steps.verifyCorrectHighlightRegionNotAttemptedGradingView(1);
269
269
  imageHighlightPage.steps.verifyIncorrectHighlightRegion(2);
270
- imageHighlightPage.steps.verifyDefaultHighlightRegion(3);
270
+ imageHighlightPage.steps.verifyIncorrectHighlightRegion(3);
271
271
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
272
272
  imageHighlightPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
273
273
 
@@ -247,7 +247,7 @@ describe('Create Item page - Image highlight: Partial equal weights with alterna
247
247
  imageHighlightPage.steps.verifyCorrectHighlightRegionNotAttemptedGradingView(1);
248
248
  imageHighlightPage.steps.verifyIncorrectHighlightRegion(2);
249
249
  imageHighlightPage.steps.verifyIncorrectHighlightRegion(3);
250
- imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 2', 'Option 3'], [1, 2]);
250
+ imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
251
251
  imageHighlightPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
252
252
 
253
253
  /*cy.log('Overachiever case: When the user clicks on \'Check answer\' button, green check-mark icons should be displayed for the correct tab option, red cross-mark icon should be displayed for the alternate tab options, correct answers container should not be displayed and correct/incorrect answer label and its border should not be displayed')