itemengine-cypress-automation 1.0.143-migrationScripts-d059d60.0 → 1.0.144-21MatchRepoUpdate-0ab2c79.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/additionalSettingsBasic.js +104 -0
  2. package/cypress/e2e/ILC/ContentBlocks/additionalSection.js +92 -0
  3. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +11 -1
  4. package/cypress/e2e/ILC/ContentBlocks/previewTab.js +91 -0
  5. package/cypress/e2e/ILC/ContentBlocks/styleAndLayoutCustomizationSection.js +3 -3
  6. package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorEditTabBasicSection.js +2 -1
  7. package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorPreviewContents.smoke.js +2 -1
  8. package/cypress/e2e/ILC/Desmos/desmosGeometryToolEditTabBasicSection.js +1 -0
  9. package/cypress/e2e/ILC/Desmos/desmosGeometryToolPreviewContents.smoke.js +2 -1
  10. package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorEditTabBasicSection.js +1 -0
  11. package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorPreviewContents.smoke.js +2 -1
  12. package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorEditTabBasicSection.js +2 -2
  13. package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorPreviewContents.smoke.js +2 -1
  14. package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorEditTabBasicSection.js +3 -2
  15. package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorPreviewContents.smoke.js +2 -1
  16. package/cypress/e2e/ILC/DesmosGraphing/additionalSettings.js +0 -5
  17. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettingsBasic.js +124 -0
  18. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +0 -9
  19. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +17 -17
  20. package/cypress/e2e/ILC/EssayResponse/additionalSettingsBasic.js +83 -0
  21. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +32 -30
  22. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +25 -21
  23. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +40 -41
  24. package/cypress/e2e/ILC/EssayResponse/equationEditorCategories1.js +249 -99
  25. package/cypress/e2e/ILC/EssayResponse/equationEditorCategories2.js +118 -187
  26. package/cypress/e2e/ILC/EssayResponseBasic/previewContentsForAllViews.smoke.js +1 -1
  27. package/cypress/e2e/ILC/EssayResponseMath/mathCharacters.js +1 -1
  28. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/additionalSettings.js +11 -11
  29. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneSettings.js +1 -1
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +1 -3
  31. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsBasic.js +138 -0
  32. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsForDropdowns.js +309 -0
  33. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +181 -0
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/additionalSettingsBasic.js +132 -0
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsBasic.js +143 -0
  36. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +345 -0
  37. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
  38. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/supportedFileTypes.js +49 -0
  39. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsBasic.js +25 -0
  40. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsForAnswerInputFields.js +251 -0
  41. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +49 -0
  42. package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsBasic.js +93 -0
  43. package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsForAnswerInputFields.js +215 -0
  44. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +1 -1
  45. package/cypress/e2e/ILC/FillInTheGapsTextNew/textContainerSettings.js +219 -0
  46. package/cypress/e2e/ILC/GeoGebraTools/3DGraphingCalculatorEditTabBasicSection.js +96 -0
  47. package/cypress/e2e/ILC/GeoGebraTools/3DGraphingCalculatorPreviewTabContents.smoke.js +75 -0
  48. package/cypress/e2e/ILC/GeoGebraTools/casCalculatorEditTabBasicSection.js +96 -0
  49. package/cypress/e2e/ILC/GeoGebraTools/casCalculatorPreviewTabContents.smoke.js +75 -0
  50. package/cypress/e2e/ILC/GeoGebraTools/geometryCalculatorEditTabBasicSection.js +96 -0
  51. package/cypress/e2e/ILC/GeoGebraTools/geometryCalculatorPreviewTabContents.smoke.js +76 -0
  52. package/cypress/e2e/ILC/GeoGebraTools/graphingCalculatorEditTabBasicSection.js +96 -0
  53. package/cypress/e2e/ILC/GeoGebraTools/graphingCalculatorPreviewTabContents.smoke.js +73 -0
  54. package/cypress/e2e/ILC/GeoGebraTools/probablityCalculatorEditTabBasicSection.js +96 -0
  55. package/cypress/e2e/ILC/GeoGebraTools/probablityCalculatorPreviewTabContents.smoke.js +75 -0
  56. package/cypress/e2e/ILC/GeoGebraTools/scientificCalculatorEditTabBasicSection.js +96 -0
  57. package/cypress/e2e/ILC/GeoGebraTools/scientificCalculatorPreviewTabContents.smoke.js +75 -0
  58. package/cypress/e2e/ILC/GeogebraActivity/additionalSettings.js +10 -8
  59. package/cypress/e2e/ILC/GeogebraActivity/gradingViewAndCorrectAnswerViewContents.smoke.js +3 -2
  60. package/cypress/e2e/ILC/GeogebraActivity/headerSection.js +2 -1
  61. package/cypress/e2e/ILC/GeogebraActivity/insertResourceLink.js +318 -0
  62. package/cypress/e2e/ILC/GeogebraActivity/previewTabContent.smoke.js +2 -1
  63. package/cypress/e2e/ILC/Graphing/additionalSettingsBasic.js +15 -4
  64. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +280 -0
  65. package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +136 -0
  66. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +205 -0
  67. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +213 -0
  68. package/cypress/e2e/ILC/GridFill/scoring/manuallyAndNonScored.js +106 -0
  69. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +79 -0
  70. package/cypress/e2e/ILC/MultipleSelection/additionalSettingsBasic.js +108 -0
  71. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +251 -0
  72. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +180 -0
  73. package/cypress/e2e/ILC/ShortTextResponseNew/additionalSettings.js +48 -56
  74. package/cypress/e2e/ILC/SingleSelection/additionalSettingsBasic.js +107 -0
  75. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +251 -0
  76. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +180 -0
  77. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +12 -3
  78. package/cypress/e2e/ILC/TextEntryMath/checkAnswerFunctionalityForAllViews.smoke.js +4 -1
  79. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +93 -68
  80. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +59 -52
  81. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +59 -52
  82. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +61 -50
  83. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +65 -51
  84. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +55 -46
  85. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +6 -3
  86. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +11 -9
  87. package/cypress/e2e/ILC/TextEntryMathWithImage/checkAnswerFunctionalityForAllViews.smoke.js +4 -3
  88. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +4 -2
  89. package/cypress/e2e/ILC/UploadResponse/additionalSettingsBasic.js +85 -0
  90. package/cypress/e2e/ILC/UploadResponse/editTabScoringSection.js +12 -12
  91. package/cypress/e2e/ILC/UploadResponse/uploadResponseEditTabBasicSections.js +1 -1
  92. package/cypress/fixtures/constants.js +2 -0
  93. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +1114 -1511
  94. package/cypress/fixtures/theme/ilc.json +7 -1
  95. package/cypress/pages/audioResponsePage.js +26 -2
  96. package/cypress/pages/components/additionalSettingsAccessibilitySectionComponent.js +1 -0
  97. package/cypress/pages/components/additionalSettingsPanel.js +3 -10
  98. package/cypress/pages/components/ariaLabelSectionComponent.js +84 -0
  99. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +5 -2
  100. package/cypress/pages/components/autoScoredStudentViewSettings.js +1 -1
  101. package/cypress/pages/components/commonComponents.js +1 -1
  102. package/cypress/pages/components/createCustomCategoryFlyout.js +2 -2
  103. package/cypress/pages/components/createQuestionBasePage.js +1 -1
  104. package/cypress/pages/components/desmosToolComponent.js +1 -0
  105. package/cypress/pages/components/draggableOptionContainer.js +1 -1
  106. package/cypress/pages/components/editCategoryFlyout.js +9 -10
  107. package/cypress/pages/components/equationEditorFlyout.js +20 -11
  108. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +167 -3
  109. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +149 -6
  110. package/cypress/pages/components/gradingViewEnumerationComponent.js +151 -0
  111. package/cypress/pages/components/gridQuestionCommonComponent.js +390 -0
  112. package/cypress/pages/components/imageCanvasComponent.js +25 -1
  113. package/cypress/pages/components/index.js +5 -1
  114. package/cypress/pages/components/placeholderTextSectionComponent.js +110 -0
  115. package/cypress/pages/components/responseAreaSettingsPopupComponent.js +2 -2
  116. package/cypress/pages/contentBlocksPage.js +60 -1
  117. package/cypress/pages/dragAndDropIntoCategoriesPage.js +4 -17
  118. package/cypress/pages/essayResponsePage.js +14 -11
  119. package/cypress/pages/fillInTheGapsDragAndDropPage.js +15 -0
  120. package/cypress/pages/fillInTheGapsDropdownPage.js +121 -2
  121. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +3 -1
  122. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +70 -3
  123. package/cypress/pages/fillInTheGapsOverImageTextPage.js +33 -3
  124. package/cypress/pages/fillInTheGapsTextPage.js +81 -4
  125. package/cypress/pages/geoGebraActivityPage.js +75 -11
  126. package/cypress/pages/geoGebraToolsPage.js +292 -0
  127. package/cypress/pages/graphingPage.js +2 -1
  128. package/cypress/pages/gridFillPage.js +713 -0
  129. package/cypress/pages/index.js +3 -1
  130. package/cypress/pages/multipleSelectionGridPage.js +71 -317
  131. package/cypress/pages/multipleSelectionPage.js +2 -1
  132. package/cypress/pages/selectQuestionResourceToolPage.js +13 -2
  133. package/cypress/pages/singleSelectionGridPage.js +78 -329
  134. package/cypress/pages/singleSelectionPage.js +2 -1
  135. package/cypress/pages/textEntryMathPage.js +24 -6
  136. package/cypress/pages/textEntryMathWithImagePage.js +1 -1
  137. package/cypress/pages/uploadResponsePage.js +4 -3
  138. package/package.json +1 -1
  139. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/additionalSettings.js +0 -43
  140. package/cypress/pages/components/fillInTheGapsCommonComponents.js +0 -642
@@ -36,12 +36,12 @@ describe('Create question page - Essay Response: Edit category', () => {
36
36
 
37
37
  it('The name of the category should be displayed in the flyout with a checked checkbox', () => {
38
38
  utilities.verifyElementVisibilityState(editCategoryFlyout.categoryLabel(), 'visible');
39
- utilities.verifyInnerText(editCategoryFlyout.categoryLabel(), `${equationEditorCategoriesAndSymbols['keypad'].displayName}`);
39
+ utilities.verifyInnerText(editCategoryFlyout.categoryLabel(), `${equationEditorCategoriesAndSymbols['general'].displayName}`);
40
40
  editCategoryFlyout.steps.verifyCategoryCheckboxIsChecked();
41
41
  });
42
42
 
43
- it(`All the ${equationEditorCategoriesAndSymbols['keypad'].displayName} characters should be displayed and should be in selected state`, () => {
44
- const symbolsArray = Object.values(equationEditorCategoriesAndSymbols['keypad'].symbols);
43
+ it(`All the ${equationEditorCategoriesAndSymbols['general'].displayName} characters should be displayed and should be in selected state`, () => {
44
+ const symbolsArray = Object.values(equationEditorCategoriesAndSymbols['general'].symbols);
45
45
  editCategoryFlyout.steps.verifyCategoryCharactersAndSelectedState(symbolsArray);
46
46
  editCategoryFlyout.steps.verifyCategoryCharactersDragIconAndTitle(symbolsArray);
47
47
  });
@@ -126,7 +126,7 @@ describe('Create question page - Essay Response: Edit category', () => {
126
126
  });
127
127
 
128
128
  it('When user deselects any one character by clicking on it then the category checkbox should be in partially checked state', () => {
129
- editCategoryFlyout.steps.deselectCategoryCharacters(equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel);
129
+ editCategoryFlyout.steps.deselectCategoryCharacters(equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel);
130
130
  editCategoryFlyout.steps.verifyCategoryCheckboxIsPartiallyChecked();
131
131
  });
132
132
 
@@ -173,7 +173,10 @@ describe('Create question page - Essay Response: Edit category', () => {
173
173
 
174
174
  it('When user clicks on all the selected characters then the category checkbox should get unchecked', () => {
175
175
  editCategoryFlyout.steps.verifyCategoryCheckboxIsChecked();
176
- editCategoryFlyout.steps.deselectAllCategoryCharacters();
176
+ editCategoryFlyout.steps.deselectCategoryCharacters(equationEditorCategoriesAndSymbols.general.symbols.questionMark);
177
+ editCategoryFlyout.steps.deselectCategoryCharacters(equationEditorCategoriesAndSymbols.general.symbols.cents);
178
+ editCategoryFlyout.steps.deselectCategoryCharacters(equationEditorCategoriesAndSymbols.general.symbols.dollar);
179
+ editCategoryFlyout.steps.deselectCategoryCharacters(equationEditorCategoriesAndSymbols.general.symbols.colonRatio);
177
180
  editCategoryFlyout.steps.verifyCategoryCheckboxIsUnchecked();
178
181
  });
179
182
 
@@ -197,7 +200,7 @@ describe('Create question page - Essay Response: Edit category', () => {
197
200
  });
198
201
 
199
202
  it('When user de-selects any character by clicking on it then the Reset button should get enabled', () => {
200
- editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel}`);
203
+ editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel}`);
201
204
  utilities.verifyElementNotDisabled(editCategoryFlyout.buttonReset());
202
205
  });
203
206
 
@@ -219,22 +222,22 @@ describe('Create question page - Essay Response: Edit category', () => {
219
222
  });
220
223
 
221
224
  it('When user de-selects characters and re-selects them then the Reset button should be disabled', () => {
222
- editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel}`);
223
- editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.two.ariaLabel}`)
224
- editCategoryFlyout.steps.selectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel}`)
225
- editCategoryFlyout.steps.selectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.two.ariaLabel}`)
225
+ editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel}`);
226
+ editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.cents.ariaLabel}`)
227
+ editCategoryFlyout.steps.selectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel}`)
228
+ editCategoryFlyout.steps.selectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.cents.ariaLabel}`)
226
229
  utilities.verifyElementDisabled(editCategoryFlyout.buttonReset())
227
230
  });
228
231
 
229
232
  it('When user edits and saves the category then on opening the same Edit category flyout the \'Reset\' button should be disabled and the previously Saved changes should be displayed', () => {
230
- editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel}`);
231
- editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.two.ariaLabel}`);
233
+ editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel}`);
234
+ editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.cents.ariaLabel}`);
232
235
  editCategoryFlyout.steps.clickOnSaveButton();
233
236
  utilities.verifyElementVisibilityState(editCategoryFlyout.dialogBox(), 'notExist');
234
237
  editCategoryFlyout.steps.openEditCategoryFlyout();
235
238
  utilities.verifyElementDisabled(editCategoryFlyout.buttonReset());
236
- editCategoryFlyout.steps.verifyCategoryCharacterNotSelected(`${equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel}`)
237
- editCategoryFlyout.steps.verifyCategoryCharacterNotSelected(`${equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel}`)
239
+ editCategoryFlyout.steps.verifyCategoryCharacterNotSelected(`${equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel}`)
240
+ editCategoryFlyout.steps.verifyCategoryCharacterNotSelected(`${equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel}`)
238
241
  editCategoryFlyout.categoryCharacters()
239
242
  .then(($symbols) => {
240
243
  for (let index = 0; index < $symbols.length - 2; index++) {
@@ -254,8 +257,8 @@ describe('Create question page - Essay Response: Edit category', () => {
254
257
  });
255
258
 
256
259
  it('When user edits a category and clicks on Cancel button then the flyout should close and the changes should not be saved', () => {
257
- editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel}`);
258
- editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.two.ariaLabel}`);
260
+ editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel}`);
261
+ editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.cents.ariaLabel}`);
259
262
  editCategoryFlyout.steps.clickOnCancelButton();
260
263
  utilities.verifyElementVisibilityState(editCategoryFlyout.dialogBox(), 'notExist');
261
264
  editCategoryFlyout.steps.openEditCategoryFlyout()
@@ -263,21 +266,22 @@ describe('Create question page - Essay Response: Edit category', () => {
263
266
  });
264
267
 
265
268
  it('When user edits a category and saves it then the changes should be displayed in the Equation editor flyout', () => {
266
- const symbolsArray = Object.values(equationEditorCategoriesAndSymbols['keypad'].symbols)
267
- editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel}`)
269
+ const symbolsArray = Object.values(equationEditorCategoriesAndSymbols['general'].symbols);
270
+ editCategoryFlyout.steps.deselectCategoryCharacters(`${equationEditorCategoriesAndSymbols.general.symbols.questionMark.ariaLabel}`)
268
271
  editCategoryFlyout.steps.clickOnSaveButton();
269
272
  utilities.verifyElementVisibilityState(editCategoryFlyout.dialogBox(), 'notExist');
270
- essayResponsePage.steps.switchToPreviewTab()
273
+ essayResponsePage.steps.switchToPreviewTab();
271
274
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
275
+ equationEditorFlyout.steps.selectEquationEditorCategoryPreviewTab('General');
272
276
  equationEditorFlyout.steps.verifyEquationEditorCharacterWithoutFirstCharacter(symbolsArray);
273
277
  equationEditorFlyout.steps.clickOnEquationEditorCancelButton();
274
278
  });
275
279
 
276
280
  it('When user re-visits the Edit category flyout the changes should be displayed', () => {
277
- const symbolsArray = Object.values(equationEditorCategoriesAndSymbols['keypad'].symbols)
281
+ const symbolsArray = Object.values(equationEditorCategoriesAndSymbols['general'].symbols)
278
282
  essayResponsePage.steps.switchToEditTab()
279
283
  editCategoryFlyout.steps.openEditCategoryFlyout();
280
- editCategoryFlyout.steps.verifyCategoryCharacterNotSelected(`${equationEditorCategoriesAndSymbols.keypad.symbols.one.ariaLabel}`);
284
+ editCategoryFlyout.steps.verifyCategoryCharacterNotSelected(`${equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel}`);
281
285
  editCategoryFlyout.steps.verifyCategoryCharactersAndSelectedState(symbolsArray);
282
286
  });
283
287
  });
@@ -1,5 +1,5 @@
1
1
  import { equationEditorCategoriesAndSymbols } from "../../../fixtures/equationEditorCategoriesAndSymbols ";
2
- import { commonComponents, createCustomCategoryFlyout } from "../../../pages/components";
2
+ import { createCustomCategoryFlyout } from "../../../pages/components";
3
3
  import { equationEditorFlyout } from "../../../pages/components/equationEditorFlyout";
4
4
  import { essayResponsePage } from "../../../pages/essayResponsePage";
5
5
  import abortEarlySetup from "../../../support/helpers/abortEarly";
@@ -7,7 +7,7 @@ import utilities from "../../../support/helpers/utilities";
7
7
  const css = Cypress.env('css');
8
8
  const grepTags = Cypress.env('grepTags');
9
9
 
10
- const defaultSelectedCategories = ['Keypad', 'Basic', 'Greek', 'Operators', 'Relationships', 'Arrows', 'Delimiters', 'Misc'];
10
+ const defaultSelectedCategories = ['Numpad', 'Intermediate', 'Primary', 'General', 'Common', 'Algebra', 'Geo', 'Compare', 'Matrices'];
11
11
  const allCategories = Object.values(equationEditorCategoriesAndSymbols)
12
12
 
13
13
  describe('Create question page - Essay Response: Equation Editor functionality', () => {
@@ -38,23 +38,23 @@ describe('Create question page - Essay Response: Equation Editor functionality',
38
38
 
39
39
  it('Ok button should be displayed at the bottom of the flyout', () => {
40
40
  utilities.verifyElementVisibilityState(equationEditorFlyout.buttonOk(), 'visible');
41
- utilities.verifyInnerText(equationEditorFlyout.buttonOk(), 'Ok');
41
+ utilities.verifyInnerText(equationEditorFlyout.buttonOk(), 'OK');
42
42
  });
43
43
 
44
- it('Equation Editor input field should be displayed and should have cursor by default', () => {
44
+ it('Equation Editor input field should be displayed and when user focuses in the input field should have cursor', () => {
45
45
  equationEditorFlyout.steps.verifyDefaultEquationEditorInputFieldWithCursor();
46
46
  });
47
47
 
48
48
  it('All the default selected categories in the \'Equation Editor\' section should be displayed and first category must be selected by default in the \'Equation Editor\' flyout', () => {
49
49
  equationEditorFlyout.steps.verifyEquationEditorCategoryTiles(defaultSelectedCategories);
50
- equationEditorFlyout.steps.verifyCategoryTileSelectedInEquationEditor('Keypad')
50
+ equationEditorFlyout.steps.verifyCategoryTileSelectedInEquationEditor(equationEditorCategoriesAndSymbols['numPad'].displayName);
51
51
  });
52
52
 
53
53
  it('CSS of \'Equation Editor\' flyout', { tags: 'css' }, () => {
54
54
  utilities.verifyCSS(equationEditorFlyout.dialogBoxTitle(), {
55
55
  'color': css.color.flyoutTitle,
56
56
  'font-size': css.fontSize.heading,
57
- 'font-weight': css.fontWeight.semibold
57
+ 'font-weight': css.fontWeight.bold
58
58
  });
59
59
  cy.log('CSS of selected category')
60
60
  utilities.getNthElement(equationEditorFlyout.categoryTab(), 0)
@@ -74,18 +74,18 @@ describe('Create question page - Essay Response: Equation Editor functionality',
74
74
  utilities.getNthElement(equationEditorFlyout.categoryTab(), 0)
75
75
  .within(() => {
76
76
  utilities.verifyCSS(equationEditorFlyout.categoryTabTitle(), {
77
- 'color': css.color.secondaryBtn,
77
+ 'color': css.color.activeButtons,
78
78
  'font-size': css.fontSize.small,
79
79
  'font-weight': css.fontWeight.regular
80
80
  });
81
81
  utilities.verifyCSS(equationEditorFlyout.categoryTabIcon(), {
82
- 'color': css.color.secondaryBtn,
82
+ 'color': css.color.activeButtons,
83
83
  'font-size': css.fontSize.default,
84
84
  'font-weight': css.fontWeight.regular
85
85
  });
86
86
  });
87
87
  utilities.verifyCSS(equationEditorFlyout.previewInputField(), {
88
- 'background-color': css.color.transparent
88
+ 'background-color': css.color.defaultBackground
89
89
  });
90
90
  utilities.verifyCSS(equationEditorFlyout.buttonCancel(), {
91
91
  'color': css.color.secondaryBtn,
@@ -101,8 +101,9 @@ describe('Create question page - Essay Response: Equation Editor functionality',
101
101
  });
102
102
  });
103
103
 
104
+ //Failing due to https://redmine.zeuslearning.com/issues/564678
104
105
  it('Accessibility of \'Equation Editor\' flyout', { tags: 'a11y' }, () => {
105
- cy.checkAccessibility(equationEditorFlyout.dialogBox())
106
+ cy.checkAccessibility(equationEditorFlyout.dialogBox());
106
107
  });
107
108
 
108
109
  it('Cancel button should be displayed in the flyout and when user clicks the \'Cancel\' button then the flyout should close', () => {
@@ -121,7 +122,10 @@ describe('Create question page - Essay Response: Equation Editor functionality',
121
122
  cy.barsPreLoaderWait();
122
123
  essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
123
124
  essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
124
- essayResponsePage.steps.deselectCategoryInEquationEditorSectionEditTab('Misc');
125
+ essayResponsePage.steps.deselectCategoryInEquationEditorSectionEditTab(equationEditorCategoriesAndSymbols['algebra'].displayName);
126
+ essayResponsePage.steps.deselectCategoryInEquationEditorSectionEditTab(equationEditorCategoriesAndSymbols['geo'].displayName);
127
+ essayResponsePage.steps.deselectCategoryInEquationEditorSectionEditTab(equationEditorCategoriesAndSymbols['compare'].displayName);
128
+ essayResponsePage.steps.deselectCategoryInEquationEditorSectionEditTab(equationEditorCategoriesAndSymbols['matrices'].displayName);
125
129
  essayResponsePage.steps.switchToPreviewTab();
126
130
  });
127
131
 
@@ -132,9 +136,9 @@ describe('Create question page - Essay Response: Equation Editor functionality',
132
136
  });
133
137
 
134
138
  it('When the selected number of equation categories do not fit the dialog box width then \'Next button\' and \'Previous button\' should be displayed in the equation editor flyout', () => {
135
- cy.log('Pre step: Switch to Edit tab and select all categories from the Equation Editor section')
139
+ cy.log('Pre step: Switch to Edit tab and select categories from the Equation Editor section')
136
140
  essayResponsePage.steps.switchToEditTab();
137
- essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['misc'].displayName}`, `${equationEditorCategoriesAndSymbols['matrices'].displayName}`, `${equationEditorCategoriesAndSymbols['trigonometry'].displayName}`, `${equationEditorCategoriesAndSymbols['units'].displayName}`, `${equationEditorCategoriesAndSymbols['calculus'].displayName}`, `${equationEditorCategoriesAndSymbols['geometry'].displayName}`]);
141
+ essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['algebra'].displayName}`, `${equationEditorCategoriesAndSymbols['matrices'].displayName}`, `${equationEditorCategoriesAndSymbols['geo'].displayName}`, `${equationEditorCategoriesAndSymbols['compare'].displayName}`, `${equationEditorCategoriesAndSymbols['calculus'].displayName}`, `${equationEditorCategoriesAndSymbols['trig'].displayName}`, `${equationEditorCategoriesAndSymbols['delimiters'].displayName}`, `${equationEditorCategoriesAndSymbols['greek'].displayName}`, `${equationEditorCategoriesAndSymbols['measurement'].displayName}`, `${equationEditorCategoriesAndSymbols['setNotation'].displayName}`]);
138
142
  cy.log('Switching to Preview tab')
139
143
  essayResponsePage.steps.switchToPreviewTab()
140
144
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
@@ -209,8 +213,9 @@ describe('Create question page - Essay Response: Equation Editor functionality',
209
213
  essayResponsePage.steps.verifyDefaultCategoriesDisplayedInEquationEditorSectionEditTab();
210
214
  });
211
215
 
216
+ //Failing due to https://redmine.zeuslearning.com/issues/564604
212
217
  it('When user hovers on a category with a long name, then a tooltip should be displayed.', () => {
213
- let categoriesWithTooltip = [`${equationEditorCategoriesAndSymbols['relationships'].displayName}`, `${equationEditorCategoriesAndSymbols['trigonometry'].displayName}`, `${equationEditorCategoriesAndSymbols['calculus'].displayName}`, `${equationEditorCategoriesAndSymbols['geometry'].displayName}`];
218
+ let categoriesWithTooltip = [`${equationEditorCategoriesAndSymbols['greek'].displayName}`, `${equationEditorCategoriesAndSymbols['measurement'].displayName}`, `${equationEditorCategoriesAndSymbols['otherSymbols'].displayName}`];
214
219
  essayResponsePage.steps.verifyTooltipsOfCategoryTilesInEquationEditorSectionEditTab(categoriesWithTooltip);
215
220
  });
216
221
 
@@ -225,7 +230,7 @@ describe('Create question page - Essay Response: Equation Editor functionality',
225
230
  utilities.verifyCSS(utilities.getNthElement(essayResponsePage.equationEditorSectionCategories(), 0), {
226
231
  'background-color': css.color.activeButtons
227
232
  });
228
- utilities.verifyCSS(utilities.getNthElement(essayResponsePage.equationEditorSectionCategories(), 0))
233
+ utilities.getNthElement(essayResponsePage.equationEditorSectionCategories(), 0)
229
234
  .within(() => {
230
235
  utilities.verifyCSS(essayResponsePage.equationEditorSectionCategoryLabel(), {
231
236
  'color': css.color.primaryBtn,
@@ -243,7 +248,7 @@ describe('Create question page - Essay Response: Equation Editor functionality',
243
248
  utilities.verifyCSS(utilities.getNthElement(essayResponsePage.equationEditorSectionCategories(), 12), {
244
249
  'background-color': css.color.primaryBtn
245
250
  });
246
- utilities.verifyCSS(utilities.getNthElement(essayResponsePage.equationEditorSectionCategories(), 12))
251
+ utilities.getNthElement(essayResponsePage.equationEditorSectionCategories(), 12)
247
252
  .within(() => {
248
253
  utilities.verifyCSS(essayResponsePage.equationEditorSectionCategoryLabel(), {
249
254
  'color': css.color.secondaryBtn,
@@ -257,26 +262,25 @@ describe('Create question page - Essay Response: Equation Editor functionality',
257
262
  });
258
263
 
259
264
  it('Accessibility of selected and deselected category', { tags: 'a11y' }, () => {
260
- cy.checkAccessibility(essayResponsePage.equationEditorSectionCategories().contains(`${equationEditorCategoriesAndSymbols['keypad'].displayName}`).parents('[class*="DraggableItemsGrid"]'))
265
+ cy.checkAccessibility(essayResponsePage.equationEditorSectionCategories().contains(`${equationEditorCategoriesAndSymbols['numPad'].displayName}`).parents('[class*="DraggableItemsGrid"]'))
261
266
  });
262
267
 
263
268
  it('User should be able select and deselect a category and it should be reflected in the Equation Editor flyout and the first category should be selected by default', () => {
264
269
  cy.log('Selecting and deselecting a category')
265
- essayResponsePage.steps.deselectACategoryInEquationEditorSectionEditTab(`${equationEditorCategoriesAndSymbols['keypad'].displayName}`);
266
- essayResponsePage.steps.selectACategoryInEquationEditorSectionEditTab(`${equationEditorCategoriesAndSymbols['geometry'].displayName}`);
270
+ essayResponsePage.steps.deselectACategoryInEquationEditorSectionEditTab(`${equationEditorCategoriesAndSymbols['numPad'].displayName}`);
271
+ essayResponsePage.steps.selectACategoryInEquationEditorSectionEditTab(`${equationEditorCategoriesAndSymbols['greek'].displayName}`);
267
272
  cy.log('Switching to Preview tab')
268
273
  essayResponsePage.steps.switchToPreviewTab();
269
274
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
270
- equationEditorFlyout.steps.verifyCategoryNotDisplayedInEquationEditor(`${equationEditorCategoriesAndSymbols['keypad'].displayName}`);
271
- equationEditorFlyout.steps.verifyCategoryTileSelectedInEquationEditor(`${equationEditorCategoriesAndSymbols['basic'].displayName}`);
275
+ equationEditorFlyout.steps.verifyCategoryNotDisplayedInEquationEditor(`${equationEditorCategoriesAndSymbols['numPad'].displayName}`);
272
276
  equationEditorFlyout.steps.clickOnEquationEditorButtonNext()
273
- equationEditorFlyout.steps.verifyCategoryIsDisplayedInEquationEditor(`${equationEditorCategoriesAndSymbols['geometry'].displayName}`);
277
+ equationEditorFlyout.steps.verifyCategoryIsDisplayedInEquationEditor(`${equationEditorCategoriesAndSymbols['greek'].displayName}`);
274
278
  });
275
279
 
276
280
  it('On deselecting all the categories an error message should be displayed \'Error: Please select a category.\' and the preview tab Equation Editor flyout should be empty', () => {
277
281
  cy.log('Pre step: Switching to Edit tab')
278
282
  essayResponsePage.steps.switchToEditTab();
279
- essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['basic'].displayName}`, `${equationEditorCategoriesAndSymbols['greek'].displayName}`, `${equationEditorCategoriesAndSymbols['operators'].displayName}`, `${equationEditorCategoriesAndSymbols['relationships'].displayName}`, `${equationEditorCategoriesAndSymbols['arrows'].displayName}`, `${equationEditorCategoriesAndSymbols['delimiters'].displayName}`, `${equationEditorCategoriesAndSymbols['misc'].displayName}`, `${equationEditorCategoriesAndSymbols['geometry'].displayName}`]);
283
+ essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['intermediate'].displayName}`, `${equationEditorCategoriesAndSymbols['primary'].displayName}`, `${equationEditorCategoriesAndSymbols['general'].displayName}`, `${equationEditorCategoriesAndSymbols['common'].displayName}`, `${equationEditorCategoriesAndSymbols['algebra'].displayName}`, `${equationEditorCategoriesAndSymbols['geo'].displayName}`, `${equationEditorCategoriesAndSymbols['compare'].displayName}`, `${equationEditorCategoriesAndSymbols['matrices'].displayName}`, `${equationEditorCategoriesAndSymbols['greek'].displayName}`]);
280
284
  utilities.verifyInnerText(essayResponsePage.selectACategoryErrorMessage(), 'Error: Please select a category.');
281
285
  cy.log('Switching to Preview tab')
282
286
  essayResponsePage.steps.switchToPreviewTab();
@@ -302,7 +306,7 @@ describe('Create question page - Essay Response: Equation Editor functionality',
302
306
  });
303
307
 
304
308
  it('When user selects any category then the error message should disappear', () => {
305
- essayResponsePage.steps.selectACategoryInEquationEditorSectionEditTab(`${equationEditorCategoriesAndSymbols['keypad'].displayName}`);
309
+ essayResponsePage.steps.selectACategoryInEquationEditorSectionEditTab(`${equationEditorCategoriesAndSymbols['numPad'].displayName}`);
306
310
  utilities.verifyElementVisibilityState(essayResponsePage.selectACategoryErrorMessage(), 'notExist');
307
311
  });
308
312
 
@@ -311,7 +315,7 @@ describe('Create question page - Essay Response: Equation Editor functionality',
311
315
  essayResponsePage.steps.deselectCustomizedFormattingOption(['Equation Editor']);
312
316
  utilities.verifyElementVisibilityState(essayResponsePage.equationEditorSection(), 'notExist');
313
317
  essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
314
- essayResponsePage.steps.verifySelectedCategoryInEquationEditorSectionEditTab(`${equationEditorCategoriesAndSymbols['keypad'].displayName}`);
318
+ essayResponsePage.steps.verifySelectedCategoryInEquationEditorSectionEditTab(`${equationEditorCategoriesAndSymbols['numPad'].displayName}`);
315
319
  deselectedCategoriesArray.forEach((categoryName) => {
316
320
  essayResponsePage.steps.verifyDeselectedCategoryInEquationEditorSectionEditTab(categoryName);
317
321
  });
@@ -333,9 +337,8 @@ describe('Create question page - Essay Response: Equation Editor functionality',
333
337
  });
334
338
 
335
339
  it('When user enters an equation in the Preview input field the word count should increase by 1 and the entered equation should have focus', () => {
336
- cy.log('Adding an equation using Basic and Greek category')
337
- equationEditorFlyout.steps.enterEquation([{ categoryName: `${equationEditorCategoriesAndSymbols['basic'].displayName}`, symbolAriaLabel: [`${equationEditorCategoriesAndSymbols.basic.symbols.x.ariaLabel}`, `${equationEditorCategoriesAndSymbols.basic.symbols.square.ariaLabel}`, `${equationEditorCategoriesAndSymbols.basic.symbols.equalTo.ariaLabel}`] },
338
- { categoryName: `${equationEditorCategoriesAndSymbols['greek'].displayName}`, symbolAriaLabel: [`${equationEditorCategoriesAndSymbols.greek.symbols.piUpper.ariaLabel}`] }]);
340
+ cy.log('Adding an equation using Primary and Greek category')
341
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'primary', symbolName: ['cents', 'dollar', 'colonRatio'] }, { categoryName: 'numPad', symbolName: ['one'] }]);
339
342
  cy.log('Clicking on Ok button to add the equation to Preview input field and checking word count')
340
343
  equationEditorFlyout.steps.clickOnOkButton();
341
344
  essayResponsePage.steps.verifyWordCount(1);
@@ -345,7 +348,7 @@ describe('Create question page - Essay Response: Equation Editor functionality',
345
348
  cy.log('Prestep: Clicking on Equation editor button')
346
349
  essayResponsePage.steps.enterInputInResponseField('{rightarrow}');
347
350
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
348
- equationEditorFlyout.steps.enterEquation([{ categoryName: `${equationEditorCategoriesAndSymbols['arrows'].displayName}`, symbolAriaLabel: [`${equationEditorCategoriesAndSymbols.arrows.symbols.leftHarpoonBarbUp.ariaLabel}`, `${equationEditorCategoriesAndSymbols.arrows.symbols.leftRightHarpoons.ariaLabel}`] }]);
351
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'common', symbolName: ['plusMinus', 'muchLessThan'] }]);
349
352
  equationEditorFlyout.steps.clickOnOkButton();
350
353
  essayResponsePage.steps.verifyWordCount(1);
351
354
  });
@@ -353,7 +356,7 @@ describe('Create question page - Essay Response: Equation Editor functionality',
353
356
  it('When user enters another equation in the preview input field after adding a space the word count should increase by 1', () => {
354
357
  essayResponsePage.steps.enterInputInResponseField('{rightarrow} ');
355
358
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
356
- equationEditorFlyout.steps.enterEquation([{ categoryName: `${equationEditorCategoriesAndSymbols['keypad'].displayName}`, symbolAriaLabel: [`${equationEditorCategoriesAndSymbols.keypad.symbols.add.ariaLabel}`, `${equationEditorCategoriesAndSymbols.keypad.symbols.two.ariaLabel}`] }]);
359
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['add', 'two'] }]);
357
360
  equationEditorFlyout.steps.clickOnOkButton();
358
361
  essayResponsePage.steps.verifyWordCount(2);
359
362
  });
@@ -376,11 +379,9 @@ describe('Create question page - Essay Response: Equation Editor functionality',
376
379
  essayResponsePage.steps.switchToPreviewTab();
377
380
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
378
381
  cy.log('Adding an equation to preview input field')
379
- equationEditorFlyout.steps.enterEquation([{ categoryName: `${equationEditorCategoriesAndSymbols['relationships'].displayName}`, symbolAriaLabel: [`${equationEditorCategoriesAndSymbols.relationships.symbols.simultaneousEquations.ariaLabel}`] }]);
380
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('a');
381
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['b', 'c', 'd']);
382
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x'] }, { categoryName: 'numPad', symbolName: ['add', 'five', 'equalTo', 'one'] }]);
382
383
  equationEditorFlyout.steps.clickOnOkButton();
383
- essayResponsePage.steps.verifyResponseFieldEquationText(0, 'a+b=c+d=');
384
+ essayResponsePage.steps.verifyResponseFieldEquationText(0, 'x+5=1');
384
385
  });
385
386
 
386
387
  it('When user double clicks on an added equation in preview input field, the Equation editor flyout should open', () => {
@@ -389,23 +390,21 @@ describe('Create question page - Essay Response: Equation Editor functionality',
389
390
  });
390
391
 
391
392
  it(`In the equation editor flyout the ${allCategories[0].displayName} should be selected by default and the Equation editor input field should be prefilled with the added equation`, () => {
392
- equationEditorFlyout.steps.verifyCategoryTileSelectedInEquationEditor(`${equationEditorCategoriesAndSymbols['keypad'].displayName}`);
393
- utilities.verifyTextContent(equationEditorFlyout.previewInputField(), 'a+b=c+d=');
393
+ equationEditorFlyout.steps.verifyCategoryTileSelectedInEquationEditor(`${equationEditorCategoriesAndSymbols['numPad'].displayName}`);
394
+ utilities.verifyTextContent(equationEditorFlyout.previewInputField(), 'x+5=1');
394
395
  });
395
396
 
396
397
  it('When user clicks on Cancel button the equation should be displayed in the preview input field without any changes', () => {
397
398
  equationEditorFlyout.steps.clickOnEquationEditorCancelButton();
398
- essayResponsePage.steps.verifyResponseFieldEquationText(0, 'a+b=c+d=');
399
+ essayResponsePage.steps.verifyResponseFieldEquationText(0, 'x+5=1');
399
400
  });
400
401
 
401
402
  it('When user edits the added equation and clicks on Ok button, the edited equation should be displayed in the preview input field', () => {
402
403
  essayResponsePage.steps.openResponseFieldEquationContainerEquationEditor(0);
403
404
  equationEditorFlyout.steps.enterTextInPreviewInputField('{backspace}{backspace}');
404
- equationEditorFlyout.steps.enterEquation([{ categoryName: `${equationEditorCategoriesAndSymbols['delimiters'].displayName}`, symbolAriaLabel: [`${equationEditorCategoriesAndSymbols.delimiters.symbols.singleSquareOpen.ariaLabel}`] }]);
405
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
406
- equationEditorFlyout.steps.enterEquation([{ categoryName: `${equationEditorCategoriesAndSymbols['delimiters'].displayName}`, symbolAriaLabel: [`${equationEditorCategoriesAndSymbols.delimiters.symbols.singleSquareClose.ariaLabel}`] }]);
405
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['multiply', 'zero'] }]);
407
406
  equationEditorFlyout.steps.clickOnOkButton();
408
- essayResponsePage.steps.verifyResponseFieldEquationText(0, '[a]');
407
+ essayResponsePage.steps.verifyResponseFieldEquationText(0, 'x+5×0');
409
408
  });
410
409
  });
411
410
  }