itemengine-cypress-automation 1.0.205-8thJuneFixes-5ad148f.0 → 1.0.206-12thJuneFixesAndRepoUpdate-5fe2304.0
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 +1 -1
@@ -32,32 +32,42 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
32
32
|
multipleSelectionPage.steps.switchToPreviewTab();
|
33
33
|
});
|
34
34
|
|
35
|
-
it('When the user selects \'Grading\' view without attempting the question,
|
35
|
+
it('When the user selects \'Grading\' view without attempting the question, no icons should only be displayed besides unattempted options, correct answer label and border should not be displayed and correct responses from correct accordion should be displayed in correct answer section', () => {
|
36
36
|
multipleSelectionPage.steps.switchToGradingView();
|
37
|
-
multipleSelectionPage.steps.
|
38
|
-
multipleSelectionPage.steps.
|
39
|
-
multipleSelectionPage.steps.
|
40
|
-
multipleSelectionPage.steps.
|
41
|
-
multipleSelectionPage.steps.
|
37
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
38
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
39
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
40
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
41
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
42
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
42
43
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
43
44
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
44
|
-
|
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.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
45
53
|
});
|
46
54
|
|
47
|
-
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
|
55
|
+
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 and status message \'Your answer is correct\' should be displayed below the question preview and correct answer section should not be displayed', () => {
|
48
56
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
49
57
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
50
58
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
51
59
|
multipleSelectionPage.steps.verifyPreviewScore(20, 20);
|
52
60
|
multipleSelectionPage.steps.switchToGradingView();
|
53
|
-
multipleSelectionPage.steps.
|
54
|
-
multipleSelectionPage.steps.
|
55
|
-
multipleSelectionPage.steps.
|
56
|
-
multipleSelectionPage.steps.
|
57
|
-
multipleSelectionPage.steps.
|
61
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
62
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
63
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
64
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
65
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
66
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
58
67
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
59
|
-
multipleSelectionPage.steps.
|
60
|
-
|
68
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
69
|
+
//multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
70
|
+
/*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, and status message \'Your answer is correct\' should be displayed below the question preview')
|
61
71
|
multipleSelectionPage.steps.checkAnswer();
|
62
72
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
63
73
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
@@ -89,21 +99,23 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
89
99
|
});
|
90
100
|
|
91
101
|
//Failing due to: https://redmine.zeuslearning.com/issues/553572
|
92
|
-
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
|
102
|
+
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 , status message \'Your answer is correct\' should be displayed below the question preview and correct answer section should not be displayed', () => {
|
93
103
|
multipleSelectionPage.steps.resetQuestionPreview();
|
94
104
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
95
105
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
96
106
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
97
107
|
multipleSelectionPage.steps.verifyPreviewScore(10, 20);
|
98
108
|
multipleSelectionPage.steps.switchToGradingView();
|
99
|
-
multipleSelectionPage.steps.
|
100
|
-
multipleSelectionPage.steps.
|
101
|
-
multipleSelectionPage.steps.
|
102
|
-
multipleSelectionPage.steps.
|
103
|
-
multipleSelectionPage.steps.
|
109
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
110
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
111
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
112
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
113
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
114
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
104
115
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
116
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
105
117
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
106
|
-
/*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,
|
118
|
+
/*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, and status message \'Your answer is correct\' should be displayed below the question preview')
|
107
119
|
multipleSelectionPage.steps.checkAnswer();
|
108
120
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
109
121
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
@@ -113,21 +125,28 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
113
125
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');*/
|
114
126
|
});
|
115
127
|
|
116
|
-
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and
|
128
|
+
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct responses from correct accordion should be displayed in correct answer section', () => {
|
117
129
|
multipleSelectionPage.steps.resetQuestionPreview();
|
118
130
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
119
131
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
120
132
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
121
133
|
multipleSelectionPage.steps.switchToGradingView();
|
122
|
-
multipleSelectionPage.steps.
|
123
|
-
multipleSelectionPage.steps.
|
124
|
-
multipleSelectionPage.steps.
|
125
|
-
multipleSelectionPage.steps.
|
126
|
-
multipleSelectionPage.steps.
|
127
|
-
multipleSelectionPage.steps.
|
134
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
135
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
136
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
137
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
138
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
139
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
128
140
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
141
|
+
//correct answer section
|
142
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
143
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
144
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
145
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
146
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
147
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
129
148
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
130
|
-
/*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,
|
149
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
131
150
|
multipleSelectionPage.steps.checkAnswer();
|
132
151
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
133
152
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
@@ -136,21 +155,28 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
136
155
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
137
156
|
});
|
138
157
|
|
139
|
-
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and
|
158
|
+
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses and status message \'Your answer is incorrect\' should be displayed below the question preview and correct responses from correct accordion should be displayed in correct answer section', () => {
|
140
159
|
multipleSelectionPage.steps.resetQuestionPreview();
|
141
160
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
142
161
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
143
162
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
144
163
|
multipleSelectionPage.steps.switchToGradingView();
|
145
|
-
multipleSelectionPage.steps.
|
146
|
-
multipleSelectionPage.steps.
|
147
|
-
multipleSelectionPage.steps.
|
148
|
-
multipleSelectionPage.steps.
|
149
|
-
multipleSelectionPage.steps.
|
150
|
-
multipleSelectionPage.steps.
|
164
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
165
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
166
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
167
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
168
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
169
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
151
170
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
171
|
+
//correct answer section
|
172
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
173
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
174
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
175
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
176
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
177
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
152
178
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
153
|
-
/*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,
|
179
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
154
180
|
multipleSelectionPage.steps.checkAnswer();
|
155
181
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
156
182
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
@@ -159,19 +185,28 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
159
185
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
160
186
|
});
|
161
187
|
|
162
|
-
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion
|
188
|
+
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides alternative accordion answer responses, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct responses from correct accordion should be displayed in correct answer section', () => {
|
163
189
|
multipleSelectionPage.steps.resetQuestionPreview();
|
164
190
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
165
191
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
166
192
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
167
193
|
multipleSelectionPage.steps.switchToGradingView();
|
168
|
-
multipleSelectionPage.steps.
|
169
|
-
multipleSelectionPage.steps.
|
170
|
-
multipleSelectionPage.steps.
|
171
|
-
multipleSelectionPage.steps.
|
194
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
195
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
196
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
197
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
198
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
199
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
172
200
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
201
|
+
//correct answer section
|
202
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
203
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
204
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
205
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
206
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
207
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
173
208
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
174
|
-
/*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,
|
209
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
175
210
|
multipleSelectionPage.steps.checkAnswer();
|
176
211
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
177
212
|
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
@@ -181,19 +216,27 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
181
216
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
182
217
|
});
|
183
218
|
|
184
|
-
it('Race condition : When the user attempts the question with the common responses between correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses and
|
219
|
+
it('Race condition : When the user attempts the question with the common responses between correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides the common responses and no icon should be displayed besides unattempted options, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct responses from correct accordion should be displayed in correct answer section', () => {
|
185
220
|
multipleSelectionPage.steps.resetQuestionPreview();
|
186
221
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
187
222
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
188
223
|
multipleSelectionPage.steps.switchToGradingView();
|
189
|
-
multipleSelectionPage.steps.
|
190
|
-
multipleSelectionPage.steps.
|
191
|
-
multipleSelectionPage.steps.
|
192
|
-
multipleSelectionPage.steps.
|
193
|
-
multipleSelectionPage.steps.
|
224
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
225
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
226
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
227
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
228
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
229
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
194
230
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
231
|
+
//correct answer section
|
232
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
233
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
234
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
235
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
236
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
237
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
195
238
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
196
|
-
/*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,
|
239
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
197
240
|
multipleSelectionPage.steps.checkAnswer();
|
198
241
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
199
242
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
@@ -201,20 +244,27 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
201
244
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
202
245
|
});
|
203
246
|
|
204
|
-
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,
|
247
|
+
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, no icons should be displayed besides unattempted correct options, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct responses from correct accordion should be displayed in correct answer section', () => {
|
205
248
|
multipleSelectionPage.steps.resetQuestionPreview();
|
206
249
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
207
250
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
208
251
|
multipleSelectionPage.steps.switchToGradingView();
|
209
|
-
multipleSelectionPage.steps.
|
210
|
-
multipleSelectionPage.steps.
|
211
|
-
multipleSelectionPage.steps.
|
212
|
-
multipleSelectionPage.steps.
|
213
|
-
multipleSelectionPage.steps.
|
214
|
-
multipleSelectionPage.steps.
|
252
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
253
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
254
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
255
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
256
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
257
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
215
258
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
216
|
-
|
217
|
-
|
259
|
+
//correct answer section
|
260
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
261
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
262
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
263
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
264
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
265
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
266
|
+
// multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
267
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
218
268
|
multipleSelectionPage.steps.checkAnswer();
|
219
269
|
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
220
270
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
@@ -285,33 +335,43 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
285
335
|
multipleSelectionPage.steps.switchToPreviewTab();
|
286
336
|
});
|
287
337
|
|
288
|
-
it('When the user selects \'Grading\' view without attempting the question,
|
338
|
+
it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides unattempted options, correct answer from alternative accordion should be displayed in correct answer section', () => {
|
289
339
|
multipleSelectionPage.steps.switchToGradingView();
|
290
|
-
multipleSelectionPage.steps.
|
291
|
-
multipleSelectionPage.steps.
|
292
|
-
multipleSelectionPage.steps.
|
293
|
-
multipleSelectionPage.steps.
|
294
|
-
multipleSelectionPage.steps.
|
340
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
341
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
342
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
343
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
344
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
345
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
295
346
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
296
347
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
297
|
-
|
348
|
+
//correct answer section
|
349
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
350
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
351
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
352
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
353
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
354
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
355
|
+
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
298
356
|
});
|
299
357
|
|
300
358
|
//Failing due to: https://redmine.zeuslearning.com/issues/553586
|
301
|
-
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 and
|
359
|
+
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 and no icons should be displayed besides unattempted options and status message \'Your answer is correct\' should be displayed below the question preview and correct answer section should not be displayed', () => {
|
302
360
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
303
361
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
304
362
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
305
363
|
multipleSelectionPage.steps.verifyPreviewScore(10, 20);
|
306
364
|
multipleSelectionPage.steps.switchToGradingView();
|
307
|
-
multipleSelectionPage.steps.
|
308
|
-
multipleSelectionPage.steps.
|
309
|
-
multipleSelectionPage.steps.
|
310
|
-
multipleSelectionPage.steps.
|
311
|
-
multipleSelectionPage.steps.
|
365
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
366
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
367
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
368
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
369
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
370
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
312
371
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
372
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
313
373
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
314
|
-
/*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,
|
374
|
+
/*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, and status message \'Your answer is correct\' should be displayed below the question preview')
|
315
375
|
multipleSelectionPage.steps.checkAnswer();
|
316
376
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
317
377
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
@@ -321,21 +381,23 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
321
381
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');*/
|
322
382
|
});
|
323
383
|
|
324
|
-
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
|
384
|
+
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 alternative accordion and no icons should be displayed besides unattempted options, and status message \'Your answer is correct\' should be displayed below the question preview and correct answer section should not be displayed', () => {
|
325
385
|
multipleSelectionPage.steps.resetQuestionPreview();
|
326
386
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
327
387
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
328
388
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
329
389
|
multipleSelectionPage.steps.verifyPreviewScore(20, 20);
|
330
390
|
multipleSelectionPage.steps.switchToGradingView();
|
331
|
-
multipleSelectionPage.steps.
|
332
|
-
multipleSelectionPage.steps.
|
333
|
-
multipleSelectionPage.steps.
|
334
|
-
multipleSelectionPage.steps.
|
335
|
-
multipleSelectionPage.steps.
|
391
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
392
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
393
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
394
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
395
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
396
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
336
397
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
398
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
337
399
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
338
|
-
/*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,
|
400
|
+
/*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, and status message \'Your answer is correct\' should be displayed below the question preview')
|
339
401
|
multipleSelectionPage.steps.checkAnswer();
|
340
402
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
341
403
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
@@ -346,21 +408,28 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
346
408
|
});
|
347
409
|
|
348
410
|
//Failing due to: https://redmine.zeuslearning.com/issues/553593
|
349
|
-
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses
|
411
|
+
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded with 0 points 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, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
350
412
|
multipleSelectionPage.steps.resetQuestionPreview();
|
351
413
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
352
414
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
353
415
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
354
416
|
multipleSelectionPage.steps.switchToGradingView();
|
355
|
-
multipleSelectionPage.steps.
|
356
|
-
multipleSelectionPage.steps.
|
357
|
-
multipleSelectionPage.steps.
|
358
|
-
multipleSelectionPage.steps.
|
359
|
-
multipleSelectionPage.steps.
|
360
|
-
multipleSelectionPage.steps.
|
417
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
418
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
419
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
420
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
421
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
422
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
361
423
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
424
|
+
//correct answer section
|
425
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
426
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
427
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
428
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
429
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
430
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
362
431
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
363
|
-
/*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,
|
432
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
364
433
|
multipleSelectionPage.steps.checkAnswer();
|
365
434
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
366
435
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
@@ -369,21 +438,28 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
369
438
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
370
439
|
});
|
371
440
|
|
372
|
-
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should
|
441
|
+
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should =be displayed besides correct responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
373
442
|
multipleSelectionPage.steps.resetQuestionPreview();
|
374
443
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
375
444
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
376
445
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
377
446
|
multipleSelectionPage.steps.switchToGradingView();
|
378
|
-
multipleSelectionPage.steps.
|
379
|
-
multipleSelectionPage.steps.
|
380
|
-
multipleSelectionPage.steps.
|
381
|
-
multipleSelectionPage.steps.
|
382
|
-
multipleSelectionPage.steps.
|
383
|
-
multipleSelectionPage.steps.
|
447
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
448
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
449
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
450
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
451
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
452
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
384
453
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
454
|
+
//correct answer section
|
455
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
456
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
457
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
458
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
459
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
460
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
385
461
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
386
|
-
/*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,
|
462
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
387
463
|
multipleSelectionPage.steps.checkAnswer();
|
388
464
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
389
465
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
@@ -392,19 +468,28 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
392
468
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
393
469
|
});
|
394
470
|
|
395
|
-
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion
|
471
|
+
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides correct accordion responses, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
396
472
|
multipleSelectionPage.steps.resetQuestionPreview();
|
397
473
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
398
474
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
399
475
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
400
476
|
multipleSelectionPage.steps.switchToGradingView();
|
401
|
-
multipleSelectionPage.steps.
|
402
|
-
multipleSelectionPage.steps.
|
403
|
-
multipleSelectionPage.steps.
|
404
|
-
multipleSelectionPage.steps.
|
477
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(0);
|
478
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
479
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
480
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
481
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
482
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
405
483
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
484
|
+
//correct answer section
|
485
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
486
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
487
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
488
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
489
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
490
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
406
491
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
407
|
-
/*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,
|
492
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
408
493
|
multipleSelectionPage.steps.checkAnswer();
|
409
494
|
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(0);
|
410
495
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
@@ -413,19 +498,27 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
413
498
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
414
499
|
});
|
415
500
|
|
416
|
-
it('Race condition : When the user attempts the question with the common response between correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the common response
|
501
|
+
it('Race condition : When the user attempts the question with the common response between correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the common response , no icons should be displayed besides unattempted options, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
417
502
|
multipleSelectionPage.steps.resetQuestionPreview();
|
418
503
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
419
504
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
420
505
|
multipleSelectionPage.steps.switchToGradingView();
|
421
|
-
multipleSelectionPage.steps.
|
422
|
-
multipleSelectionPage.steps.
|
423
|
-
multipleSelectionPage.steps.
|
424
|
-
multipleSelectionPage.steps.
|
425
|
-
multipleSelectionPage.steps.
|
506
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
507
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
508
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
509
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
510
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
511
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
426
512
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
513
|
+
//correct answer section
|
514
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
515
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
516
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
517
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
518
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
519
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
427
520
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
428
|
-
/*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 the common response, correct icons should not be displayed besides unattempted correct options,
|
521
|
+
/*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 the common response, correct icons should not be displayed besides unattempted correct options, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
429
522
|
multipleSelectionPage.steps.checkAnswer();
|
430
523
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
431
524
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
@@ -433,20 +526,27 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
433
526
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
434
527
|
});
|
435
528
|
|
436
|
-
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,
|
529
|
+
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, no icons should be displayed besides unattempted options 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', () => {
|
437
530
|
multipleSelectionPage.steps.resetQuestionPreview();
|
438
531
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
439
532
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
440
533
|
multipleSelectionPage.steps.switchToGradingView();
|
441
|
-
multipleSelectionPage.steps.
|
442
|
-
multipleSelectionPage.steps.
|
443
|
-
multipleSelectionPage.steps.
|
444
|
-
multipleSelectionPage.steps.
|
445
|
-
multipleSelectionPage.steps.
|
446
|
-
multipleSelectionPage.steps.
|
534
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
535
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
536
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
537
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
538
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
539
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
447
540
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
541
|
+
//correct answer section
|
542
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
543
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
544
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
545
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
546
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
547
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
448
548
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
449
|
-
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides incorrect responses, correct icons should not be displayed besides unattempted correct options,
|
549
|
+
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides incorrect responses, correct icons should not be displayed besides unattempted correct options, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
450
550
|
multipleSelectionPage.steps.checkAnswer();
|
451
551
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
452
552
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
@@ -478,32 +578,42 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
478
578
|
multipleSelectionPage.steps.switchToPreviewTab();
|
479
579
|
});
|
480
580
|
|
481
|
-
it('When the user selects \'Grading\' view without attempting the question,
|
581
|
+
it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides unattempted options and correct answer from correct accordion should be displayed in correct answer section', () => {
|
482
582
|
multipleSelectionPage.steps.switchToGradingView();
|
483
|
-
multipleSelectionPage.steps.
|
484
|
-
multipleSelectionPage.steps.
|
485
|
-
multipleSelectionPage.steps.
|
486
|
-
multipleSelectionPage.steps.
|
487
|
-
multipleSelectionPage.steps.
|
583
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
584
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
585
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
586
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
587
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
588
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
488
589
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
489
590
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
490
|
-
|
591
|
+
//correct answer section
|
592
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
593
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
594
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
595
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
596
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
597
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
598
|
+
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
491
599
|
});
|
492
600
|
|
493
|
-
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
|
601
|
+
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, and status message \'Your answer is correct\' should be displayed below the question preview and correct answer section should not be displayed', () => {
|
494
602
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
495
603
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
496
604
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
497
605
|
multipleSelectionPage.steps.verifyPreviewScore(20, 20);
|
498
606
|
multipleSelectionPage.steps.switchToGradingView();
|
499
|
-
multipleSelectionPage.steps.
|
500
|
-
multipleSelectionPage.steps.
|
501
|
-
multipleSelectionPage.steps.
|
502
|
-
multipleSelectionPage.steps.
|
503
|
-
multipleSelectionPage.steps.
|
607
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
608
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
609
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
610
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
611
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
612
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
504
613
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
614
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
505
615
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
506
|
-
/*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,
|
616
|
+
/*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, and status message \'Your answer is correct\' should be displayed below the question preview')
|
507
617
|
multipleSelectionPage.steps.checkAnswer();
|
508
618
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
509
619
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
@@ -513,21 +623,23 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
513
623
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');*/
|
514
624
|
});
|
515
625
|
|
516
|
-
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 only be displayed besides correct responses from the alternative accordion,
|
626
|
+
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 only be displayed besides correct responses from the alternative accordion, and status message \'Your answer is correct\' should be displayed below the question preview and correct answer section should not be displayed', () => {
|
517
627
|
multipleSelectionPage.steps.resetQuestionPreview();
|
518
628
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
519
629
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
520
630
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
521
631
|
multipleSelectionPage.steps.verifyPreviewScore(20, 20);
|
522
632
|
multipleSelectionPage.steps.switchToGradingView();
|
523
|
-
multipleSelectionPage.steps.
|
524
|
-
multipleSelectionPage.steps.
|
525
|
-
multipleSelectionPage.steps.
|
526
|
-
multipleSelectionPage.steps.
|
527
|
-
multipleSelectionPage.steps.
|
633
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
634
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
635
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
636
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(3);
|
637
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
638
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
528
639
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
640
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
529
641
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
530
|
-
/*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,
|
642
|
+
/*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, and status message \'Your answer is correct\' should be displayed below the question preview')
|
531
643
|
multipleSelectionPage.steps.checkAnswer();
|
532
644
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
533
645
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
@@ -537,21 +649,28 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
537
649
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');*/
|
538
650
|
});
|
539
651
|
|
540
|
-
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and
|
652
|
+
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded with 0 points 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, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from correct accordion should be displayed in correct answer section', () => {
|
541
653
|
multipleSelectionPage.steps.resetQuestionPreview();
|
542
654
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
543
655
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
544
656
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
545
657
|
multipleSelectionPage.steps.switchToGradingView();
|
546
|
-
multipleSelectionPage.steps.
|
547
|
-
multipleSelectionPage.steps.
|
548
|
-
multipleSelectionPage.steps.
|
549
|
-
multipleSelectionPage.steps.
|
550
|
-
multipleSelectionPage.steps.
|
551
|
-
multipleSelectionPage.steps.
|
658
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
659
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
660
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
661
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
662
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
663
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
552
664
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
665
|
+
//correct answer section
|
666
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
667
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
668
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
669
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
670
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
671
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
553
672
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
554
|
-
/*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,
|
673
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
555
674
|
multipleSelectionPage.steps.checkAnswer();
|
556
675
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
557
676
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
@@ -560,21 +679,28 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
560
679
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
561
680
|
});
|
562
681
|
|
563
|
-
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and
|
682
|
+
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points 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, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from correct accordion should be displayed in correct answer section', () => {
|
564
683
|
multipleSelectionPage.steps.resetQuestionPreview();
|
565
684
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
566
685
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
567
686
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
568
687
|
multipleSelectionPage.steps.switchToGradingView();
|
569
|
-
multipleSelectionPage.steps.
|
570
|
-
multipleSelectionPage.steps.
|
571
|
-
multipleSelectionPage.steps.
|
572
|
-
multipleSelectionPage.steps.
|
573
|
-
multipleSelectionPage.steps.
|
574
|
-
multipleSelectionPage.steps.
|
688
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
689
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
690
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
691
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
692
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(4);
|
693
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
575
694
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
695
|
+
//correct answer section
|
696
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
697
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
698
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
699
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
700
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
701
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
576
702
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
577
|
-
/*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,
|
703
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
578
704
|
multipleSelectionPage.steps.checkAnswer();
|
579
705
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
580
706
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
@@ -583,19 +709,28 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
583
709
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
584
710
|
});
|
585
711
|
|
586
|
-
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icon should be displayed besides correct accordion answer responses
|
712
|
+
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then the user should be awarded with 0 points 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, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from correct accordion should be displayed in correct answer section', () => {
|
587
713
|
multipleSelectionPage.steps.resetQuestionPreview();
|
588
714
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
589
715
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
590
716
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
591
717
|
multipleSelectionPage.steps.switchToGradingView();
|
592
|
-
multipleSelectionPage.steps.
|
593
|
-
multipleSelectionPage.steps.
|
594
|
-
multipleSelectionPage.steps.
|
595
|
-
multipleSelectionPage.steps.
|
718
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
719
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
720
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
721
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
|
722
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
723
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
596
724
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
725
|
+
//correct answer section
|
726
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
727
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
728
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
729
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
730
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
731
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
597
732
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
598
|
-
/*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,
|
733
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
599
734
|
multipleSelectionPage.steps.checkAnswer();
|
600
735
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
|
601
736
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
@@ -604,19 +739,27 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
604
739
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
605
740
|
});
|
606
741
|
|
607
|
-
it('Race condition : When the user attempts the question with the common response between correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the common response and
|
742
|
+
it('Race condition : When the user attempts the question with the common response between correct accordion and alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the common response and no icons should be displayed besides unattempted options, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from correct accordion should be displayed in correct answer section', () => {
|
608
743
|
multipleSelectionPage.steps.resetQuestionPreview();
|
609
744
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
610
745
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
611
746
|
multipleSelectionPage.steps.switchToGradingView();
|
612
|
-
multipleSelectionPage.steps.
|
613
|
-
multipleSelectionPage.steps.
|
614
|
-
multipleSelectionPage.steps.
|
615
|
-
multipleSelectionPage.steps.
|
616
|
-
multipleSelectionPage.steps.
|
747
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
748
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
749
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
750
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
751
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
752
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(5);
|
617
753
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
754
|
+
//correct answer section
|
755
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
756
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
757
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
758
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
759
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
760
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
618
761
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
619
|
-
/*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,
|
762
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
620
763
|
multipleSelectionPage.steps.checkAnswer();
|
621
764
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(2);
|
622
765
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
@@ -624,20 +767,27 @@ describe('Create item page - Multiple selection: All or nothing with alternative
|
|
624
767
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
|
625
768
|
});
|
626
769
|
|
627
|
-
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,
|
770
|
+
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, no icons should be displayed besides unattempted options 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', () => {
|
628
771
|
multipleSelectionPage.steps.resetQuestionPreview();
|
629
772
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
630
773
|
multipleSelectionPage.steps.verifyPreviewScore(0, 20);
|
631
774
|
multipleSelectionPage.steps.switchToGradingView();
|
632
|
-
multipleSelectionPage.steps.
|
633
|
-
multipleSelectionPage.steps.
|
634
|
-
multipleSelectionPage.steps.
|
635
|
-
multipleSelectionPage.steps.
|
636
|
-
multipleSelectionPage.steps.
|
637
|
-
multipleSelectionPage.steps.
|
775
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
776
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
777
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
778
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
779
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(4);
|
780
|
+
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(5);
|
638
781
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
782
|
+
//correct answer section
|
783
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
784
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
785
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
786
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
787
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
788
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
639
789
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
640
|
-
/*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,
|
790
|
+
/*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, and status message \'Your answer is incorrect\' should be displayed below the question preview')
|
641
791
|
multipleSelectionPage.steps.checkAnswer();
|
642
792
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
|
643
793
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|