itemengine-cypress-automation 1.0.154 → 1.0.155

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +1 -1
  2. package/cypress/e2e/ILC/DesmosGraphing/additionalSettings.js +5 -5
  3. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +2 -2
  4. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +4 -4
  5. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +4 -4
  6. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionCorrectPointsEqualToAlternativePoints.js +1 -1
  7. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionMinimumAndPenaltyScoring.js +1 -1
  8. package/cypress/e2e/ILC/EssayResponse/previewEditTable.js +6 -6
  9. package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +2 -3
  10. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +1 -0
  11. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/clickAndDrop.js +34 -29
  12. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptions.js +2 -0
  13. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editTabBasicSection.js +1 -1
  14. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -0
  15. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +4 -1
  16. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +1 -1
  17. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +2 -0
  18. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +1 -1
  19. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +2 -2
  20. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -1
  21. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -2
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -0
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +7 -7
  24. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +1 -0
  25. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +1 -0
  26. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +20 -8
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +2 -2
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -0
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/specifyCorrectAnswerSection.js +1 -0
  30. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +3 -3
  31. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +5 -4
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -0
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/setLimitSection.js +5 -2
  34. package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsForAnswerInputFields.js +2 -2
  35. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +1 -1
  36. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +4 -3
  37. package/cypress/e2e/ILC/FillInTheGapsTextNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -0
  38. package/cypress/e2e/ILC/FillInTheGapsTextNew/specialCharactersSection.js +0 -8
  39. package/cypress/e2e/ILC/GeogebraActivity/additionalSettings.js +1 -1
  40. package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +39 -35
  41. package/cypress/e2e/ILC/Graphing/additionalSettingsBasic.js +1 -1
  42. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +8 -6
  43. package/cypress/e2e/ILC/GridFill/customizeLayoutFillColor.js +475 -0
  44. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +669 -0
  45. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +1 -1
  46. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +0 -11
  47. package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +204 -0
  48. package/cypress/e2e/ILC/GridFill/gridLayoutEditTabFunctionality.js +229 -0
  49. package/cypress/e2e/ILC/GridFill/gridLayoutPreviewTabFunctionality.js +219 -0
  50. package/cypress/e2e/ILC/GridFill/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -0
  51. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +2 -2
  52. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +0 -2
  53. package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +1 -1
  54. package/cypress/e2e/ILC/Matching/draggableOptions.js +1 -1
  55. package/cypress/e2e/ILC/Matching/headerSection.js +82 -0
  56. package/cypress/e2e/ILC/Matching/specifyCorrectAnswerSection.js +93 -0
  57. package/cypress/e2e/ILC/MultipleSelection/blockCreateItem.js +2 -2
  58. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +3 -0
  59. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  60. package/cypress/e2e/ILC/MultipleSelection/multipleSelectionBasicAccessibility.js +8 -10
  61. package/cypress/e2e/ILC/MultipleSelection/specifyCorrectAnswerSection.js +3 -3
  62. package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +16 -25
  63. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/manuallyAndNonScored.js +140 -0
  64. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +403 -0
  65. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +363 -0
  66. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +393 -0
  67. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +377 -0
  68. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +1 -1
  69. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +341 -0
  70. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +373 -0
  71. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +0 -1
  72. package/cypress/e2e/ILC/ShortTextResponseNew/conditionalCheckboxes.js +27 -8
  73. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +15 -34
  74. package/cypress/e2e/ILC/ShortTextResponseNew/responseAnswersAndAcceptedStudentInput.js +13 -15
  75. package/cypress/e2e/ILC/ShortTextResponseNew/specifyCorrectAnswerSection.js +4 -4
  76. package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +4 -2
  77. package/cypress/e2e/ILC/SingleSelection/blockCreateItem.js +2 -2
  78. package/cypress/e2e/ILC/SingleSelection/specifyCorrectAnswerSection.js +3 -3
  79. package/cypress/e2e/ILC/SingleSelection/studentViewSettings.js +1 -1
  80. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +183 -0
  81. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +185 -0
  82. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +263 -0
  83. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/manuallyAndNonScored.js +140 -0
  84. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +233 -0
  85. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +205 -0
  86. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +233 -0
  87. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +214 -0
  88. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +1 -1
  89. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +183 -0
  90. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +213 -0
  91. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +21 -17
  92. package/cypress/e2e/ILC/TextEntryMath/editTabScoringSection.js +1 -1
  93. package/cypress/e2e/ILC/TextEntryMath/minimumScoringPenaltyPointsAndRoundingDropdown.js +25 -25
  94. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +20 -17
  95. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +2 -2
  96. package/cypress/e2e/ILC/UploadResponse/manuallyAndNonScoredScoring.js +2 -3
  97. package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +3 -3
  98. package/cypress/e2e/ILC/UploadResponse/uplodResponsePreviewUploadedFileProperties.js +2 -2
  99. package/cypress/fixtures/fillColorDefaultProperties.js +35 -0
  100. package/cypress/fixtures/theme/ilc.json +2 -1
  101. package/cypress/fixtures/uploads/sampleVirus.zip +0 -0
  102. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +3 -3
  103. package/cypress/pages/components/autoScoredStudentViewSettings.js +1 -1
  104. package/cypress/pages/components/backgroundImageUploadComponent.js +4 -1
  105. package/cypress/pages/components/colorPopupComponent.js +6 -3
  106. package/cypress/pages/components/commonComponents.js +1 -1
  107. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +4 -3
  108. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +47 -12
  109. package/cypress/pages/components/gridQuestionCommonComponent.js +0 -81
  110. package/cypress/pages/components/imageCanvasComponent.js +10 -8
  111. package/cypress/pages/components/listSortingAndOrderingBase.js +1 -1
  112. package/cypress/pages/components/questionInputFieldComponent.js +1 -1
  113. package/cypress/pages/components/questionInstructionsComponent.js +1 -1
  114. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  115. package/cypress/pages/essayResponsePage.js +4 -4
  116. package/cypress/pages/fillInTheGapsDragAndDropPage.js +34 -23
  117. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +0 -1
  118. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +26 -4
  119. package/cypress/pages/fillInTheGapsOverImageTextPage.js +0 -29
  120. package/cypress/pages/graphingPage.js +26 -16
  121. package/cypress/pages/gridFillPage.js +1610 -90
  122. package/cypress/pages/matchingPage.js +164 -20
  123. package/cypress/pages/multipleSelectionGridPage.js +82 -2
  124. package/cypress/pages/multipleSelectionPage.js +7 -2
  125. package/cypress/pages/rulerPage.js +3 -8
  126. package/cypress/pages/shortTextResponsePage.js +13 -0
  127. package/cypress/pages/simpleCalculatorPage.js +8 -0
  128. package/cypress/pages/singleSelectionGridPage.js +58 -2
  129. package/cypress/pages/textEntryMathPage.js +58 -11
  130. package/cypress/pages/uploadResponsePage.js +4 -2
  131. package/package.json +1 -1
  132. package/cypress/e2e/ILC/MultipleSelection/multipleSelectionAdditionalSettings.js +0 -835
  133. package/cypress/e2e/ILC/SingleSelection/singleSelectionAdditionalSettings.js +0 -469
@@ -0,0 +1,219 @@
1
+ import { gridFillPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+ import utilities from "../../../support/helpers/utilities";
4
+
5
+ describe('Create item : Grid fill - Grid layout', () => {
6
+ before(() => {
7
+ cy.loginAs('admin');
8
+ });
9
+
10
+ describe('Grid selector and Columns & Rows input steppers - Preview tab functionality', () => {
11
+ abortEarlySetup();
12
+ before(() => {
13
+ gridFillPage.steps.navigateToCreateQuestion('grid fill');
14
+ cy.barsPreLoaderWait();
15
+ gridFillPage.steps.switchToPreviewTab();
16
+ });
17
+
18
+ it('By default, 5 columns and 3 rows should be displayed in preview tab', () => {
19
+ gridFillPage.steps.verifyRowsCountPreviewTab(3);
20
+ gridFillPage.steps.verifyColumnsCountPreviewTab(5);
21
+ });
22
+
23
+ it('When user updates the numbers of rows and columns in open the grid selector popup then numbers of rows and columns should be updated in preview tab', () => {
24
+ gridFillPage.steps.switchToEditTab();
25
+ gridFillPage.steps.expandOpenTheGridSelectorDropdown();
26
+ gridFillPage.steps.clickOnCellInOpenTheGridSelectorDropdown(2, 2);
27
+ gridFillPage.steps.switchToPreviewTab();
28
+ gridFillPage.steps.verifyRowsCountPreviewTab(2);
29
+ gridFillPage.steps.verifyColumnsCountPreviewTab(2);
30
+ });
31
+
32
+ it('When user increases the number of columns in the column input stepper using the increase button, then the number of columns in the grid displayed in preview tab should increase', () => {
33
+ gridFillPage.steps.switchToEditTab();
34
+ gridFillPage.steps.increaseColumnsInputStepperCount(1);
35
+ gridFillPage.steps.switchToPreviewTab();
36
+ gridFillPage.steps.verifyColumnsCountPreviewTab(3);
37
+ });
38
+
39
+ it('When user decreases the number of rows in the row input stepper using the decrease button, then the number of rows in the grid displayed in preview tab should decrease', () => {
40
+ gridFillPage.steps.switchToEditTab();
41
+ gridFillPage.steps.decreaseRowsInputStepperCount(1);
42
+ gridFillPage.steps.switchToPreviewTab();
43
+ gridFillPage.steps.verifyRowsCountPreviewTab(1);
44
+ });
45
+
46
+ it('When user changes the number of rows and columns by directly giving an input in input steppers, then the added number of rows and columns should be reflected in preview tab', () => {
47
+ gridFillPage.steps.switchToEditTab();
48
+ gridFillPage.steps.setRows(5);
49
+ gridFillPage.steps.setColumns(5);
50
+ gridFillPage.steps.switchToPreviewTab();
51
+ gridFillPage.steps.verifyRowsCountPreviewTab(5);
52
+ gridFillPage.steps.verifyColumnsCountPreviewTab(5);
53
+ });
54
+
55
+ it('When there are less than 11 columns in the grid, then the left and right arrow navigation button should not be displayed in the preview tab grid', () => {
56
+ gridFillPage.steps.switchToEditTab();
57
+ gridFillPage.steps.verifyColumnsInputStepperCountInputFieldValue(5);
58
+ gridFillPage.steps.switchToPreviewTab();
59
+ gridFillPage.steps.verifyPaginationButtonsNotExistPreviewTab();
60
+ });
61
+
62
+ it('When the user has added 11 columns in the grid, then the left and right arrow navigation button should be displayed in the preview tab grid', () => {
63
+ gridFillPage.steps.switchToEditTab();
64
+ gridFillPage.steps.setColumns(11);
65
+ gridFillPage.steps.verifyColumnsInputStepperCountInputFieldValue(11);
66
+ gridFillPage.steps.switchToPreviewTab();
67
+ gridFillPage.steps.verifyPaginationButtonsVisiblePreviewTab();
68
+ utilities.verifyInnerText(gridFillPage.paginationTextPreviewTab(), 'Displaying 1-10 of 11');
69
+ });
70
+
71
+ it('When user adds columns more than 11, then pagination text should be updated accordingly in preview tab', () => {
72
+ gridFillPage.steps.switchToEditTab();
73
+ gridFillPage.steps.setColumns(12);
74
+ gridFillPage.steps.verifyColumnsInputStepperCountInputFieldValue(12);
75
+ gridFillPage.steps.switchToPreviewTab();
76
+ gridFillPage.steps.verifyPaginationButtonsVisiblePreviewTab();
77
+ utilities.verifyInnerText(gridFillPage.paginationTextPreviewTab(), 'Displaying 1-10 of 12');
78
+ });
79
+
80
+ it('By default the left arrow navigation button should be disabled and right arrow navigation button should be enabled', () => {
81
+ utilities.verifyElementDisabled(gridFillPage.previousPaginationButtonPreviewTab());
82
+ utilities.verifyElementNotDisabled(gridFillPage.nextPaginationButtonPreviewTab());
83
+ });
84
+
85
+ it('When user is on second page, then both left arrow navigation button and right arrow navigation button button should be in enabled state', () => {
86
+ gridFillPage.steps.navigateToNextPagePreviewTab();
87
+ utilities.verifyElementNotDisabled(gridFillPage.previousPaginationButtonPreviewTab());
88
+ utilities.verifyElementNotDisabled(gridFillPage.nextPaginationButtonPreviewTab());
89
+ });
90
+
91
+ it('When user is on last page then left arrow navigation button button should be in enabled state and right arrow navigation button button should be in disabled state', () => {
92
+ gridFillPage.steps.navigateToNextPagePreviewTab();
93
+ utilities.verifyElementNotDisabled(gridFillPage.previousPaginationButtonPreviewTab());
94
+ utilities.verifyElementNotDisabled(gridFillPage.nextPaginationButtonPreviewTab());
95
+ });
96
+
97
+ it('When user selects 1 row and 1 column, then only one cell should be displayed in preview tab', () => {
98
+ gridFillPage.steps.switchToEditTab();
99
+ gridFillPage.steps.setRows(1);
100
+ gridFillPage.steps.setColumns(1);
101
+ gridFillPage.steps.switchToPreviewTab();
102
+ gridFillPage.steps.verifyRowsCountPreviewTab(1);
103
+ gridFillPage.steps.verifyColumnsCountPreviewTab(1);
104
+ });
105
+
106
+ it('When user selects 20 columns and 20 rows in edit tab then grid with 20 rows and 20 columns should be displayed in preview tab', () => {
107
+ gridFillPage.steps.switchToEditTab();
108
+ gridFillPage.steps.updateValueInCellWidthInputField(44);
109
+ gridFillPage.steps.setRows(20);
110
+ gridFillPage.steps.setColumns(20);
111
+ gridFillPage.steps.switchToPreviewTab();
112
+ gridFillPage.steps.verifyRowsCountPreviewTab(20);
113
+ gridFillPage.steps.verifyColumnsCountPreviewTab(20);
114
+ });
115
+ });
116
+
117
+ describe('Cell height and Cell width : Preview tab functionality', () => {
118
+ abortEarlySetup();
119
+ before(() => {
120
+ gridFillPage.steps.navigateToCreateQuestion('grid fill');
121
+ cy.barsPreLoaderWait();
122
+ gridFillPage.steps.switchToPreviewTab();
123
+ });
124
+
125
+ it('By default, cell height and cell width should be 80 px and 80 px respectively in preview tab', () => {
126
+ gridFillPage.steps.verifyCellHeightInPreviewTab(80);
127
+ gridFillPage.steps.verifyCellWidthInPreviewTab(80);
128
+ });
129
+
130
+ it('When user updates cell height and cell width, then cell height and cell width should be updated in preview tab', () => {
131
+ gridFillPage.steps.switchToEditTab();
132
+ gridFillPage.steps.updateValueInCellHeightInputField(50);
133
+ gridFillPage.steps.updateValueInCellWidthInputField(50);
134
+ gridFillPage.steps.switchToPreviewTab();
135
+ gridFillPage.steps.verifyCellHeightInPreviewTab(50);
136
+ gridFillPage.steps.verifyCellWidthInPreviewTab(50);
137
+ });
138
+
139
+ it('When \'Make responsive\' checkbox is checked and user enters value less than 44 in cell height input field then value should reset to 44 in preview tab', () => {
140
+ gridFillPage.steps.switchToEditTab();
141
+ gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
142
+ gridFillPage.steps.updateValueInCellHeightInputField(20);
143
+ gridFillPage.steps.verifyCellHeightInputField(44);
144
+ gridFillPage.steps.switchToPreviewTab();
145
+ gridFillPage.steps.verifyCellHeightInPreviewTab(44);
146
+ });
147
+
148
+ it('When \'Make responsive\' checkbox is checked and user enters value less than 44 in cell width input field then value should reset to 44 in preview tab', () => {
149
+ gridFillPage.steps.switchToEditTab();
150
+ gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
151
+ gridFillPage.steps.updateValueInCellWidthInputField(20);
152
+ gridFillPage.steps.verifyCellWidthInputField(44);
153
+ gridFillPage.steps.switchToPreviewTab();
154
+ gridFillPage.steps.verifyCellWidthInPreviewTab(44);
155
+ });
156
+
157
+ it('When \'Make responsive\' checkbox is checked and user enters value more than 200 in cell height input field then value should reset to 200 in preview tab', () => {
158
+ gridFillPage.steps.switchToEditTab();
159
+ gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
160
+ gridFillPage.steps.updateValueInCellHeightInputField(250);
161
+ gridFillPage.steps.verifyCellHeightInputField(200);
162
+ gridFillPage.steps.switchToPreviewTab();
163
+ gridFillPage.steps.verifyCellHeightInPreviewTab(200);
164
+ });
165
+
166
+ it('When \'Make responsive\' checkbox is checked and user enters value more than 200 in cell width input field then value should reset to 200 in preview tab', () => {
167
+ gridFillPage.steps.switchToEditTab();
168
+ gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
169
+ gridFillPage.steps.updateValueInCellWidthInputField(250);
170
+ gridFillPage.steps.verifyCellWidthInputField(200);
171
+ gridFillPage.steps.switchToPreviewTab();
172
+ gridFillPage.steps.verifyCellWidthInPreviewTab(200);
173
+ });
174
+
175
+ it('When user unchecks \'Make responsive\' checkbox then values in cell height and cell width should remain unchanged in preview tab', () => {
176
+ gridFillPage.steps.switchToEditTab();
177
+ gridFillPage.steps.uncheckMakeResponsiveCheckbox();
178
+ gridFillPage.steps.switchToPreviewTab();
179
+ gridFillPage.steps.verifyCellHeightInPreviewTab(200);
180
+ gridFillPage.steps.verifyCellWidthInPreviewTab(200);
181
+ });
182
+
183
+ it('When \'Make responsive\' checkbox is unchecked and user enters value less than 20 in cell height input field then value should reset to 20 in preview tab', () => {
184
+ gridFillPage.steps.switchToEditTab();
185
+ gridFillPage.steps.verifyMakeResponsiveCheckboxUnchecked();
186
+ gridFillPage.steps.updateValueInCellHeightInputField(10);
187
+ gridFillPage.steps.verifyCellHeightInputField(20);
188
+ gridFillPage.steps.switchToPreviewTab();
189
+ gridFillPage.steps.verifyCellHeightInPreviewTab(20);
190
+ });
191
+
192
+ it('When \'Make responsive\' checkbox is unchecked and user enters value less than 20 in cell width input field then value should reset to 20 in preview tab', () => {
193
+ gridFillPage.steps.switchToEditTab();
194
+ gridFillPage.steps.verifyMakeResponsiveCheckboxUnchecked();
195
+ gridFillPage.steps.updateValueInCellWidthInputField(10);
196
+ gridFillPage.steps.verifyCellWidthInputField(20);
197
+ gridFillPage.steps.switchToPreviewTab();
198
+ gridFillPage.steps.verifyCellWidthInPreviewTab(20)
199
+ });
200
+
201
+ it('When \'Make responsive\' checkbox is unchecked and user enters value more than 200 in cell height input field then value should reset to 200 in preview tab', () => {
202
+ gridFillPage.steps.switchToEditTab();
203
+ gridFillPage.steps.verifyMakeResponsiveCheckboxUnchecked();
204
+ gridFillPage.steps.updateValueInCellHeightInputField(250);
205
+ gridFillPage.steps.verifyCellHeightInputField(200);
206
+ gridFillPage.steps.switchToPreviewTab();
207
+ gridFillPage.steps.verifyCellHeightInPreviewTab(200);
208
+ });
209
+
210
+ it('When \'Make responsive\' checkbox is unchecked and user enters value more than 200 in cell width input field then value should reset to 200 in preview tab', () => {
211
+ gridFillPage.steps.switchToEditTab();
212
+ gridFillPage.steps.verifyMakeResponsiveCheckboxUnchecked();
213
+ gridFillPage.steps.updateValueInCellWidthInputField(250);
214
+ gridFillPage.steps.verifyCellWidthInputField(200);
215
+ gridFillPage.steps.switchToPreviewTab();
216
+ gridFillPage.steps.verifyCellWidthInPreviewTab(200);
217
+ });
218
+ });
219
+ });
@@ -30,6 +30,8 @@ describe('Create item page - Grid fill: Minimum scoring, Penalty scoring, Roundi
30
30
  gridFillPage.steps.navigateToCreateQuestion('grid fill');
31
31
  cy.barsPreLoaderWait();
32
32
  gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
33
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
34
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
33
35
  gridFillPage.steps.allotPoints(10);
34
36
  });
35
37
 
@@ -21,8 +21,8 @@ describe('Create item page - Grid fill : Preview contents', () => {
21
21
  cy.barsPreLoaderWait();
22
22
  gridFillPage.steps.addTextInQuestionInstructionsInputField('Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
23
23
  gridFillPage.steps.allotPoints(5);
24
- gridFillPage.steps.increaseColumnsCount();
25
- gridFillPage.steps.increaseRowsCount();
24
+ gridFillPage.steps.increaseColumnsCount(1);
25
+ gridFillPage.steps.increaseRowsCount(1);
26
26
  gridFillPage.steps.clickOnCustomizeLayoutAccordionButton();
27
27
  gridFillPage.steps.shadeCell(0, 0);
28
28
  gridFillPage.steps.selectHideCellButton();
@@ -37,8 +37,6 @@ describe('Create Item page - Grid fill: Specify Correct answer, Alternative corr
37
37
  gridFillPage.tests.verifySpecifyCorrectAnswerAccordionContentsAndFunctionality('Alternative');
38
38
 
39
39
  it('User should be able to add another alternative answer for the question using \'Add alternative answer\' button and the name for this new accordion should be \'Alternative 2\'', () => {
40
- cy.log('Pre-step: Selecting a cell in grid');
41
- gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
42
40
  gridFillPage.steps.addAlternativeAnswerAccordion(2);
43
41
  });
44
42
 
@@ -40,7 +40,7 @@ describe('Create item page - Grid fill: Student view settings', () => {
40
40
  gridFillPage.steps.VerifyTextInMaxSelectedCellInputField(1);
41
41
  });
42
42
 
43
- it('CSS of max cell selected label and input field', () => {
43
+ it('CSS of max cell selected label and input field', { tags: 'css' }, () => {
44
44
  utilities.verifyCSS(gridFillPage.maxSelectedCellLabel(), {
45
45
  'color': css.color.labels,
46
46
  'font-size': css.fontSize.normal,
@@ -4,7 +4,7 @@ import utilities from "../../../support/helpers/utilities";
4
4
 
5
5
  const options = ['option 1', 'option 2', 'option 3'];
6
6
 
7
- describe('Create Item page - matching into categories: Draggable options section', () => {
7
+ describe('Create Item page - Matching: Draggable options section', () => {
8
8
  before(() => {
9
9
  cy.loginAs('admin');
10
10
  });
@@ -0,0 +1,82 @@
1
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
2
+ import { dialogBoxBase, matchingPage } from "../../../pages";
3
+ import utilities from "../../../support/helpers/utilities";
4
+ const options = ['Flower', 'Leaves', 'Flowers'];
5
+ const promptTextArray = ['Wild', 'Aquatic', 'Pet'];
6
+
7
+ describe('Create item page - Matching : Header section and Saving question', () => {
8
+ before(() => {
9
+ cy.loginAs('admin');
10
+ });
11
+
12
+ describe('Header section contents', () => {
13
+ abortEarlySetup();
14
+ before(() => {
15
+ matchingPage.steps.navigateToCreateQuestion('matching');
16
+ });
17
+
18
+ matchingPage.tests.verifyCreateQuestionPageQuestionTypeHeader('Matching');
19
+ });
20
+
21
+ describe('Tabs section', () => {
22
+ abortEarlySetup();
23
+ before(() => {
24
+ matchingPage.steps.navigateToCreateQuestion('matching');
25
+ });
26
+
27
+ matchingPage.tests.verifyTabsSection();
28
+ });
29
+
30
+ describe('Cancel button', () => {
31
+ abortEarlySetup();
32
+ before(() => {
33
+ matchingPage.steps.navigateToCreateQuestion('matching');
34
+ });
35
+
36
+ matchingPage.tests.verifyCancelButton('matching')
37
+ });
38
+
39
+ describe('Save Question button', () => {
40
+ abortEarlySetup();
41
+ before(() => {
42
+ matchingPage.steps.navigateToCreateQuestion('matching');
43
+ cy.barsPreLoaderWait();
44
+ });
45
+
46
+ describe('Validation error messages', () => {
47
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
48
+
49
+ it('Validation error messages should be displayed below required input fields', () => {
50
+ matchingPage.steps.verifyQuestionInstructionsErrorMessage();
51
+ matchingPage.steps.verifyPromptInputFieldErrorMessage(0);
52
+ matchingPage.steps.verifyPromptInputFieldErrorMessage(1);
53
+ matchingPage.steps.verifyPromptInputFieldErrorMessage(2);
54
+ matchingPage.steps.verifyOptionsInputFieldErrorMessage(3);
55
+ matchingPage.steps.verifyOptionsInputFieldErrorMessage(4);
56
+ matchingPage.steps.verifyOptionsInputFieldErrorMessage(5);
57
+ matchingPage.steps.verifyPointsFieldErrorMessage();
58
+ matchingPage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
59
+ matchingPage.steps.verifySpecifyCorrectAnswerErrorMessage();
60
+ });
61
+
62
+ it('Validation error messages should disappear when required input fields are filled', () => {
63
+ matchingPage.steps.addTextInQuestionInstructionsInputField('Matching');
64
+ matchingPage.steps.enterTextInPromptInputField(promptTextArray);
65
+ matchingPage.steps.enterTextInOptionInputField(options);
66
+ matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Flower', dropzoneIndex: 0 }, { optionText: 'Leaves', dropzoneIndex: 1 }, { optionText: 'Flowers', dropzoneIndex: 2 }]);
67
+ matchingPage.steps.allotPoints(10);
68
+ matchingPage.steps.verifyErrorMessageIsNotDisplayed();
69
+ matchingPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
70
+ });
71
+
72
+ matchingPage.tests.verifyCreateItemWrapperContentsA11y();
73
+ });
74
+
75
+ describe('Saving a question', () => {
76
+ it('Clicking on Save Question button the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
77
+ matchingPage.steps.saveAQuestionAndVerifySnackbar();
78
+ });
79
+ matchingPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
80
+ });
81
+ });
82
+ });
@@ -0,0 +1,93 @@
1
+ import { matchingPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+ import utilities from "../../../support/helpers/utilities";
4
+
5
+ const promptTextArray = ['Wild', 'Aquatic', 'Pet'];
6
+ const options = ['Petals', 'Leaves', 'Roots', 'Flowers'];
7
+
8
+ describe('Create Item page - Matching : Specify correct answer, Alternative correct answer', () => {
9
+ before(() => {
10
+ cy.loginAs('admin');
11
+ });
12
+
13
+ describe('Specify correct answer section - \'Correct\' accordion', () => {
14
+ abortEarlySetup();
15
+ before(() => {
16
+ matchingPage.steps.navigateToCreateQuestion('matching');
17
+ cy.barsPreLoaderWait();
18
+ matchingPage.steps.addTextInQuestionInstructionsInputField('matching');
19
+ matchingPage.steps.addOption();
20
+ });
21
+
22
+ matchingPage.tests.verifyAutoScoredSpecifyCorrectAnswerHeaderSectionContents('matching');
23
+
24
+ it('In the \'Correct\' accordion the dropzone should be displayed with labels, dropzone fields and three empty options in the \'Specify correct answer\' options section', () => {
25
+ utilities.verifyElementCount(matchingPage.dropzoneSpecifyCorrectAnswerSection(), 3);
26
+ matchingPage.steps.verifyOptionContainerOptionSpecifyCorrectAnswerSection([{ index: 0, optionText: '' }, { index: 1, optionText: '' }, { index: 2, optionText: '' }]);
27
+ matchingPage.steps.verifyPromptContainerSpecifyCorrectAnswerSection([{ index: 0, optionText: '' }, { index: 1, optionText: '' }, { index: 2, optionText: '' }]);
28
+ });
29
+
30
+ it('When the user enters text in the prompt input field then it should be displayed in the \'Specify correct answer\' options section', () => {
31
+ matchingPage.steps.enterTextInPromptInputField(promptTextArray);
32
+ promptTextArray.forEach((promptText, index) => {
33
+ matchingPage.steps.verifyPromptContainerSpecifyCorrectAnswerSection([{ index: index, optionText: promptText }]);
34
+ });
35
+ });
36
+
37
+ it('When the user enters text in the options input field then the options should be displayed in the \'Specify correct answer\' options section', () => {
38
+ matchingPage.steps.enterTextInOptionInputField(options);
39
+ options.forEach((option, index) => {
40
+ matchingPage.steps.verifyOptionContainerOptionSpecifyCorrectAnswerSection([{ index: index, optionText: option }]);
41
+ });
42
+ });
43
+
44
+ matchingPage.tests.verifySpecifyCorrectAnswerAccordionContentsAndFunctionality('Correct');
45
+ });
46
+
47
+ describe('Specify correct answer section - \'Alternative\' accordion', () => {
48
+ abortEarlySetup();
49
+ before(() => {
50
+ matchingPage.steps.navigateToCreateQuestion('matching');
51
+ cy.barsPreLoaderWait();
52
+ matchingPage.steps.addTextInQuestionInstructionsInputField('matching');
53
+ matchingPage.steps.addOption();
54
+ matchingPage.steps.enterTextInOptionInputField(options);
55
+ });
56
+
57
+ matchingPage.tests.verifyAutoScoredAddAlternativeAnswerButtonAndValidation();
58
+
59
+ it('When user has added points and set correct answers in the \'Correct\' accordion, then the user should be able to add alternative answer for the question using \'Add alternative answer\' button', () => {
60
+ matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Petals', dropzoneIndex: 0 }, { optionText: 'Leaves', dropzoneIndex: 1 }, { optionText: 'Roots', dropzoneIndex: 2 }]);
61
+ matchingPage.steps.allotPoints(20);
62
+ matchingPage.steps.addAlternativeAnswerAccordion(1);
63
+ });
64
+
65
+ it('When the user has added options in the options sections then they should be displayed in the \'Alternative\' accordion options section', () => {
66
+ options.forEach((option, index) => {
67
+ matchingPage.steps.verifyOptionContainerOptionSpecifyCorrectAnswerSection([{ index: index, optionText: option }]);
68
+ });
69
+ });
70
+
71
+ matchingPage.tests.verifySpecifyCorrectAnswerAccordionContentsAndFunctionality('Alternative');
72
+
73
+ it('User should be able to add another alternative answer for the question using \'Add alternative answer\' button and the name for this new accordion should be \'Alternative 2\'', () => {
74
+ matchingPage.steps.addAlternativeAnswerAccordion(2);
75
+ });
76
+
77
+ matchingPage.tests.verifyWarningPopupAndAccordionNavigationWhenNoPointsAddedInAlternativeAccordion();
78
+
79
+ it('User should be able to remove alternative correct answer by clicking on the \'Delete\' icon button alongside alternative answer accordion and the name of the alternative answer accordions should get updated accordingly', () => {
80
+ cy.log('Set correct answer and points in alternative 2 accordion, then switch to alternative 1 accordion and click delete icon button');
81
+ matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Flower', dropzoneIndex: 0 }, { optionText: 'Leaves', dropzoneIndex: 1 }, { optionText: 'Roots', dropzoneIndex: 2 }]);
82
+ matchingPage.steps.allotPoints(5);
83
+ matchingPage.steps.deleteAlternativeAnswerAccordion(1);
84
+ matchingPage.steps.verifyAlternativeAnswerAccordionNotExists(2);
85
+ matchingPage.steps.verifyAlternativeAnswerAccordionLabel(0);
86
+ });
87
+
88
+ it('When the user deletes an option assigned as correct in the correct accordion then the correct accordion should be in the expanded state', () => {
89
+ matchingPage.steps.deleteOption(3);
90
+ matchingPage.steps.verifyCorrectAnswerAccordionIsExpanded();
91
+ });
92
+ });
93
+ });
@@ -25,7 +25,7 @@ describe('Create Item page - Multiple Selection - Block', () => {
25
25
  before(() => {
26
26
  cy.log('Navigating to Multiple Selection - block question type');
27
27
  multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection - block');
28
- multipleSelectionPage.steps.expandAdditonalSettings();
28
+ multipleSelectionPage.steps.expandAdditionalSettings();
29
29
  multipleSelectionPage.steps.addInputToOptionsInputField(options);
30
30
  });
31
31
 
@@ -61,7 +61,7 @@ describe('Create Item page - Multiple Selection - Block', () => {
61
61
  before(() => {
62
62
  cy.log('Navigating to Multiple Selection - block question type');
63
63
  multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection - block');
64
- multipleSelectionPage.steps.expandAdditonalSettings();
64
+ multipleSelectionPage.steps.expandAdditionalSettings();
65
65
  multipleSelectionPage.steps.switchToPreviewTab();
66
66
  });
67
67
 
@@ -115,6 +115,7 @@ describe('Create item page - Multiple selection: Scoring section', () => {
115
115
  multipleSelectionPage.steps.verifyPointsFieldValue(4);
116
116
  });
117
117
 
118
+ //https://redmine.zeuslearning.com/issues/566929
118
119
  it('When the user updates the entered points in \'All or nothing\' scoring type and switches to \'Partial equal weights\' scoring type, then the points should be equally divided and displayed besides each correct option', () => {
119
120
  multipleSelectionPage.steps.allotPoints(9);
120
121
  multipleSelectionPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
@@ -263,6 +264,8 @@ describe('Create item page - Multiple selection: Scoring section', () => {
263
264
  multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection');
264
265
  cy.barsPreLoaderWait();
265
266
  multipleSelectionPage.steps.addInputToOptionsInputField(options);
267
+ multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(0);
268
+ multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(1);
266
269
  multipleSelectionPage.steps.expandScoringTypeDropdown();
267
270
  multipleSelectionPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
268
271
  });
@@ -128,7 +128,7 @@ describe('Create item page - Multiple selection: Minimum scoring, Penalty scorin
128
128
  multipleSelectionPage.steps.clearTotalPenaltyPointsInputField();
129
129
  multipleSelectionPage.steps.selectPenaltyPointsForEachIncorrectOptionType('Specify points for each incorrect option');
130
130
  utilities.verifyInnerText(multipleSelectionPage.penaltyPointsDetailsSectionInputFieldLabel(), 'Penalty points for each incorrect option');
131
- multipleSelectionPage.steps.verifyPenaltyPointsForEachIncorrectOptionValue(0);
131
+ multipleSelectionPage.steps.verifyPenaltyPointsForEachIncorrectOptionValue('');
132
132
  utilities.verifyInnerText(multipleSelectionPage.penaltyPointsDetailsSectionAllottedPointsLabel(), 'Total penalty points: -');
133
133
  });
134
134
 
@@ -1,6 +1,7 @@
1
1
  import { multipleSelectionPage } from "../../../pages";
2
2
  import { commonComponents } from "../../../pages/components";
3
3
  import abortEarlySetup from "../../../support/helpers/abortEarly";
4
+ const options = ['Pollution caused by treating chemical waste', 'Pollution caused by cement production', 'Pollution caused by methane production', 'Pollution caused by cement and methane production'];
4
5
 
5
6
  describe('Multiple selection create question page accessibility checks', function () {
6
7
  describe('Edit page', function () {
@@ -9,7 +10,7 @@ describe('Multiple selection create question page accessibility checks', functio
9
10
  cy.loginAs('admin');
10
11
  multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection');
11
12
  cy.log('filled options text field')
12
- multipleSelectionPage.steps.addOptionsText(4);
13
+ multipleSelectionPage.steps.addInputToOptionsInputField(options);
13
14
  });
14
15
 
15
16
  it('State 1: Default edit page / landing page', function () {
@@ -21,7 +22,7 @@ describe('Multiple selection create question page accessibility checks', functio
21
22
 
22
23
  it('State 2: Filled question instructions field, selected correct answer, alotted points with the field focused', function () {
23
24
  multipleSelectionPage.steps.addQuestionInstructions();
24
- multipleSelectionPage.steps.setCorrectAnswers(1);
25
+ multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(0);
25
26
  multipleSelectionPage.steps.allotPoints(5);
26
27
  cy.checkAccessibility(commonComponents.nextGenCreateItemWrapper());
27
28
  });
@@ -33,8 +34,8 @@ describe('Multiple selection create question page accessibility checks', functio
33
34
  cy.loginAs('admin');
34
35
  multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection');
35
36
  multipleSelectionPage.steps.addQuestionInstructions();
36
- multipleSelectionPage.steps.addOptionsText(4);
37
- multipleSelectionPage.steps.setCorrectAnswers(1);
37
+ multipleSelectionPage.steps.addInputToOptionsInputField(options);
38
+ multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(0);
38
39
  multipleSelectionPage.steps.allotPoints(5);
39
40
  multipleSelectionPage.steps.switchToPreviewTab();
40
41
  });
@@ -44,12 +45,9 @@ describe('Multiple selection create question page accessibility checks', functio
44
45
  });
45
46
 
46
47
  it('State 2: Selected correct and incorrect options and checked Show Correct Answer checkbox', function () {
47
- multipleSelectionPage.previewTabOptionsWrapper(0)
48
- .click();
49
- multipleSelectionPage.previewTabOptionsWrapper(2)
50
- .click();
51
- multipleSelectionPage.showCorrectAnswerCheckbox()
52
- .click();
48
+ multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
49
+ multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
50
+ multipleSelectionPage.steps.switchToGradingView();
53
51
  cy.checkAccessibility(commonComponents.nextGenCreateItemWrapper());
54
52
  });
55
53
  });
@@ -67,9 +67,9 @@ describe('Create Item page - Multiple selection: Specify correct answer, Alterna
67
67
  cy.log('Set correct answer and points in alternative 2 accordion, then switch to alternative 1 accordion and click delete icon button');
68
68
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
69
69
  multipleSelectionPage.steps.allotPoints(5);
70
- multipleSelectionPage.steps.deleteAlternativeAnswerAccordion(1);
71
- multipleSelectionPage.steps.verifyAlternativeAnswerAccordionNotExists(2);
72
- multipleSelectionPage.steps.verifyAlternativeAnswerAccordionLabel(1);
70
+ multipleSelectionPage.steps.deleteAlternativeAnswerAccordion(0);
71
+ multipleSelectionPage.steps.verifyAlternativeAnswerAccordionNotExists(1);
72
+ multipleSelectionPage.steps.verifyAlternativeAnswerAccordionLabel(0);
73
73
  });
74
74
  });
75
75
  });