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
@@ -419,5 +419,219 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
419
419
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
420
420
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
421
421
  });
422
+
423
+ it('When the user enters a equation using different signs in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
424
+ textEntryMathPage.steps.switchToEditTab();
425
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
426
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
427
+ equationEditorFlyout.steps.clearAll();
428
+ equationEditorFlyout.steps.enterTextInPreviewInputField('8-9=-1');
429
+ equationEditorFlyout.steps.clickOnOkButton();
430
+ textEntryMathPage.steps.switchToPreviewTab();
431
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
432
+ equationEditorFlyout.steps.enterTextInPreviewInputField('8-9=-1');
433
+ equationEditorFlyout.steps.clickOnOkButton();
434
+ textEntryMathPage.steps.switchToGradingView();
435
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
436
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
437
+ });
438
+
439
+ it('When the user enters a equation using different signs in \'Specify correct answer\' and the user enters the equation with same result but in a different way then it should be treated as correct', () => {
440
+ textEntryMathPage.steps.resetQuestionPreview();
441
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
442
+ equationEditorFlyout.steps.enterTextInPreviewInputField('8--1=9');
443
+ equationEditorFlyout.steps.clickOnOkButton();
444
+ textEntryMathPage.steps.switchToGradingView();
445
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
446
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
447
+ });
448
+
449
+ it('When the user enters a equation using different signs in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
450
+ textEntryMathPage.steps.switchToEditTab();
451
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
452
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
453
+ equationEditorFlyout.steps.clearAll();
454
+ equationEditorFlyout.steps.enterTextInPreviewInputField('7-x=-11');
455
+ equationEditorFlyout.steps.clickOnOkButton();
456
+ textEntryMathPage.steps.switchToPreviewTab();
457
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
458
+ equationEditorFlyout.steps.enterTextInPreviewInputField('7-x=-11');
459
+ equationEditorFlyout.steps.clickOnOkButton();
460
+ textEntryMathPage.steps.switchToGradingView();
461
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
462
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
463
+ });
464
+
465
+ it('When the user enters a equation using different signs in \'Specify correct answer\' and the user enters the equation with same result but in a different way then it should be treated as correct', () => {
466
+ textEntryMathPage.steps.resetQuestionPreview();
467
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
468
+ equationEditorFlyout.steps.enterTextInPreviewInputField('7+11=x');
469
+ equationEditorFlyout.steps.clickOnOkButton();
470
+ textEntryMathPage.steps.switchToGradingView();
471
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
472
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
473
+ });
474
+
475
+ it('When the user enters a equation using fractions and polynomials in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
476
+ textEntryMathPage.steps.switchToEditTab();
477
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
478
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
479
+ equationEditorFlyout.steps.clearAll();
480
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
481
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('y');
482
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['x']);
483
+ equationEditorFlyout.steps.enterTextInPreviewInputField('{rightarrow}=');
484
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
485
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('2');
486
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['5']);
487
+ equationEditorFlyout.steps.clickOnOkButton();
488
+ textEntryMathPage.steps.switchToPreviewTab();
489
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
490
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
491
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('y');
492
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['x']);
493
+ equationEditorFlyout.steps.enterTextInPreviewInputField('{rightarrow}=');
494
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
495
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('2');
496
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['5']);
497
+ equationEditorFlyout.steps.clickOnOkButton();
498
+ textEntryMathPage.steps.switchToGradingView();
499
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
500
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
501
+ });
502
+
503
+ it('When the user enters a equation using fractions and polynomials in \'Specify correct answer\' and the user enters the equation in different form then it should be treated as correct', () => {
504
+ textEntryMathPage.steps.resetQuestionPreview();
505
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
506
+ equationEditorFlyout.steps.enterTextInPreviewInputField('y=');
507
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
508
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('2');
509
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['5']);
510
+ equationEditorFlyout.steps.enterTextInPreviewInputField('{rightarrow}x');
511
+ equationEditorFlyout.steps.clickOnOkButton();
512
+ textEntryMathPage.steps.switchToGradingView();
513
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
514
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
515
+ });
516
+
517
+ it('When the user enters a coordinates in \'Specify correct answer\' and the user enters the same coordinates then it should be treated as correct', () => {
518
+ textEntryMathPage.steps.switchToEditTab();
519
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
520
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
521
+ equationEditorFlyout.steps.clearAll();
522
+ equationEditorFlyout.steps.enterTextInPreviewInputField('(4,3)');
523
+ equationEditorFlyout.steps.clickOnOkButton();
524
+ textEntryMathPage.steps.switchToPreviewTab();
525
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
526
+ equationEditorFlyout.steps.enterTextInPreviewInputField('(4,3)');
527
+ equationEditorFlyout.steps.clickOnOkButton();
528
+ textEntryMathPage.steps.switchToGradingView();
529
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
530
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
531
+ });
532
+
533
+ it('When the user enters a coordinates in \'Specify correct answer\' and the user enters the exact same coordinates then it should be treated as correct', () => {
534
+ textEntryMathPage.steps.switchToEditTab();
535
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
536
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
537
+ equationEditorFlyout.steps.clearAll();
538
+ equationEditorFlyout.steps.enterTextInPreviewInputField('(-1,2)');
539
+ equationEditorFlyout.steps.clickOnOkButton();
540
+ textEntryMathPage.steps.switchToPreviewTab();
541
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
542
+ equationEditorFlyout.steps.enterTextInPreviewInputField('(-1,2)');
543
+ equationEditorFlyout.steps.clickOnOkButton();
544
+ textEntryMathPage.steps.switchToGradingView();
545
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
546
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
547
+ });
548
+
549
+ it('When the user enters a equation using polynomials and equal to in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
550
+ textEntryMathPage.steps.switchToEditTab();
551
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
552
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
553
+ equationEditorFlyout.steps.clearAll();
554
+ equationEditorFlyout.steps.enterTextInPreviewInputField('1.5p=12');
555
+ equationEditorFlyout.steps.clickOnOkButton();
556
+ textEntryMathPage.steps.switchToPreviewTab();
557
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
558
+ equationEditorFlyout.steps.enterTextInPreviewInputField('1.5p=12');
559
+ equationEditorFlyout.steps.clickOnOkButton();
560
+ textEntryMathPage.steps.switchToGradingView();
561
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
562
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
563
+ });
564
+
565
+ it('When the user enters a equation using polynomials and equal and in \'Specify correct answer\' and the user enters the equation in a different format then it should be treated as correct', () => {
566
+ textEntryMathPage.steps.resetQuestionPreview();
567
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
568
+ equationEditorFlyout.steps.enterTextInPreviewInputField('1');
569
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
570
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('1');
571
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
572
+ equationEditorFlyout.steps.enterTextInPreviewInputField('{rightarrow}p=12');
573
+ equationEditorFlyout.steps.clickOnOkButton();
574
+ textEntryMathPage.steps.switchToGradingView();
575
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
576
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
577
+ });
578
+
579
+ it('When the user enters a equation using polynomials in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
580
+ textEntryMathPage.steps.switchToEditTab();
581
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
582
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
583
+ equationEditorFlyout.steps.clearAll();
584
+ equationEditorFlyout.steps.enterTextInPreviewInputField('M=7t');
585
+ equationEditorFlyout.steps.clickOnOkButton();
586
+ textEntryMathPage.steps.switchToPreviewTab();
587
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
588
+ equationEditorFlyout.steps.enterTextInPreviewInputField('M=7t');
589
+ equationEditorFlyout.steps.clickOnOkButton();
590
+ textEntryMathPage.steps.switchToGradingView();
591
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
592
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
593
+ });
594
+
595
+ it('When the user enters a equation using polynomials in \'Specify correct answer\' and the user enters the equation with a fraction then it should be treated as correct', () => {
596
+ textEntryMathPage.steps.resetQuestionPreview();
597
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
598
+ equationEditorFlyout.steps.enterTextInPreviewInputField('t=');
599
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
600
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('M');
601
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['7']);
602
+ equationEditorFlyout.steps.clickOnOkButton();
603
+ textEntryMathPage.steps.switchToGradingView();
604
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
605
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
606
+ });
607
+
608
+ it('When the user enters a equation using units in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
609
+ textEntryMathPage.steps.switchToEditTab();
610
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
611
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
612
+ equationEditorFlyout.steps.clearAll();
613
+ equationEditorFlyout.steps.enterTextInPreviewInputField('48 cm');
614
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['square'] }]);
615
+ equationEditorFlyout.steps.clickOnOkButton();
616
+ textEntryMathPage.steps.switchToPreviewTab();
617
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
618
+ equationEditorFlyout.steps.enterTextInPreviewInputField('48 cm');
619
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['square'] }]);
620
+ equationEditorFlyout.steps.clickOnOkButton();
621
+ textEntryMathPage.steps.switchToGradingView();
622
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
623
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
624
+ });
625
+
626
+ it('When the user enters a equation using units in \'Specify correct answer\' and the user enters the multiplication of two matrices then it should be treated as correct', () => {
627
+ textEntryMathPage.steps.resetQuestionPreview();
628
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
629
+ equationEditorFlyout.steps.enterTextInPreviewInputField('6*8 cm');
630
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['square'] }]);
631
+ equationEditorFlyout.steps.clickOnOkButton();
632
+ textEntryMathPage.steps.switchToGradingView();
633
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
634
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
635
+ });
422
636
  });
423
637
  });
@@ -85,7 +85,8 @@ describe('Create Item page - Text entry math: Specify correct answer, Alternativ
85
85
  textEntryMathPage.steps.verifyAlternativeAnswerAccordionLabel(0);
86
86
  });
87
87
 
88
- it('When correct answers and points are set in alternate answer and user clicks on correct answer accordion, then correct answer accordion should be expanded and the alternate answer accordion should be collapsed', () => {
88
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/571545 is resolved
89
+ it.skip('When correct answers and points are set in alternate answer and user clicks on correct answer accordion, then correct answer accordion should be expanded and the alternate answer accordion should be collapsed', () => {
89
90
  textEntryMathPage.steps.expandCorrectAnswerAccordion();
90
91
  textEntryMathPage.steps.verifyAlternateAnswerAccordionIsCollapsed(1);
91
92
  });
@@ -6,7 +6,7 @@ const css = Cypress.env('css');
6
6
  const paragraphTextArray = ['Horses cannot breat& through their mouth! Cows can sleep standing up?', 'Dogs have e#cellent \'hearing\'.', 'Deers possess nearly, 300 degree field of vision.'];
7
7
  const sentenceTextArray = ['Horses cannot breat& through their mouth! ', 'Cows can sleep standing up?', 'Dogs have e#cellent \'hearing\'.', 'Deers possess nearly, 300 degree field of vision.'];
8
8
  const wordTextArray = ['Horses ', 'cannot ', 'breat& ', 'through ', 'their ', 'mouth! ', 'Cows ', 'can ', 'sleep ', 'standing ', 'up?', 'Dogs ', 'have ', 'e#cellent ', '\'hearing\'.', 'Deers ', 'possess ', 'nearly, ', '300 ', 'degree ', 'field ', 'of ', 'vision.'];
9
- const customTextArray = ['Cows can sleep', 'Dogs have e#cellent \'hearing\'', 'nearly, 300 degree field of vision.'];
9
+ const customTextArray = ['Lorem ipsum dolor sit amet', 'ullamco laboris nisi ut aliquip ex', 'deserunt mollit anim id est laborum.'];
10
10
 
11
11
  describe('Create Item page - Text selection: Text selection modes in Set correct answer section', () => {
12
12
  before(() => {
@@ -18,11 +18,6 @@ describe('Create Item page - Text selection: Text selection modes in Set correct
18
18
  before(() => {
19
19
  textSelectionPage.steps.navigateToCreateQuestion('text selection');
20
20
  cy.barsPreLoaderWait();
21
- textSelectionPage.steps.clearQuestionInputField();
22
- paragraphTextArray.forEach((paragraphText) => {
23
- textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
24
- });
25
- textSelectionPage.steps.addInputToQuestionInputField('{backspace}');
26
21
  });
27
22
 
28
23
  it('When \'Custom\' text selection type is selected, then no options should be provided in specify correct answer section', () => {
@@ -7,7 +7,7 @@ const textSelectionModeArray = ['Custom', 'Paragraph', 'Sentence', 'Word'];
7
7
  const paragraphTextArray = ['Horses cannot breat& through their mouth! Cows sleep standing up?', 'Dogs have e#cellent \'hearing\'.', 'Deers possess nearly, 300 degree field of vision.'];
8
8
  const sentenceTextArray = ['Horses cannot breat& through their mouth! ', 'Cows sleep standing up?', 'Dogs have e#cellent \'hearing\'.', 'Deers possess nearly, 300 degree field of vision.'];
9
9
  const wordTextArray = ['Horses ', 'cannot ', 'breat& ', 'through ', 'their ', 'mouth! ', 'Cows ', 'sleep ', 'standing ', 'up?', 'Dogs ', 'have ', 'e#cellent ', '\'hearing\'.', 'Deers ', 'possess ', 'nearly, ', '300 ', 'degree ', 'field ', 'of ', 'vision.'];
10
- const customTextArray = ['Cows can sleep', 'Dogs have e#cellent \'hearing\'', 'nearly, 300 degree field of vision.'];
10
+ const customTextArray = ['Cows sleep standing up?', 'Dogs have e#cellent \'hearing\'', 'nearly, 300 degree field of vision.'];
11
11
 
12
12
  describe('Create Item page - Text selection: Text selection modes in specify possible options section', () => {
13
13
  before(() => {
@@ -68,7 +68,6 @@ describe('Create Item page - Text selection: Text selection modes in specify pos
68
68
 
69
69
  it('When user clicks on a selected option, then the selected option should be deselected and the option count should reduce by 1.', () => {
70
70
  textSelectionPage.steps.deselectOptionInSpecifyPossibleOptionsSection('Custom', customTextArray[0]);
71
- utilities.verifyElementVisibilityState(textSelectionPage.selectedOptionSpecifyPossibleOptions(), 'notExist')
72
71
  textSelectionPage.steps.verifyOptionCounterTextAndValue(1);
73
72
  });
74
73
 
@@ -324,12 +324,13 @@ describe('Audio player: Audio overview and Transcript section', () => {
324
324
  });
325
325
 
326
326
  it('When user clicks on \'Cancel\' button, then popup should close and user should remain on the edit interface of the question', () => {
327
- dialogBoxBase.steps.clickOnRejectButtonInDialogBox()();
327
+ dialogBoxBase.steps.clickOnRejectButtonInDialogBox();
328
328
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
329
329
  utilities.verifyInnerText(audioPlayerPage.uploadedTranscriptFileNameLabel(), 'sample.txt');
330
330
  });
331
331
 
332
- it('When user clicks on \'Delete\' button, then popup should close and transcript file should be deleted', () => {
332
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/578011 is resolved
333
+ it.skip('When user clicks on \'Delete\' button, then popup should close and transcript file should be deleted', () => {
333
334
  audioPlayerPage.steps.deleteTranscriptFile();
334
335
  dialogBoxBase.steps.clickOnAcceptButtonInDialogBox();
335
336
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
@@ -157,7 +157,7 @@ describe('Create Item page - Audio player: Customize player layout settings', ()
157
157
  abortEarlySetup();
158
158
  before(() => {
159
159
  audioPlayerPage.steps.navigateToCreateResource('audio player');
160
- audioPlayerPage.steps.uploadAudioFile('uploads/sample10sec.mp3');
160
+ audioPlayerPage.steps.uploadAudioFile('uploads/sampleAudio.mp3');
161
161
  audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
162
162
  audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Standard');
163
163
  });
@@ -257,7 +257,7 @@ describe('Create Item page - Audio player: Customize player layout settings', ()
257
257
  abortEarlySetup();
258
258
  before(() => {
259
259
  audioPlayerPage.steps.navigateToCreateResource('audio player');
260
- audioPlayerPage.steps.uploadAudioFile('uploads/sample10sec.mp3');
260
+ audioPlayerPage.steps.uploadAudioFile('uploads/sampleAudio.mp3');
261
261
  audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
262
262
  audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Standard');
263
263
  audioPlayerPage.steps.switchToPreviewTab();
@@ -291,7 +291,7 @@ describe('Standard audio player style: Edit tab contents and preview tab functio
291
291
 
292
292
  it('When volume is not set as 0 and user hovers on \'Volume control\' button, then \'Mute\' text should be displayed in a tooltip and on hovering away from the button, the tooltip should disappear', () => {
293
293
  audioPlayerPage.steps.hoverOnVolumeControlButton();
294
- utilities.verifyElementVisibilityState(audioPlayerPage.tooltipText(), 'visible');
294
+ utilities.verifyElementVisibilityState(audioPlayerPage.tooltipText(), 'exist');
295
295
  utilities.verifyInnerText(audioPlayerPage.tooltipText(), 'Mute');
296
296
  utilities.hoverAwayFromElement();
297
297
  utilities.verifyElementVisibilityState(audioPlayerPage.tooltipText(), 'notExist');
@@ -301,7 +301,7 @@ describe('Standard audio player style: Edit tab contents and preview tab functio
301
301
  audioPlayerPage.steps.hoverOnVolumeControlButton();
302
302
  audioPlayerPage.steps.hoverOnVolumeControlSlider();
303
303
  audioPlayerPage.steps.hoverAwayFromVolumeControlButton();
304
- utilities.verifyElementVisibilityState(audioPlayerPage.tooltipText(), 'visible');
304
+ utilities.verifyElementVisibilityState(audioPlayerPage.tooltipText(), 'exist');
305
305
  utilities.verifyInnerText(audioPlayerPage.tooltipText(), 'Volume control');
306
306
  utilities.hoverAwayFromElement();
307
307
  utilities.verifyElementVisibilityState(audioPlayerPage.volumeControlSlider(), 'notExist');
@@ -320,7 +320,7 @@ describe('Standard audio player style: Edit tab contents and preview tab functio
320
320
 
321
321
  it('When the user hovers on muted \'Volume control\' button, \'Unmute\' text should be displayed in tooltip', () => {
322
322
  audioPlayerPage.steps.hoverOnVolumeControlButton();
323
- utilities.verifyElementVisibilityState(audioPlayerPage.tooltipText(), 'visible');
323
+ utilities.verifyElementVisibilityState(audioPlayerPage.tooltipText(), 'exist');
324
324
  utilities.verifyInnerText(audioPlayerPage.tooltipText(), 'Unmute');
325
325
  utilities.hoverAwayFromElement();
326
326
  utilities.verifyElementVisibilityState(audioPlayerPage.tooltipText(), 'notExist');
@@ -208,8 +208,10 @@ describe('Create item page - Audio response: Student view settings for Compact r
208
208
  });
209
209
 
210
210
  it('For "Compact" mode, When there is no retake limit set, then on hovering over the retake recording button, then retake limits should not be displayed on retake recording button tooltip', () => {
211
- videoResponsePage.retakeButtonCompactPreview()
211
+ videoResponsePage.retakeFlyoutButton()
212
212
  .verifyTooltip('Retake recording');
213
+ utilities.hoverOverElement(videoResponsePage.retakeButtonCompactPreview());
214
+ utilities.verifyElementVisibilityState(videoResponsePage.tooltipText(), 'notExist');
213
215
  });
214
216
  });
215
217
 
@@ -30,7 +30,7 @@ describe('Create Item page : Charts - Dot plot : Additional settings', () => {
30
30
  chartsDotPlotPage.steps.navigateToCreateQuestion('charts');
31
31
  cy.barsPreLoaderWait();
32
32
  chartsDotPlotPage.steps.selectDotPlot();
33
- chartsDotPlotPage.steps.addQuestionInstructions();
33
+ chartsDotPlotPage.steps.addTextInQuestionInstructionsInputField('Dot plot');
34
34
  chartsDotPlotPage.steps.allotPoints(10);
35
35
  chartsDotPlotPage.steps.expandAdditionalSettings();
36
36
  });
@@ -40,7 +40,7 @@ describe('Create Item page : Charts - Dot plot : Additional settings', () => {
40
40
  chartsDotPlotPage.steps.selectFontSizeOptionFromFontSizeDropdown(option);
41
41
  utilities.verifyInnerText(chartsDotPlotPage.fontSizeDropdown(), `${option}`);
42
42
  utilities.verifyCSS(chartsDotPlotPage.labelsNumberLineAxisSelectChartType(), {
43
- 'font-size': css.fontSize.default
43
+ 'font-size': fontSizes[option]
44
44
  });
45
45
  utilities.verifyCSS(chartsDotPlotPage.selectChartTypeGraphTitleButton(), {
46
46
  'font-size': fontSizes[option]
@@ -55,7 +55,7 @@ describe('Create Item page : Charts - Dot plot : Additional settings', () => {
55
55
  'font-size': fontSizes[option]
56
56
  });
57
57
  utilities.verifyCSS(chartsDotPlotPage.labelsNumberLineAxisSpecifyCorrectAnswer(), {
58
- 'font-size': css.fontSize.default
58
+ 'font-size': fontSizes[option]
59
59
  });
60
60
  });
61
61
  });
@@ -67,7 +67,7 @@ describe('Create Item page : Charts - Dot plot : Additional settings', () => {
67
67
  chartsDotPlotPage.steps.navigateToCreateQuestion('charts');
68
68
  cy.barsPreLoaderWait();
69
69
  chartsDotPlotPage.steps.selectDotPlot();
70
- chartsDotPlotPage.steps.addQuestionInstructions();
70
+ chartsDotPlotPage.steps.addTextInQuestionInstructionsInputField('Dot plot');
71
71
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 1, min: 0, interval: 0.25, defaultDots: 0 });
72
72
  chartsDotPlotPage.steps.allotPoints(10);
73
73
  chartsDotPlotPage.steps.expandAdditionalSettings();
@@ -82,7 +82,7 @@ describe('Create Item page : Charts - Dot plot : Additional settings', () => {
82
82
  'font-size': fontSizes[option]
83
83
  });
84
84
  utilities.verifyCSS(chartsDotPlotPage.labelsNumberLineAxisPreviewTab(), {
85
- 'font-size': css.fontSize.default
85
+ 'font-size': fontSizes[option]
86
86
  });
87
87
  utilities.verifyCSS(chartsDotPlotPage.previewTabGraphTitle(), {
88
88
  'font-size': fontSizes[option]
@@ -92,7 +92,7 @@ describe('Create Item page : Charts - Dot plot : Additional settings', () => {
92
92
  });
93
93
  chartsDotPlotPage.steps.switchToGradingView();
94
94
  utilities.verifyCSS(chartsDotPlotPage.labelsNumberLineAxisCorrectAnswerSection(), {
95
- 'font-size': css.fontSize.default
95
+ 'font-size': fontSizes[option]
96
96
  });
97
97
  utilities.verifyCSS(chartsDotPlotPage.graphTitleCorrectAnswerSection(), {
98
98
  'font-size': fontSizes[option]
@@ -103,17 +103,17 @@ describe('Create item page - Charts - Dot plot: Scoring section', () => {
103
103
 
104
104
  it('When the user gives a score input to \'Points\' input field, then the score should be equally divided among the dropzone \'Points per response\' label', () => {
105
105
  chartsDotPlotPage.steps.allotPoints(20);
106
- chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('5');
106
+ chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore(5);
107
107
  });
108
108
 
109
109
  it('When the user adds one more label on number line axis, then points per response should get updated accordingly', () => {
110
110
  chartsDotPlotPage.steps.enterTextInMaxInputField(5);
111
- chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('4');
111
+ chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore(4);
112
112
  });
113
113
 
114
114
  it('When the user adds dot in dot column then the points per response should not be updated', () => {
115
115
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 2, min: 1, interval: 1, defaultDots: 0 });
116
- chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('4');
116
+ chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore(4);
117
117
  });
118
118
 
119
119
  it('When the user switches to \'All or nothing\' scoring, the \'Points per response\' label and the points displayed for individual responses should not be displayed and the points displayed in \'Points\' input field should remain unchanged', () => {
@@ -125,7 +125,7 @@ describe('Create item page - Charts - Dot plot: Scoring section', () => {
125
125
  it('When the user updates the entered points in \'All or nothing\' scoring type and switches to \'Partial equal weights\' scoring type, then the points should be equally divided and displayed besides each correct option', () => {
126
126
  chartsDotPlotPage.steps.allotPoints(15);
127
127
  chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
128
- chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('3');
128
+ chartsDotPlotPage.steps.verifyPartialEqualWeightsPointsPerResponseScore(3);
129
129
  });
130
130
 
131
131
  it('CSS of \'Points per response\' label and its displayed score', { tags: 'css' }, () => {
@@ -72,7 +72,7 @@ describe('Create item page - Charts - Dot plot: Minimum scoring, Penalty scoring
72
72
 
73
73
  it('When the user adds a label on number line axis, then \'points for each incorrect option\' should get updated accordingly', () => {
74
74
  chartsDotPlotPage.steps.enterTextInMaxInputField(6);
75
- chartsDotPlotPage.steps.verifyPenaltyPointsForEachIncorrectDotPlot(0.86);
75
+ chartsDotPlotPage.steps.verifyPenaltyPointsForEachIncorrectDotPlot(0.8571);
76
76
  });
77
77
 
78
78
  it('CSS of the penalty points section - Total penalty points', { tags: 'css' }, () => {
@@ -126,8 +126,8 @@ describe('Create item page - Charts - Dot plot: Minimum scoring, Penalty scoring
126
126
  chartsDotPlotPage.steps.clearTotalPenaltyPointsInputField();
127
127
  chartsDotPlotPage.steps.selectPenaltyPointsForEachIncorrectOptionType('Specify points for each incorrect dot plot');
128
128
  utilities.verifyInnerText(chartsDotPlotPage.penaltyPointsDetailsSectionInputFieldLabel(), 'Penalty points for each incorrect dot plot');
129
- chartsDotPlotPage.steps.verifyPenaltyPointsForEachIncorrectOptionValue('');
130
- utilities.verifyInnerText(chartsDotPlotPage.penaltyPointsDetailsSectionAllottedPointsLabel(), 'Total penalty points: -');
129
+ chartsDotPlotPage.steps.verifyPenaltyPointsForEachIncorrectOptionValue('0.86');
130
+ utilities.verifyInnerText(chartsDotPlotPage.penaltyPointsDetailsSectionAllottedPointsLabel(), 'Total penalty points: 6.02');
131
131
  });
132
132
 
133
133
  it('When the user allots Penalty points for each incorrect dot plot, then \'Total penalty points\' should get updated as per the count of incorrect options available', () => {
@@ -177,8 +177,8 @@ describe('Create item page - Charts - Dot plot: Minimum scoring, Penalty scoring
177
177
  chartsDotPlotPage.steps.checkAutomaticallySetPenaltyPointsCheckbox();
178
178
  chartsDotPlotPage.steps.verifySpecifyTotalPenaltyPointsDisabledState();
179
179
  chartsDotPlotPage.steps.verifySpecifyPointsForEachIncorrectOptionRadioButtonSelectedAndDisabledState();
180
- utilities.verifyInnerText(utilities.getNthElement(chartsDotPlotPage.penaltyPointsDetailsSectionAllottedPointsLabel(), 0), 'Penalty points for each incorrect dot plot: 1.43');
181
- utilities.verifyInnerText(utilities.getNthElement(chartsDotPlotPage.penaltyPointsDetailsSectionAllottedPointsLabel(), 1), 'Total penalty points: 10.01');
180
+ utilities.verifyInnerText(utilities.getNthElement(chartsDotPlotPage.penaltyPointsDetailsSectionAllottedPointsLabel(), 0), 'Penalty points for each incorrect dot plot: 1.4286');
181
+ utilities.verifyInnerText(utilities.getNthElement(chartsDotPlotPage.penaltyPointsDetailsSectionAllottedPointsLabel(), 1), 'Total penalty points: 10');
182
182
  });
183
183
  });
184
184
 
@@ -36,9 +36,11 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
36
36
  chartsDotPlotPage.steps.switchToPreviewTab();
37
37
  });
38
38
 
39
- it('When the user selects \'Grading\' view without attempting the question, dot columns should not have correct/incorrect icon, correct answer section should be displayed with correct answers from alternate accordion and correct/incorrect status message should not be displayed', () => {
39
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
40
+ it.skip('When the user selects \'Grading\' view without attempting the question, dot columns should not have correct/incorrect icon, correct answer section should be displayed with correct answers from alternate accordion and correct/incorrect status message should not be displayed', () => {
40
41
  chartsDotPlotPage.steps.switchToGradingView();
41
42
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
43
+ chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
42
44
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
43
45
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
44
46
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -36,9 +36,11 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
36
36
  chartsDotPlotPage.steps.switchToPreviewTab();
37
37
  });
38
38
 
39
- it('When the user selects \'Grading\' view without attempting the question, dot columns should not have correct/incorrect icon, correct answer section should be displayed with correct answers from correct accordion and correct/incorrect status message should not be displayed', () => {
39
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
40
+ it.skip('When the user selects \'Grading\' view without attempting the question, dot columns should not have correct/incorrect icon, correct answer section should be displayed with correct answers from correct accordion and correct/incorrect status message should not be displayed', () => {
40
41
  chartsDotPlotPage.steps.switchToGradingView();
41
42
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
43
+ chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
42
44
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
43
45
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
44
46
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -323,7 +325,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
323
325
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
324
326
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
325
327
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
326
- chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1});
328
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
327
329
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
328
330
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
329
331
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
@@ -39,9 +39,11 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
39
39
  chartsDotPlotPage.steps.switchToPreviewTab();
40
40
  });
41
41
 
42
- it('When the user selects \'Grading\' view without attempting the question, dot columns should not have correct/incorrect icon, correct answer section should be displayed with correct answers from correct accordion and correct/incorrect status message should not be displayed', () => {
42
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
43
+ it.skip('When the user selects \'Grading\' view without attempting the question, dot columns should not have correct/incorrect icon, correct answer section should be displayed with correct answers from correct accordion and correct/incorrect status message should not be displayed', () => {
43
44
  chartsDotPlotPage.steps.switchToGradingView();
44
45
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
46
+ chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
45
47
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
46
48
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
47
49
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -74,9 +74,11 @@ describe('Create Item page - Charts - Dot plot: Manually and non scored', () =>
74
74
 
75
75
  chartsDotPlotPage.tests.verifyGradingStudentViewRadioButtonAndScoringTypeInPreviewTab('Non scored');
76
76
 
77
- it('When the user selects \'Grading\' view without attempting the question, dot columns should not have correct/incorrect icon, correct answer section should be displayed with correct answers and correct/incorrect status message should not be displayed', () => {
77
+ //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
78
+ it.skip('When the user selects \'Grading\' view without attempting the question, dot columns should not have correct/incorrect icon, correct answer section should be displayed with correct answers and correct/incorrect status message should not be displayed', () => {
78
79
  chartsDotPlotPage.steps.switchToGradingView();
79
80
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
81
+ chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
80
82
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
81
83
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
82
84
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
@@ -84,7 +86,7 @@ describe('Create Item page - Charts - Dot plot: Manually and non scored', () =>
84
86
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
85
87
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
86
88
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
87
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
89
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
88
90
  chartsDotPlotPage.steps.switchToStudentView();
89
91
  });
90
92
 
@@ -96,11 +98,11 @@ describe('Create Item page - Charts - Dot plot: Manually and non scored', () =>
96
98
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
97
99
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
98
100
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
101
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
99
102
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
100
103
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
101
104
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
102
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
103
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
105
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
104
106
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
105
107
  /*cy.log('When user clicks on Check answer button after he attempts the question incorrectly incorrect icons should be displayed besides all incorrect responses, status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
106
108
  chartsDotPlotPage.steps.checkAnswer();
@@ -120,11 +122,11 @@ describe('Create Item page - Charts - Dot plot: Manually and non scored', () =>
120
122
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
121
123
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
122
124
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
125
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
123
126
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
124
127
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
125
128
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
126
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
127
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
129
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
128
130
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
129
131
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
130
132
  chartsDotPlotPage.steps.checkAnswer();
@@ -143,7 +145,7 @@ describe('Create Item page - Charts - Dot plot: Manually and non scored', () =>
143
145
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
144
146
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
145
147
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
146
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
148
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
147
149
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
148
150
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
149
151
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();