itemengine-cypress-automation 1.0.142 → 1.0.143

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
@@ -1,3 +1,4 @@
1
+ import { equationEditorCategoriesAndSymbols } from "../../../fixtures/equationEditorCategoriesAndSymbols ";
1
2
  import { textEntryMathPage } from "../../../pages";
2
3
  import { equationEditorFlyout } from "../../../pages/components";
3
4
  import abortEarlySetup from "../../../support/helpers/abortEarly";
@@ -17,6 +18,8 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
17
18
  textEntryMathPage.steps.addInputToQuestionInputField('Match the value entered in edit tab')
18
19
  textEntryMathPage.steps.addResponseToken();
19
20
  textEntryMathPage.steps.allotPoints(20);
21
+ textEntryMathPage.steps.expandAdditionalSettings();
22
+ textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
20
23
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
21
24
  textEntryMathPage.steps.selectEvaluationMethod('Match value');
22
25
  });
@@ -55,7 +58,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
55
58
  it('When the user enters a numeric value in \'Specify correct answer\' response field and then the user enters the same value using square then it should be treated as incorrect', () => {
56
59
  textEntryMathPage.steps.resetQuestionPreview();
57
60
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
58
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['three', 'zero'] }, { categoryName: 'basic', symbolName: ['square'] }]);
61
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['three', 'zero'] }, { categoryName: 'intermediate', symbolName: ['square'] }]);
59
62
  equationEditorFlyout.steps.clickOnOkButton();
60
63
  textEntryMathPage.steps.switchToGradingView();
61
64
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -64,15 +67,15 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
64
67
 
65
68
  it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
66
69
  textEntryMathPage.steps.switchToEditTab();
67
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
70
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
68
71
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
69
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
70
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['four'] }]);
72
+ equationEditorFlyout.steps.clearAll();
73
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
71
74
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
72
75
  equationEditorFlyout.steps.clickOnOkButton();
73
76
  textEntryMathPage.steps.switchToPreviewTab();
74
77
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
75
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['four'] }]);
78
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
76
79
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
77
80
  equationEditorFlyout.steps.clickOnOkButton();
78
81
  textEntryMathPage.steps.switchToGradingView();
@@ -83,7 +86,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
83
86
  it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
84
87
  textEntryMathPage.steps.resetQuestionPreview();
85
88
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
86
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['one', 'six'] }]);
89
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one', 'six'] }]);
87
90
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
88
91
  equationEditorFlyout.steps.clickOnOkButton();
89
92
  textEntryMathPage.steps.switchToGradingView();
@@ -95,7 +98,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
95
98
  textEntryMathPage.steps.resetQuestionPreview();
96
99
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
97
100
  equationEditorFlyout.steps.enterTextInPreviewInputField('1');
98
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['mixedFraction'] }]);
101
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
99
102
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
100
103
  equationEditorFlyout.steps.clickOnOkButton();
101
104
  textEntryMathPage.steps.switchToGradingView();
@@ -105,9 +108,9 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
105
108
 
106
109
  it('When the user enters a factored equation in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
107
110
  textEntryMathPage.steps.switchToEditTab();
108
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
111
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
109
112
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
110
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
113
+ equationEditorFlyout.steps.clearAll();
111
114
  equationEditorFlyout.steps.enterTextInPreviewInputField('(x-3)(x+3)');
112
115
  equationEditorFlyout.steps.clickOnOkButton();
113
116
  textEntryMathPage.steps.switchToPreviewTab();
@@ -132,7 +135,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
132
135
  it('When the user enters a factored equation in \'Specify correct answer\' response field and then the user enters the simplified equation using parenthesis then it should be treated as incorrect', () => {
133
136
  textEntryMathPage.steps.resetQuestionPreview();
134
137
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
135
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['x', 'square', 'subtract'] }, { categoryName: 'keypad', symbolName: ['three'] }, { categoryName: 'basic', symbolName: ['square'] }]);
138
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square'] }, { categoryName: 'numPad', symbolName: ['subtract', 'three'] }, { categoryName: 'intermediate', symbolName: ['square'] }]);
136
139
  equationEditorFlyout.steps.clickOnOkButton();
137
140
  textEntryMathPage.steps.switchToGradingView();
138
141
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -142,7 +145,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
142
145
  it('When the user enters a factored equation in \'Specify correct answer\' response field and then the user enters the same equation in expanded form then it should be treated as incorrect', () => {
143
146
  textEntryMathPage.steps.resetQuestionPreview();
144
147
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
145
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['x', 'square'] }]);
148
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
146
149
  equationEditorFlyout.steps.enterTextInPreviewInputField('-3x+3x+9');
147
150
  equationEditorFlyout.steps.clickOnOkButton();
148
151
  textEntryMathPage.steps.switchToGradingView();
@@ -152,14 +155,14 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
152
155
 
153
156
  it('When the user enters a equation of pi in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
154
157
  textEntryMathPage.steps.switchToEditTab();
155
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
158
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
156
159
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
157
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
158
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['six'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
160
+ equationEditorFlyout.steps.clearAll();
161
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
159
162
  equationEditorFlyout.steps.clickOnOkButton();
160
163
  textEntryMathPage.steps.switchToPreviewTab();
161
164
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
162
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['six'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
165
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
163
166
  equationEditorFlyout.steps.clickOnOkButton();
164
167
  textEntryMathPage.steps.switchToGradingView();
165
168
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -179,7 +182,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
179
182
  it('When the user enters a equation using pi in \'Specify correct answer\' response field and then the user enters the same equation then it should be treated as incorrect', () => {
180
183
  textEntryMathPage.steps.resetQuestionPreview();
181
184
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
182
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['six'] }, { categoryName: 'basic', symbolName: ['dotMultiplier'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
185
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'dotMultiplier'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
183
186
  equationEditorFlyout.steps.clickOnOkButton();
184
187
  textEntryMathPage.steps.switchToGradingView();
185
188
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -188,20 +191,20 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
188
191
 
189
192
  it('When the user enters a equation with parenthesis equation with epsilon in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
190
193
  textEntryMathPage.steps.switchToEditTab();
191
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
194
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
192
195
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
193
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
196
+ equationEditorFlyout.steps.clearAll();
194
197
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
195
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
198
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
196
199
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
197
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
200
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
198
201
  equationEditorFlyout.steps.clickOnOkButton();
199
202
  textEntryMathPage.steps.switchToPreviewTab();
200
203
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
201
204
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
202
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
205
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
203
206
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
204
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
207
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
205
208
  equationEditorFlyout.steps.clickOnOkButton();
206
209
  textEntryMathPage.steps.switchToGradingView();
207
210
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -212,9 +215,9 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
212
215
  textEntryMathPage.steps.resetQuestionPreview();
213
216
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
214
217
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
215
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
218
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
216
219
  equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
217
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
220
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
218
221
  equationEditorFlyout.steps.clickOnOkButton();
219
222
  textEntryMathPage.steps.switchToGradingView();
220
223
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -225,9 +228,9 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
225
228
  textEntryMathPage.steps.resetQuestionPreview();
226
229
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
227
230
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
228
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
231
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
229
232
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10')
230
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
233
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
231
234
  equationEditorFlyout.steps.clickOnOkButton();
232
235
  textEntryMathPage.steps.switchToGradingView();
233
236
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -236,18 +239,18 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
236
239
 
237
240
  it('When the user enters trigonometric equations in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
238
241
  textEntryMathPage.steps.switchToEditTab();
239
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
242
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
240
243
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
241
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
244
+ equationEditorFlyout.steps.clearAll();
242
245
  equationEditorFlyout.steps.enterTextInPreviewInputField('-150')
243
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'trigonometry', symbolName: ['sin'] }, { categoryName: 'delimiters', symbolName: ['groupInParathesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'basic', symbolName: ['add', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
246
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add'] }, { categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
244
247
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
245
248
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
246
249
  equationEditorFlyout.steps.clickOnOkButton();
247
250
  textEntryMathPage.steps.switchToPreviewTab();
248
251
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
249
252
  equationEditorFlyout.steps.enterTextInPreviewInputField('-150')
250
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'trigonometry', symbolName: ['sin'] }, { categoryName: 'delimiters', symbolName: ['groupInParathesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'basic', symbolName: ['add', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
253
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add'] }, { categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
251
254
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
252
255
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
253
256
  equationEditorFlyout.steps.clickOnOkButton();
@@ -260,7 +263,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
260
263
  textEntryMathPage.steps.resetQuestionPreview();
261
264
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
262
265
  equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
263
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'trigonometry', symbolName: ['sin'] }, { categoryName: 'delimiters', symbolName: ['groupInParathesis'] }, { categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
266
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
264
267
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
265
268
  equationEditorFlyout.steps.enterTextInPreviewInputField('{leftarrow}+')
266
269
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['theta'] }])
@@ -275,7 +278,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
275
278
  textEntryMathPage.steps.resetQuestionPreview();
276
279
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
277
280
  equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
278
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'trigonometry', symbolName: ['sin'] }, { categoryName: 'delimiters', symbolName: ['groupInParathesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'keypad', symbolName: ['add', 'nine', 'zero'] }]);
281
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add', 'nine', 'zero'] }]);
279
282
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
280
283
  equationEditorFlyout.steps.clickOnOkButton();
281
284
  textEntryMathPage.steps.switchToGradingView();
@@ -285,9 +288,11 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
285
288
 
286
289
  it('When the user enters a equation with iota in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
287
290
  textEntryMathPage.steps.switchToEditTab();
288
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
291
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
289
292
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
290
- textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '-38-9i');
293
+ equationEditorFlyout.steps.clearAll();
294
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
295
+ equationEditorFlyout.steps.clickOnOkButton();
291
296
  textEntryMathPage.steps.switchToPreviewTab();
292
297
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
293
298
  equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
@@ -309,14 +314,14 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
309
314
 
310
315
  it('When the user enters a equation using derivatives in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
311
316
  textEntryMathPage.steps.switchToEditTab();
312
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
317
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
313
318
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
314
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
315
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['derivative'] }, { categoryName: 'basic', symbolName: ['x', 'square'] }]);
319
+ equationEditorFlyout.steps.clearAll();
320
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
316
321
  equationEditorFlyout.steps.clickOnOkButton();
317
322
  textEntryMathPage.steps.switchToPreviewTab();
318
323
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
319
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['derivative'] }, { categoryName: 'basic', symbolName: ['x', 'square'] }]);
324
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
320
325
  equationEditorFlyout.steps.clickOnOkButton();
321
326
  textEntryMathPage.steps.switchToGradingView();
322
327
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -335,15 +340,15 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
335
340
 
336
341
  it('When the user enters a equation using integration in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
337
342
  textEntryMathPage.steps.switchToEditTab();
338
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
343
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
339
344
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
340
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
341
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'basic', symbolName: ['x'] }]);
345
+ equationEditorFlyout.steps.clearAll();
346
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
342
347
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
343
348
  equationEditorFlyout.steps.clickOnOkButton();
344
349
  textEntryMathPage.steps.switchToPreviewTab();
345
350
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
346
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'basic', symbolName: ['x'] }]);
351
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
347
352
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
348
353
  equationEditorFlyout.steps.clickOnOkButton();
349
354
  textEntryMathPage.steps.switchToGradingView();
@@ -354,7 +359,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
354
359
  it('When the user enters a equation using integration in \'Specify correct answer\' and the user enters the result of equation in different form then it should be treated as incorrect', () => {
355
360
  textEntryMathPage.steps.resetQuestionPreview();
356
361
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
357
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['one'] }]);
362
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one'] }]);
358
363
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
359
364
  equationEditorFlyout.steps.clickOnOkButton();
360
365
  textEntryMathPage.steps.switchToGradingView();
@@ -364,14 +369,14 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
364
369
 
365
370
  it('When the user enters a equation using polynomial quadratic equations in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
366
371
  textEntryMathPage.steps.switchToEditTab();
367
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
372
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
368
373
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
369
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
370
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['two'] }, { categoryName: 'basic', symbolName: ['x', 'square', 'y', 'square', 'add'] }, { categoryName: 'keypad', symbolName: ['four'] }, { categoryName: 'basic', symbolName: ['y', 'x', 'add'] }, { categoryName: 'keypad', symbolName: ['four'] }]);
374
+ equationEditorFlyout.steps.clearAll();
375
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }]);
371
376
  equationEditorFlyout.steps.clickOnOkButton();
372
377
  textEntryMathPage.steps.switchToPreviewTab();
373
378
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
374
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['two'] }, { categoryName: 'basic', symbolName: ['x', 'square', 'y', 'square', 'add'] }, { categoryName: 'keypad', symbolName: ['four'] }, { categoryName: 'basic', symbolName: ['y', 'x', 'add'] }, { categoryName: 'keypad', symbolName: ['four'] }]);
379
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }]);
375
380
  equationEditorFlyout.steps.clickOnOkButton();
376
381
  textEntryMathPage.steps.switchToGradingView();
377
382
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -381,7 +386,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
381
386
  it('When the user enters polynomial quadratic equations in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as incorrect', () => {
382
387
  textEntryMathPage.steps.resetQuestionPreview();
383
388
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
384
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['two'] }, { categoryName: 'basic', symbolName: ['y', 'x', 'add'] }, { categoryName: 'keypad', symbolName: ['four'] }, { categoryName: 'basic', symbolName: ['x', 'square', 'y', 'square', 'add'] }, { categoryName: 'keypad', symbolName: ['two'] }]);
389
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }, { categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'two'] }]);
385
390
  equationEditorFlyout.steps.clickOnOkButton();
386
391
  textEntryMathPage.steps.switchToGradingView();
387
392
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -390,9 +395,9 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
390
395
 
391
396
  it('When the user enters a equation using matrices in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
392
397
  textEntryMathPage.steps.switchToEditTab();
393
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
398
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
394
399
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
395
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
400
+ equationEditorFlyout.steps.clearAll();
396
401
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'matrices', symbolName: ['twoByTwoMatrixBoundedBrackets'] }]);
397
402
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2', '1', '0', '3']);
398
403
  equationEditorFlyout.steps.enterTextInPreviewInputField('+')
@@ -428,8 +433,10 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
428
433
 
429
434
  it('When the user enters a equation using parenthesis in \'Specify correct answer\' and the user enters the same equation but in different form then it should be treated as incorrect', () => {
430
435
  textEntryMathPage.steps.switchToEditTab();
431
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
432
- textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '{4,6}')
436
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
437
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
438
+ equationEditorFlyout.steps.clearAll();
439
+ textEntryMathPage.steps.enterTextInPreviewInputField('{4,6}')
433
440
  equationEditorFlyout.steps.clickOnOkButton();
434
441
  textEntryMathPage.steps.switchToPreviewTab();
435
442
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);