itemengine-cypress-automation 1.0.223-minorFix-f2741aa.0 → 1.0.223
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 +2 -2
- /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
@@ -27,36 +27,38 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
27
27
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 2, min: 1, interval: 1, defaultDots: 0 });
|
28
28
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
29
29
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
30
|
-
|
30
|
+
// chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
31
31
|
chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
32
32
|
chartsDotPlotPage.steps.allotPartialDifferentWeightsPoints({ 0: 2, 1: 4, 2: 6, 3: 2, 4: 4 });
|
33
33
|
chartsDotPlotPage.steps.switchToPreviewTab();
|
34
34
|
});
|
35
35
|
|
36
|
-
|
36
|
+
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
|
37
|
+
it.skip('When the user selects \'Grading\' view without attempting the question, then 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, correct answer should be displayed in the correct answer section and correct/incorrect status message should not be displayed', () => {
|
37
38
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 18);
|
38
39
|
chartsDotPlotPage.steps.switchToGradingView();
|
39
40
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
40
|
-
chartsDotPlotPage.steps.
|
41
|
-
chartsDotPlotPage.steps.
|
42
|
-
chartsDotPlotPage.steps.
|
43
|
-
chartsDotPlotPage.steps.
|
41
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
42
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
43
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
44
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
45
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
44
46
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
45
47
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
46
48
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
47
49
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
48
|
-
chartsDotPlotPage.steps.
|
50
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
49
51
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
50
52
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
53
|
+
/* cy.log('When the user selects \'check answer button\' button without attempting the question, 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, correct/incorrect status message and correct answer section should be not displayed ')
|
54
|
+
chartsDotPlotPage.steps.checkAnswer();
|
55
|
+
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
56
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
57
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
58
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
59
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
60
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
61
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
60
62
|
});
|
61
63
|
|
62
64
|
it('When the user attempts the question incorrectly then the user should be awarded points only for locked dot column and on switching to grading view incorrect icon should be displayed in dot column attempted incorrectly and the correct answer should be displayed in the correct answer section chart dot plot and correct/incorrect status message should not be displayed', () => {
|
@@ -74,18 +76,18 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
74
76
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
75
77
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
76
78
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
77
|
-
chartsDotPlotPage.steps.
|
79
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
78
80
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
79
81
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
82
|
+
/* cy.log('When the user attempts the question incorrectly then the user should be awarded points only for locked and on selecting check answer button, incorrect icon should be displayed in dot column attempted incorrectly and correct/incorrect status message should not be displayed');
|
83
|
+
chartsDotPlotPage.steps.checkAnswer();
|
84
|
+
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
85
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
86
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
87
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
88
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
89
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
90
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
89
91
|
});
|
90
92
|
|
91
93
|
it('When the user attempts the question by setting more dots than required in the dot columns having dots by default, then the user should be awarded points for the correctly set/attempted dot column and on switching to grading view, incorrect icon should be displayed in incorrectly attempted dot column, correct icon should be displayed in correctly attempted dot column and the correct answers should be displayed in the correct answer section dot plot chart and correct/incorrect status message should not be displayed', () => {
|
@@ -97,23 +99,23 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
97
99
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
98
100
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
99
101
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
100
|
-
chartsDotPlotPage.steps.
|
102
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
101
103
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
102
104
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
103
105
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
104
106
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
105
|
-
chartsDotPlotPage.steps.
|
107
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
106
108
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
107
109
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
110
|
+
/* cy.log('When the user attempts the question by setting more dots than required in the dot columns having dots by default and clicks on check answer button then incorrect icon should be displayed in incorrectly attempted dot column, correct icon should be displayed in correctly attempted dot column and correct/incorrect status message should not be displayed')
|
111
|
+
chartsDotPlotPage.steps.checkAnswer();
|
112
|
+
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
113
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
114
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
115
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
116
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
117
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
118
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
117
119
|
});
|
118
120
|
|
119
121
|
it('When the user attempts the question by removing all the dots from the dot column that is not supposed to be empty, then the user should be awarded points for the correctly set/attempted dot column and on switching to grading view, incorrect icon should be displayed in incorrectly attempted dot column, correct icon should be displayed in correctly attempted dot column and the the correct answers should be displayed in the correct answer section dot chart plot and correct/incorrect status message should not be displayed', () => {
|
@@ -125,12 +127,12 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
125
127
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
126
128
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
127
129
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
128
|
-
chartsDotPlotPage.steps.
|
130
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
129
131
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
130
132
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
131
133
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
132
134
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
133
|
-
chartsDotPlotPage.steps.
|
135
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
134
136
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
135
137
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
136
138
|
/*cy.log('When the user attempts the question by removing all the dots from the dot column that is not supposed to be empty, then the user should be awarded with points of the correct response and clicks on check answer button then incorrect icon should be displayed in incorrectly attempted dot column, correct icon should be displayed in correctly attempted dot column and correct/incorrect status message should not be displayed')
|
@@ -158,18 +160,18 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
158
160
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
159
161
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
160
162
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
161
|
-
chartsDotPlotPage.steps.
|
163
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
162
164
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
163
165
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
166
|
+
/* cy.log('When the user attempts the question by adding dots to the dot columns that is supposed to be empty, then the user should be awarded with points of the correctly response and clicks on check answer button then incorrect icon should be displayed in incorrectly attempted dot column, correct icon should be displayed in correctly attempted dot column and correct/incorrect status message should not be displayed');
|
167
|
+
chartsDotPlotPage.steps.checkAnswer();
|
168
|
+
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
169
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
170
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
171
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
172
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
173
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
174
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
173
175
|
});
|
174
176
|
|
175
177
|
it('When the user attempts the question by changing number of dots in the dot columns which have the correct number of dots by default and setting correct number of dots in dot column which was empty by default, then the user should be awarded points for the correctly set/attempted dot column and on switching to grading view, incorrect icon should be displayed in incorrectly attempted dot column, correct icon should be displayed in correctly attempted dot column and the the correct answers should be displayed in the correct answer section dot chart plot and correct/incorrect status message should not be displayed', () => {
|
@@ -182,12 +184,12 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
182
184
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
183
185
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
184
186
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
185
|
-
chartsDotPlotPage.steps.
|
187
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
186
188
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
187
189
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
188
190
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
189
191
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
190
|
-
chartsDotPlotPage.steps.
|
192
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
191
193
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
192
194
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
193
195
|
/*cy.log('When the user attempts the question by changing number of dots in the dot columns which have the correct number of dots by default, and clicks on check answer button then incorrect icon should be displayed in incorrectly attempted dot column, correct icon should be displayed in correctly attempted dot column and correct/incorrect status message should not be displayed');
|
@@ -211,17 +213,17 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
211
213
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
212
214
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
213
215
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
214
|
-
chartsDotPlotPage.steps.
|
216
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
215
217
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();
|
216
218
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
219
|
+
/* cy.log('When the user attempts the question correctly then the user should be awarded with full points and on selecting check answer button then correct icon should be displayed in correctly attempted dot column and correct/incorrect status message should not be displayed')
|
220
|
+
chartsDotPlotPage.steps.checkAnswer();
|
221
|
+
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
222
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
223
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
224
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
225
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
226
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
225
227
|
});
|
226
228
|
});
|
227
229
|
});
|
@@ -38,10 +38,12 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
38
38
|
chartsDotPlotPage.steps.switchToPreviewTab();
|
39
39
|
});
|
40
40
|
|
41
|
-
|
41
|
+
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535 is resolved
|
42
|
+
it.skip('When the user selects \'Grading\' view without attempting the question, locked bar should not have icon, incorrect dot columns should have incorrect icons, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the alternate accordion', () => {
|
42
43
|
chartsDotPlotPage.steps.switchToGradingView();
|
43
44
|
//preview chart
|
44
45
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
46
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
45
47
|
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
46
48
|
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
47
49
|
chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
@@ -78,8 +80,8 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
78
80
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
79
81
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
80
82
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
81
|
-
chartsDotPlotPage.steps.
|
82
|
-
chartsDotPlotPage.steps.
|
83
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
84
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
83
85
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
84
86
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
85
87
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -105,9 +107,9 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
105
107
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
106
108
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
107
109
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
108
|
-
chartsDotPlotPage.steps.
|
110
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
|
109
111
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
110
|
-
chartsDotPlotPage.steps.
|
112
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1});
|
111
113
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
112
114
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
113
115
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -134,15 +136,15 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
134
136
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
135
137
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
136
138
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
137
|
-
chartsDotPlotPage.steps.
|
138
|
-
chartsDotPlotPage.steps.
|
139
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
140
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
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
|
-
chartsDotPlotPage.steps.
|
145
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
144
146
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
145
|
-
chartsDotPlotPage.steps.
|
147
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
146
148
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
147
149
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
150
|
/*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 attempted correctly, incorrect icon should be displayed in dot column set to incorrectly, status message and correct answer section should not be displayed')
|
@@ -167,16 +169,16 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
167
169
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
168
170
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
169
171
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
170
|
-
chartsDotPlotPage.steps.
|
172
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
|
171
173
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
172
|
-
chartsDotPlotPage.steps.
|
174
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
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
|
-
chartsDotPlotPage.steps.
|
179
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
178
180
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
179
|
-
chartsDotPlotPage.steps.
|
181
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
180
182
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
181
183
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
182
184
|
/* 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, incorrect icon should be displayed in dot column set to incorrectly, status message and correct answer section should not be displayed')
|
@@ -199,16 +201,16 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
199
201
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
200
202
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
201
203
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
202
|
-
chartsDotPlotPage.steps.
|
204
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
203
205
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
204
|
-
chartsDotPlotPage.steps.
|
206
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
205
207
|
//correct answer charts
|
206
208
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
207
209
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
208
210
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
209
|
-
chartsDotPlotPage.steps.
|
211
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
210
212
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
211
|
-
chartsDotPlotPage.steps.
|
213
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
212
214
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
213
215
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
214
216
|
/*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 dot column attempted correctly, incorrect icon should be displayed in dot column set to incorrectly, status message and correct answer section should not be displayed')
|
@@ -232,16 +234,16 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
232
234
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
233
235
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
234
236
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
235
|
-
chartsDotPlotPage.steps.
|
237
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
236
238
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
237
|
-
chartsDotPlotPage.steps.
|
239
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1});
|
238
240
|
//correct answer charts
|
239
241
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
240
242
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
241
243
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
242
|
-
chartsDotPlotPage.steps.
|
244
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
243
245
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
244
|
-
chartsDotPlotPage.steps.
|
246
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
245
247
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
246
248
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
247
249
|
/*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 from alternate accordion, incorrect icon should be displayed in dot column set incorrectly from the correct accordion, a status message and correct answer section should not be displayed')
|
@@ -265,16 +267,16 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
265
267
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
266
268
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
267
269
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
268
|
-
chartsDotPlotPage.steps.
|
270
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
269
271
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
|
270
|
-
chartsDotPlotPage.steps.
|
272
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
271
273
|
//correct answer charts
|
272
274
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
273
275
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
274
276
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
275
|
-
chartsDotPlotPage.steps.
|
277
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
276
278
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
277
|
-
chartsDotPlotPage.steps.
|
279
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
278
280
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
279
281
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
280
282
|
/*cy.log('When the user has attempted the question with common response 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 attempted incorrectly status message and correct answer section should not be displayed')
|
@@ -307,9 +309,9 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
307
309
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
308
310
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
309
311
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
310
|
-
chartsDotPlotPage.steps.
|
312
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
311
313
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
312
|
-
chartsDotPlotPage.steps.
|
314
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
313
315
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
314
316
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
315
317
|
/*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 and correct answer section should not be displayed')
|
@@ -15,8 +15,6 @@ describe('Create item page - Charts - Dot plot: Partial different with alternati
|
|
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 different with alternati
|
|
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 });
|
@@ -77,8 +77,8 @@ describe('Create item page - Charts - Dot plot: Partial different with alternati
|
|
77
77
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
78
78
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
79
79
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
80
|
-
chartsDotPlotPage.steps.
|
81
|
-
chartsDotPlotPage.steps.
|
80
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
81
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
82
82
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
83
83
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
84
84
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -104,9 +104,9 @@ describe('Create item page - Charts - Dot plot: Partial different with alternati
|
|
104
104
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
105
105
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
106
106
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
107
|
-
chartsDotPlotPage.steps.
|
107
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
108
108
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
109
|
-
chartsDotPlotPage.steps.
|
109
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
110
110
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
111
111
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
112
112
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -133,15 +133,15 @@ describe('Create item page - Charts - Dot plot: Partial different with alternati
|
|
133
133
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
134
134
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
135
135
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
136
|
-
chartsDotPlotPage.steps.
|
137
|
-
chartsDotPlotPage.steps.
|
136
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
137
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
138
138
|
//correct answer charts
|
139
139
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
140
140
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
141
141
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
142
142
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
143
|
-
chartsDotPlotPage.steps.
|
144
|
-
chartsDotPlotPage.steps.
|
143
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
144
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
145
145
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
146
146
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
147
147
|
/*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')
|
@@ -166,16 +166,16 @@ describe('Create item page - Charts - Dot plot: Partial different with alternati
|
|
166
166
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
167
167
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
168
168
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
169
|
-
chartsDotPlotPage.steps.
|
169
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
170
170
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
171
|
-
chartsDotPlotPage.steps.
|
171
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
172
172
|
//correct answer charts
|
173
173
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
174
174
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
175
175
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
176
176
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
177
|
-
chartsDotPlotPage.steps.
|
178
|
-
chartsDotPlotPage.steps.
|
177
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
178
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
179
179
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
180
180
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
181
181
|
/*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')
|
@@ -201,27 +201,27 @@ describe('Create item page - Charts - Dot plot: Partial different with alternati
|
|
201
201
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
202
202
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
203
203
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
204
|
-
chartsDotPlotPage.steps.
|
205
|
-
chartsDotPlotPage.steps.
|
204
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
205
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1});
|
206
206
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
207
207
|
//correct answer charts
|
208
208
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
209
209
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
210
210
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
211
211
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
212
|
-
chartsDotPlotPage.steps.
|
213
|
-
chartsDotPlotPage.steps.
|
212
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
213
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
214
214
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
215
|
+
/* 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')
|
216
|
+
chartsDotPlotPage.steps.checkAnswer();
|
217
|
+
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
218
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
219
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
220
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
221
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
222
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
223
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
224
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
225
225
|
});
|
226
226
|
|
227
227
|
it('Race condition : When the user attempts the question with the common response between correct and alternative accordion, then the user should be awarded with points of the correctly attempted response and on switching to \'Grading\' view, 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 should not be displayed and correct answer section with all correct answers from the correct accordion should be displayed', () => {
|
@@ -233,28 +233,28 @@ describe('Create item page - Charts - Dot plot: Partial different with alternati
|
|
233
233
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
234
234
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
235
235
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
236
|
-
chartsDotPlotPage.steps.
|
236
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
237
237
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
|
238
|
-
chartsDotPlotPage.steps.
|
238
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1, });
|
239
239
|
//correct answer charts
|
240
240
|
chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
|
241
241
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
242
242
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
243
243
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
244
|
-
chartsDotPlotPage.steps.
|
245
|
-
chartsDotPlotPage.steps.
|
244
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
245
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
246
246
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
247
247
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
248
|
+
/* 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')
|
249
|
+
chartsDotPlotPage.steps.checkAnswer();
|
250
|
+
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
251
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
252
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
253
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
254
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
|
255
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
256
|
+
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
257
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
258
258
|
});
|
259
259
|
|
260
260
|
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icon should be displayed in dot column set incorrectly, correct/incorrect status message should not be displayed and correct answer section with all correct answers ', () => {
|
@@ -276,8 +276,8 @@ describe('Create item page - Charts - Dot plot: Partial different with alternati
|
|
276
276
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
|
277
277
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
|
278
278
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
279
|
-
chartsDotPlotPage.steps.
|
280
|
-
chartsDotPlotPage.steps.
|
279
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
280
|
+
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
281
281
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
282
282
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
283
283
|
/*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')
|