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
@@ -30,31 +30,41 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
30
30
|
multipleSelectionPage.steps.switchToPreviewTab();
|
31
31
|
});
|
32
32
|
|
33
|
-
it('When the user selects \'Grading\' view without attempting the question,
|
33
|
+
it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides unattempted responses, correct answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion and correct answer from correct accordion should be displayed in correct answer section', () => {
|
34
34
|
multipleSelectionPage.steps.switchToGradingView();
|
35
|
-
multipleSelectionPage.steps.
|
36
|
-
multipleSelectionPage.steps.
|
37
|
-
multipleSelectionPage.steps.
|
38
|
-
multipleSelectionPage.steps.
|
39
|
-
multipleSelectionPage.steps.
|
35
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
36
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
37
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
38
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
39
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
40
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
40
41
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
41
42
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
42
|
-
|
43
|
+
//correct answer section
|
44
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
45
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
46
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
47
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
48
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
49
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
50
|
+
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
43
51
|
});
|
44
52
|
|
45
|
-
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
|
53
|
+
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 be displayed besides correct responses from correct accordion, label and correct answer section should not be displayed', () => {
|
46
54
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
47
55
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
48
56
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
49
57
|
multipleSelectionPage.steps.verifyPreviewScore(20, 20);
|
50
58
|
multipleSelectionPage.steps.switchToGradingView();
|
51
|
-
multipleSelectionPage.steps.
|
52
|
-
multipleSelectionPage.steps.
|
53
|
-
multipleSelectionPage.steps.
|
54
|
-
multipleSelectionPage.steps.
|
55
|
-
multipleSelectionPage.steps.
|
59
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
60
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
61
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
62
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
63
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
64
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
56
65
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
57
66
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
67
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
58
68
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
59
69
|
/*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')
|
60
70
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -68,20 +78,22 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
68
78
|
});
|
69
79
|
|
70
80
|
//Failing due to: https://redmine.zeuslearning.com/issues/553991
|
71
|
-
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 and
|
81
|
+
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, label and correct answer section should not be displayed', () => {
|
72
82
|
multipleSelectionPage.steps.resetQuestionPreview();
|
73
83
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
74
84
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
75
85
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
76
86
|
multipleSelectionPage.steps.verifyPreviewScore(10, 20);
|
77
87
|
multipleSelectionPage.steps.switchToGradingView();
|
78
|
-
multipleSelectionPage.steps.
|
79
|
-
multipleSelectionPage.steps.
|
80
|
-
multipleSelectionPage.steps.
|
81
|
-
multipleSelectionPage.steps.
|
82
|
-
multipleSelectionPage.steps.
|
88
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
89
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
90
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
91
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
92
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
93
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
83
94
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
84
95
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
96
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
85
97
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
86
98
|
/*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')
|
87
99
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -94,20 +106,27 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
94
106
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
95
107
|
});
|
96
108
|
|
97
|
-
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
|
109
|
+
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 responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
98
110
|
multipleSelectionPage.steps.resetQuestionPreview();
|
99
111
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
100
112
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
101
113
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
102
114
|
multipleSelectionPage.steps.switchToGradingView();
|
103
|
-
multipleSelectionPage.steps.
|
104
|
-
multipleSelectionPage.steps.
|
105
|
-
multipleSelectionPage.steps.
|
106
|
-
multipleSelectionPage.steps.
|
107
|
-
multipleSelectionPage.steps.
|
108
|
-
multipleSelectionPage.steps.
|
115
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
116
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
117
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
118
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
119
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
120
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
109
121
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
110
122
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
123
|
+
//correct answer section
|
124
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
125
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
126
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
127
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
128
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
129
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
111
130
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
112
131
|
/*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')
|
113
132
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -120,20 +139,27 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
120
139
|
});
|
121
140
|
|
122
141
|
//Failing due to: https://redmine.zeuslearning.com/issues/554783
|
123
|
-
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
|
142
|
+
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 responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
124
143
|
multipleSelectionPage.steps.resetQuestionPreview();
|
125
144
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
126
145
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
127
146
|
multipleSelectionPage.steps.verifyPreviewScore(3.33, 20);
|
128
147
|
multipleSelectionPage.steps.switchToGradingView();
|
129
|
-
multipleSelectionPage.steps.
|
130
|
-
multipleSelectionPage.steps.
|
131
|
-
multipleSelectionPage.steps.
|
132
|
-
multipleSelectionPage.steps.
|
133
|
-
multipleSelectionPage.steps.
|
134
|
-
multipleSelectionPage.steps.
|
148
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
149
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
150
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
151
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
152
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
153
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
135
154
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
136
155
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
156
|
+
//correct answer section
|
157
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
158
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
159
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
160
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
161
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
162
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
137
163
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
138
164
|
/*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')
|
139
165
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -145,18 +171,27 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
145
171
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();*/
|
146
172
|
});
|
147
173
|
|
148
|
-
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 accordion with more points i.e. in this case correct accordion and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses
|
174
|
+
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 accordion with more points i.e. in this case correct accordion and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides alternative accordion answer responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
149
175
|
multipleSelectionPage.steps.resetQuestionPreview();
|
150
176
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
151
177
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
152
178
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
153
179
|
multipleSelectionPage.steps.switchToGradingView();
|
154
|
-
multipleSelectionPage.steps.
|
155
|
-
multipleSelectionPage.steps.
|
156
|
-
multipleSelectionPage.steps.
|
157
|
-
multipleSelectionPage.steps.
|
180
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
181
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
182
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
183
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
184
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
185
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
158
186
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
159
187
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
188
|
+
//correct answer section
|
189
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
190
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
191
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
192
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
193
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
194
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
160
195
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
161
196
|
/*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')
|
162
197
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -168,18 +203,26 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
168
203
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
169
204
|
});
|
170
205
|
|
171
|
-
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 correct accordion and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses
|
206
|
+
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 correct accordion and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses, no icons should be displayed besides unattempted responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
172
207
|
multipleSelectionPage.steps.resetQuestionPreview();
|
173
208
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
174
209
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
175
210
|
multipleSelectionPage.steps.switchToGradingView();
|
176
|
-
multipleSelectionPage.steps.
|
177
|
-
multipleSelectionPage.steps.
|
178
|
-
multipleSelectionPage.steps.
|
179
|
-
multipleSelectionPage.steps.
|
180
|
-
multipleSelectionPage.steps.
|
211
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
212
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
213
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
214
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
215
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
216
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
181
217
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
182
218
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
219
|
+
//correct answer section
|
220
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
221
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
222
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
223
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
224
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
225
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
183
226
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
184
227
|
/*cy.log('When the user has attempted the question with the common response between correct accordion and alternative 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 answer label and border should not be displayed')
|
185
228
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -190,7 +233,7 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
190
233
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
191
234
|
});
|
192
235
|
|
193
|
-
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', () => {
|
236
|
+
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 from correct accordion should be displayed in correct answer section', () => {
|
194
237
|
cy.log('Pre-step: Switching to Edit tab and allotting points to correct accordion such that the difference between the points is substantial')
|
195
238
|
multipleSelectionPage.steps.switchToEditTab();
|
196
239
|
multipleSelectionPage.steps.allotPoints(6);
|
@@ -202,13 +245,21 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
202
245
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
203
246
|
multipleSelectionPage.steps.verifyPreviewScore(8, 24);
|
204
247
|
multipleSelectionPage.steps.switchToGradingView();
|
205
|
-
multipleSelectionPage.steps.
|
206
|
-
multipleSelectionPage.steps.
|
207
|
-
multipleSelectionPage.steps.
|
208
|
-
multipleSelectionPage.steps.
|
209
|
-
multipleSelectionPage.steps.
|
248
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
249
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
250
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
251
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
252
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(4);
|
253
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
210
254
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
211
255
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
256
|
+
//correct answer section
|
257
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
258
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
259
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
260
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
261
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
262
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
212
263
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
213
264
|
/*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')
|
214
265
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -221,19 +272,26 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
221
272
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
222
273
|
});
|
223
274
|
|
224
|
-
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
|
275
|
+
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 from correct accordion should be displayed in correct answer section', () => {
|
225
276
|
multipleSelectionPage.steps.resetQuestionPreview();
|
226
277
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
227
278
|
multipleSelectionPage.steps.verifyPreviewScore(0, 24);
|
228
279
|
multipleSelectionPage.steps.switchToGradingView();
|
229
|
-
multipleSelectionPage.steps.
|
230
|
-
multipleSelectionPage.steps.
|
231
|
-
multipleSelectionPage.steps.
|
232
|
-
multipleSelectionPage.steps.
|
233
|
-
multipleSelectionPage.steps.
|
234
|
-
multipleSelectionPage.steps.
|
280
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
281
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
282
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
283
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
284
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
285
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
235
286
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
236
287
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
288
|
+
//correct answer section
|
289
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
290
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
291
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
292
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
293
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
294
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
237
295
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
238
296
|
/*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')
|
239
297
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -291,32 +349,42 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
291
349
|
multipleSelectionPage.steps.switchToPreviewTab();
|
292
350
|
});
|
293
351
|
|
294
|
-
it('When the user selects \'Grading\' view without attempting the question,
|
352
|
+
it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides unattempted responses, correct answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
295
353
|
multipleSelectionPage.steps.switchToGradingView();
|
296
|
-
multipleSelectionPage.steps.
|
297
|
-
multipleSelectionPage.steps.
|
298
|
-
multipleSelectionPage.steps.
|
299
|
-
multipleSelectionPage.steps.
|
300
|
-
multipleSelectionPage.steps.
|
354
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
355
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
356
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
357
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
358
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
359
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
301
360
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
302
361
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
303
|
-
|
362
|
+
//correct answer section
|
363
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
364
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
365
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
366
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
367
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
368
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
369
|
+
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
304
370
|
});
|
305
371
|
|
306
372
|
//Failing due to: https://redmine.zeuslearning.com/issues/553991
|
307
|
-
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 (less than overall points) and on switching to \'Grading\' view, correct icons should be displayed besides correct responses from the correct accordion
|
373
|
+
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 (less than overall points) and 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', () => {
|
308
374
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
309
375
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
310
376
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
311
377
|
multipleSelectionPage.steps.verifyPreviewScore(10, 20);
|
312
378
|
multipleSelectionPage.steps.switchToGradingView();
|
313
|
-
multipleSelectionPage.steps.
|
314
|
-
multipleSelectionPage.steps.
|
315
|
-
multipleSelectionPage.steps.
|
316
|
-
multipleSelectionPage.steps.
|
317
|
-
multipleSelectionPage.steps.
|
379
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
380
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
381
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
382
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
383
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
384
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
318
385
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
319
386
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
387
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
320
388
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
321
389
|
/*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')
|
322
390
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -329,20 +397,22 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
329
397
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
330
398
|
});
|
331
399
|
|
332
|
-
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
|
400
|
+
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, correct answer label and correct answer section should not be displayed', () => {
|
333
401
|
multipleSelectionPage.steps.resetQuestionPreview();
|
334
402
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
335
403
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
336
404
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
337
405
|
multipleSelectionPage.steps.verifyPreviewScore(20, 20);
|
338
406
|
multipleSelectionPage.steps.switchToGradingView();
|
339
|
-
multipleSelectionPage.steps.
|
340
|
-
multipleSelectionPage.steps.
|
341
|
-
multipleSelectionPage.steps.
|
342
|
-
multipleSelectionPage.steps.
|
343
|
-
multipleSelectionPage.steps.
|
407
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
408
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
409
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
410
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
411
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
412
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
344
413
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
345
414
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
415
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
346
416
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
347
417
|
/*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')
|
348
418
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -356,20 +426,27 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
356
426
|
});
|
357
427
|
|
358
428
|
//Failing due to: https://redmine.zeuslearning.com/issues/554783
|
359
|
-
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
|
429
|
+
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 responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
360
430
|
multipleSelectionPage.steps.resetQuestionPreview();
|
361
431
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
362
432
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
363
433
|
multipleSelectionPage.steps.verifyPreviewScore(3.33, 20);
|
364
434
|
multipleSelectionPage.steps.switchToGradingView();
|
365
|
-
multipleSelectionPage.steps.
|
366
|
-
multipleSelectionPage.steps.
|
367
|
-
multipleSelectionPage.steps.
|
368
|
-
multipleSelectionPage.steps.
|
369
|
-
multipleSelectionPage.steps.
|
370
|
-
multipleSelectionPage.steps.
|
435
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
436
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
437
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
438
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
439
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
440
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
371
441
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
372
442
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
443
|
+
//correct answer section
|
444
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
445
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
446
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
447
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
448
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
449
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
373
450
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
374
451
|
/*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')
|
375
452
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -381,20 +458,27 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
381
458
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
382
459
|
});
|
383
460
|
|
384
|
-
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
|
461
|
+
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 responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
385
462
|
multipleSelectionPage.steps.resetQuestionPreview();
|
386
463
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
387
464
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
388
465
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
389
466
|
multipleSelectionPage.steps.switchToGradingView();
|
390
|
-
multipleSelectionPage.steps.
|
391
|
-
multipleSelectionPage.steps.
|
392
|
-
multipleSelectionPage.steps.
|
393
|
-
multipleSelectionPage.steps.
|
394
|
-
multipleSelectionPage.steps.
|
395
|
-
multipleSelectionPage.steps.
|
467
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
468
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
469
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
470
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
471
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
472
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
396
473
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
397
474
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
475
|
+
//correct answer section
|
476
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
477
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
478
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
479
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
480
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
481
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
398
482
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
399
483
|
/*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')
|
400
484
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -406,18 +490,27 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
406
490
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();*/
|
407
491
|
});
|
408
492
|
|
409
|
-
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 accordion with more points i.e. in this case alternative accordion and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer responses
|
493
|
+
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 accordion with more points i.e. in this case alternative accordion and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
410
494
|
multipleSelectionPage.steps.resetQuestionPreview();
|
411
495
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
412
496
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
413
497
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
414
498
|
multipleSelectionPage.steps.switchToGradingView();
|
415
|
-
multipleSelectionPage.steps.
|
416
|
-
multipleSelectionPage.steps.
|
417
|
-
multipleSelectionPage.steps.
|
418
|
-
multipleSelectionPage.steps.
|
499
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(0);
|
500
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
501
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
502
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
503
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
504
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
419
505
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
420
506
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
507
|
+
//correct answer section
|
508
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
509
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
510
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
511
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
512
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
513
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
421
514
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
422
515
|
/*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')
|
423
516
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -429,18 +522,26 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
429
522
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
430
523
|
});
|
431
524
|
|
432
|
-
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
|
525
|
+
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 responses, incorrect answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
433
526
|
multipleSelectionPage.steps.resetQuestionPreview();
|
434
527
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
435
528
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
436
529
|
multipleSelectionPage.steps.switchToGradingView();
|
437
|
-
multipleSelectionPage.steps.
|
438
|
-
multipleSelectionPage.steps.
|
439
|
-
multipleSelectionPage.steps.
|
440
|
-
multipleSelectionPage.steps.
|
441
|
-
multipleSelectionPage.steps.
|
530
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
531
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
532
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
533
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
534
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
535
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
442
536
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
443
537
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
538
|
+
//correct answer section
|
539
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
540
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
541
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
542
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
543
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
544
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
444
545
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
445
546
|
/*cy.log('When the user has attempted the question with the common response between correct accordion and alternative accordion, and clicks on \'Check answer\' button, then correct icons should only be displayed besides common response, correct icons should not be displayed besides unattempted correct options, incorrect answer label and border should not be displayed')
|
446
547
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -461,13 +562,21 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
461
562
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
462
563
|
multipleSelectionPage.steps.verifyPreviewScore(17, 51);
|
463
564
|
multipleSelectionPage.steps.switchToGradingView();
|
464
|
-
multipleSelectionPage.steps.
|
465
|
-
multipleSelectionPage.steps.
|
466
|
-
multipleSelectionPage.steps.
|
467
|
-
multipleSelectionPage.steps.
|
468
|
-
multipleSelectionPage.steps.
|
565
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(0);
|
566
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(1);
|
567
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
568
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
569
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
570
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
469
571
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
470
572
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
573
|
+
//correct answer section
|
574
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
575
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
576
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
577
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
578
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
579
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
471
580
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
472
581
|
/*cy.log('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 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')
|
473
582
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -480,19 +589,26 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
480
589
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
481
590
|
});
|
482
591
|
|
483
|
-
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,
|
592
|
+
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 from alternative accordion should be displayed in correct answer section', () => {
|
484
593
|
multipleSelectionPage.steps.resetQuestionPreview();
|
485
594
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
486
595
|
multipleSelectionPage.steps.verifyPreviewScore(0, 51);
|
487
596
|
multipleSelectionPage.steps.switchToGradingView();
|
488
|
-
multipleSelectionPage.steps.
|
489
|
-
multipleSelectionPage.steps.
|
490
|
-
multipleSelectionPage.steps.
|
491
|
-
multipleSelectionPage.steps.
|
492
|
-
multipleSelectionPage.steps.
|
493
|
-
multipleSelectionPage.steps.
|
597
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
598
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
599
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
600
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
601
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
602
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
494
603
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
495
604
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
605
|
+
//correct answer section
|
606
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
607
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
608
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
609
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
610
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
611
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
496
612
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
497
613
|
/*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')
|
498
614
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -528,31 +644,41 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
528
644
|
multipleSelectionPage.steps.switchToPreviewTab();
|
529
645
|
});
|
530
646
|
|
531
|
-
it('When the user selects \'Grading\' view without attempting the question,
|
647
|
+
it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides unattempted responses, correct answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
532
648
|
multipleSelectionPage.steps.switchToGradingView();
|
533
|
-
multipleSelectionPage.steps.
|
534
|
-
multipleSelectionPage.steps.
|
535
|
-
multipleSelectionPage.steps.
|
536
|
-
multipleSelectionPage.steps.
|
537
|
-
multipleSelectionPage.steps.
|
649
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
650
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
651
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
652
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
653
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
654
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
538
655
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
539
656
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
540
|
-
|
657
|
+
//correct answer section
|
658
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
659
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
660
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
661
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
662
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
663
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
664
|
+
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
541
665
|
});
|
542
666
|
|
543
|
-
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
|
667
|
+
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 be displayed besides correct responses from correct accordion, correct answer label and correct answer section should not be displayed', () => {
|
544
668
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
545
669
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
546
670
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
547
671
|
multipleSelectionPage.steps.verifyPreviewScore(20, 20);
|
548
672
|
multipleSelectionPage.steps.switchToGradingView();
|
549
|
-
multipleSelectionPage.steps.
|
550
|
-
multipleSelectionPage.steps.
|
551
|
-
multipleSelectionPage.steps.
|
552
|
-
multipleSelectionPage.steps.
|
553
|
-
multipleSelectionPage.steps.
|
673
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
674
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
675
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
676
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
677
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
678
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
554
679
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
555
680
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
681
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
556
682
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
557
683
|
/*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')
|
558
684
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -565,20 +691,22 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
565
691
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
566
692
|
});
|
567
693
|
|
568
|
-
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 (same as correct answer points) and on switching to \'Grading\' view, correct icons should
|
694
|
+
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 (same as correct answer 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', () => {
|
569
695
|
multipleSelectionPage.steps.resetQuestionPreview();
|
570
696
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
571
697
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
572
698
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
573
699
|
multipleSelectionPage.steps.verifyPreviewScore(20, 20);
|
574
700
|
multipleSelectionPage.steps.switchToGradingView();
|
575
|
-
multipleSelectionPage.steps.
|
576
|
-
multipleSelectionPage.steps.
|
577
|
-
multipleSelectionPage.steps.
|
578
|
-
multipleSelectionPage.steps.
|
579
|
-
multipleSelectionPage.steps.
|
701
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
702
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
703
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
704
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
705
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
706
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
580
707
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
581
708
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
709
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
582
710
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
583
711
|
/*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')
|
584
712
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -591,20 +719,27 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
591
719
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
592
720
|
});
|
593
721
|
|
594
|
-
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
|
722
|
+
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 be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
595
723
|
multipleSelectionPage.steps.resetQuestionPreview();
|
596
724
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
597
725
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
598
726
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
599
727
|
multipleSelectionPage.steps.switchToGradingView();
|
600
|
-
multipleSelectionPage.steps.
|
601
|
-
multipleSelectionPage.steps.
|
602
|
-
multipleSelectionPage.steps.
|
603
|
-
multipleSelectionPage.steps.
|
604
|
-
multipleSelectionPage.steps.
|
605
|
-
multipleSelectionPage.steps.
|
728
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
729
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
730
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
731
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
732
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
733
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
606
734
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
607
735
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
736
|
+
//correct answer section
|
737
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
738
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
739
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
740
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
741
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
742
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
608
743
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
609
744
|
/*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')
|
610
745
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -616,20 +751,27 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
616
751
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
617
752
|
});
|
618
753
|
|
619
|
-
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
|
754
|
+
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 be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
620
755
|
multipleSelectionPage.steps.resetQuestionPreview();
|
621
756
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
622
757
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
623
758
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
624
759
|
multipleSelectionPage.steps.switchToGradingView();
|
625
|
-
multipleSelectionPage.steps.
|
626
|
-
multipleSelectionPage.steps.
|
627
|
-
multipleSelectionPage.steps.
|
628
|
-
multipleSelectionPage.steps.
|
629
|
-
multipleSelectionPage.steps.
|
630
|
-
multipleSelectionPage.steps.
|
760
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
761
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
762
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
763
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
764
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
765
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
631
766
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
632
767
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
768
|
+
//correct answer section
|
769
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
770
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
771
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
772
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
773
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
774
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
633
775
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
634
776
|
/*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')
|
635
777
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -641,18 +783,27 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
641
783
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();*/
|
642
784
|
});
|
643
785
|
|
644
|
-
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 as per the correct response and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses
|
786
|
+
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 as per the correct response and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides alternative accordion answer responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
645
787
|
multipleSelectionPage.steps.resetQuestionPreview();
|
646
788
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
647
789
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
648
790
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
649
791
|
multipleSelectionPage.steps.switchToGradingView();
|
650
|
-
multipleSelectionPage.steps.
|
651
|
-
multipleSelectionPage.steps.
|
652
|
-
multipleSelectionPage.steps.
|
653
|
-
multipleSelectionPage.steps.
|
792
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
793
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
794
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
795
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
796
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
797
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
654
798
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
655
799
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
800
|
+
//correct answer section
|
801
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
802
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
803
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
804
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
805
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
806
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
656
807
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
657
808
|
/*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')
|
658
809
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -664,18 +815,26 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
664
815
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
665
816
|
});
|
666
817
|
|
667
|
-
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 as per the correct response and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses
|
818
|
+
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 as per the correct response and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses, no icons should be displayed besides unattempted responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
668
819
|
multipleSelectionPage.steps.resetQuestionPreview();
|
669
820
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
670
821
|
multipleSelectionPage.steps.verifyPreviewScore(6.67, 20);
|
671
822
|
multipleSelectionPage.steps.switchToGradingView();
|
672
|
-
multipleSelectionPage.steps.
|
673
|
-
multipleSelectionPage.steps.
|
674
|
-
multipleSelectionPage.steps.
|
675
|
-
multipleSelectionPage.steps.
|
676
|
-
multipleSelectionPage.steps.
|
823
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
824
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
825
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
826
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
827
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
828
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
677
829
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
678
830
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
831
|
+
//correct answer section
|
832
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
833
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
834
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
835
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
836
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
837
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
679
838
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
680
839
|
/*cy.log('When the user has attempted the question with the common response between correct accordion and alternative 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 answer label and border should not be displayed')
|
681
840
|
multipleSelectionPage.steps.checkAnswer();
|
@@ -686,19 +845,26 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
686
845
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
687
846
|
});
|
688
847
|
|
689
|
-
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, correct icons should only be displayed besides unattempted correct options from the correct accordion, incorrect answer
|
848
|
+
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, correct icons should only be displayed besides unattempted correct options from the correct accordion, incorrect answer label should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
690
849
|
multipleSelectionPage.steps.resetQuestionPreview();
|
691
850
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
692
851
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
693
852
|
multipleSelectionPage.steps.switchToGradingView();
|
694
|
-
multipleSelectionPage.steps.
|
695
|
-
multipleSelectionPage.steps.
|
696
|
-
multipleSelectionPage.steps.
|
697
|
-
multipleSelectionPage.steps.
|
698
|
-
multipleSelectionPage.steps.
|
699
|
-
multipleSelectionPage.steps.
|
853
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
854
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
855
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
856
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
857
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
858
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
700
859
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
701
860
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
861
|
+
//correct answer section
|
862
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
863
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
864
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
865
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
866
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
867
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
702
868
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
703
869
|
/*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')
|
704
870
|
multipleSelectionPage.steps.checkAnswer();
|