itemengine-cypress-automation 1.0.246 β 1.0.247
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +349 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +348 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +415 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingPenaltyScoring.js +54 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +254 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightBasic.js +255 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +4 -0
- package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +2 -0
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +3 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +4 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +2 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +2 -0
- package/cypress/e2e/ILC/EssayResponseBasic/essayResponseBasicCustomizeFormattingOptions.js +2 -0
- package/cypress/e2e/ILC/ImageHighlight/toolsFunctionalityEditTab.js +2 -2
- package/cypress/e2e/ILC/ListOrderingNew/styleAndLayoutCustomizationSameList.js +270 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsBasic.js +95 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +236 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialEqualWeightsBasic.js +150 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/setPointsPopup.js +88 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/specifyCorrectAnswerSection.js +97 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/studentViewSettings.js +134 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/additionalSettings.js +131 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +167 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +202 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +76 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/manuallyAndNonScoredEditTab.js +72 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/minimumScoringPenaltyPointsAndRoundingDropdown.js +197 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/optionsOrientationSection.js +180 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/specifyCorrectAnswerSection.js +95 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/studentViewSettings.js +130 -0
- package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationDraggableOptionProperties.js +223 -0
- package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationDraggableOptionsPanel.js +121 -0
- package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationDropzoneConnectorStyle.js +68 -0
- package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationOptionAlignment.js +71 -0
- package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationOptionPlacement.js +64 -0
- package/cypress/e2e/ILC/MatchingDropdown/styleAndLayoutCustomization.js +270 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +8 -8
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +8 -8
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +272 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +6 -6
- package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +2 -2
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/audioResponsePage.js +9 -1
- package/cypress/pages/chartsBarPage.js +3 -3
- package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +51 -0
- package/cypress/pages/components/gridQuestionCommonComponent.js +1 -1
- package/cypress/pages/components/index.js +1 -10
- package/cypress/pages/components/listOrderingCommonStyleAndLayoutComponent.js +604 -0
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/components/setPointsPopupBase.js +6 -6
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/essayResponseBasicPage.js +4 -4
- package/cypress/pages/essayResponseMathPage.js +4 -4
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +2 -2
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -2
- package/cypress/pages/index.js +0 -1
- package/cypress/pages/itemPreviewPage.js +1 -2
- package/cypress/pages/itemPreviewSettingsPage.js +3 -3
- package/cypress/pages/listOrderingPage.js +384 -10
- package/cypress/pages/matchingPage.js +512 -13
- package/cypress/pages/multipleSelectionPage.js +2 -2
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/shortTextResponsePage.js +0 -37
- package/cypress/pages/singleSelectionPage.js +2 -2
- package/cypress/pages/textEntryMathPage.js +41 -9
- package/cypress/pages/textSelectionPage.js +2 -2
- package/cypress/pages/uploadResponsePage.js +2 -3
- package/cypress/pages/videoResponsePage.js +9 -2
- package/package.json +1 -1
- package/cypress/fixtures/specialAndMathCharacters.js +0 -120
- package/cypress/pages/components/autoScoredAdditionalSettings.js +0 -183
- package/cypress/pages/components/autoScoredPreviewBase.js +0 -92
- package/cypress/pages/components/autoScoredScoringSection.js +0 -199
- package/cypress/pages/components/autoScoredScoringSectionMultipleResponsesType.js +0 -377
- package/cypress/pages/components/autoScoredSetCorrectAnswerSection.js +0 -297
- package/cypress/pages/components/autoScoredStudentViewSettingsForPredefinedOptions.js +0 -84
- package/cypress/pages/components/listSortingAndOrderingBase.js +0 -401
- package/cypress/pages/components/previewScoringAndShowCorrectAnswerComponent.js +0 -91
- package/cypress/pages/components/scoringSectionBase.js +0 -354
- package/cypress/pages/components/specialAndCustomSpecialCharactersComponent.js +0 -80
- package/cypress/pages/components/specialCharactersFlyoutComponent.js +0 -59
- package/cypress/pages/listSortingPage.js +0 -1198
@@ -0,0 +1,270 @@
|
|
1
|
+
import { matchingPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
|
5
|
+
const rowColumnOptions = ['Small', 'Normal', 'Wide'];
|
6
|
+
const dropzoneDimensions = ['Auto', 'Custom'];
|
7
|
+
const borderStyleOptions = ['dashed', 'dotted', 'solid', 'none'];
|
8
|
+
const connectorStyles = ["simpleLink", "mingleLink", "leftArrow", "rightArrow", "doubleArrow", "line", "dashed"];
|
9
|
+
const css = Cypress.env('css');
|
10
|
+
const modifiedColor = 'rgb(121, 60, 60)'
|
11
|
+
|
12
|
+
describe('Matching - Style and layout customization accordion', () => {
|
13
|
+
before(() => {
|
14
|
+
cy.loginAs('admin');
|
15
|
+
});
|
16
|
+
|
17
|
+
describe('Style and Layout customization accordion', () => {
|
18
|
+
abortEarlySetup();
|
19
|
+
before(() => {
|
20
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
21
|
+
cy.barsPreLoaderWait();
|
22
|
+
matchingPage.steps.selectOptionLayoutToggleButton('Dropdown menu');
|
23
|
+
});
|
24
|
+
|
25
|
+
matchingPage.tests.verifyStyleAndLayoutCustomizationAccordionProperties();
|
26
|
+
|
27
|
+
it('\'Layout\' label should be displayed', () => {
|
28
|
+
utilities.verifyInnerText(matchingPage.layoutLabel(), 'Layout')
|
29
|
+
});
|
30
|
+
});
|
31
|
+
|
32
|
+
describe('Style and Layout customization accordion: Row spacing and Column spacing edit tab contents', () => {
|
33
|
+
abortEarlySetup();
|
34
|
+
before(() => {
|
35
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
36
|
+
cy.barsPreLoaderWait();
|
37
|
+
matchingPage.steps.selectOptionLayoutToggleButton('Dropdown menu');
|
38
|
+
matchingPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
39
|
+
});
|
40
|
+
|
41
|
+
it('\'Row spacing\' label and dropdown should be displayed and by default \'Normal\' option is selected', () => {
|
42
|
+
utilities.verifyInnerText(matchingPage.rowSpacingDropdownLabel(), 'Row spacing');
|
43
|
+
utilities.verifyInnerText(matchingPage.rowSpacingDropdown(), 'Normal');
|
44
|
+
utilities.verifyElementVisibilityState(matchingPage.rowSpacingDropdown(), 'visible');
|
45
|
+
});
|
46
|
+
|
47
|
+
it(`When user expands \'Row spacing\' then ${rowColumnOptions} should be displayed then \'Normal\' option is selected`, () => {
|
48
|
+
matchingPage.steps.expandRowSpacingDropdown();
|
49
|
+
rowColumnOptions.forEach((option, index) => {
|
50
|
+
utilities.verifyInnerText(utilities.getNthElement(matchingPage.rowSpacingDropdownOptions(), index), option);
|
51
|
+
});
|
52
|
+
matchingPage.steps.verifyRowSpacingOptionSelected('Normal');
|
53
|
+
matchingPage.steps.selectRowSpacingDropdownOption('Normal');
|
54
|
+
utilities.verifyElementVisibilityState(matchingPage.dropdownList(), 'notExist');
|
55
|
+
});
|
56
|
+
|
57
|
+
it('\'Column spacing\' label and dropdown should be displayed and by default \'Normal\' option is selected', () => {
|
58
|
+
utilities.verifyInnerText(matchingPage.columnSpacingDropdownLabel(), 'Column spacing');
|
59
|
+
utilities.verifyInnerText(matchingPage.columnSpacingDropdown(), 'Normal');
|
60
|
+
utilities.verifyElementVisibilityState(matchingPage.columnSpacingDropdown(), 'visible');
|
61
|
+
});
|
62
|
+
|
63
|
+
it(`When user expands \'Column spacing\' then ${rowColumnOptions} should be displayed then \'Normal\' option is selected`, () => {
|
64
|
+
matchingPage.steps.expandColumnSpacingDropdown();
|
65
|
+
rowColumnOptions.forEach((option, index) => {
|
66
|
+
utilities.verifyInnerText(utilities.getNthElement(matchingPage.columnSpacingDropdownOptions(), index), option);
|
67
|
+
});
|
68
|
+
matchingPage.steps.verifyColumnSpacingOptionSelected('Normal');
|
69
|
+
matchingPage.steps.selectColumnSpacingDropdownOption('Normal');
|
70
|
+
utilities.verifyElementVisibilityState(matchingPage.dropdownList(), 'notExist');
|
71
|
+
});
|
72
|
+
});
|
73
|
+
|
74
|
+
describe('Style and Layout customization accordion: Dropdown dimensions edit tab contents', () => {
|
75
|
+
abortEarlySetup();
|
76
|
+
before(() => {
|
77
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
78
|
+
cy.barsPreLoaderWait()
|
79
|
+
matchingPage.steps.selectOptionLayoutToggleButton('Dropdown menu');
|
80
|
+
matchingPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
81
|
+
});
|
82
|
+
|
83
|
+
it('\'Dropzone dimensions\' label and dropdown should be displayed and by default \'Auto\' option is selected', () => {
|
84
|
+
utilities.verifyInnerText(matchingPage.dropzoneDimensionsLabel(), 'Dropzone dimensions');
|
85
|
+
utilities.verifyInnerText(matchingPage.dropzoneDimensionsDropdown(), 'Auto');
|
86
|
+
});
|
87
|
+
|
88
|
+
it(`When user expands \'Dropzone dimensions\' then ${dropzoneDimensions} should be displayed then \'Auto\' option is selected`, () => {
|
89
|
+
matchingPage.steps.expandDropzoneDimensionsDropdown();
|
90
|
+
dropzoneDimensions.forEach((option, index) => {
|
91
|
+
utilities.verifyInnerText(utilities.getNthElement(matchingPage.dropzoneDimensionsDropdownOptions(), index), option);
|
92
|
+
});
|
93
|
+
matchingPage.steps.verifyDropzoneDimensionsDropdownOptionSelected('Auto');
|
94
|
+
matchingPage.steps.selectDropzoneDimensionsDropdownOption('Auto');
|
95
|
+
utilities.verifyElementVisibilityState(matchingPage.dropdownList(), 'notExist')
|
96
|
+
});
|
97
|
+
|
98
|
+
it(`When user selects ${dropzoneDimensions[1]} then Specify for all dropzone columns, Specify for first dropzone column only radio buttons should be displayed`, () => {
|
99
|
+
matchingPage.steps.expandDropzoneDimensionsDropdown();
|
100
|
+
matchingPage.steps.selectDropzoneDimensionsDropdownOption('Custom');
|
101
|
+
utilities.verifyInnerText(matchingPage.specifyForAllDropzoneColumnsLabel(), 'Specify for all dropzone columns');
|
102
|
+
utilities.verifyElementVisibilityState(matchingPage.specifyForAllDropzoneColumnsRadioButton(), 'exist');
|
103
|
+
utilities.verifyInnerText(matchingPage.specifyForFirstDropzoneColumnOnlyLabel(), 'Specify for first dropzone column only');
|
104
|
+
utilities.verifyElementVisibilityState(matchingPage.specifyForFirstDropzoneColumnOnlyRadioButton(), 'exist');
|
105
|
+
});
|
106
|
+
|
107
|
+
it('\'Dropzone width (px)\' label should be displayed', () => {
|
108
|
+
utilities.verifyInnerText(matchingPage.dropzoneWidthLabel(), 'Dropzone width (px)');
|
109
|
+
});
|
110
|
+
|
111
|
+
it('When the user selects Specify for first column only \'Dropzone width (px)\' label and input field should be displayed', () => {
|
112
|
+
matchingPage.steps.selectCustomDimensionsRadioButton('Specify for first dropzone column only');
|
113
|
+
matchingPage.steps.verifyCustomDimensionsRadioButtonSelected('Specify for first dropzone column only');
|
114
|
+
utilities.verifyInnerText(matchingPage.dropzoneWidthLabel(), 'Dropzone width (px)');
|
115
|
+
});
|
116
|
+
});
|
117
|
+
|
118
|
+
describe('Style and Layout customization accordion: Dropdown border style contents', () => {
|
119
|
+
abortEarlySetup();
|
120
|
+
before(() => {
|
121
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
122
|
+
cy.barsPreLoaderWait();
|
123
|
+
matchingPage.steps.selectOptionLayoutToggleButton('Dropdown menu');
|
124
|
+
matchingPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
125
|
+
});
|
126
|
+
|
127
|
+
it(`Border style label and ${borderStyleOptions} should be displayed and by default solid should be selected`, () => {
|
128
|
+
utilities.verifyInnerText(matchingPage.dropzoneBorderStyleLabel(), 'Border style');
|
129
|
+
borderStyleOptions.forEach((option) => {
|
130
|
+
utilities.verifyElementVisibilityState(matchingPage.dropzoneBorderStyleOptions(option), 'exist');
|
131
|
+
})
|
132
|
+
matchingPage.steps.verifyDropzoneBorderStyleSelected('solid');
|
133
|
+
});
|
134
|
+
|
135
|
+
borderStyleOptions.forEach((option) => {
|
136
|
+
it(`User should be able to select ${option}`, () => {
|
137
|
+
matchingPage.steps.selectDropzoneBorderStyleOption(option);
|
138
|
+
});
|
139
|
+
});
|
140
|
+
});
|
141
|
+
|
142
|
+
describe('Matching - Style and layout customization accordion', () => {
|
143
|
+
before(() => {
|
144
|
+
cy.loginAs('admin');
|
145
|
+
});
|
146
|
+
|
147
|
+
describe('Style and Layout customization accordion: Fill color edit tab contents', () => {
|
148
|
+
abortEarlySetup();
|
149
|
+
before(() => {
|
150
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
151
|
+
cy.barsPreLoaderWait();
|
152
|
+
matchingPage.steps.selectOptionLayoutToggleButton('Dropdown menu');
|
153
|
+
matchingPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
154
|
+
});
|
155
|
+
|
156
|
+
it('Grid label should be displayed', () => {
|
157
|
+
utilities.verifyInnerText(matchingPage.dropzoneLabel(), 'Dropdown');
|
158
|
+
});
|
159
|
+
|
160
|
+
it('\'Fill color\' label and two color blocks and an \'Edit color\' button should be displayed. The selected color block should be of color \'rgb(245, 248, 255)\' and the other color block should have \'No color\'', () => {
|
161
|
+
utilities.verifyInnerText(matchingPage.fillColorLabel(), 'Fill color');
|
162
|
+
matchingPage.steps.verifyColorBlockColor(0, css.color.matrixDropzoneCellBg);
|
163
|
+
matchingPage.steps.verifyColorBlockSelectedState(0);
|
164
|
+
matchingPage.steps.verifyColorBlockColor(1, css.color.none);
|
165
|
+
utilities.verifyInnerText(utilities.getNthElement(matchingPage.editColorButton(), 0), 'Edit color');
|
166
|
+
utilities.verifyElementVisibilityState(matchingPage.editColorButton(), 'visible');
|
167
|
+
});
|
168
|
+
|
169
|
+
it('When the user hovers over the color blocks in the \'Fill color\' section, hex code of the selected color should be displayed in a tooltip', () => {
|
170
|
+
utilities.getNthElement(matchingPage.colorBlock(), 0)
|
171
|
+
.verifyTooltip('#F5F8FF');
|
172
|
+
utilities.getNthElement(matchingPage.colorBlock(), 1)
|
173
|
+
.verifyTooltip('None');
|
174
|
+
});
|
175
|
+
|
176
|
+
it('By default, the first color option should be in selected state', () => {
|
177
|
+
matchingPage.steps.verifyColorBlockSelectedState(0);
|
178
|
+
});
|
179
|
+
});
|
180
|
+
});
|
181
|
+
|
182
|
+
describe('Style and Layout customization accordion: Border color edit tab contents and functionality', () => {
|
183
|
+
abortEarlySetup();
|
184
|
+
before(() => {
|
185
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
186
|
+
cy.barsPreLoaderWait();
|
187
|
+
matchingPage.steps.selectOptionLayoutToggleButton('Dropdown menu');
|
188
|
+
matchingPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
189
|
+
});
|
190
|
+
|
191
|
+
it('\'Border color\' label and two color blocks and an \'Edit color\' button should be displayed. The selected color block should be of color \'rgb(82, 0, 255) and the other color block should have \'No color\'', () => {
|
192
|
+
utilities.verifyInnerText(matchingPage.borderColorLabel(), 'Border color');
|
193
|
+
utilities.verifyInnerText(utilities.getNthElement(matchingPage.editColorButton(), 1), 'Edit color');
|
194
|
+
utilities.verifyElementVisibilityState(matchingPage.editColorButton(), 'visible');
|
195
|
+
matchingPage.steps.verifyColorBlockColor(2, css.color.activeComponentBorder);
|
196
|
+
matchingPage.steps.verifyColorBlockSelectedState(2);
|
197
|
+
matchingPage.steps.verifyColorBlockColor(3, css.color.none);
|
198
|
+
});
|
199
|
+
|
200
|
+
it('When the user hovers over the color blocks in the \'Border color\' section, hex code of the selected color should be displayed in a tooltip', () => {
|
201
|
+
utilities.getNthElement(matchingPage.colorBlock(), 2)
|
202
|
+
.verifyTooltip('#5200FF');
|
203
|
+
utilities.getNthElement(matchingPage.colorBlock(), 3)
|
204
|
+
.verifyTooltip('None');
|
205
|
+
});
|
206
|
+
|
207
|
+
it('By default, the first color option should be in selected state', () => {
|
208
|
+
matchingPage.steps.verifyColorBlockSelectedState(2);
|
209
|
+
});
|
210
|
+
});
|
211
|
+
|
212
|
+
describe('Dropdown connector style contents', () => {
|
213
|
+
abortEarlySetup();
|
214
|
+
before(() => {
|
215
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
216
|
+
cy.barsPreLoaderWait();
|
217
|
+
matchingPage.steps.selectOptionLayoutToggleButton('Dropdown menu');
|
218
|
+
matchingPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
219
|
+
});
|
220
|
+
|
221
|
+
it('"Dropdown connector style" label should be displayed', () => {
|
222
|
+
utilities.verifyInnerText(matchingPage.dropzoneConnectorStyleLabel(), 'Dropdown connector style');
|
223
|
+
});
|
224
|
+
|
225
|
+
it('"Set connector line type" label along with seven icon buttons should be displayed. By default, "SimpleLink" option should be in selected state', () => {
|
226
|
+
utilities.verifyInnerText(matchingPage.connectorLineTypeLabel(), 'Set connector line type');
|
227
|
+
connectorStyles.forEach((option) => {
|
228
|
+
utilities.verifyElementVisibilityState(matchingPage.connectorEndPointShapeOptions(option), 'exist');
|
229
|
+
});
|
230
|
+
matchingPage.steps.verifyConnectorStyleOptionSelected('simpleLink')
|
231
|
+
});
|
232
|
+
});
|
233
|
+
|
234
|
+
describe('Dropdown contents', () => {
|
235
|
+
abortEarlySetup();
|
236
|
+
before(() => {
|
237
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
238
|
+
cy.barsPreLoaderWait();
|
239
|
+
matchingPage.steps.selectOptionLayoutToggleButton('Dropdown menu');
|
240
|
+
matchingPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
241
|
+
});
|
242
|
+
|
243
|
+
it('Option placement and Option alignment in dropdown label should not be displayed', () => {
|
244
|
+
utilities.verifyElementVisibilityState(matchingPage.optionAlignmentInPanelLabel(), 'notExist');
|
245
|
+
});
|
246
|
+
|
247
|
+
it('Draggable options label, Drag handle icon label, Fill color label and Edit color should not be displayed', () => {
|
248
|
+
utilities.verifyElementVisibilityState(matchingPage.draggableOptionsLabel(), 'notExist');
|
249
|
+
utilities.verifyElementVisibilityState(matchingPage.dragHandleIconLabel(), 'notExist');
|
250
|
+
utilities.verifyElementVisibilityState(matchingPage.draggableOptionsFillColorLabel(), 'notExist');
|
251
|
+
utilities.verifyElementVisibilityState(utilities.getNthElement(matchingPage.editColorButton(), 2), 'notExist');
|
252
|
+
});
|
253
|
+
|
254
|
+
it('Draggable options Border Style should not be displayed', () => {
|
255
|
+
utilities.verifyElementVisibilityState(matchingPage.draggableOptionsBorderStyleLabel(), 'notExist');
|
256
|
+
});
|
257
|
+
|
258
|
+
it('\'Draggable option panel\' label should not be displayed', () => {
|
259
|
+
utilities.verifyElementVisibilityState(matchingPage.draggableOptionPanelPlacementLabel(), 'notExist');
|
260
|
+
});
|
261
|
+
it('\'Panel Placement\' label should not be displayed', () => {
|
262
|
+
utilities.verifyElementVisibilityState(matchingPage.panelPlacementLabel(), 'notExist');
|
263
|
+
});
|
264
|
+
it('\'Panel Placement\' label should not be displayed', () => {
|
265
|
+
utilities.verifyElementVisibilityState(matchingPage.optionAlignmentInPanelLabel(), 'notExist');
|
266
|
+
});
|
267
|
+
|
268
|
+
|
269
|
+
});
|
270
|
+
});
|
package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js
CHANGED
@@ -52,7 +52,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
52
52
|
it('When the user selects \'Grading\' view without attempting the question, response numeration should be displayed, correct answers section should be displayed with correct answers from the alternative accordion and respective response numeration, no status message should be displayed', () => {
|
53
53
|
textEntryMathPage.steps.switchToGradingView();
|
54
54
|
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
55
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
55
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
56
56
|
textEntryMathPage.steps.switchToGradingView();
|
57
57
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
58
58
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
@@ -113,7 +113,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
113
113
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
114
114
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
115
115
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
116
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
116
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
117
117
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
118
118
|
});
|
119
119
|
|
@@ -130,7 +130,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
130
130
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
131
131
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
132
132
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
133
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
133
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
134
134
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
135
135
|
});
|
136
136
|
|
@@ -147,7 +147,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
147
147
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
148
148
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
149
149
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
150
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
150
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
151
151
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
152
152
|
});
|
153
153
|
|
@@ -167,7 +167,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
167
167
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
168
168
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
169
169
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
170
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
170
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
171
171
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
172
172
|
});
|
173
173
|
|
@@ -182,7 +182,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
182
182
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
183
183
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
184
184
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
185
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
185
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
186
186
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
187
187
|
});
|
188
188
|
|
@@ -203,7 +203,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
203
203
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
204
204
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
205
205
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
206
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
206
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
207
207
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
208
208
|
});
|
209
209
|
});
|
package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js
CHANGED
@@ -52,7 +52,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
52
52
|
it('When the user selects \'Grading\' view without attempting the question, response numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective response numeration', () => {
|
53
53
|
textEntryMathPage.steps.switchToGradingView();
|
54
54
|
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
55
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
55
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
56
56
|
textEntryMathPage.steps.switchToGradingView();
|
57
57
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
58
58
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
@@ -113,7 +113,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
113
113
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
114
114
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
115
115
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
116
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
116
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
117
117
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
118
118
|
});
|
119
119
|
|
@@ -130,7 +130,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
130
130
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
131
131
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
132
132
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
133
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
133
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
134
134
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
135
135
|
});
|
136
136
|
|
@@ -147,7 +147,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
147
147
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
148
148
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
149
149
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
150
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
150
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
151
151
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
152
152
|
});
|
153
153
|
|
@@ -167,7 +167,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
167
167
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
168
168
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
169
169
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
170
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
170
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
171
171
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
172
172
|
});
|
173
173
|
|
@@ -182,7 +182,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
182
182
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
183
183
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
184
184
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
185
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
185
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
186
186
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
187
187
|
});
|
188
188
|
|
@@ -203,7 +203,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
203
203
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
204
204
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
205
205
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
206
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
206
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
207
207
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
208
208
|
});
|
209
209
|
});
|
package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js
CHANGED
@@ -53,7 +53,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
53
53
|
it('When the user selects \'Grading\' view without attempting the question, response numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective response numeration', () => {
|
54
54
|
textEntryMathPage.steps.switchToGradingView();
|
55
55
|
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
56
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
56
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
57
57
|
textEntryMathPage.steps.switchToGradingView();
|
58
58
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
59
59
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
@@ -146,7 +146,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
146
146
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
147
147
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
148
148
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
149
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
149
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
150
150
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
151
151
|
});
|
152
152
|
|
@@ -163,7 +163,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
163
163
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
164
164
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
165
165
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
166
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
166
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
167
167
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
168
168
|
});
|
169
169
|
|
@@ -180,7 +180,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
180
180
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
181
181
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
182
182
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
183
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
183
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
184
184
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
185
185
|
});
|
186
186
|
|
@@ -200,7 +200,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
200
200
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
201
201
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
202
202
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
203
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
203
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
204
204
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
205
205
|
});
|
206
206
|
|
@@ -215,7 +215,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
215
215
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
216
216
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
217
217
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
218
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
218
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
219
219
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
220
220
|
});
|
221
221
|
|
@@ -236,7 +236,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
236
236
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
237
237
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
238
238
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
239
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
239
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
240
240
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
241
241
|
});
|
242
242
|
|
@@ -53,7 +53,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
53
53
|
it('When the user selects \'Grading\' view without attempting the question, response numeration should be displayed, correct answers section should be displayed with correct answers from the alternative accordion and respective response numeration, no status message should be displayed', () => {
|
54
54
|
textEntryMathPage.steps.switchToGradingView();
|
55
55
|
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
56
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
56
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
57
57
|
textEntryMathPage.steps.switchToGradingView();
|
58
58
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
59
59
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
@@ -111,7 +111,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
111
111
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
112
112
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
113
113
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
114
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
114
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
115
115
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
116
116
|
});
|
117
117
|
|
@@ -127,7 +127,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
127
127
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
128
128
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
129
129
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
130
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
130
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
131
131
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
132
132
|
});
|
133
133
|
|
@@ -143,7 +143,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
143
143
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
144
144
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
145
145
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
146
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
146
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
147
147
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
148
|
});
|
149
149
|
|
@@ -162,7 +162,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
162
162
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
163
163
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
164
164
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
165
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
165
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
166
166
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
167
167
|
});
|
168
168
|
|
@@ -176,7 +176,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
176
176
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
177
177
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
178
178
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
179
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
179
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
180
180
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
181
181
|
});
|
182
182
|
|
@@ -196,7 +196,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
196
196
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
197
197
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
198
198
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
199
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
199
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '6Γπ', '7.07β’π']);
|
200
200
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
201
201
|
});
|
202
202
|
|
@@ -55,7 +55,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
55
55
|
textEntryMathPage.steps.switchToGradingView();
|
56
56
|
textEntryMathPage.steps.verifyPreviewScore(0, 18);
|
57
57
|
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
58
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
58
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
59
59
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
60
60
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
61
61
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
@@ -111,7 +111,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
111
111
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
112
112
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
113
113
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
114
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
114
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
115
115
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
116
116
|
});
|
117
117
|
|
@@ -127,7 +127,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
127
127
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
128
128
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
129
129
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
130
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
130
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
131
131
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
132
132
|
});
|
133
133
|
|
@@ -143,7 +143,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
143
143
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
144
144
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
145
145
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
146
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
146
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
147
147
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
148
|
});
|
149
149
|
|
@@ -162,7 +162,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
162
162
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
163
163
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
164
164
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
165
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
165
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
166
166
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
167
167
|
});
|
168
168
|
|
@@ -176,7 +176,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
176
176
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
177
177
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
178
178
|
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
179
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
179
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
180
180
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
181
181
|
});
|
182
182
|
|
@@ -196,7 +196,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
196
196
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
197
197
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
198
198
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
199
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
199
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['πΆβ’πβ’πβ’πβ’πβ’πβ’π‘', '2β’π₯2β’π¦2+4β’π₯β’π¦+4', '9000%']);
|
200
200
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
201
201
|
});
|
202
202
|
});
|