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
@@ -31,31 +31,44 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
31
31
|
multipleSelectionPage.steps.switchToPreviewTab();
|
32
32
|
});
|
33
33
|
|
34
|
-
it('When the user selects \'Grading\' view without attempting the question,
|
34
|
+
it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides unattempted options, correct answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
35
35
|
multipleSelectionPage.steps.switchToGradingView();
|
36
|
-
multipleSelectionPage.steps.
|
37
|
-
multipleSelectionPage.steps.
|
38
|
-
multipleSelectionPage.steps.
|
39
|
-
multipleSelectionPage.steps.
|
40
|
-
multipleSelectionPage.steps.
|
36
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
37
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
38
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
39
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
40
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
41
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
42
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
41
43
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
42
44
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
43
|
-
|
45
|
+
//correct answer section
|
46
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
47
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
48
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
49
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
50
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
51
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
52
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
53
|
+
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
44
54
|
});
|
45
55
|
|
46
|
-
it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, correct answer label and
|
56
|
+
it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses from correct accordion, correct answer label and correct answer section should not be displayed', () => {
|
47
57
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
48
58
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
49
59
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
50
60
|
multipleSelectionPage.steps.verifyPreviewScore(16, 16);
|
51
61
|
multipleSelectionPage.steps.switchToGradingView();
|
52
|
-
multipleSelectionPage.steps.
|
53
|
-
multipleSelectionPage.steps.
|
54
|
-
multipleSelectionPage.steps.
|
55
|
-
multipleSelectionPage.steps.
|
56
|
-
multipleSelectionPage.steps.
|
62
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
63
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
64
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
65
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
66
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
67
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
68
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
57
69
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
58
70
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
71
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
59
72
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
60
73
|
/*cy.log('When the user has attempted the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icons should be displayed besides correct responses, correct answer label and border should not be displayed')
|
61
74
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -69,20 +82,23 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
69
82
|
});
|
70
83
|
|
71
84
|
//Failing due to https://redmine.zeuslearning.com/issues/553993
|
72
|
-
it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with points specified for alternative accordion (less than overall points) and on switching to \'Grading\' view, correct icons should be displayed besides correct responses from the alternative accordion
|
85
|
+
it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with points specified for alternative accordion (less than overall points) and on switching to \'Grading\' view, correct icons should be displayed besides correct responses from the alternative accordion, correct answer label and correct answer section should not be displayed', () => {
|
73
86
|
multipleSelectionPage.steps.resetQuestionPreview();
|
74
87
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
75
88
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
76
89
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
77
90
|
multipleSelectionPage.steps.verifyPreviewScore(15, 16);
|
78
91
|
multipleSelectionPage.steps.switchToGradingView();
|
79
|
-
multipleSelectionPage.steps.
|
80
|
-
multipleSelectionPage.steps.
|
81
|
-
multipleSelectionPage.steps.
|
82
|
-
multipleSelectionPage.steps.
|
83
|
-
multipleSelectionPage.steps.
|
92
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
93
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
94
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
95
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
96
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
97
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
98
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
84
99
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
85
100
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
101
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
86
102
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
87
103
|
/*cy.log('When the user has attempted the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses from the alternative accordion, correct answer label and border should not be displayed')
|
88
104
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -95,20 +111,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
95
111
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
96
112
|
});
|
97
113
|
|
98
|
-
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses
|
114
|
+
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses , no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
99
115
|
multipleSelectionPage.steps.resetQuestionPreview();
|
100
116
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
101
117
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
102
118
|
multipleSelectionPage.steps.verifyPreviewScore(8, 16);
|
103
119
|
multipleSelectionPage.steps.switchToGradingView();
|
104
|
-
multipleSelectionPage.steps.
|
105
|
-
multipleSelectionPage.steps.
|
106
|
-
multipleSelectionPage.steps.
|
107
|
-
multipleSelectionPage.steps.
|
108
|
-
multipleSelectionPage.steps.
|
109
|
-
multipleSelectionPage.steps.
|
120
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
121
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
122
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
123
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
124
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
125
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
126
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
110
127
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
111
128
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
129
|
+
//correct answer section
|
130
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
131
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
132
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
133
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
134
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
135
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
136
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
112
137
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
113
138
|
/*cy.log('When the user has attempted the question with partially correct responses exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses from the correct accordion, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed')
|
114
139
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -121,20 +146,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
121
146
|
});
|
122
147
|
|
123
148
|
//Failing due to https://redmine.zeuslearning.com/issues/554783
|
124
|
-
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses
|
149
|
+
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses , no icons should be displayed besides unattempted options , incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
125
150
|
multipleSelectionPage.steps.resetQuestionPreview();
|
126
151
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
127
152
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
128
153
|
multipleSelectionPage.steps.verifyPreviewScore(4, 16);
|
129
154
|
multipleSelectionPage.steps.switchToGradingView();
|
130
|
-
multipleSelectionPage.steps.
|
131
|
-
multipleSelectionPage.steps.
|
132
|
-
multipleSelectionPage.steps.
|
133
|
-
multipleSelectionPage.steps.
|
134
|
-
multipleSelectionPage.steps.
|
135
|
-
multipleSelectionPage.steps.
|
155
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
156
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
157
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
158
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
159
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
160
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
161
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
136
162
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
137
163
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
164
|
+
//correct answer section
|
165
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
166
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
167
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
168
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
169
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
170
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
171
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
138
172
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
139
173
|
/*cy.log('When the user has attempted the question with partially correct responses exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses from the alternative accordion, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed')
|
140
174
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -146,18 +180,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
146
180
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();*/
|
147
181
|
});
|
148
182
|
|
149
|
-
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case correct accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses
|
183
|
+
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case correct accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides alternative accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
150
184
|
multipleSelectionPage.steps.resetQuestionPreview();
|
151
185
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
152
186
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
153
187
|
multipleSelectionPage.steps.verifyPreviewScore(8, 16);
|
154
188
|
multipleSelectionPage.steps.switchToGradingView();
|
155
|
-
multipleSelectionPage.steps.
|
156
|
-
multipleSelectionPage.steps.
|
157
|
-
multipleSelectionPage.steps.
|
158
|
-
multipleSelectionPage.steps.
|
189
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
190
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
191
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
192
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
193
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
194
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
195
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
159
196
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
160
197
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
198
|
+
//correct answer section
|
199
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
200
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
201
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
202
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
203
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
204
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
205
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
161
206
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
162
207
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct accordion and alternative accordion, then correct icon should be displayed besides correct accordion answer responses, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides alternative accordion answer responses, incorrect answer label and border should not be displayed')
|
163
208
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -169,18 +214,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
169
214
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
170
215
|
});
|
171
216
|
|
172
|
-
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer
|
217
|
+
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer , no icons should be displayed besides unattempted options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
173
218
|
multipleSelectionPage.steps.resetQuestionPreview();
|
174
219
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
175
220
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
176
221
|
multipleSelectionPage.steps.verifyPreviewScore(6, 16);
|
177
222
|
multipleSelectionPage.steps.switchToGradingView();
|
178
|
-
multipleSelectionPage.steps.
|
179
|
-
multipleSelectionPage.steps.
|
180
|
-
multipleSelectionPage.steps.
|
181
|
-
multipleSelectionPage.steps.
|
223
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
224
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(1);
|
225
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
226
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
227
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
228
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
229
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
182
230
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
183
231
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
232
|
+
//correct answer section
|
233
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
234
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
235
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
236
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
237
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
238
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
239
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
184
240
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
185
241
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct accordion and alternative accordion, then correct icon should be displayed besides alternative accordion answer responses, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed')
|
186
242
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -192,18 +248,28 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
192
248
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
193
249
|
});
|
194
250
|
|
195
|
-
it('Race condition : When the user attempts the question with the common responses between correct accordion and alternative accordion, then user should be awarded with points of the accordion with more points i.e. in this case alternative accordion and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses
|
251
|
+
it('Race condition : When the user attempts the question with the common responses between correct accordion and alternative accordion, then user should be awarded with points of the accordion with more points i.e. in this case alternative accordion and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses, no icons should be displayed besides unattempted options, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
196
252
|
multipleSelectionPage.steps.resetQuestionPreview();
|
197
253
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
198
254
|
multipleSelectionPage.steps.verifyPreviewScore(5, 16);
|
199
255
|
multipleSelectionPage.steps.switchToGradingView();
|
200
|
-
multipleSelectionPage.steps.
|
201
|
-
multipleSelectionPage.steps.
|
202
|
-
multipleSelectionPage.steps.
|
203
|
-
multipleSelectionPage.steps.
|
204
|
-
multipleSelectionPage.steps.
|
256
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
257
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
258
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
259
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
260
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
261
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
262
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
205
263
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
206
264
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
265
|
+
//correct answer section
|
266
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
267
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
268
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
269
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
270
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
271
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
272
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
207
273
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
208
274
|
/*cy.log('When the user has attempted the question with the common responses between correct accordion and alternative accordion, and clicks on \'Check answer\' button, then correct icons should only be displayed besides the common responses, correct icons should not be displayed besides unattempted correct options, incorrect answer label and border should not be displayed')
|
209
275
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -214,7 +280,7 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
214
280
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
215
281
|
});
|
216
282
|
|
217
|
-
it('Overachiever case: When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers, then points awarded should be of the alternative accordion and on switching to \'Grading\' view, correct icons should be displayed for the alternative accordion response, incorrect icon should be displayed for the correct accordion responses, correct/incorrect answer label and border should not be displayed', () => {
|
283
|
+
it('Overachiever case: When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers, then points awarded should be of the alternative accordion and on switching to \'Grading\' view, correct icons should be displayed for the alternative accordion response, incorrect icon should be displayed for the correct accordion responses, correct/incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
218
284
|
cy.log('Pre-step: Switching to \'Edit\' tab and updating the correct answers such that that are no common answers across both the accordions and allotting points to alternate accordion such that the difference between the points is substantial')
|
219
285
|
multipleSelectionPage.steps.switchToEditTab();
|
220
286
|
multipleSelectionPage.steps.uncheckOptionsCheckboxInSpecifyCorrectAnswerSection(2);
|
@@ -228,13 +294,23 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
228
294
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(6);
|
229
295
|
multipleSelectionPage.steps.verifyPreviewScore(6.6, 13.2);
|
230
296
|
multipleSelectionPage.steps.switchToGradingView();
|
231
|
-
multipleSelectionPage.steps.
|
232
|
-
multipleSelectionPage.steps.
|
233
|
-
multipleSelectionPage.steps.
|
234
|
-
multipleSelectionPage.steps.
|
235
|
-
multipleSelectionPage.steps.
|
297
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(0);
|
298
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(1);
|
299
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
300
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
301
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
302
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
303
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(6);
|
236
304
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
237
305
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
306
|
+
//correct answer section
|
307
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
308
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
309
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
310
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
311
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
312
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
313
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
238
314
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
239
315
|
/*cy.log('When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion and clicks on \'Check answer\' button, then correct icons should be displayed for the alternative accordion response, incorrect icon should be displayed for the correct accordion responses, incorrect answer label and border should not be displayed')
|
240
316
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -247,19 +323,28 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
247
323
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
248
324
|
});
|
249
325
|
|
250
|
-
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses,
|
326
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, incorrect answer border and an \'Incorrect answer\' label should be displayed below the question preview and correct answer section should be displayed with responses from correct accordion', () => {
|
251
327
|
multipleSelectionPage.steps.resetQuestionPreview();
|
252
328
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
253
329
|
multipleSelectionPage.steps.verifyPreviewScore(0, 13.2);
|
254
330
|
multipleSelectionPage.steps.switchToGradingView();
|
255
|
-
multipleSelectionPage.steps.
|
256
|
-
multipleSelectionPage.steps.
|
257
|
-
multipleSelectionPage.steps.
|
258
|
-
multipleSelectionPage.steps.
|
259
|
-
multipleSelectionPage.steps.
|
260
|
-
multipleSelectionPage.steps.
|
331
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
332
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
333
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
334
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
335
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
336
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
337
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
261
338
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
262
339
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
340
|
+
//correct answer section
|
341
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
342
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
343
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
344
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
345
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
346
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
347
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
263
348
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
264
349
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should only be displayed besides incorrect responses, correct icons should not be displayed besides unattempted correct options, incorrect answer label and border should not be displayed')
|
265
350
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -318,32 +403,44 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
318
403
|
multipleSelectionPage.steps.switchToPreviewTab();
|
319
404
|
});
|
320
405
|
|
321
|
-
it('When the user selects \'Grading\' view without attempting the question,
|
406
|
+
it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides unattempted options, correct answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
|
322
407
|
multipleSelectionPage.steps.switchToGradingView();
|
323
|
-
multipleSelectionPage.steps.
|
324
|
-
multipleSelectionPage.steps.
|
325
|
-
multipleSelectionPage.steps.
|
326
|
-
multipleSelectionPage.steps.
|
327
|
-
multipleSelectionPage.steps.
|
328
|
-
multipleSelectionPage.steps.
|
408
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
409
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
410
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
411
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
412
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
413
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
414
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
329
415
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
330
|
-
|
416
|
+
//correct answer section
|
417
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
418
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
419
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
420
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
421
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
422
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
423
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
424
|
+
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
331
425
|
});
|
332
426
|
|
333
427
|
//Failing due to https://redmine.zeuslearning.com/issues/553993
|
334
|
-
it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion and (less than overall points) on switching to \'Grading\' view, correct icons should be displayed besides correct responses from the correct accordion
|
428
|
+
it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion and (less than overall points) on switching to \'Grading\' view, correct icons should be displayed besides correct responses from the correct accordion, correct answer label and correct answer section should not be displayed', () => {
|
335
429
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
336
430
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
337
431
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
338
432
|
multipleSelectionPage.steps.verifyPreviewScore(15, 16);
|
339
433
|
multipleSelectionPage.steps.switchToGradingView();
|
340
|
-
multipleSelectionPage.steps.
|
341
|
-
multipleSelectionPage.steps.
|
342
|
-
multipleSelectionPage.steps.
|
343
|
-
multipleSelectionPage.steps.
|
344
|
-
multipleSelectionPage.steps.
|
434
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
435
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
436
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
437
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
438
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
439
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
440
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
345
441
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
346
442
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
443
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
347
444
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
348
445
|
/*cy.log('When the user has attempted the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icons should be displayed besides correct responses, correct answer label and border should not be displayed')
|
349
446
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -356,20 +453,23 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
356
453
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
357
454
|
});
|
358
455
|
|
359
|
-
it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with points specified for alternative accordion and on switching to \'Grading\' view, correct icons should
|
456
|
+
it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with points specified for alternative accordion and on switching to \'Grading\' view, correct icons should be displayed besides correct responses from the alternative accordion, correct answer label and correct answer section should not be displayed', () => {
|
360
457
|
multipleSelectionPage.steps.resetQuestionPreview();
|
361
458
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
362
459
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
363
460
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
364
461
|
multipleSelectionPage.steps.verifyPreviewScore(16, 16);
|
365
462
|
multipleSelectionPage.steps.switchToGradingView();
|
366
|
-
multipleSelectionPage.steps.
|
367
|
-
multipleSelectionPage.steps.
|
368
|
-
multipleSelectionPage.steps.
|
369
|
-
multipleSelectionPage.steps.
|
370
|
-
multipleSelectionPage.steps.
|
463
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
464
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
465
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
466
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
467
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
468
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
469
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
371
470
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
372
471
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
472
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
373
473
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
374
474
|
/*cy.log('When the user has attempted the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses from the alternative accordion, correct answer label and border should not be displayed')
|
375
475
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -382,20 +482,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
382
482
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
383
483
|
});
|
384
484
|
|
385
|
-
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses
|
485
|
+
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
|
386
486
|
multipleSelectionPage.steps.resetQuestionPreview();
|
387
487
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
388
488
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
389
489
|
multipleSelectionPage.steps.verifyPreviewScore(5, 16);
|
390
490
|
multipleSelectionPage.steps.switchToGradingView();
|
391
|
-
multipleSelectionPage.steps.
|
392
|
-
multipleSelectionPage.steps.
|
393
|
-
multipleSelectionPage.steps.
|
394
|
-
multipleSelectionPage.steps.
|
395
|
-
multipleSelectionPage.steps.
|
396
|
-
multipleSelectionPage.steps.
|
491
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
492
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
493
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
494
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
495
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
496
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
497
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
397
498
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
398
499
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
500
|
+
//correct answer section
|
501
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
502
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
503
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
504
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
505
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
506
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
507
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
399
508
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
400
509
|
/*cy.log('When the user has attempted the question with partially correct responses exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses from the correct accordion, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed')
|
401
510
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -407,20 +516,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
407
516
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
408
517
|
});
|
409
518
|
|
410
|
-
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses
|
519
|
+
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
|
411
520
|
multipleSelectionPage.steps.resetQuestionPreview();
|
412
521
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
413
522
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
414
523
|
multipleSelectionPage.steps.verifyPreviewScore(8, 16);
|
415
524
|
multipleSelectionPage.steps.switchToGradingView();
|
416
|
-
multipleSelectionPage.steps.
|
417
|
-
multipleSelectionPage.steps.
|
418
|
-
multipleSelectionPage.steps.
|
419
|
-
multipleSelectionPage.steps.
|
420
|
-
multipleSelectionPage.steps.
|
421
|
-
multipleSelectionPage.steps.
|
525
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
526
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
527
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
528
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
529
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
530
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
531
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
422
532
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
423
533
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
534
|
+
//correct answer section
|
535
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
536
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
537
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
538
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
539
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
540
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
541
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
424
542
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
425
543
|
/*cy.log('When the user has attempted the question with partially correct responses exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses from the alternative accordion, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed')
|
426
544
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -432,18 +550,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
432
550
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();*/
|
433
551
|
});
|
434
552
|
|
435
|
-
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case correct accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses
|
553
|
+
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case correct accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides alternate accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
|
436
554
|
multipleSelectionPage.steps.resetQuestionPreview();
|
437
555
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
438
556
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
439
557
|
multipleSelectionPage.steps.verifyPreviewScore(6, 16);
|
440
558
|
multipleSelectionPage.steps.switchToGradingView();
|
441
|
-
multipleSelectionPage.steps.
|
442
|
-
multipleSelectionPage.steps.
|
443
|
-
multipleSelectionPage.steps.
|
444
|
-
multipleSelectionPage.steps.
|
559
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
560
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
561
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
562
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
563
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
564
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
565
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
445
566
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
446
567
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
568
|
+
//correct answer section
|
569
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
570
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
571
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
572
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
573
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
574
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
575
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
447
576
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
448
577
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct accordion and alternative accordion, then correct icon should be displayed besides correct accordion answer responses, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed')
|
449
578
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -455,18 +584,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
455
584
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
456
585
|
});
|
457
586
|
|
458
|
-
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer responses
|
587
|
+
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
|
459
588
|
multipleSelectionPage.steps.resetQuestionPreview();
|
460
589
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
461
590
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
462
591
|
multipleSelectionPage.steps.verifyPreviewScore(8, 16);
|
463
592
|
multipleSelectionPage.steps.switchToGradingView();
|
464
|
-
multipleSelectionPage.steps.
|
465
|
-
multipleSelectionPage.steps.
|
466
|
-
multipleSelectionPage.steps.
|
467
|
-
multipleSelectionPage.steps.
|
593
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(0);
|
594
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
595
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
596
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
597
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
598
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
599
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
468
600
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
469
601
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
602
|
+
//correct answer section
|
603
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
604
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
605
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
606
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
607
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
608
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
609
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
470
610
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
471
611
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct accordion and alternative accordion, then correct icon should be displayed besides alternative accordion answer responses, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed')
|
472
612
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -478,18 +618,28 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
478
618
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
479
619
|
});
|
480
620
|
|
481
|
-
it('Race condition : When the user attempts the question with the common responses between correct accordion and alternative accordion, then user should be awarded with points of the accordion with more points i.e. in this case alternative accordion and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses
|
621
|
+
it('Race condition : When the user attempts the question with the common responses between correct accordion and alternative accordion, then user should be awarded with points of the accordion with more points i.e. in this case alternative accordion and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses, no icons should be displayed besides unattempted options, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
|
482
622
|
multipleSelectionPage.steps.resetQuestionPreview();
|
483
623
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
484
624
|
multipleSelectionPage.steps.verifyPreviewScore(4, 16);
|
485
625
|
multipleSelectionPage.steps.switchToGradingView();
|
486
|
-
multipleSelectionPage.steps.
|
487
|
-
multipleSelectionPage.steps.
|
488
|
-
multipleSelectionPage.steps.
|
489
|
-
multipleSelectionPage.steps.
|
490
|
-
multipleSelectionPage.steps.
|
626
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
627
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
628
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
629
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
630
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
631
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
632
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
491
633
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
492
634
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
635
|
+
//correct answer section
|
636
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
637
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
638
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
639
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
640
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
641
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
642
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
493
643
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
494
644
|
/*cy.log('When the user has attempted the question with the common responses between correct accordion and alternative accordion, and clicks on \'Check answer\' button, then correct icons should only be displayed besides the common responses, correct icons should not be displayed besides unattempted correct options, incorrect answer label and border should not be displayed')
|
495
645
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -500,7 +650,7 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
500
650
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
501
651
|
});
|
502
652
|
|
503
|
-
it('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers, then points awarded should be of the correct accordion and on switching to \'Grading\' view, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer label and border should not be displayed', () => {
|
653
|
+
it('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers, then points awarded should be of the correct accordion and on switching to \'Grading\' view, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
|
504
654
|
cy.log('Pre-step: Switching to \'Edit\' tab and updating the correct answers such that that are no common answers across both the accordions and allotting points to alternate tab such that the difference between the points is substantial')
|
505
655
|
multipleSelectionPage.steps.switchToEditTab();
|
506
656
|
multipleSelectionPage.steps.uncheckOptionsCheckboxInSpecifyCorrectAnswerSection(2);
|
@@ -514,12 +664,23 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
514
664
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
515
665
|
multipleSelectionPage.steps.verifyPreviewScore(6.6, 13.2);
|
516
666
|
multipleSelectionPage.steps.switchToGradingView();
|
517
|
-
multipleSelectionPage.steps.
|
518
|
-
multipleSelectionPage.steps.
|
519
|
-
multipleSelectionPage.steps.
|
520
|
-
multipleSelectionPage.steps.
|
667
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
668
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
669
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
670
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
671
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(4);
|
672
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
673
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
521
674
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
522
675
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
676
|
+
//correct answer section
|
677
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
678
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
679
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
680
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
681
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
|
682
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
683
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
|
523
684
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
524
685
|
/*cy.log('When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers and clicks on \'Check answer\' button, then correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, incorrect answer label and border should not be displayed')
|
525
686
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -531,19 +692,28 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
531
692
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
532
693
|
});
|
533
694
|
|
534
|
-
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses,
|
695
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, incorrect answer border and an \'Incorrect answer\' label should be displayed below the question preview and correct answer section should be displayed with responses from alternative accordion', () => {
|
535
696
|
multipleSelectionPage.steps.resetQuestionPreview();
|
536
697
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
537
698
|
multipleSelectionPage.steps.verifyPreviewScore(0, 13.2);
|
538
699
|
multipleSelectionPage.steps.switchToGradingView();
|
539
|
-
multipleSelectionPage.steps.
|
540
|
-
multipleSelectionPage.steps.
|
541
|
-
multipleSelectionPage.steps.
|
542
|
-
multipleSelectionPage.steps.
|
543
|
-
multipleSelectionPage.steps.
|
544
|
-
multipleSelectionPage.steps.
|
700
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
701
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
702
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
703
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
704
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
705
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
706
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
545
707
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
546
708
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
709
|
+
//correct answer section
|
710
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
711
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
712
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
713
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
714
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
|
715
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
716
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
|
547
717
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
548
718
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should only be displayed besides incorrect responses, correct icons should not be displayed besides unattempted correct options, incorrect answer label and border should not be displayed')
|
549
719
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -580,31 +750,44 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
580
750
|
multipleSelectionPage.steps.switchToPreviewTab();
|
581
751
|
});
|
582
752
|
|
583
|
-
it('When the user selects \'Grading\' view without attempting the question,
|
753
|
+
it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides unattempted options, correct answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
584
754
|
multipleSelectionPage.steps.switchToGradingView();
|
585
|
-
multipleSelectionPage.steps.
|
586
|
-
multipleSelectionPage.steps.
|
587
|
-
multipleSelectionPage.steps.
|
588
|
-
multipleSelectionPage.steps.
|
589
|
-
multipleSelectionPage.steps.
|
755
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
756
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
757
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
758
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
759
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
760
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
761
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
590
762
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
591
763
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
592
|
-
|
764
|
+
//correct answer section
|
765
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
766
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
767
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
768
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
769
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
770
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
771
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
772
|
+
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
593
773
|
});
|
594
774
|
|
595
|
-
it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, correct answer label and
|
775
|
+
it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses from correct accordion, correct answer label and correct answer section should not be displayed', () => {
|
596
776
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
597
777
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
598
778
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
599
779
|
multipleSelectionPage.steps.verifyPreviewScore(15, 15);
|
600
780
|
multipleSelectionPage.steps.switchToGradingView();
|
601
|
-
multipleSelectionPage.steps.
|
602
|
-
multipleSelectionPage.steps.
|
603
|
-
multipleSelectionPage.steps.
|
604
|
-
multipleSelectionPage.steps.
|
605
|
-
multipleSelectionPage.steps.
|
781
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
782
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
783
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
784
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
785
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
786
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
787
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
606
788
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
607
789
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
790
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
608
791
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
609
792
|
/*cy.log('When the user has attempted the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icons should be displayed besides correct responses, correct answer label and border should not be displayed')
|
610
793
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -617,20 +800,23 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
617
800
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
618
801
|
});
|
619
802
|
|
620
|
-
it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with points specified for alternative accordion and on switching to \'Grading\' view, correct icons should
|
803
|
+
it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with points specified for alternative accordion and on switching to \'Grading\' view, correct icons should be displayed besides correct responses from the alternative accordion, correct answer label and correct answer section should not be displayed', () => {
|
621
804
|
multipleSelectionPage.steps.resetQuestionPreview();
|
622
805
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
623
806
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
624
807
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
625
808
|
multipleSelectionPage.steps.verifyPreviewScore(15, 15);
|
626
809
|
multipleSelectionPage.steps.switchToGradingView();
|
627
|
-
multipleSelectionPage.steps.
|
628
|
-
multipleSelectionPage.steps.
|
629
|
-
multipleSelectionPage.steps.
|
630
|
-
multipleSelectionPage.steps.
|
631
|
-
multipleSelectionPage.steps.
|
810
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
811
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
812
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
813
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
814
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
815
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
816
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
632
817
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
633
818
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
819
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
634
820
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
635
821
|
/*cy.log('When the user has attempted the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses from the alternative accordion, correct answer label and border should not be displayed')
|
636
822
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -643,20 +829,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
643
829
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
644
830
|
});
|
645
831
|
|
646
|
-
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and
|
832
|
+
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
647
833
|
multipleSelectionPage.steps.resetQuestionPreview();
|
648
834
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
649
835
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
650
836
|
multipleSelectionPage.steps.verifyPreviewScore(9, 15);
|
651
837
|
multipleSelectionPage.steps.switchToGradingView();
|
652
|
-
multipleSelectionPage.steps.
|
653
|
-
multipleSelectionPage.steps.
|
654
|
-
multipleSelectionPage.steps.
|
655
|
-
multipleSelectionPage.steps.
|
656
|
-
multipleSelectionPage.steps.
|
657
|
-
multipleSelectionPage.steps.
|
838
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
839
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
840
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
841
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
842
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
843
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
844
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
658
845
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
659
846
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
847
|
+
//correct answer section
|
848
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
849
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
850
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
851
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
852
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
853
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
854
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
660
855
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
661
856
|
/*cy.log('When the user has attempted the question with partially correct responses exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses from the correct accordion, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed')
|
662
857
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -668,20 +863,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
668
863
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
669
864
|
});
|
670
865
|
|
671
|
-
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and
|
866
|
+
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
672
867
|
multipleSelectionPage.steps.resetQuestionPreview();
|
673
868
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
674
869
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
675
870
|
multipleSelectionPage.steps.verifyPreviewScore(3, 15);
|
676
871
|
multipleSelectionPage.steps.switchToGradingView();
|
677
|
-
multipleSelectionPage.steps.
|
678
|
-
multipleSelectionPage.steps.
|
679
|
-
multipleSelectionPage.steps.
|
680
|
-
multipleSelectionPage.steps.
|
681
|
-
multipleSelectionPage.steps.
|
682
|
-
multipleSelectionPage.steps.
|
872
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
873
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
874
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
875
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
876
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
877
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
878
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
683
879
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
684
880
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
881
|
+
//correct answer section
|
882
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
883
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
884
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
885
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
886
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
887
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
888
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
685
889
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
686
890
|
/*cy.log('When the user has attempted the question with partially correct responses exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses from the alternative accordion, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed')
|
687
891
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -693,18 +897,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
693
897
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();*/
|
694
898
|
});
|
695
899
|
|
696
|
-
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case correct accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses and
|
900
|
+
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case correct accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides alternative accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
697
901
|
multipleSelectionPage.steps.resetQuestionPreview();
|
698
902
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
699
903
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
700
904
|
multipleSelectionPage.steps.verifyPreviewScore(9, 15);
|
701
905
|
multipleSelectionPage.steps.switchToGradingView();
|
702
|
-
multipleSelectionPage.steps.
|
703
|
-
multipleSelectionPage.steps.
|
704
|
-
multipleSelectionPage.steps.
|
705
|
-
multipleSelectionPage.steps.
|
906
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
907
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
908
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
909
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
910
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
911
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
912
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
706
913
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
707
914
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
915
|
+
//correct answer section
|
916
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
917
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
918
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
919
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
920
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
921
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
922
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
708
923
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
709
924
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct accordion and alternative accordion, then correct icon should be displayed besides correct accordion answer responses, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides alternative accordion answer responses, incorrect answer label and border should not be displayed')
|
710
925
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -716,18 +931,29 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
716
931
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
717
932
|
});
|
718
933
|
|
719
|
-
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer responses and
|
934
|
+
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
720
935
|
multipleSelectionPage.steps.resetQuestionPreview();
|
721
936
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
722
937
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
723
938
|
multipleSelectionPage.steps.verifyPreviewScore(4, 15);
|
724
939
|
multipleSelectionPage.steps.switchToGradingView();
|
725
|
-
multipleSelectionPage.steps.
|
726
|
-
multipleSelectionPage.steps.
|
727
|
-
multipleSelectionPage.steps.
|
728
|
-
multipleSelectionPage.steps.
|
940
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
941
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(1);
|
942
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
943
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
944
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
945
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
946
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
729
947
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
730
948
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
949
|
+
//correct answer section
|
950
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
951
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
952
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
953
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
954
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
955
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
956
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
731
957
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
732
958
|
/*cy.log('When the user has attempted the question with equal number of correct responses from correct accordion and alternative accordion, then correct icon should be displayed besides alternative accordion answer responses, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed')
|
733
959
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -739,18 +965,28 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
739
965
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
740
966
|
});
|
741
967
|
|
742
|
-
it('Race condition : When the user attempts the question with the common responses between correct accordion and alternative accordion, then user should be awarded with points of the accordion with more points i.e. in this case alternative accordion and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses and
|
968
|
+
it('Race condition : When the user attempts the question with the common responses between correct accordion and alternative accordion, then user should be awarded with points of the accordion with more points i.e. in this case alternative accordion and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses and no icons should be displayed besides unattempted options, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
743
969
|
multipleSelectionPage.steps.resetQuestionPreview();
|
744
970
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
745
971
|
multipleSelectionPage.steps.verifyPreviewScore(8, 15);
|
746
972
|
multipleSelectionPage.steps.switchToGradingView();
|
747
|
-
multipleSelectionPage.steps.
|
748
|
-
multipleSelectionPage.steps.
|
749
|
-
multipleSelectionPage.steps.
|
750
|
-
multipleSelectionPage.steps.
|
751
|
-
multipleSelectionPage.steps.
|
973
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
974
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
975
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
976
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
977
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
978
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
979
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
752
980
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
753
981
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
982
|
+
//correct answer section
|
983
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
984
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
985
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
986
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
987
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
988
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
989
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
754
990
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
755
991
|
/*cy.log('When the user has attempted the question with the common responses between correct accordion and alternative accordion, and clicks on \'Check answer\' button, then correct icons should only be displayed besides the common responses, correct icons should not be displayed besides unattempted correct options, incorrect answer label and border should not be displayed')
|
756
992
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -761,7 +997,7 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
761
997
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
762
998
|
});
|
763
999
|
|
764
|
-
it('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers, then points awarded should be of the correct accordion and on switching to \'Grading\' view, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer label and border should not be displayed', () => {
|
1000
|
+
it('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers, then points awarded should be of the correct accordion and on switching to \'Grading\' view, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
765
1001
|
cy.log('Pre-step: Switching to \'Edit\' tab and updating the correct answers such that that are no common answers across both the accordions and allotting points to alternate accordion such that the difference between the points is substantial')
|
766
1002
|
multipleSelectionPage.steps.switchToEditTab();
|
767
1003
|
multipleSelectionPage.steps.uncheckOptionsCheckboxInSpecifyCorrectAnswerSection(2);
|
@@ -775,13 +1011,23 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
775
1011
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(6);
|
776
1012
|
multipleSelectionPage.steps.verifyPreviewScore(12.6, 15);
|
777
1013
|
multipleSelectionPage.steps.switchToGradingView();
|
778
|
-
multipleSelectionPage.steps.
|
779
|
-
multipleSelectionPage.steps.
|
780
|
-
multipleSelectionPage.steps.
|
781
|
-
multipleSelectionPage.steps.
|
782
|
-
multipleSelectionPage.steps.
|
1014
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
1015
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
1016
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
1017
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
1018
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(4);
|
1019
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
1020
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(6);
|
783
1021
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
784
1022
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
1023
|
+
//correct answer section
|
1024
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
1025
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
1026
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
1027
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
1028
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
1029
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
1030
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
785
1031
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
786
1032
|
/*cy.log('When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers and clicks on \'Check answer\' button, then correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, incorrect answer label and border should not be displayed')
|
787
1033
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -794,19 +1040,28 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
794
1040
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
795
1041
|
});
|
796
1042
|
|
797
|
-
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses,
|
1043
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, incorrect answer border and an \'Incorrect answer\' label should be displayed below the question preview and correct answer section should be displayed with responses from correct accordion', () => {
|
798
1044
|
multipleSelectionPage.steps.resetQuestionPreview();
|
799
1045
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
800
1046
|
multipleSelectionPage.steps.verifyPreviewScore(0, 15);
|
801
1047
|
multipleSelectionPage.steps.switchToGradingView();
|
802
|
-
multipleSelectionPage.steps.
|
803
|
-
multipleSelectionPage.steps.
|
804
|
-
multipleSelectionPage.steps.
|
805
|
-
multipleSelectionPage.steps.
|
806
|
-
multipleSelectionPage.steps.
|
807
|
-
multipleSelectionPage.steps.
|
1048
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
1049
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
1050
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
1051
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
1052
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
1053
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
1054
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(6);
|
808
1055
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
809
1056
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
1057
|
+
//correct answer section
|
1058
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
1059
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
1060
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
1061
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
1062
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
1063
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
1064
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
810
1065
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
811
1066
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should only be displayed besides incorrect responses, correct icons should not be displayed besides unattempted correct options, incorrect answer label and border should not be displayed')
|
812
1067
|
multipleSelectionPage.steps.checkAnswer();
|