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
@@ -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: Value is equivalent evaluation met
17
18
  textEntryMathPage.steps.addInputToQuestionInputField('Enter the correct value in the response field');
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('Symbols are equivalent');
22
25
  });
@@ -35,7 +38,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
35
38
  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
39
  textEntryMathPage.steps.resetQuestionPreview();
37
40
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
38
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
41
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
39
42
  equationEditorFlyout.steps.clickOnOkButton();
40
43
  textEntryMathPage.steps.switchToGradingView();
41
44
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -45,7 +48,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
45
48
  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
49
  textEntryMathPage.steps.resetQuestionPreview();
47
50
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
48
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['cubeRoot'] }]);
51
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['cubeRoot'] }]);
49
52
  equationEditorFlyout.steps.enterTextAtInputFieldCursor('85081.223211');
50
53
  equationEditorFlyout.steps.clickOnOkButton();
51
54
  textEntryMathPage.steps.switchToGradingView();
@@ -56,7 +59,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
56
59
  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
60
  textEntryMathPage.steps.resetQuestionPreview();
58
61
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
59
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }]);
62
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }]);
60
63
  equationEditorFlyout.steps.enterTextInPreviewInputField('3.14');
61
64
  equationEditorFlyout.steps.clickOnOkButton();
62
65
  textEntryMathPage.steps.switchToGradingView();
@@ -66,11 +69,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
66
69
 
67
70
  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
71
  textEntryMathPage.steps.switchToEditTab();
69
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
70
- textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '(7-2)(7+2)');
72
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
73
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
74
+ equationEditorFlyout.steps.clearAll();
75
+ equationEditorFlyout.steps.enterTextInPreviewInputField('(7-2)(7+2)');
76
+ equationEditorFlyout.steps.clickOnOkButton();
71
77
  textEntryMathPage.steps.switchToPreviewTab();
72
78
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
73
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'keypad', symbolName: ['four', 'five'] }]);
79
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['four', 'five'] }]);
74
80
  equationEditorFlyout.steps.clickOnOkButton();
75
81
  textEntryMathPage.steps.switchToGradingView();
76
82
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -90,7 +96,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
90
96
  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
97
  textEntryMathPage.steps.resetQuestionPreview();
92
98
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
93
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['four', 'zero', 'five'] }]);
99
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four', 'zero', 'five'] }]);
94
100
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['9']);
95
101
  equationEditorFlyout.steps.clickOnOkButton();
96
102
  textEntryMathPage.steps.switchToGradingView();
@@ -100,8 +106,11 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
100
106
 
101
107
  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
108
  textEntryMathPage.steps.switchToEditTab();
103
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
104
- textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '9000%');
109
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
110
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
111
+ equationEditorFlyout.steps.clearAll();
112
+ textEntryMathPage.steps.enterTextInPreviewInputField('9000%');
113
+ equationEditorFlyout.steps.clickOnOkButton();
105
114
  textEntryMathPage.steps.switchToPreviewTab();
106
115
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
107
116
  equationEditorFlyout.steps.enterTextInPreviewInputField('90');
@@ -123,15 +132,15 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
123
132
 
124
133
  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
134
  textEntryMathPage.steps.switchToEditTab();
126
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
135
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
127
136
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
128
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
129
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['four'] }]);
137
+ equationEditorFlyout.steps.clearAll();
138
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
130
139
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
131
140
  equationEditorFlyout.steps.clickOnOkButton();
132
141
  textEntryMathPage.steps.switchToPreviewTab();
133
142
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
134
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['four'] }]);
143
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
135
144
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
136
145
  equationEditorFlyout.steps.clickOnOkButton();
137
146
  textEntryMathPage.steps.switchToGradingView();
@@ -142,7 +151,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
142
151
  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
152
  textEntryMathPage.steps.resetQuestionPreview();
144
153
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
145
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'keypad', symbolName: ['one', 'six'] }]);
154
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one', 'six'] }]);
146
155
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
147
156
  equationEditorFlyout.steps.clickOnOkButton();
148
157
  textEntryMathPage.steps.switchToGradingView();
@@ -154,7 +163,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
154
163
  textEntryMathPage.steps.resetQuestionPreview();
155
164
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
156
165
  equationEditorFlyout.steps.enterTextInPreviewInputField('1');
157
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['mixedFraction'] }]);
166
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
158
167
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
159
168
  equationEditorFlyout.steps.clickOnOkButton();
160
169
  textEntryMathPage.steps.switchToGradingView();
@@ -164,14 +173,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
164
173
 
165
174
  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
175
  textEntryMathPage.steps.switchToEditTab();
167
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
176
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
168
177
  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'] }]);
178
+ equationEditorFlyout.steps.clearAll();
179
+ 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
180
  equationEditorFlyout.steps.clickOnOkButton();
172
181
  textEntryMathPage.steps.switchToPreviewTab();
173
182
  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'] }]);
183
+ 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
184
  equationEditorFlyout.steps.clickOnOkButton();
176
185
  textEntryMathPage.steps.switchToGradingView();
177
186
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -181,7 +190,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
181
190
  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 correct', () => {
182
191
  textEntryMathPage.steps.resetQuestionPreview();
183
192
  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'] }]);
193
+ 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
194
  equationEditorFlyout.steps.clickOnOkButton();
186
195
  textEntryMathPage.steps.switchToGradingView();
187
196
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -190,9 +199,11 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
190
199
 
191
200
  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
201
  textEntryMathPage.steps.switchToEditTab();
193
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
202
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
194
203
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
195
- textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '-38-9i');
204
+ equationEditorFlyout.steps.clearAll();
205
+ textEntryMathPage.steps.enterTextInPreviewInputField('-38-9i');
206
+ equationEditorFlyout.steps.clickOnOkButton();
196
207
  textEntryMathPage.steps.switchToPreviewTab();
197
208
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
198
209
  equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
@@ -224,20 +235,20 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
224
235
 
225
236
  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
237
  textEntryMathPage.steps.switchToEditTab();
227
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
238
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
228
239
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
229
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
240
+ equationEditorFlyout.steps.clearAll();
230
241
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
231
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
242
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
232
243
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
233
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
244
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
234
245
  equationEditorFlyout.steps.clickOnOkButton();
235
246
  textEntryMathPage.steps.switchToPreviewTab();
236
247
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
237
248
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
238
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
249
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
239
250
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
240
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
251
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
241
252
  equationEditorFlyout.steps.clickOnOkButton();
242
253
  textEntryMathPage.steps.switchToGradingView();
243
254
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -248,9 +259,9 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
248
259
  textEntryMathPage.steps.resetQuestionPreview();
249
260
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
250
261
  equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
251
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
262
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
252
263
  equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
253
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
264
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
254
265
  equationEditorFlyout.steps.clickOnOkButton();
255
266
  textEntryMathPage.steps.switchToGradingView();
256
267
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -261,9 +272,9 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
261
272
  textEntryMathPage.steps.resetQuestionPreview();
262
273
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
263
274
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
264
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'basic', symbolName: ['dotMultiplier'] }]);
275
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
265
276
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10^')
266
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['epsilon'] }]);
277
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
267
278
  equationEditorFlyout.steps.clickOnOkButton();
268
279
  textEntryMathPage.steps.switchToGradingView();
269
280
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -272,18 +283,18 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
272
283
 
273
284
  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
285
  textEntryMathPage.steps.switchToEditTab();
275
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
286
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
276
287
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
277
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
288
+ equationEditorFlyout.steps.clearAll();
278
289
  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'] }]);
290
+ 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
291
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
281
292
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
282
293
  equationEditorFlyout.steps.clickOnOkButton();
283
294
  textEntryMathPage.steps.switchToPreviewTab();
284
295
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
285
296
  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'] }]);
297
+ 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
298
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
288
299
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
289
300
  equationEditorFlyout.steps.clickOnOkButton();
@@ -296,7 +307,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
296
307
  textEntryMathPage.steps.resetQuestionPreview();
297
308
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
298
309
  equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
299
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'trigonometry', symbolName: ['sin'] }, { categoryName: 'delimiters', symbolName: ['groupInParathesis'] }, { categoryName: 'basic', symbolName: ['fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
310
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
300
311
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2{rightarrow}+']);
301
312
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['theta'] }])
302
313
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
@@ -310,7 +321,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
310
321
  textEntryMathPage.steps.resetQuestionPreview();
311
322
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
312
323
  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'] }]);
324
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add', 'nine', 'zero'] }]);
314
325
  equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
315
326
  equationEditorFlyout.steps.clickOnOkButton();
316
327
  textEntryMathPage.steps.switchToGradingView();
@@ -320,14 +331,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
320
331
 
321
332
  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
333
  textEntryMathPage.steps.switchToEditTab();
323
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
334
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
324
335
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
325
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
326
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['derivative'] }, { categoryName: 'basic', symbolName: ['x', 'square'] }]);
336
+ equationEditorFlyout.steps.clearAll();
337
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
327
338
  equationEditorFlyout.steps.clickOnOkButton();
328
339
  textEntryMathPage.steps.switchToPreviewTab();
329
340
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
330
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['derivative'] }, { categoryName: 'basic', symbolName: ['x', 'square'] }]);
341
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
331
342
  equationEditorFlyout.steps.clickOnOkButton();
332
343
  textEntryMathPage.steps.switchToGradingView();
333
344
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -337,7 +348,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
337
348
  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
349
  textEntryMathPage.steps.resetQuestionPreview();
339
350
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
340
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['derivative'] }, { categoryName: 'basic', symbolName: ['x', 'dotMultiplier', 'x'] }]);
351
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x'] }, { categoryName: 'numPad', symbolName: ['multiply'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
341
352
  equationEditorFlyout.steps.clickOnOkButton();
342
353
  textEntryMathPage.steps.switchToGradingView();
343
354
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
@@ -346,15 +357,15 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
346
357
 
347
358
  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
359
  textEntryMathPage.steps.switchToEditTab();
349
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
360
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
350
361
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
351
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
352
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'basic', symbolName: ['x'] }]);
362
+ equationEditorFlyout.steps.clearAll();
363
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
353
364
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
354
365
  equationEditorFlyout.steps.clickOnOkButton();
355
366
  textEntryMathPage.steps.switchToPreviewTab();
356
367
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
357
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'basic', symbolName: ['x'] }]);
368
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
358
369
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
359
370
  equationEditorFlyout.steps.clickOnOkButton();
360
371
  textEntryMathPage.steps.switchToGradingView();
@@ -365,7 +376,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
365
376
  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
377
  textEntryMathPage.steps.resetQuestionPreview();
367
378
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
368
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'keypad', symbolName: ['one'] }, { categoryName: 'basic', symbolName: ['x'] }]);
379
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'numPad', symbolName: ['one'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
369
380
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
370
381
  equationEditorFlyout.steps.clickOnOkButton();
371
382
  textEntryMathPage.steps.switchToGradingView();
@@ -375,9 +386,9 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
375
386
 
376
387
  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
388
  textEntryMathPage.steps.switchToEditTab();
378
- textEntryMathPage.steps.clearAnswerInputFieldSpecifyCorrectAnswer(0);
389
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
379
390
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
380
- textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
391
+ equationEditorFlyout.steps.clearAll();
381
392
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'matrices', symbolName: ['twoByTwoMatrixBoundedBrackets'] }]);
382
393
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2', '1', '0', '3']);
383
394
  equationEditorFlyout.steps.enterTextInPreviewInputField('+')