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
@@ -15,8 +15,6 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
15
15
|
chartsDotPlotPage.steps.selectDotPlot();
|
16
16
|
chartsDotPlotPage.steps.enterTextInMinInputField(1);
|
17
17
|
chartsDotPlotPage.steps.enterTextInMaxInputField(6);
|
18
|
-
chartsDotPlotPage.steps.setGraphTitle('Five-day observation');
|
19
|
-
chartsDotPlotPage.steps.setXAxisLabel('Days');
|
20
18
|
chartsDotPlotPage.steps.enterTextInIntervalInputField(1);
|
21
19
|
chartsDotPlotPage.steps.enterTextInAnnotateEveryInputField(1);
|
22
20
|
//locked column
|
@@ -37,10 +35,12 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
37
35
|
chartsDotPlotPage.steps.switchToPreviewTab();
|
38
36
|
});
|
39
37
|
|
40
|
-
|
38
|
+
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
|
39
|
+
it.skip('When the user selects \'Grading\' view without attempting the question, locked bar should not have correct/incorrect icon, correct icon should be displayed in dot column set correctly by default, incorrect icon should be displayed in dot column set incorrectly by default, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion', () => {
|
41
40
|
chartsDotPlotPage.steps.switchToGradingView();
|
42
41
|
//preview chart
|
43
42
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
43
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
44
44
|
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
45
45
|
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
46
46
|
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
@@ -76,8 +76,8 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
76
76
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
77
77
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
78
78
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
79
|
-
chartsDotPlotPage.steps.
|
80
|
-
chartsDotPlotPage.steps.
|
79
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
80
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
81
81
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
82
82
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
83
83
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -103,9 +103,9 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
103
103
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
104
104
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
105
105
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
106
|
-
chartsDotPlotPage.steps.
|
106
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
107
107
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
108
|
-
chartsDotPlotPage.steps.
|
108
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
109
109
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
110
110
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
111
111
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -132,15 +132,15 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
132
132
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
133
133
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
134
134
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
135
|
-
chartsDotPlotPage.steps.
|
136
|
-
chartsDotPlotPage.steps.
|
135
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
136
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
137
137
|
//correct answer charts
|
138
138
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
139
139
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
140
140
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
141
141
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
142
|
-
chartsDotPlotPage.steps.
|
143
|
-
chartsDotPlotPage.steps.
|
142
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
143
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
144
144
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
145
145
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
146
146
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column set correctly from correct accordion, incorrect icon should be displayed in dot column set incorrectly, correct/incorrect status message and correct answer section should not be displayed')
|
@@ -165,16 +165,16 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
165
165
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
166
166
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
167
167
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
168
|
-
chartsDotPlotPage.steps.
|
168
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
169
169
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
170
|
-
chartsDotPlotPage.steps.
|
170
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
171
171
|
//correct answer charts
|
172
172
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
173
173
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
174
174
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
175
175
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
176
|
-
chartsDotPlotPage.steps.
|
177
|
-
chartsDotPlotPage.steps.
|
176
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
177
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
178
178
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
179
179
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
180
180
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column set correctly from alternate accordion, incorrect icon should be displayed in dot column set incorrectly, correct/incorrect status message and correct answer section should not be displayed')
|
@@ -199,17 +199,17 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
199
199
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
200
200
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
201
201
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
202
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1
|
203
|
-
chartsDotPlotPage.steps.
|
204
|
-
chartsDotPlotPage.steps.
|
202
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
|
203
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
204
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
205
205
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
206
206
|
//correct answer charts
|
207
207
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
208
208
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
209
209
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
210
210
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
211
|
-
chartsDotPlotPage.steps.
|
212
|
-
chartsDotPlotPage.steps.
|
211
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
212
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
213
213
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
214
214
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column set correctly, incorrect icon should be displayed in dot column set incorrectly, correct/incorrect status message and correct answer section should not be displayed')
|
215
215
|
chartsDotPlotPage.steps.checkAnswer();
|
@@ -233,15 +233,15 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
233
233
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
234
234
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
235
235
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
236
|
-
chartsDotPlotPage.steps.
|
237
|
-
chartsDotPlotPage.steps.
|
236
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
|
237
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1});
|
238
238
|
//correct answer charts
|
239
239
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
240
240
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
241
241
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
242
242
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
243
|
-
chartsDotPlotPage.steps.
|
244
|
-
chartsDotPlotPage.steps.
|
243
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
244
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
245
245
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
246
246
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
247
247
|
/*cy.log('When the user has attempted the question with the common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in common dot column set correctly, incorrect icon should be displayed in dot column set incorrectly, correct/incorrect status message and correct answer section should not be displayed')
|
@@ -275,8 +275,8 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
275
275
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
276
276
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
277
277
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
278
|
-
chartsDotPlotPage.steps.
|
279
|
-
chartsDotPlotPage.steps.
|
278
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
279
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
280
280
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
281
281
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
282
282
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed in dot column set incorrectly, correct/incorrect status message and correct answer section should not be displayed')
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { chartsDotPlotPage } from "../../../../pages";
|
2
2
|
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
-
const css = Cypress.env('css');
|
4
3
|
|
5
4
|
describe('Create item page - Charts - Dot plot: Partial equal with alternative answers', () => {
|
6
5
|
before(() => {
|
@@ -38,10 +37,12 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
38
37
|
chartsDotPlotPage.steps.switchToPreviewTab();
|
39
38
|
});
|
40
39
|
|
41
|
-
|
40
|
+
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
|
41
|
+
it.skip('When the user selects \'Grading\' view without attempting the question, locked bar should not have icon, correct icon should be displayed in dot column set correctly by default, incorrect icon should be displayed in dot column set to incorrectly by default and label \'Correct answers\' should be displayed with correct answers from the correct accordion and correct/incorrect status message should not be displayed', () => {
|
42
42
|
chartsDotPlotPage.steps.switchToGradingView();
|
43
43
|
//preview chart
|
44
44
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
45
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
45
46
|
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
46
47
|
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
47
48
|
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
@@ -78,8 +79,8 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
78
79
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
79
80
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
80
81
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
81
|
-
chartsDotPlotPage.steps.
|
82
|
-
chartsDotPlotPage.steps.
|
82
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
83
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
83
84
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
84
85
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
85
86
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -105,9 +106,9 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
105
106
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
106
107
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
107
108
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
108
|
-
chartsDotPlotPage.steps.
|
109
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
109
110
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
110
|
-
chartsDotPlotPage.steps.
|
111
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
111
112
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
112
113
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
113
114
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -134,16 +135,16 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
134
135
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
135
136
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
136
137
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
137
|
-
chartsDotPlotPage.steps.
|
138
|
-
chartsDotPlotPage.steps.
|
138
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
139
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
140
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
139
141
|
//correct answer charts
|
140
142
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
141
143
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
142
144
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
143
145
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
144
|
-
chartsDotPlotPage.steps.
|
145
|
-
chartsDotPlotPage.steps.
|
146
|
-
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
146
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
147
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
147
148
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
149
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column responses from correct accordion and incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section should not be displayed')
|
149
150
|
chartsDotPlotPage.steps.checkAnswer();
|
@@ -167,17 +168,17 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
167
168
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
168
169
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
169
170
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
170
|
-
chartsDotPlotPage.steps.
|
171
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
171
172
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
172
|
-
chartsDotPlotPage.steps.
|
173
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
174
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
173
175
|
//correct answer charts
|
174
176
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
175
177
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
176
178
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
177
179
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
178
|
-
chartsDotPlotPage.steps.
|
179
|
-
chartsDotPlotPage.steps.
|
180
|
-
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
180
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
181
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
181
182
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
182
183
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly from alternate accordion, incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section should not be displayed')
|
183
184
|
chartsDotPlotPage.steps.checkAnswer();
|
@@ -202,16 +203,16 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
202
203
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
203
204
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
204
205
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
205
|
-
chartsDotPlotPage.steps.
|
206
|
-
chartsDotPlotPage.steps.
|
206
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
207
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
208
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
207
209
|
//correct answer charts
|
208
210
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
209
211
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
210
212
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
211
213
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
212
|
-
chartsDotPlotPage.steps.
|
213
|
-
chartsDotPlotPage.steps.
|
214
|
-
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
214
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
215
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
215
216
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
216
217
|
/*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed in the dot column from the correct accordion, incorrect icon should be displayed in the dot column from the alternative accordion and, a status message should not be displayed and correct answer section should not be displayed')
|
217
218
|
chartsDotPlotPage.steps.checkAnswer();
|
@@ -229,7 +230,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
229
230
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
230
231
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 2, min: 1, interval: 1 });
|
231
232
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
232
|
-
chartsDotPlotPage.steps.verifyPreviewScore(
|
233
|
+
chartsDotPlotPage.steps.verifyPreviewScore(15, 30);
|
233
234
|
chartsDotPlotPage.steps.switchToGradingView();
|
234
235
|
//preview charts
|
235
236
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
@@ -237,15 +238,15 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
237
238
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
238
239
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
239
240
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
240
|
-
chartsDotPlotPage.steps.
|
241
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
242
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
241
243
|
//correct answer charts
|
242
244
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
243
245
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
244
246
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
245
247
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
246
|
-
chartsDotPlotPage.steps.
|
247
|
-
chartsDotPlotPage.steps.
|
248
|
-
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
248
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
249
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
249
250
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
250
251
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly from correct accordion, incorrect icon should be displayed in dot column set incorrectly from the alternative accordion, a status message should not be displayed and correct answer section should not be displayed')
|
251
252
|
chartsDotPlotPage.steps.checkAnswer();
|
@@ -269,16 +270,16 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
269
270
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
270
271
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
271
272
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
272
|
-
chartsDotPlotPage.steps.
|
273
|
-
chartsDotPlotPage.steps.
|
273
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
|
274
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
274
275
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
275
276
|
//correct answer charts
|
276
277
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
277
278
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
278
279
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
279
280
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
280
|
-
chartsDotPlotPage.steps.
|
281
|
-
chartsDotPlotPage.steps.
|
281
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
282
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
282
283
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
283
284
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in common dot column attempted correctly, incorrect icon should be displayed in dot column set incorrectly, a status message should not be displayed and correct answer section should not be displayed')
|
284
285
|
chartsDotPlotPage.steps.checkAnswer();
|
@@ -292,7 +293,7 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
292
293
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
293
294
|
});
|
294
295
|
|
295
|
-
it('When the user attempts the question incorrectly, then the user should be awarded
|
296
|
+
it('When the user attempts the question incorrectly, then the user should be awarded points for locked bar only and on switching to \'Grading\' view, incorrect icon should be displayed in dot column attempted incorrectly, a status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
296
297
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
297
298
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(0, { point: 2, min: 1, interval: 1 });
|
298
299
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 6, min: 1, interval: 1, defaultDots: 0 });
|
@@ -304,16 +305,16 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
304
305
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
305
306
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
306
307
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
307
|
-
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
|
308
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
308
309
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
310
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
309
311
|
//correct answer charts
|
310
312
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
311
313
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
312
314
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
313
315
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
314
|
-
chartsDotPlotPage.steps.
|
315
|
-
chartsDotPlotPage.steps.
|
316
|
-
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
316
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
317
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
317
318
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
318
319
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed in dot column attempted incorrectly, a status message should not be displayed and correct answer section should not be displayed')
|
319
320
|
chartsDotPlotPage.steps.checkAnswer();
|
@@ -331,26 +332,28 @@ describe('Create item page - Charts - Dot plot: Partial equal with alternative a
|
|
331
332
|
cy.log('Pre-step: Switching to Edit tab and allotting points to alternate tab such that the difference between the points is substantial and the points per response are in decimal')
|
332
333
|
chartsDotPlotPage.steps.switchToEditTab();
|
333
334
|
chartsDotPlotPage.steps.deleteAlternativeAnswerAccordion(0);
|
335
|
+
chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('All or nothing');
|
334
336
|
chartsDotPlotPage.steps.addAlternativeAnswerAccordion(1);
|
335
|
-
chartsDotPlotPage.steps.allotPoints(
|
337
|
+
chartsDotPlotPage.steps.allotPoints(14);
|
336
338
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 2, min: 1, interval: 1, defaultDots: 0 });
|
337
339
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
338
340
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
339
341
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
340
342
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 6, min: 1, interval: 1, defaultDots: 0 });
|
341
343
|
chartsDotPlotPage.steps.expandCorrectAnswerAccordion();
|
344
|
+
chartsDotPlotPage.steps.allotPoints(41);
|
342
345
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 2, min: 1, interval: 1 });
|
343
346
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 3, min: 1, interval: 1 });
|
344
347
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 4, min: 1, interval: 1 });
|
345
348
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
346
349
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 6, min: 1, interval: 1, defaultDots: 0 });
|
347
|
-
chartsDotPlotPage.steps.
|
350
|
+
chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
348
351
|
chartsDotPlotPage.steps.switchToPreviewTab();
|
349
352
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
350
353
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
351
354
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
352
355
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 6, min: 1, interval: 1, defaultDots: 0 });
|
353
|
-
chartsDotPlotPage.steps.verifyPreviewScore(
|
356
|
+
chartsDotPlotPage.steps.verifyPreviewScore(13.6667, 41);
|
354
357
|
chartsDotPlotPage.steps.switchToGradingView();
|
355
358
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
356
359
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -30,13 +30,15 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
|
|
30
30
|
chartsDotPlotPage.steps.setToleranceThresholdValue(1);
|
31
31
|
});
|
32
32
|
|
33
|
-
|
33
|
+
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
|
34
|
+
it.skip('When the user selects \'Grading\' view without attempting the question, incorrect icons should be displayed in incorrect dot column and locked column should not have correct/incorrect icon in grading view', () => {
|
34
35
|
chartsDotPlotPage.steps.switchToPreviewTab();
|
35
36
|
chartsDotPlotPage.steps.switchToGradingView();
|
36
37
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
37
|
-
chartsDotPlotPage.steps.
|
38
|
-
chartsDotPlotPage.steps.
|
39
|
-
chartsDotPlotPage.steps.
|
38
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
39
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
40
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
41
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
40
42
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
41
43
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
42
44
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
@@ -167,7 +169,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with Tolerance/T
|
|
167
169
|
it('When the user updates the tolerance/threshold value in edit tab then tolerance value should get updated in preview tab and when user attempts the question correctly by setting dots in the dot column as per tolerance range, then user should be awarded full points in preview tab and switching to grading view, correct dot columns should have correct icon and status message \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
|
168
170
|
chartsDotPlotPage.steps.switchToEditTab();
|
169
171
|
chartsDotPlotPage.steps.setToleranceThresholdValue(2);
|
170
|
-
|
172
|
+
|
171
173
|
chartsDotPlotPage.steps.switchToPreviewTab();
|
172
174
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
173
175
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
@@ -934,12 +934,12 @@ const steps = {
|
|
934
934
|
.should('exist')
|
935
935
|
.should('have.text', 'This is a bold text in transcript');
|
936
936
|
},
|
937
|
-
|
937
|
+
|
938
938
|
clearTranscriptInputField: () => {
|
939
939
|
audioPlayerPage.transcriptInputField()
|
940
940
|
.clear();
|
941
941
|
},
|
942
|
-
|
942
|
+
|
943
943
|
closeTranscriptModal: () => {
|
944
944
|
audioPlayerPage.transcriptModalCloseButton()
|
945
945
|
.click();
|
@@ -57,6 +57,7 @@ const selectors = {
|
|
57
57
|
compactPreviewRetakeButton: () => cy.get('.play-back-btn-wrapper .record-button'),
|
58
58
|
compactPreviewPlayPlaybackButton: () => cy.get('.play-back-btn-wrapper .play-back-button').contains('Play'),
|
59
59
|
compactPreviewPausePlaybackButton: () => cy.get('.play-back-btn-wrapper .play-back-button').contains('Pause'),
|
60
|
+
compactPreviewPlaybackButton: () => cy.get('.play-back-btn-wrapper .play-back-button'),
|
60
61
|
compactPreviewRecordingHelpText: () => cy.get('.minimal-record-helper-text-wrapper'),
|
61
62
|
compactPreviewRecordingStatusText: () => cy.get('.minimal-recording-text'),
|
62
63
|
compactPreviewRecorderHelpText: () => cy.get('.response-recorded'),
|