itemengine-cypress-automation 1.0.205-8thJuneFixes-5ad148f.0 → 1.0.205
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioPlayerNew/audioOverviewAndTranscript.js +2 -2
- package/cypress/e2e/ILC/ChartsBar/Scoring/addAndDeleteBarAllOrNothingScoring.js +302 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/manuallyAndNonScored.js +282 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +385 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +386 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +386 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +337 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -1
- package/cypress/e2e/ILC/ChartsBar/chartFunctionalitySpecifyCorrectAnswerSection.js +258 -0
- package/cypress/e2e/ILC/ChartsBar/checkAnswerFunctionalityForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/gridSettings.js +439 -0
- package/cypress/e2e/ILC/ChartsBar/headerSection.js +105 -0
- package/cypress/e2e/ILC/ChartsBar/labelOptionsSection.js +450 -0
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +91 -0
- package/cypress/e2e/ILC/ChartsBar/toolSettings.js +73 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/manuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +3 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneMinimumAndPenaltyScoring.js +6 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +169 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDraggableOptionProperties.js +223 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDraggableOptionsPanel.js +119 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDropzoneBorderStyleProperties.js +113 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDropzoneProperties.js +251 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +277 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +0 -2
- package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +1 -5
- package/cypress/e2e/ILC/FeedbackScaleNew/editTabBasicSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +14 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/styleAndLayoutCutomization.js +378 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/specifyCorrectAnswerSection.js +3 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/styleAndLayoutCustomization.js +479 -0
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +3 -1
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +7 -7
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +1 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -3
- package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +7 -7
- package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +3 -4
- package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +10 -9
- package/cypress/e2e/ILC/Matching/toolSettings.js +1 -0
- package/cypress/e2e/ILC/MultipleSelection/additionalSettings.js +1 -0
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +36 -16
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +326 -176
- package/cypress/e2e/ILC/MultipleSelection/blockCreateItem.js +2 -2
- package/cypress/e2e/ILC/MultipleSelection/manuallyAndNonScoredScoring.js +37 -15
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +38 -17
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +441 -186
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsBasic.js +33 -14
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +330 -164
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/manuallyAndNonScored.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/manuallyAndNonScoredScoring.js +4 -4
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +20 -7
- package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +83 -66
- package/cypress/e2e/ILC/SingleSelection/blockCreateItem.js +2 -2
- package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +25 -17
- package/cypress/e2e/ILC/SingleSelection/trueOrFalseCreateItem.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/additionalSettings.js +89 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +2 -2
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +2 -2
- package/cypress/e2e/ILC/VideoResponseNew/studentViewSettingsCompactRecorderStyle.js +0 -2
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingPenaltyScoring.js +1 -1
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +15 -15
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +21 -21
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +1 -1
- package/cypress/e2e/ILC/chartsDotsPlot/selectChartTypeSection.js +8 -4
- package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +0 -1
- package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +2 -2
- package/cypress/pages/audioResponsePage.js +1 -1
- package/cypress/pages/chartsBarPage.js +785 -5
- package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +1 -0
- package/cypress/pages/components/backgroundImageUploadComponent.js +1 -1
- package/cypress/pages/components/barAndLineChartComponent.js +180 -9
- package/cypress/pages/components/chartsCommonComponent.js +1 -0
- package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +77 -0
- package/cypress/pages/components/essayResponseCommonComponents.js +2 -3
- package/cypress/pages/components/figCommonStyleAndLayoutComponent.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +24 -7
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +8 -4
- package/cypress/pages/components/gridQuestionCommonComponent.js +1 -1
- package/cypress/pages/components/imageCanvasComponent.js +112 -2
- package/cypress/pages/components/index.js +1 -0
- package/cypress/pages/components/layoutSectionComponent.js +4 -3
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +960 -3
- package/cypress/pages/drawingResponsePage.js +2 -2
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +4 -3
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +18 -3
- package/cypress/pages/fillInTheGapsOverImageTextPage.js +65 -3
- package/cypress/pages/listOrderingPage.js +3 -3
- package/cypress/pages/multipleSelectionPage.js +77 -25
- package/cypress/pages/rulerPage.js +5 -0
- package/cypress/pages/singleSelectionPage.js +40 -1
- package/cypress/pages/videoResponsePage.js +1 -1
- package/package.json +2 -2
@@ -160,7 +160,7 @@ describe('Create item page - Single selection grid: Question instructions, Speci
|
|
160
160
|
});
|
161
161
|
|
162
162
|
it('When user has navigated towards the left using the left pagination button, then the right pagination button should be enabled again', () => {
|
163
|
-
for (let index =
|
163
|
+
for (let index = 9; index < 15; index++) {
|
164
164
|
singleSelectionGridPage.steps.clickOnLeftPaginationButtonEditCellPropertyTable();
|
165
165
|
}
|
166
166
|
utilities.verifyElementDisabled(singleSelectionGridPage.editCellPropertyTableLeftPaginationButton());
|
@@ -173,12 +173,12 @@ describe('Create item page - Single selection grid: Question instructions, Speci
|
|
173
173
|
});
|
174
174
|
|
175
175
|
it('CSS of \'Enable row heading checkbox\'', { tags: 'css' }, () => {
|
176
|
-
utilities.verifyCSS(
|
176
|
+
utilities.verifyCSS(singleSelectionGridPage.enableRowHeadingLabel(), {
|
177
177
|
'color': css.color.labels,
|
178
178
|
'font-size': css.fontSize.normal,
|
179
179
|
'font-weight': css.fontWeight.regular
|
180
180
|
});
|
181
|
-
utilities.verifyCSS(
|
181
|
+
utilities.verifyCSS(singleSelectionGridPage.enableRowHeadingCheckbox().parent().find('g').eq(1), {
|
182
182
|
'fill': css.color.activeButtons
|
183
183
|
});
|
184
184
|
});
|
@@ -1062,8 +1062,8 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
|
|
1062
1062
|
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
1063
1063
|
equationEditorFlyout.steps.clickOnOkButton();
|
1064
1064
|
textEntryMathPage.steps.switchToGradingView();
|
1065
|
-
textEntryMathPage.steps.
|
1066
|
-
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('
|
1065
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
1066
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
1067
1067
|
});
|
1068
1068
|
|
1069
1069
|
//Syntax: Equation
|
@@ -197,8 +197,8 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
197
197
|
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['four'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }]);
|
198
198
|
equationEditorFlyout.steps.clickOnOkButton();
|
199
199
|
textEntryMathPage.steps.switchToGradingView();
|
200
|
-
textEntryMathPage.steps.
|
201
|
-
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('
|
200
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
201
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
202
202
|
});
|
203
203
|
|
204
204
|
it('When the user enters a equation with iota in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
|
@@ -319,9 +319,9 @@ describe('Create item page - Text entry math: Question instructions, Options sec
|
|
319
319
|
it('When user selects a text container and changes text container pointer style in edit tab, then changes in text container pointer should be reflected in preview tab', () => {
|
320
320
|
textEntryMathWithImagePage.steps.switchToEditTab();
|
321
321
|
textEntryMathWithImagePage.steps.selectResponseArea(0);
|
322
|
-
textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[
|
322
|
+
textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[7]);
|
323
323
|
textEntryMathWithImagePage.steps.switchToPreviewTab();
|
324
|
-
textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[
|
324
|
+
textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[7], 0);
|
325
325
|
textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[0], 1);
|
326
326
|
});
|
327
327
|
|
@@ -198,14 +198,12 @@ describe('Create item page - Audio response: Student view settings for Compact r
|
|
198
198
|
videoResponsePage.steps.startRecordingCompactPreview();
|
199
199
|
videoResponsePage.steps.waitForRecordingToStartCompactPreview();
|
200
200
|
videoResponsePage.steps.stopRecordingCompactPreview();
|
201
|
-
videoResponsePage.steps.verifyResponseIsRecordedHelpText();
|
202
201
|
videoResponsePage.steps.retakeRecordingCompactPreview();
|
203
202
|
videoResponsePage.steps.confirmRetake();
|
204
203
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
|
205
204
|
utilities.verifyInnerText(videoResponsePage.recordingStatusText(), 'Recording...');
|
206
205
|
videoResponsePage.steps.waitForRecordingToStartCompactPreview();
|
207
206
|
videoResponsePage.steps.stopRecordingCompactPreview();
|
208
|
-
videoResponsePage.steps.verifyResponseIsRecordedHelpText();
|
209
207
|
utilities.verifyElementNotDisabled(videoResponsePage.retakeRecordingButton());
|
210
208
|
});
|
211
209
|
|
@@ -388,7 +388,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
|
|
388
388
|
|
389
389
|
it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
|
390
390
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
391
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 3, min: 1, interval: 0.25 });
|
391
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 3, min: 1, interval: 0.25, defaultDots: 0 });
|
392
392
|
chartsDotPlotPage.steps.verifyPreviewScore(2, 10);
|
393
393
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
394
394
|
});
|
@@ -406,7 +406,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
|
|
406
406
|
|
407
407
|
it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
|
408
408
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
409
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 3, min: 1, interval: 0.25, defaultDots });
|
409
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 3, min: 1, interval: 0.25, defaultDots: 0 });
|
410
410
|
chartsDotPlotPage.steps.verifyPreviewScore(2, 10);
|
411
411
|
});
|
412
412
|
});
|
@@ -27,7 +27,7 @@ describe('Create item page - Charts - Dot plot: All or nothing penalty scoring',
|
|
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
|
-
chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
30
|
+
//chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
31
31
|
});
|
32
32
|
|
33
33
|
//Penalty points for the entire question
|
@@ -27,7 +27,7 @@ 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();
|
@@ -48,7 +48,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
48
48
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
49
49
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
50
50
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
51
|
-
|
51
|
+
/* 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 ')
|
52
52
|
chartsDotPlotPage.steps.checkAnswer();
|
53
53
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
54
54
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -56,7 +56,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
56
56
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
57
57
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
58
58
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
59
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist()
|
59
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
60
60
|
});
|
61
61
|
|
62
62
|
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', () => {
|
@@ -77,7 +77,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
77
77
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
78
78
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
79
79
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
80
|
-
|
80
|
+
/* 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');
|
81
81
|
chartsDotPlotPage.steps.checkAnswer();
|
82
82
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
83
83
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -85,7 +85,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
85
85
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
86
86
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
87
87
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
88
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist()
|
88
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
89
89
|
});
|
90
90
|
|
91
91
|
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', () => {
|
@@ -105,7 +105,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
105
105
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
106
106
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
107
107
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
108
|
-
|
108
|
+
/* 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')
|
109
109
|
chartsDotPlotPage.steps.checkAnswer();
|
110
110
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
111
111
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -113,7 +113,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
113
113
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
114
114
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
115
115
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
116
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist()
|
116
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
117
117
|
});
|
118
118
|
|
119
119
|
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', () => {
|
@@ -133,7 +133,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
133
133
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
134
134
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
135
135
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
136
|
-
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')
|
136
|
+
/*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')
|
137
137
|
chartsDotPlotPage.steps.checkAnswer();
|
138
138
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
139
139
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
@@ -141,7 +141,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
141
141
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
142
142
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
143
143
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
144
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist()
|
144
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
145
145
|
});
|
146
146
|
|
147
147
|
it('When the user attempts the question by setting dots incorrectly in the dot column that is empty and correct 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 chart plot and correct/incorrect status message should not be displayed', () => {
|
@@ -161,7 +161,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
161
161
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
162
162
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
163
163
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
164
|
-
|
164
|
+
/* 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');
|
165
165
|
chartsDotPlotPage.steps.checkAnswer();
|
166
166
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
167
167
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -169,7 +169,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
169
169
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
|
170
170
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
171
171
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
172
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist()
|
172
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
173
173
|
});
|
174
174
|
|
175
175
|
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', () => {
|
@@ -190,7 +190,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
190
190
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
191
191
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
192
192
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
193
|
-
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');
|
193
|
+
/*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');
|
194
194
|
chartsDotPlotPage.steps.checkAnswer();
|
195
195
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
196
196
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -198,7 +198,7 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
198
198
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
199
199
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
200
200
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
201
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist()
|
201
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
202
202
|
});
|
203
203
|
|
204
204
|
it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view then correct icon should be displayed in correctly attempted dot column and the correct answer section should not be displayed and correct/incorrect status message should not be displayed', () => {
|
@@ -214,14 +214,14 @@ describe('Create item page - Charts - Dot plot: Partial equal weights', () => {
|
|
214
214
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
215
215
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();
|
216
216
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
217
|
-
|
217
|
+
/* 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')
|
218
218
|
chartsDotPlotPage.steps.checkAnswer();
|
219
219
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
220
220
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
221
221
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
|
222
222
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
223
223
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
224
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist()
|
224
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
225
225
|
});
|
226
226
|
});
|
227
227
|
});
|
@@ -34,7 +34,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
34
34
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 2, min: 1, interval: 1, defaultDots: 0 });
|
35
35
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
36
36
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
37
|
-
|
37
|
+
// chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
38
38
|
chartsDotPlotPage.steps.switchToPreviewTab();
|
39
39
|
});
|
40
40
|
|
@@ -56,7 +56,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
56
56
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
57
57
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
58
58
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
59
|
-
cy.log('When the user clicks on \'Check answer\' button 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 correct/incorrect status message and correct answer section should not be displayed')
|
59
|
+
/*cy.log('When the user clicks on \'Check answer\' button 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 correct/incorrect status message and correct answer section should not be displayed')
|
60
60
|
chartsDotPlotPage.steps.checkAnswer();
|
61
61
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
62
62
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -65,7 +65,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
65
65
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
66
66
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
67
67
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
68
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist()
|
68
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExist();*/
|
69
69
|
});
|
70
70
|
|
71
71
|
it('When the user attempts the question with responses from the correct accordion, then the user should be awarded points of the correct accordion (less than full points) and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly, status message and correct answer section should not be displayed', () => {
|
@@ -83,7 +83,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
83
83
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
84
84
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
85
85
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
86
|
-
|
86
|
+
/* cy.log('When the user has attempted the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly, status message and correct answer section should not be displayed')
|
87
87
|
chartsDotPlotPage.steps.checkAnswer();
|
88
88
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
89
89
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -92,7 +92,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
92
92
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
93
93
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
94
94
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
95
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists()
|
95
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
96
96
|
});
|
97
97
|
|
98
98
|
it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with full points and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly, status message and correct answer section should not be displayed', () => {
|
@@ -111,7 +111,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
111
111
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
112
112
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
113
113
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
114
|
-
cy.log('When the user has attempted the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly, status message and correct answer section should not be displayed')
|
114
|
+
/*cy.log('When the user has attempted the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly, status message and correct answer section should not be displayed')
|
115
115
|
chartsDotPlotPage.steps.checkAnswer();
|
116
116
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
117
117
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -120,7 +120,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
120
120
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
121
121
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
122
122
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
123
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists()
|
123
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
124
124
|
});
|
125
125
|
|
126
126
|
it('When the user attempts the question with partially correct options exclusively from the correct accordion, then the user should be awarded with points of the correctly attempted responses according to the correct accordion and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly, incorrect icon should be displayed in dot column set to incorrectly, status message should not be displayed and correct answer section with all correct answers from the alternate accordion should be displayed', () => {
|
@@ -145,7 +145,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
145
145
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
146
146
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
147
147
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
|
-
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')
|
148
|
+
/*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')
|
149
149
|
chartsDotPlotPage.steps.checkAnswer();
|
150
150
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
151
151
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -154,7 +154,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
154
154
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
155
155
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
156
156
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
157
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists()
|
157
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
158
158
|
});
|
159
159
|
|
160
160
|
it('When the user attempts the question with partially correct options exclusively from the alternative accordion, then the user should be awarded with points of the correctly attempted responses from the alternative accordion and on switching to \'Grading\' view, correct icons should be displayed in the correctly attempted dot column, incorrect icons should be displayed in the unattempted dot column, status message should not be displayed and correct answer section with all correct answers from the alternate accordion should be displayed', () => {
|
@@ -179,7 +179,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
179
179
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
180
180
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
181
181
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
182
|
-
|
182
|
+
/* 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')
|
183
183
|
chartsDotPlotPage.steps.checkAnswer();
|
184
184
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
185
185
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -188,7 +188,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
188
188
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
189
189
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
190
190
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
191
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists()
|
191
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
192
192
|
});
|
193
193
|
|
194
194
|
it('When the user attempts the question partially correct with all the responses correct as per the correct accordion but one response incomplete, then the user should be awarded with points of the correctly attempted responses and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly, incorrect icon should be displayed in dot column set to incorrectly, status message should not be displayed and correct answer section with all correct answers from the alternate accordion should be displayed', () => {
|
@@ -211,7 +211,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
211
211
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
212
212
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
213
213
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
214
|
-
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')
|
214
|
+
/*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')
|
215
215
|
chartsDotPlotPage.steps.checkAnswer();
|
216
216
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
217
217
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -220,7 +220,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
220
220
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
|
221
221
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
222
222
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
223
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists()
|
223
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
224
224
|
});
|
225
225
|
|
226
226
|
it('When the user has attempted the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with with points of the correctly attempted responses and on switching to \'Grading\' view, 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 responses as score achieved from the alternative responses is more than correct responses, status message should not be displayed and correct answer section with all correct answers from the alternate accordion along with dropzone numeration should be displayed', () => {
|
@@ -244,7 +244,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
244
244
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
245
245
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
246
246
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
247
|
-
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')
|
247
|
+
/*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')
|
248
248
|
chartsDotPlotPage.steps.checkAnswer();
|
249
249
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
250
250
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -253,7 +253,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
253
253
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
254
254
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
255
255
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
256
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists()
|
256
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
257
257
|
});
|
258
258
|
|
259
259
|
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 with points of the correctly attempted responses from the tab that has more points alloted for the response and on switching to \'Grading\' view, correct icon should be displayed in common dot column attempted correctly, incorrect icon should be displayed in dot column attempted incorrectly, status message should not be displayed and correct answer section with all correct answers from the alternate accordion along with dropzone numeration should be displayed', () => {
|
@@ -277,7 +277,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
277
277
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
278
278
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
279
279
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
280
|
-
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')
|
280
|
+
/*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')
|
281
281
|
chartsDotPlotPage.steps.checkAnswer();
|
282
282
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
283
283
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
@@ -286,7 +286,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
286
286
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
|
287
287
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
288
288
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
289
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists()
|
289
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
290
290
|
});
|
291
291
|
|
292
292
|
it('When the user attempts the question incorrectly, then the user should be awarded with 0 points and on switching to \'Grading\' view, incorrect icon should be displayed in dot column attempted incorrectly, status message should not be displayed and correct answer section with all alternative answers along with dropzone numeration should be displayed', () => {
|
@@ -312,7 +312,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
312
312
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
|
313
313
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
314
314
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
315
|
-
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')
|
315
|
+
/*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')
|
316
316
|
chartsDotPlotPage.steps.checkAnswer();
|
317
317
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
318
318
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
|
@@ -321,7 +321,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
321
321
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
|
322
322
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
323
323
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
324
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists()
|
324
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
325
325
|
});
|
326
326
|
|
327
327
|
it('Overachiever case: When the user attempts the question with more number of correct responses from the correct accordion than the alternate accordion but the score of the individual response selected from the alternate accordion overpowers the combined score of the correct accordion answers then on switching to the \'Grading view\', then points awarded should be of the alternate accordion, correct icons should be displayed for the alternate accordion response, incorrect icons should be displayed for the correct accordion responses, correct/incorrect answer label should not be displayed and correct answer section should be displayed with alternate accordion answers', () => {
|
@@ -365,7 +365,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
365
365
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
366
366
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
367
367
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
368
|
-
cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, correct icons icons should be displayed beside the correct responses from the alternate accordion, incorrect icons icons should be displayed beside the incorrectly attempted responses, correct/incorrect answer label, correct answer section should not be displayed')
|
368
|
+
/*cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, correct icons icons should be displayed beside the correct responses from the alternate accordion, incorrect icons icons should be displayed beside the incorrectly attempted responses, correct/incorrect answer label, correct answer section should not be displayed')
|
369
369
|
chartsDotPlotPage.steps.checkAnswer();
|
370
370
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
371
371
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
@@ -374,7 +374,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
|
|
374
374
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
|
375
375
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
376
376
|
chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
377
|
-
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists()
|
377
|
+
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
378
378
|
});
|
379
379
|
});
|
380
380
|
});
|