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.
- package/cypress/e2e/ILC/AudioResponseNew/customizePlaybackControls.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +12 -5
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +370 -0
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +285 -0
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +629 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/addAndDeleteBarAllOrNothingScoring.js +4 -2
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +5 -4
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/manuallyAndNonScored.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +11 -10
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/toleranceThresholdScoring.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/ChartsBar/gridSettings.js +8 -5
- package/cypress/e2e/ILC/ChartsBar/selectChartTypeSection.js +12 -12
- package/cypress/e2e/ILC/ChartsLine/editTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +3 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionBasic.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionCorrectPointsGreaterThanAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +4 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettingsBasic.js +2 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +0 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDraggableOptionsPanel.js +6 -3
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +7 -6
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions2.js +4 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions3.js +17 -11
- package/cypress/e2e/ILC/FeedbackScaleNew/additionalSettings.js +11 -11
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +3 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +3 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +2 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsBasic.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +53 -44
- package/cypress/e2e/ILC/Graphing/toolsControlsAndBackgroundSection.js +4 -6
- package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +2 -2
- package/cypress/e2e/ILC/ImageHighlight/Scoring/manuallyAndNonScored.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ImageHighlight/Scoring/singleSelectionPreviewScoring.js +9 -9
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +3 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -3
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +6 -6
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/Matching/additionalSettings.js +1 -0
- package/cypress/e2e/ILC/Matching/maximumCapacityPerDropzoneSection.js +8 -56
- package/cypress/e2e/ILC/Matching/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -4
- package/cypress/e2e/ILC/Matching/specifyCorrectAnswerSection.js +2 -1
- package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -4
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +1 -0
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +12 -12
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +48 -48
- package/cypress/e2e/ILC/MultipleSelectionGridNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -2
- package/cypress/e2e/ILC/NumberLine/LayoutSection.js +22 -25
- package/cypress/e2e/ILC/NumberLine/additionalSettings.js +23 -3
- package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +96 -7
- package/cypress/e2e/ILC/NumberLine/lineSettingsSection.js +12 -2
- package/cypress/e2e/ILC/NumberLine/numberLineSection.js +4 -6
- package/cypress/e2e/ILC/NumberLine/specifyCorrectAnswerSection.js +1 -2
- package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +3 -2
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/layoutSection.js +3 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +12 -3
- package/cypress/e2e/ILC/NumberLineLabel/specifyCorrectAnswerSection.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +9 -9
- package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +2 -0
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/SingleSelectionGridNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +20 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +214 -0
- package/cypress/e2e/ILC/TextEntryMath/specifyCorrectAnswerSection.js +2 -1
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +1 -6
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +1 -2
- package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/audioOverviewAndTranscript.js +3 -2
- package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/customizePlayerLayoutSettings.js +2 -2
- package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/standardAudioPlayerStyle.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/studentViewSettingsCompactRecorderStyle.js +3 -1
- package/cypress/e2e/ILC/chartsDotsPlot/additionalSettings.js +6 -6
- package/cypress/e2e/ILC/chartsDotsPlot/editTabScoring.js +4 -4
- package/cypress/e2e/ILC/chartsDotsPlot/minimumScoringPenaltyPointsAndRoundingDropdown.js +5 -5
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +3 -1
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +4 -2
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +3 -1
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/manualAndNonScoredScoring.js +9 -7
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +62 -60
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +29 -27
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +45 -45
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +28 -28
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +48 -34
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +41 -38
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +26 -26
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +41 -38
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +7 -5
- package/cypress/pages/audioPlayerPage.js +2 -2
- package/cypress/pages/audioResponsePage.js +1 -0
- package/cypress/pages/chartsBarPage.js +177 -76
- package/cypress/pages/chartsDotPlotPage.js +28 -43
- package/cypress/pages/components/additionalSettingsPanel.js +5 -2
- package/cypress/pages/components/barAndLineChartComponent.js +1 -1
- package/cypress/pages/components/chartsCommonComponent.js +28 -0
- package/cypress/pages/components/colorPopupComponent.js +2 -0
- package/cypress/pages/components/createQuestionBasePage.js +1 -0
- package/cypress/pages/components/draggableOptionsSectionComponent.js +1 -0
- package/cypress/pages/components/editCategoryFlyout.js +6 -4
- package/cypress/pages/components/essayResponseCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -0
- package/cypress/pages/components/gridQuestionCommonComponent.js +2 -4
- package/cypress/pages/components/imageCanvasComponent.js +7 -5
- package/cypress/pages/components/layoutSectionComponent.js +4 -3
- package/cypress/pages/components/numberLineCommonComponent.js +38 -21
- package/cypress/pages/components/opacityComponent.js +1 -0
- package/cypress/pages/components/optionsWrapperComponent.js +1 -0
- package/cypress/pages/components/questionInstructionsComponent.js +1 -1
- package/cypress/pages/components/responseAreaSettingsPopupComponent.js +8 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +5 -2
- package/cypress/pages/components/toolSettingsComponent.js +1 -0
- package/cypress/pages/contentBlocksPage.js +1 -0
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +9 -2
- package/cypress/pages/fillInTheGapsDropdownPage.js +16 -1
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +16 -1
- package/cypress/pages/fillInTheGapsOverImageTextPage.js +20 -1
- package/cypress/pages/graphingPage.js +43 -10
- package/cypress/pages/gridFillPage.js +11 -3
- package/cypress/pages/matchingPage.js +2 -0
- package/cypress/pages/numberLineLabelPage.js +1 -1
- package/cypress/pages/numberLinePage.js +25 -24
- package/cypress/pages/readingRulerPage.js +6 -2
- package/cypress/pages/rulerPage.js +1 -0
- package/cypress/pages/shortTextResponsePage.js +3 -1
- package/cypress/pages/singleSelectionPage.js +25 -2
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/pages/videoResponsePage.js +7 -2
- package/package.json +1 -1
- /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/allSupportedFileTypes.js +0 -0
- /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/barAudioPlayerStyle.js +0 -0
- /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/compactAudioPlayerStyle.js +0 -0
- /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/headerSection.js +0 -0
- /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/previewContents.smoke.js +0 -0
- /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/studentViewSettings.js +0 -0
- /package/cypress/e2e/ILC/{AudioPlayerNew → ToolAudioPlayerNew}/uploadAndAddAudioFile.js +0 -0
- /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
|
-
|
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
|
-
|
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
|
-
|
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
|
|
@@ -1004,7 +1004,7 @@ const tests = {
|
|
1004
1004
|
* @example - verifySpecifyCorrectAnswerAccordionContentsAndFunctionality('Correct');
|
1005
1005
|
*/
|
1006
1006
|
verifySpecifyCorrectAnswerAccordionContentsAndFunctionality: (accordionName) => {
|
1007
|
-
const range =
|
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
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
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 '
|
1304
|
+
case 'Sideways':
|
1304
1305
|
property = numberOrientation === 'Below' ? 'top' : 'bottom';
|
1305
1306
|
value = '83px';
|
1306
1307
|
break;
|
1307
|
-
case '
|
1308
|
+
case 'Upright':
|
1308
1309
|
property = numberOrientation === 'Left of' ? 'right' : 'left';
|
1309
|
-
value = '
|
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 ('
|
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 '
|
1331
|
+
case 'Sideways':
|
1331
1332
|
property = numberOrientation === 'Below' ? 'top' : 'bottom';
|
1332
1333
|
value = '83px';
|
1333
1334
|
break;
|
1334
|
-
case '
|
1335
|
+
case 'Upright':
|
1335
1336
|
property = numberOrientation === 'Left of' ? 'right' : 'left';
|
1336
|
-
value = '
|
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 ('
|
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 '
|
1359
|
+
case 'Sideways':
|
1359
1360
|
property = numberOrientation === 'Below' ? 'top' : 'bottom';
|
1360
1361
|
value = '83px';
|
1361
1362
|
break;
|
1362
|
-
case '
|
1363
|
+
case 'Upright':
|
1363
1364
|
property = numberOrientation === 'Left of' ? 'right' : 'left';
|
1364
|
-
value = '
|
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 ('
|
1480
|
+
* @param {string} orientation - The orientation of the number line ('Sideways' or 'Upright').
|
1480
1481
|
*/
|
1481
1482
|
verifyDisplayNumberSettingsFunctionalitySpecifyCorrectAnswerSection: (orientation) => {
|
1482
|
-
const displayNumbersOptions = (orientation === "
|
1483
|
-
const direction = (orientation === "
|
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 === "
|
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 ('
|
1501
|
+
* @param {string} orientation - The orientation of the number line ('Sideways' or 'Upright').
|
1501
1502
|
*/
|
1502
1503
|
verifyDisplayNumberSettingsFunctionalityPreviewTab: (orientation) => {
|
1503
|
-
const displayNumbersOptions = (orientation === "
|
1504
|
-
const direction = (orientation === "
|
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 === "
|
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
|
-
|
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) => {
|
@@ -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(
|
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
|
-
|
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
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|