itemengine-cypress-automation 1.0.143-migrationScripts-d059d60.0 → 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 +2 -2
  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";
@@ -16,12 +17,17 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
16
17
  textEntryMathPage.steps.clearQuestionInputField();
17
18
  textEntryMathPage.steps.addInputToQuestionInputField('Enter the correct value in the response field');
18
19
  textEntryMathPage.steps.addResponseToken();
20
+ textEntryMathPage.steps.expandAdditionalSettings();
21
+ textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
19
22
  textEntryMathPage.steps.allotPoints(20);
20
23
  });
21
24
 
22
25
  it('When the user enters a equation using decimals in \'Specify correct answer\' section and the user enters the same exact answer it should be treated as correct', () => {
23
26
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
24
- textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '43.9822971503');
27
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
28
+ equationEditorFlyout.steps.clearAll();
29
+ equationEditorFlyout.steps.enterTextInPreviewInputField('43.9822971503');
30
+ equationEditorFlyout.steps.clickOnOkButton();
25
31
  textEntryMathPage.steps.switchToPreviewTab();
26
32
  textEntryMathPage.steps.resetQuestionPreview();
27
33
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
@@ -35,7 +41,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
35
41
  it('When the user enters a equation using decimals in \'Specify correct answer\' section and answers the question which yields the same result but using appropriate symbols then it should be treated as correct', () => {
36
42
  textEntryMathPage.steps.resetQuestionPreview();
37
43
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
38
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
44
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
39
45
  equationEditorFlyout.steps.clickOnOkButton();
40
46
  textEntryMathPage.steps.switchToGradingView();
41
47
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -45,7 +51,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
45
51
  it('When the user enters a equation using decimals in \'Specify correct answer\' section and user enters answer using cube roots it should be treated as correct', () => {
46
52
  textEntryMathPage.steps.resetQuestionPreview();
47
53
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
48
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['cubeRoot'] }]);
54
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['cubeRoot'] }]);
49
55
  equationEditorFlyout.steps.enterTextAtInputFieldCursor('85081.223211');
50
56
  equationEditorFlyout.steps.clickOnOkButton();
51
57
  textEntryMathPage.steps.switchToGradingView();
@@ -56,7 +62,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
56
62
  it('When the user enters a equation using decimals in \'Specify correct answer\' and attempts the question using approximate value of pi then it should be treated as incorrect', () => {
57
63
  textEntryMathPage.steps.resetQuestionPreview();
58
64
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
59
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }]);
65
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }]);
60
66
  equationEditorFlyout.steps.enterTextInPreviewInputField('3.14');
61
67
  equationEditorFlyout.steps.clickOnOkButton();
62
68
  textEntryMathPage.steps.switchToGradingView();
@@ -66,11 +72,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
66
72
 
67
73
  it('When the user enters a equation using parenthesis in \'Specify correct answer\' and user enters the simplified answer it should be treated as correct', () => {
68
74
  textEntryMathPage.steps.switchToEditTab();
69
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
70
- textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '(7-2)(7+2)');
75
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
76
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
77
+ equationEditorFlyout.steps.clearAll();
78
+ equationEditorFlyout.steps.enterTextInPreviewInputField('(7-2)(7+2)');
79
+ equationEditorFlyout.steps.clickOnOkButton();
71
80
  textEntryMathPage.steps.switchToPreviewTab();
72
81
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
73
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['four', 'five'] }]);
82
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['four', 'five'] }]);
74
83
  equationEditorFlyout.steps.clickOnOkButton();
75
84
  textEntryMathPage.steps.switchToGradingView();
76
85
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -90,7 +99,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
90
99
  it('When the user enters a equation using parenthesis in \'Specify correct answer\' and user enters the answer in form of fraction it should be treated as correct', () => {
91
100
  textEntryMathPage.steps.resetQuestionPreview();
92
101
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
93
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['four', 'zero', 'five'] }]);
102
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four', 'zero', 'five'] }]);
94
103
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['9']);
95
104
  equationEditorFlyout.steps.clickOnOkButton();
96
105
  textEntryMathPage.steps.switchToGradingView();
@@ -100,8 +109,11 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
100
109
 
101
110
  it('When the user sets percentage in \'Specify correct answer\' section and user enters a value using integers which yields same result it should be treated as correct', () => {
102
111
  textEntryMathPage.steps.switchToEditTab();
103
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
104
- textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '9000%');
112
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
113
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
114
+ equationEditorFlyout.steps.clearAll();
115
+ equationEditorFlyout.steps.enterTextInPreviewInputField('9000%');
116
+ equationEditorFlyout.steps.clickOnOkButton();
105
117
  textEntryMathPage.steps.switchToPreviewTab();
106
118
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
107
119
  equationEditorFlyout.steps.enterTextInPreviewInputField('90');
@@ -123,15 +135,15 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
123
135
 
124
136
  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', () => {
125
137
  textEntryMathPage.steps.switchToEditTab();
126
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
138
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
127
139
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
128
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
129
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['four'] }]);
140
+ equationEditorFlyout.steps.clearAll();
141
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
130
142
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
131
143
  equationEditorFlyout.steps.clickOnOkButton();
132
144
  textEntryMathPage.steps.switchToPreviewTab();
133
145
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
134
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['four'] }]);
146
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
135
147
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
136
148
  equationEditorFlyout.steps.clickOnOkButton();
137
149
  textEntryMathPage.steps.switchToGradingView();
@@ -142,7 +154,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
142
154
  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', () => {
143
155
  textEntryMathPage.steps.resetQuestionPreview();
144
156
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
145
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['one', 'six'] }]);
157
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one', 'six'] }]);
146
158
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
147
159
  equationEditorFlyout.steps.clickOnOkButton();
148
160
  textEntryMathPage.steps.switchToGradingView();
@@ -154,7 +166,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
154
166
  textEntryMathPage.steps.resetQuestionPreview();
155
167
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
156
168
  equationEditorFlyout.steps.enterTextInPreviewInputField('1');
157
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['mixedFraction'] }]);
169
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
158
170
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
159
171
  equationEditorFlyout.steps.clickOnOkButton();
160
172
  textEntryMathPage.steps.switchToGradingView();
@@ -164,14 +176,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
164
176
 
165
177
  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', () => {
166
178
  textEntryMathPage.steps.switchToEditTab();
167
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
179
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
168
180
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
169
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
170
- 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'] }]);
181
+ equationEditorFlyout.steps.clearAll();
182
+ 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'] }]);
171
183
  equationEditorFlyout.steps.clickOnOkButton();
172
184
  textEntryMathPage.steps.switchToPreviewTab();
173
185
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
174
- 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'] }]);
186
+ 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'] }]);
175
187
  equationEditorFlyout.steps.clickOnOkButton();
176
188
  textEntryMathPage.steps.switchToGradingView();
177
189
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -181,7 +193,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
181
193
  it('When the user enters polynomial quadratic equations in \'Specify correct answer\' and the user enters the same equation in different order then it should be treated as incorrect', () => {
182
194
  textEntryMathPage.steps.resetQuestionPreview();
183
195
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
184
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['four'] }, { categoryName: 'basic', symbolName: ['y', 'x', 'add'] }, { categoryName: 'keypad', symbolName: ['two'] }, { categoryName: 'basic', symbolName: ['x', 'square', 'y', 'square', 'add'] }, { categoryName: 'keypad', symbolName: ['four'] }]);
196
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['four'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }]);
185
197
  equationEditorFlyout.steps.clickOnOkButton();
186
198
  textEntryMathPage.steps.switchToGradingView();
187
199
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -190,9 +202,11 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
190
202
 
191
203
  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', () => {
192
204
  textEntryMathPage.steps.switchToEditTab();
193
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
205
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
194
206
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
195
- textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '-38-9i');
207
+ equationEditorFlyout.steps.clearAll();
208
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
209
+ equationEditorFlyout.steps.clickOnOkButton();
196
210
  textEntryMathPage.steps.switchToPreviewTab();
197
211
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
198
212
  equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
@@ -224,20 +238,20 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
224
238
 
225
239
  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', () => {
226
240
  textEntryMathPage.steps.switchToEditTab();
227
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
241
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
228
242
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
229
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
243
+ equationEditorFlyout.steps.clearAll();
230
244
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
231
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
245
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
232
246
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
233
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
247
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
234
248
  equationEditorFlyout.steps.clickOnOkButton();
235
249
  textEntryMathPage.steps.switchToPreviewTab();
236
250
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
237
251
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
238
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
252
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
239
253
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
240
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
254
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
241
255
  equationEditorFlyout.steps.clickOnOkButton();
242
256
  textEntryMathPage.steps.switchToGradingView();
243
257
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -248,9 +262,9 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
248
262
  textEntryMathPage.steps.resetQuestionPreview();
249
263
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
250
264
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
251
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
265
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
252
266
  equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
253
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
267
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
254
268
  equationEditorFlyout.steps.clickOnOkButton();
255
269
  textEntryMathPage.steps.switchToGradingView();
256
270
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -261,9 +275,9 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
261
275
  textEntryMathPage.steps.resetQuestionPreview();
262
276
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
263
277
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
264
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
278
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
265
279
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10^')
266
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
280
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
267
281
  equationEditorFlyout.steps.clickOnOkButton();
268
282
  textEntryMathPage.steps.switchToGradingView();
269
283
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -272,18 +286,18 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
272
286
 
273
287
  it('When the user enters a equation with trigonometric functions in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
274
288
  textEntryMathPage.steps.switchToEditTab();
275
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
289
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
276
290
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
277
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
291
+ equationEditorFlyout.steps.clearAll();
278
292
  equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
279
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'trigonometry', symbolName: ['sin'] }, { categoryName: 'delimiters', symbolName: ['groupInParathesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'basic', symbolName: ['add', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
293
+ 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'] }]);
280
294
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
281
295
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
282
296
  equationEditorFlyout.steps.clickOnOkButton();
283
297
  textEntryMathPage.steps.switchToPreviewTab();
284
298
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
285
299
  equationEditorFlyout.steps.enterTextInPreviewInputField('-150')
286
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'trigonometry', symbolName: ['sin'] }, { categoryName: 'delimiters', symbolName: ['groupInParathesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'basic', symbolName: ['add', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
300
+ 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'] }]);
287
301
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
288
302
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
289
303
  equationEditorFlyout.steps.clickOnOkButton();
@@ -296,7 +310,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
296
310
  textEntryMathPage.steps.resetQuestionPreview();
297
311
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
298
312
  equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
299
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'trigonometry', symbolName: ['sin'] }, { categoryName: 'delimiters', symbolName: ['groupInParathesis'] }, { categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
313
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
300
314
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2{rightarrow}+']);
301
315
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['theta'] }])
302
316
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
@@ -310,7 +324,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
310
324
  textEntryMathPage.steps.resetQuestionPreview();
311
325
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
312
326
  equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
313
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'trigonometry', symbolName: ['sin'] }, { categoryName: 'delimiters', symbolName: ['groupInParathesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'keypad', symbolName: ['add', 'nine', 'zero'] }]);
327
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add', 'nine', 'zero'] }]);
314
328
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
315
329
  equationEditorFlyout.steps.clickOnOkButton();
316
330
  textEntryMathPage.steps.switchToGradingView();
@@ -320,14 +334,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
320
334
 
321
335
  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', () => {
322
336
  textEntryMathPage.steps.switchToEditTab();
323
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
337
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
324
338
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
325
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
326
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['derivative'] }, { categoryName: 'basic', symbolName: ['x', 'square'] }]);
339
+ equationEditorFlyout.steps.clearAll();
340
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
327
341
  equationEditorFlyout.steps.clickOnOkButton();
328
342
  textEntryMathPage.steps.switchToPreviewTab();
329
343
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
330
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['derivative'] }, { categoryName: 'basic', symbolName: ['x', 'square'] }]);
344
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
331
345
  equationEditorFlyout.steps.clickOnOkButton();
332
346
  textEntryMathPage.steps.switchToGradingView();
333
347
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -337,7 +351,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
337
351
  it('When the user enters a equation using derivatives in \'Specify correct answer\' and the user enters the same equation but different format then it should be treated as correct', () => {
338
352
  textEntryMathPage.steps.resetQuestionPreview();
339
353
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
340
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['derivative'] }, { categoryName: 'basic', symbolName: ['x', 'dotMultiplier', 'x'] }]);
354
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x'] }, { categoryName: 'numPad', symbolName: ['multiply'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
341
355
  equationEditorFlyout.steps.clickOnOkButton();
342
356
  textEntryMathPage.steps.switchToGradingView();
343
357
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -346,15 +360,15 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
346
360
 
347
361
  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', () => {
348
362
  textEntryMathPage.steps.switchToEditTab();
349
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
363
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
350
364
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
351
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
352
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'basic', symbolName: ['x'] }]);
365
+ equationEditorFlyout.steps.clearAll();
366
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
353
367
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
354
368
  equationEditorFlyout.steps.clickOnOkButton();
355
369
  textEntryMathPage.steps.switchToPreviewTab();
356
370
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
357
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'basic', symbolName: ['x'] }]);
371
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
358
372
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
359
373
  equationEditorFlyout.steps.clickOnOkButton();
360
374
  textEntryMathPage.steps.switchToGradingView();
@@ -365,7 +379,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
365
379
  it('When the user enters a equation using integration in \'Specify correct answer\' and the user enters the same equation with coefficients then it should be treated as correct', () => {
366
380
  textEntryMathPage.steps.resetQuestionPreview();
367
381
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
368
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'keypad', symbolName: ['one'] }, { categoryName: 'basic', symbolName: ['x'] }]);
382
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'numPad', symbolName: ['one'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
369
383
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
370
384
  equationEditorFlyout.steps.clickOnOkButton();
371
385
  textEntryMathPage.steps.switchToGradingView();
@@ -375,9 +389,9 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
375
389
 
376
390
  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', () => {
377
391
  textEntryMathPage.steps.switchToEditTab();
378
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
392
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
379
393
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
380
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
394
+ equationEditorFlyout.steps.clearAll();
381
395
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'matrices', symbolName: ['twoByTwoMatrixBoundedBrackets'] }]);
382
396
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2', '1', '0', '3']);
383
397
  equationEditorFlyout.steps.enterTextInPreviewInputField('+')