itemengine-cypress-automation 1.0.223-minorFix-f2741aa.0 → 1.0.224-31stJulyFixes-fae0339.0

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
@@ -529,7 +529,9 @@ const steps = {
529
529
  enterTextInXMaxInputField: (xMaxValue) => {
530
530
  graphingPage.xMaxInputField()
531
531
  .clear()
532
- .type(xMaxValue)
532
+ .type(xMaxValue);
533
+ cy.wait(2000);
534
+ graphingPage.xMaxInputField()
533
535
  .should('have.value', xMaxValue)
534
536
  },
535
537
 
@@ -540,7 +542,9 @@ const steps = {
540
542
  enterTextInXMinInputField: (xMinValue) => {
541
543
  graphingPage.xMinInputField()
542
544
  .clear()
543
- .type(xMinValue)
545
+ .type(xMinValue);
546
+ cy.wait(2000);
547
+ graphingPage.xMinInputField()
544
548
  .should('have.value', xMinValue)
545
549
  },
546
550
 
@@ -551,7 +555,9 @@ const steps = {
551
555
  enterTextInYMaxInputField: (yMaxValue) => {
552
556
  graphingPage.yMaxInputField()
553
557
  .clear()
554
- .type(yMaxValue)
558
+ .type(yMaxValue);
559
+ cy.wait(2000);
560
+ graphingPage.yMaxInputField()
555
561
  .should('have.value', yMaxValue)
556
562
  },
557
563
 
@@ -562,7 +568,9 @@ const steps = {
562
568
  enterTextInYMinInputField: (yMinValue) => {
563
569
  graphingPage.yMinInputField()
564
570
  .clear()
565
- .type(yMinValue)
571
+ .type(yMinValue);
572
+ cy.wait(2000);
573
+ graphingPage.yMinInputField()
566
574
  .should('have.value', yMinValue)
567
575
  },
568
576
 
@@ -583,8 +591,11 @@ const steps = {
583
591
 
584
592
  enterTextInTitlePopupAddLabelInputField: (text) => {
585
593
  graphingPage.titlePopupAddLabelInputField()
586
- .clear()
587
- .type(text)
594
+ .clear();
595
+ graphingPage.titlePopupAddLabelInputField()
596
+ .type(text);
597
+ cy.wait(2000);
598
+ graphingPage.titlePopupAddLabelInputField()
588
599
  .should('have.text', text);
589
600
  },
590
601
 
@@ -776,8 +787,11 @@ const steps = {
776
787
  */
777
788
  enterTextInXGridSpacingInputFieldValue: (xGridSpacing) => {
778
789
  graphingPage.xGridSpacingInputField()
779
- .clear()
780
- .type(xGridSpacing)
790
+ .clear();
791
+ graphingPage.xGridSpacingInputField()
792
+ .type(xGridSpacing);
793
+ cy.wait(2000);
794
+ graphingPage.xGridSpacingInputField()
781
795
  .blur()
782
796
  .should('have.value', xGridSpacing)
783
797
  },
@@ -802,15 +816,26 @@ const steps = {
802
816
  .should('have.value', xTickInterval)
803
817
  },
804
818
 
819
+ checkXDisplayAxisCheckbox: () => {
820
+ graphingPage.xDisplayAxisCheckbox()
821
+ .click()
822
+ .should('be.checked')
823
+ },
824
+
805
825
  verifyXDisplayAxisCheckboxUnchecked: () => {
806
826
  graphingPage.xDisplayAxisCheckbox()
807
827
  .should('not.be.checked')
808
828
  },
809
829
 
830
+ verifyXDisplayAxisCheckboxChecked: () => {
831
+ graphingPage.xDisplayAxisCheckbox()
832
+ .should('be.checked')
833
+ },
834
+
810
835
  uncheckXDisplayAxisCheckbox: () => {
811
836
  graphingPage.xDisplayAxisCheckbox()
812
837
  .click()
813
- .should('not.be.checked')
838
+ .should('not.be.checked');
814
839
  },
815
840
 
816
841
  verifyXRemoveTicksCheckboxChecked: () => {
@@ -896,7 +921,9 @@ const steps = {
896
921
  enterTextInYGridSpacingInputFieldValue: (yGridSpacing) => {
897
922
  graphingPage.yGridSpacingInputField()
898
923
  .clear()
899
- .type(yGridSpacing)
924
+ .type(yGridSpacing);
925
+ cy.wait(2000);
926
+ graphingPage.yGridSpacingInputField()
900
927
  .blur()
901
928
  .should('have.value', yGridSpacing)
902
929
  },
@@ -926,6 +953,12 @@ const steps = {
926
953
  .should('not.be.checked')
927
954
  },
928
955
 
956
+ checkYDisplayAxisCheckbox: () => {
957
+ graphingPage.yDisplayAxisCheckbox()
958
+ .click()
959
+ .should('be.checked')
960
+ },
961
+
929
962
  uncheckYDisplayAxisCheckbox: () => {
930
963
  graphingPage.yDisplayAxisCheckbox()
931
964
  .click()
@@ -171,6 +171,7 @@ const selectors = {
171
171
  fillImageToGridCheckbox: () => cy.get('[data-ngie-testid="fill-image-to-grid-checkbox"] input'),
172
172
  backgroundImageAlternativeTextLabel: () => cy.get('[class*="UploadImagestyles__InputWrapper"] .text-label').last(),
173
173
  backgroundImageAlternativeTextInputField: () => cy.get('[class*="UploadImagestyles__InputWrapper"] input').last(),
174
+ noFileChosenLabel: () => cy.get('[class*="UploadImagestyles__SelectedFile-"]').eq(0),
174
175
  //student view settings
175
176
  maxSelectedCellLabel: () => cy.get('[class*="MaxSelectedCellsstyles__MaxCellsLabel"]'),
176
177
  maxSelectedCellInputField: () => cy.get('input[aria-label="Max selected cells"]'),
@@ -185,8 +186,8 @@ const selectors = {
185
186
  rowsWrapperPreviewTab: () => cy.get('[class*="GridFillResponsestyles__RowContainer"]:visible'),
186
187
  paginationButtonWrapperPreviewTab: () => cy.get('[class*="PaginationControlWrapper"]'),
187
188
  paginationTextPreviewTab: () => cy.get(' [class*="PaginationControlWrapper"] [class*="PaginationDetails"]'),
188
- previousPaginationButtonPreviewTab: () => cy.get(' [class*="PaginationControlWrapper"] [class*="PaginationControl"]').eq(0),
189
- nextPaginationButtonPreviewTab: () => cy.get(' [class*="PaginationControlWrapper"] [class*="PaginationControl"]').eq(1),
189
+ previousPaginationButtonPreviewTab: () => cy.get('[class*="PreviewTabstyles__PreviewSubContainer"] [class*="PaginationControlWrapper"] [class*="PaginationControl"]').eq(0),
190
+ nextPaginationButtonPreviewTab: () => cy.get('[class*="PreviewTabstyles__PreviewSubContainer"] [class*="PaginationControlWrapper"] [class*="PaginationControl"]').eq(1),
190
191
  canvasTitlePreviewTab: () => cy.get('[class*="GridFillResponsestyles__CanvasTitleWrapper"]'),
191
192
  correctAnswerLabel: () => cy.get('[class*="GridFillResponsestyles__CorrectAnswerLabel"]'),
192
193
  warningMessageContainer: () => cy.get('.disabled-wrapper-cls'),
@@ -2904,8 +2905,15 @@ const steps = {
2904
2905
  .eq(0)
2905
2906
  .clear()
2906
2907
  .type(`${points}`)
2907
- .should('have.value', points)
2908
+ cy.wait(1000)
2909
+ scoringSectionBaseEditTab.pointsInputField()
2910
+ .eq(0)
2911
+ .click()
2908
2912
  .blur();
2913
+ scoringSectionBaseEditTab.pointsInputField()
2914
+ .eq(0)
2915
+ .should('have.value', points)
2916
+
2909
2917
  },
2910
2918
  }
2911
2919
 
@@ -386,6 +386,8 @@ const steps = {
386
386
  .clear()
387
387
  .type(`${points}`)
388
388
  .should('have.value', points)
389
+ cy.wait(1000)
390
+ matchingPage.penaltyPointsForEachIncorrectDropzoneInputField()
389
391
  .blur();
390
392
  },
391
393
 
@@ -1004,7 +1004,7 @@ const tests = {
1004
1004
  * @example - verifySpecifyCorrectAnswerAccordionContentsAndFunctionality('Correct');
1005
1005
  */
1006
1006
  verifySpecifyCorrectAnswerAccordionContentsAndFunctionality: (accordionName) => {
1007
- const range = 20.75;
1007
+ const range = 22.15;
1008
1008
  it(`The user should be able to plot points on number line in the specify correct answer section ${accordionName} accordion`, () => {
1009
1009
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 2', 'horizontal', range, 9);
1010
1010
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [9]);
@@ -19,6 +19,7 @@ const selectors = {
19
19
  ...dialogBoxBase,
20
20
  ...numberLineCommonComponent,
21
21
  ...layoutSectionComponent,
22
+ ...studentViewSettingsLabelComponent,
22
23
 
23
24
  //Specify correct answer
24
25
  numberLineToolOptionSpecifyCorrectAnswer: (toolOptionAriaLabel = null) => {
@@ -1292,21 +1293,21 @@ const steps = {
1292
1293
  },
1293
1294
 
1294
1295
  /**
1295
- * Verifies the display numbers orientation in the specify correct answer section of the number line.
1296
- * @param {string} numberLineOrientation - The orientation of the number line ('Horizontal' or 'Vertical').
1297
- * @param {string} numberOrientation - The orientation of the numbers ('Below' or 'Left').
1298
- * @throws {Error} Thrown if the number line orientation is invalid.
1299
- */
1296
+ * Verifies the display numbers orientation in the specify correct answer section of the number line.
1297
+ * @param {string} numberLineOrientation - The orientation of the number line ('Sideways' or 'Upright').
1298
+ * @param {string} numberOrientation - The orientation of the numbers ('Below' or 'Left').
1299
+ * @throws {Error} Thrown if the number line orientation is invalid.
1300
+ */
1300
1301
  verifyDisplayNumbersOrientationSpecifyCorrectAnswerSection: (numberLineOrientation, numberOrientation) => {
1301
1302
  let property, value;
1302
1303
  switch (numberLineOrientation) {
1303
- case 'Horizontal':
1304
+ case 'Sideways':
1304
1305
  property = numberOrientation === 'Below' ? 'top' : 'bottom';
1305
1306
  value = '83px';
1306
1307
  break;
1307
- case 'Vertical':
1308
+ case 'Upright':
1308
1309
  property = numberOrientation === 'Left of' ? 'right' : 'left';
1309
- value = '85px';
1310
+ value = '100px';
1310
1311
  break;
1311
1312
  default:
1312
1313
  throw new Error('Invalid Number line orientation');
@@ -1320,20 +1321,20 @@ const steps = {
1320
1321
 
1321
1322
  /**
1322
1323
  * Verifies the display numbers orientation in the number line section.
1323
- * @param {string} numberLineOrientation - The orientation of the number line ('Horizontal' or 'Vertical').
1324
+ * @param {string} numberLineOrientation - The orientation of the number line ('Sideways' or 'Upright').
1324
1325
  * @param {string} numberOrientation - The orientation of the numbers ('Below' or 'Left').
1325
1326
  * @throws {Error} Thrown if the number line orientation is invalid.
1326
1327
  */
1327
1328
  verifyDisplayNumbersOrientationPreviewTab: (numberLineOrientation, numberOrientation) => {
1328
1329
  let property, value;
1329
1330
  switch (numberLineOrientation) {
1330
- case 'Horizontal':
1331
+ case 'Sideways':
1331
1332
  property = numberOrientation === 'Below' ? 'top' : 'bottom';
1332
1333
  value = '83px';
1333
1334
  break;
1334
- case 'Vertical':
1335
+ case 'Upright':
1335
1336
  property = numberOrientation === 'Left of' ? 'right' : 'left';
1336
- value = '85px';
1337
+ value = '100px';
1337
1338
  break;
1338
1339
  default:
1339
1340
  throw new Error('Invalid Number line orientation');
@@ -1348,20 +1349,20 @@ const steps = {
1348
1349
 
1349
1350
  /**
1350
1351
  * Verifies the display numbers orientation in the number line section.
1351
- * @param {string} numberLineOrientation - The orientation of the number line ('Horizontal' or 'Vertical').
1352
+ * @param {string} numberLineOrientation - The orientation of the number line ('Sideways' or 'Upright').
1352
1353
  * @param {string} numberOrientation - The orientation of the numbers ('Below' or 'Left').
1353
1354
  * @throws {Error} Thrown if the number line orientation is invalid.
1354
1355
  */
1355
1356
  verifyDisplayNumbersOrientationNumberLineSection: (numberLineOrientation, numberOrientation) => {
1356
1357
  let property, value;
1357
1358
  switch (numberLineOrientation) {
1358
- case 'Horizontal':
1359
+ case 'Sideways':
1359
1360
  property = numberOrientation === 'Below' ? 'top' : 'bottom';
1360
1361
  value = '83px';
1361
1362
  break;
1362
- case 'Vertical':
1363
+ case 'Upright':
1363
1364
  property = numberOrientation === 'Left of' ? 'right' : 'left';
1364
- value = '85px';
1365
+ value = '100px';
1365
1366
  break;
1366
1367
  default:
1367
1368
  throw new Error('Invalid Number line orientation');
@@ -1476,18 +1477,18 @@ const tests = {
1476
1477
 
1477
1478
  /**
1478
1479
  * Verifies the functionality of the number line section in the edit tab.
1479
- * @param {string} orientation - The orientation of the number line ('Horizontal' or 'Vertical').
1480
+ * @param {string} orientation - The orientation of the number line ('Sideways' or 'Upright').
1480
1481
  */
1481
1482
  verifyDisplayNumberSettingsFunctionalitySpecifyCorrectAnswerSection: (orientation) => {
1482
- const displayNumbersOptions = (orientation === "Horizontal") ? ["Below line", "Above line"] : ["Left of line", "Right of line"];
1483
- const direction = (orientation === "Horizontal") ? "Below" : "Left of";
1483
+ const displayNumbersOptions = (orientation === "Sideways") ? ["Below line", "Above line"] : ["Left of line", "Right of line"];
1484
+ const direction = (orientation === "Sideways") ? "Below" : "Left of";
1484
1485
  it(`When "${displayNumbersOptions[0]}" is selected, labels should be displayed ${direction} number line in both the number line section and the specify correct answer section.`, () => {
1485
1486
  numberLineCommonComponent.steps.verifyDisplayNumbersToggleButtonSelected(displayNumbersOptions[0]);
1486
1487
  numberLinePage.steps.verifyDisplayNumbersOrientationNumberLineSection(orientation, direction);
1487
1488
  numberLinePage.steps.verifyDisplayNumbersOrientationSpecifyCorrectAnswerSection(orientation, direction);
1488
1489
  });
1489
1490
 
1490
- const oppositeDirection = (orientation === "Horizontal") ? "Above" : "Right of";
1491
+ const oppositeDirection = (orientation === "Sideways") ? "Above" : "Right of";
1491
1492
  it(`When "${displayNumbersOptions[1]}" is selected, labels should be displayed ${oppositeDirection} number line in both the number line section and the specify correct answer section.`, () => {
1492
1493
  numberLineCommonComponent.steps.selectDisplayNumbersToggleButton(displayNumbersOptions[1]);
1493
1494
  numberLinePage.steps.verifyDisplayNumbersOrientationNumberLineSection(orientation, oppositeDirection);
@@ -1497,11 +1498,11 @@ const tests = {
1497
1498
 
1498
1499
  /**
1499
1500
  * Verifies the functionality of the number line section in the preview tab.
1500
- * @param {string} orientation - The orientation of the number line ('Horizontal' or 'Vertical').
1501
+ * @param {string} orientation - The orientation of the number line ('Sideways' or 'Upright').
1501
1502
  */
1502
1503
  verifyDisplayNumberSettingsFunctionalityPreviewTab: (orientation) => {
1503
- const displayNumbersOptions = (orientation === "Horizontal") ? ["Below line", "Above line"] : ["Left of line", "Right of line"];
1504
- const direction = (orientation === "Horizontal") ? "Below" : "Left of";
1504
+ const displayNumbersOptions = (orientation === "Sideways") ? ["Below line", "Above line"] : ["Left of line", "Right of line"];
1505
+ const direction = (orientation === "Sideways") ? "Below" : "Left of";
1505
1506
  it(`When ${displayNumbersOptions[0]} is selected then labels should be displayed ${direction} number line in the preview tab.`, () => {
1506
1507
  numberLineCommonComponent.steps.switchToEditTab();
1507
1508
  numberLineCommonComponent.steps.verifyDisplayNumbersToggleButtonSelected(displayNumbersOptions[0]);
@@ -1509,7 +1510,7 @@ const tests = {
1509
1510
  numberLinePage.steps.verifyDisplayNumbersOrientationPreviewTab(orientation, direction);
1510
1511
  });
1511
1512
 
1512
- const oppositeDirection = (orientation === "Horizontal") ? "Above" : "Right of";
1513
+ const oppositeDirection = (orientation === "Sideways") ? "Above" : "Right of";
1513
1514
  it(`When user selects ${displayNumbersOptions[1]} then labels should be displayed ${oppositeDirection} number line in the preview tab.`, () => {
1514
1515
  numberLineCommonComponent.steps.switchToEditTab();
1515
1516
  numberLineCommonComponent.steps.selectDisplayNumbersToggleButton(displayNumbersOptions[1]);
@@ -207,8 +207,12 @@ const steps = {
207
207
 
208
208
  addInputToOpacityInputField: (value) => {
209
209
  readingRulerPage.opacityInputField()
210
- .clear()
211
- .type(value, { delay: 0 })
210
+ .clear();
211
+ readingRulerPage.opacityInputField()
212
+ .type(value, { delay: 0 });
213
+ cy.wait(2000);
214
+ readingRulerPage.opacityInputField()
215
+ .should('have.value', value);
212
216
  },
213
217
 
214
218
  addInputToDefaultNumberOfLinesInputField: (value) => {
@@ -128,6 +128,7 @@ const steps = {
128
128
  selectOptionFromLengthOfRulerOptions: (option) => {
129
129
  rulerPage.lengthOfRulerOptions(option)
130
130
  .click();
131
+ cy.wait(1000);
131
132
  },
132
133
 
133
134
  /**
@@ -335,7 +335,9 @@ const steps = {
335
335
  shortTextResponsePage.minimumLimitInputField()
336
336
  .clear()
337
337
  .type(minLimit)
338
- .blur()
338
+ .blur();
339
+ cy.wait(2000);
340
+ shortTextResponsePage.minimumLimitInputField()
339
341
  .should('have.value', minLimit)
340
342
  },
341
343
 
@@ -35,7 +35,8 @@ const selectors = {
35
35
  //correct answer section
36
36
  correctAnswersLabel: () => cy.get('[class*="question-preview-wrapper"] [class*="CorrectAnswerLabel"]'),
37
37
  correctAnswerSectionWrapper: () => cy.get('[class*="question-preview-wrapper"] .mcq-radio-control.mcq-answer-checked').eq(1),
38
- optionWrapperCorrectAnswerSection: () => cy.get('.radio-option-wrapper')
38
+ optionWrapperCorrectAnswerSection: () => cy.get('.radio-option-wrapper'),
39
+ correctIncorrectAnswerLabel: () => cy.get('[class*="style"][class*="__Status"]')
39
40
  };
40
41
 
41
42
  const steps = {
@@ -660,7 +661,29 @@ const steps = {
660
661
  .and('have.css', 'grid-row-start', '2');
661
662
  break;
662
663
  }
663
- }
664
+ },
665
+
666
+ verifyCorrectIncorrectAnswerLabelNotExist: () => {
667
+ utilities.verifyElementVisibilityState(singleSelectionPage.correctIncorrectAnswerLabel(), 'notExist');
668
+ },
669
+
670
+ /**
671
+ * @param {("correct" | "incorrect")} answerStatus - The status of the answer.
672
+ * @description Verifies the visibility and content of the correct/incorrect answer label block.
673
+ * If the answer is correct, it also verifies the visibility of the correct icon;
674
+ * otherwise, it verifies the visibility of the incorrect icon.
675
+ */
676
+ verifyCorrectIncorrectAnswerLabel: (answerStatus) => {
677
+ utilities.verifyInnerText(singleSelectionPage.correctIncorrectAnswerLabel(), `Your answer is${answerStatus}`)
678
+ singleSelectionPage.correctIncorrectAnswerLabel()
679
+ .within(() => {
680
+ if (answerStatus === 'correct') {
681
+ utilities.verifyElementVisibilityState(singleSelectionPage.correctIcon(), 'visible');
682
+ } else {
683
+ utilities.verifyElementVisibilityState(singleSelectionPage.incorrectIcon(), 'visible');
684
+ }
685
+ });
686
+ },
664
687
  };
665
688
 
666
689
  const tests = {
@@ -46,7 +46,7 @@ const selectors = {
46
46
  selectAllOptionsButton: () => cy.get('button[class*="Highlightstyles__IconButton"]').eq(0),
47
47
  undoButton: () => cy.get('button[class*="Highlightstyles__IconButton"]').eq(3),
48
48
  redoButton: () => cy.get('button[class*="Highlightstyles__IconButton"]').eq(3),
49
- clearOptionsButton: () => cy.get('button[class*="Highlightstyles__IconButton"]').eq(3),
49
+ clearOptionsButton: () => cy.get('button[class*="Highlightstyles__IconButton"]').eq(2),
50
50
 
51
51
  //Specify correct answer section
52
52
  specifyCorrectAnswerTextWrapper: () => cy.get('[class*="Highlightstyles__Wrapper"] .question-text-wrapper'),
@@ -939,9 +939,14 @@ const steps = {
939
939
  */
940
940
  setVideoRecorderDefaultWidth: (value) => {
941
941
  videoResponsePage.videoRecorderDefaultWidthInputField()
942
- .clear()
943
- .type(value)
942
+ .clear();
943
+ videoResponsePage.videoRecorderDefaultWidthInputField()
944
+ .type(value);
945
+ cy.wait(2000);
946
+ videoResponsePage.videoRecorderDefaultWidthInputField()
944
947
  .blur();
948
+ videoResponsePage.videoRecorderDefaultWidthInputField()
949
+ .should('have.value', value)
945
950
  },
946
951
 
947
952
  clearVideoRecorderDefaultWidthInputField: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.223-minorFix-f2741aa.0",
3
+ "version": "1.0.224-31stJulyFixes-fae0339.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {