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
@@ -2,6 +2,7 @@ import { equationEditorCategoriesAndSymbols } from "../../../fixtures/equationEd
2
2
  import { equationEditorFlyout } from "../../../pages/components/equationEditorFlyout";
3
3
  import { essayResponsePage } from "../../../pages/essayResponsePage";
4
4
  import abortEarlySetup from "../../../support/helpers/abortEarly";
5
+ import utilities from "../../../support/helpers/utilities";
5
6
  const css = Cypress.env('css');
6
7
 
7
8
  describe('Create question page - Essay Response: Equation Editor categories', () => {
@@ -9,123 +10,150 @@ describe('Create question page - Essay Response: Equation Editor categories', ()
9
10
  cy.loginAs('admin');
10
11
  });
11
12
 
12
- describe('Equation editor symbol category: Keypad', () => {
13
+ describe('Equation editor symbol category: Numpad', () => {
13
14
  abortEarlySetup();
14
15
  before(() => {
15
16
  essayResponsePage.steps.navigateToCreateQuestion('essay response');
16
17
  cy.barsPreLoaderWait();
17
18
  essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
18
- essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
19
+ essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
20
+ essayResponsePage.steps.checkDisplayWordCountCheckbox();
19
21
  essayResponsePage.steps.switchToPreviewTab();
20
22
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
21
23
  });
22
24
 
23
- equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('keypad');
25
+ equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('numPad');
26
+
27
+ it('On clicking the symbols it should be displayed in the input field of Equation editor and user should be able to form meaningful equations using the category', () => {
28
+ equationEditorFlyout.steps.enterTextInPreviewInputField('1234');
29
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.clear.ariaLabel);
30
+ utilities.verifyInnerText(equationEditorFlyout.previewInputField(), '123');
31
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.clearAll.ariaLabel);
32
+ utilities.verifyInnerText(equationEditorFlyout.previewInputField(), '');
33
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.one.ariaLabel);
34
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.add.ariaLabel);
35
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.two.ariaLabel);
36
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.three.ariaLabel);
37
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.multiply.ariaLabel);
38
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.four.ariaLabel);
39
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.divide.ariaLabel);
40
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.five.ariaLabel);
41
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.equalTo.ariaLabel);
42
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.six.ariaLabel);
43
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.polygonLeft.ariaLabel);
44
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.seven.ariaLabel);
45
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.eight.ariaLabel);
46
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.polygonRight.ariaLabel);
47
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.nine.ariaLabel);
48
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.zero.ariaLabel);
49
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.dotMultiplier.ariaLabel);
50
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.numPad.symbols.comma.ariaLabel);
51
+ });
52
+
53
+ equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('numPad');
24
54
 
25
- essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('keypad', '1/10000');
55
+ essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('1+23×4÷5=78690·,', '1');
26
56
  });
27
57
 
28
- describe('Equation editor input category: Basic', () => {
58
+ describe('Equation editor input category: Intermediate', () => {
29
59
  abortEarlySetup();
30
60
  before(() => {
31
61
  essayResponsePage.steps.navigateToCreateQuestion('essay response');
32
62
  cy.barsPreLoaderWait();
33
63
  essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
34
64
  essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
65
+ essayResponsePage.steps.checkDisplayWordCountCheckbox();
35
66
  essayResponsePage.steps.switchToPreviewTab();
36
67
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
37
68
  });
38
69
 
39
- equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('basic');
70
+ equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('intermediate');
40
71
 
41
72
  it('On clicking the symbols it should be displayed in the input field of Equation editor and user should be able to form meaningful equations using the category', () => {
42
73
  equationEditorFlyout.steps.enterTextInPreviewInputField('8');
43
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.lowerExponent.ariaLabel);
74
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.lowerExponent.ariaLabel);
44
75
  equationEditorFlyout.steps.enterTextAtInputFieldCursor('3{rightarrow}');
45
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.add.ariaLabel);
46
76
  equationEditorFlyout.steps.enterTextInPreviewInputField('2');
47
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.upperExponent.ariaLabel);
77
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.upperExponent.ariaLabel);
48
78
  equationEditorFlyout.steps.enterTextAtInputFieldCursor('3{rightarrow}');
49
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.subtract.ariaLabel);
50
79
  equationEditorFlyout.steps.enterTextInPreviewInputField('2');
51
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.square.ariaLabel);
52
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.plusMinus.ariaLabel);
53
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.fraction.ariaLabel);
80
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.square.ariaLabel);
81
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.fraction.ariaLabel);
54
82
  equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
55
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['15{rightarrow}']);
56
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.minusPlus.ariaLabel);
83
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['16{rightarrow}']);
84
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.lessThan.ariaLabel);
85
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.greaterThan.ariaLabel);
57
86
  equationEditorFlyout.steps.enterTextInPreviewInputField('3');
58
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.mixedFraction.ariaLabel);
59
- equationEditorFlyout.steps.enterTextInPreviewInputField('4');
60
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['5{rightarrow}']);
61
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.equalTo.ariaLabel);
62
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.letterN.ariaLabel);
63
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.comma.ariaLabel);
64
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.groupInParenthesis.ariaLabel);
65
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.sqrt.ariaLabel);
87
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.mixedFraction.ariaLabel);
88
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['15', '5{rightarrow}']);
89
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.groupInParenthesis.ariaLabel);
90
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.sqrt.ariaLabel);
66
91
  equationEditorFlyout.steps.enterTextAtInputFieldCursor('25{rightarrow}{rightarrow}');
67
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.dotMultiplier.ariaLabel);
68
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.cubeRoot.ariaLabel);
92
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.cubeRoot.ariaLabel);
69
93
  equationEditorFlyout.steps.enterTextAtInputFieldCursor('27{rightarrow}');
70
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.multiply.ariaLabel);
71
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.nRoot.ariaLabel);
72
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('4');
73
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['16{rightarrow}']);
74
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.colonRatio.ariaLabel);
75
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.groupInBrackets.ariaLabel);
94
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.colonRatio.ariaLabel);
76
95
  equationEditorFlyout.steps.enterTextAtInputFieldCursor('3');
77
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.longDivision.ariaLabel);
78
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('36{rightarrow}{rightarrow}');
79
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.comma.ariaLabel);
80
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.groupInBraces.ariaLabel);
81
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.letterP.ariaLabel);
82
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.divide.ariaLabel);
83
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.letterZ.ariaLabel);
84
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}{rightarrow}10');
85
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.function.ariaLabel);
86
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.absoluteValue.ariaLabel);
87
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('9')
88
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.angleBracket.ariaLabel);
89
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('10');
90
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.dollar.ariaLabel);
91
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.asterisk.ariaLabel);
92
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}50');
93
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.cents.ariaLabel);
94
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.binomialCoefficient.ariaLabel);
95
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('4');
96
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3{rightarrow}']);
97
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.matrix.ariaLabel);
98
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('2');
99
- for (let i = 1; i < 3; i++) {
100
- equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
101
- }
102
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4{rightarrow}{rightarrow}{rightarrow}']);
103
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.therefore.ariaLabel);
104
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.because.ariaLabel);
105
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.summation.ariaLabel);
106
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1']);
107
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4{rightarrow}']);
108
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.product.ariaLabel);
109
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1']);
110
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4{rightarrow}']);
111
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.coProduct.ariaLabel);
112
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1']);
113
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4{rightarrow}']);
114
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.integral.ariaLabel);
115
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1']);
116
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4{rightarrow}']);
117
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
118
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.letterR.ariaLabel);
119
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.letterC.ariaLabel);
120
- equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.basic.symbols.letterH.ariaLabel);
96
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.percent.ariaLabel);
97
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.absoluteValue.ariaLabel);
98
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('9{rightarrow}50')
99
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.dollar.ariaLabel);
100
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.degree.ariaLabel);
101
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.lessThanEqual.ariaLabel);
102
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.greaterThanEqual.ariaLabel);
103
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.pi.ariaLabel);
104
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.x.ariaLabel);
105
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.intermediate.symbols.y.ariaLabel);
121
106
  });
122
107
 
123
- equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('basic');
108
+ equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('intermediate');
124
109
 
125
- essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('83+23−22±515∓345=N,(25)·273×164:[336],{P÷Z}10f|9⟨10$∗50¢(43)2124⟩|∴∵∑14∏14∐14∫41RCH', '1/10000');
110
+ essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('832322516<>3155(25)273:3%|9|50$°≤≥πxy', '2');
126
111
  });
127
112
 
128
- describe('Equation editor symbol category: Greek', () => {
113
+ describe('Equation editor input category: Primary', () => {
114
+ abortEarlySetup();
115
+ before(() => {
116
+ essayResponsePage.steps.navigateToCreateQuestion('essay response');
117
+ cy.barsPreLoaderWait();
118
+ essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
119
+ essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
120
+ essayResponsePage.steps.checkDisplayWordCountCheckbox();
121
+ essayResponsePage.steps.switchToPreviewTab();
122
+ essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
123
+ });
124
+
125
+ equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('primary');
126
+
127
+ it('On clicking the symbols it should be displayed in the input field of Equation editor and user should be able to form meaningful equations using the category', () => {
128
+ equationEditorFlyout.steps.enterTextInPreviewInputField('8');
129
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.lowerExponent.ariaLabel);
130
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('3{rightarrow}');
131
+ equationEditorFlyout.steps.enterTextInPreviewInputField('2');
132
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.upperExponent.ariaLabel);
133
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('3{rightarrow}');
134
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.fraction.ariaLabel);
135
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
136
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['16{rightarrow}']);
137
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.lessThan.ariaLabel);
138
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.greaterThan.ariaLabel);
139
+ equationEditorFlyout.steps.enterTextInPreviewInputField('3');
140
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.mixedFraction.ariaLabel);
141
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['15', '5{rightarrow}']);
142
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.groupInParenthesis.ariaLabel);
143
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.colonRatio.ariaLabel);
144
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('50')
145
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.dollar.ariaLabel);
146
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.degree.ariaLabel);
147
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.cents.ariaLabel);
148
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.primary.symbols.questionMark.ariaLabel)
149
+ });
150
+
151
+ equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('primary');
152
+
153
+ essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('83​23516​<>3155​(50$°¢?:)', '2');
154
+ });
155
+
156
+ describe('Equation editor symbol category: General', () => {
129
157
  abortEarlySetup();
130
158
  before(() => {
131
159
  essayResponsePage.steps.navigateToCreateQuestion('essay response');
@@ -136,68 +164,190 @@ describe('Create question page - Essay Response: Equation Editor categories', ()
136
164
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
137
165
  });
138
166
 
139
- equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('greek');
167
+ equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('general');
140
168
 
141
- essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('greek', '1/10000');
169
+ essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('general', '1');
142
170
  });
143
171
 
144
- describe('Equation editor symbol category: Operators', () => {
172
+ describe('Equation editor input category: Common', () => {
145
173
  abortEarlySetup();
146
174
  before(() => {
147
175
  essayResponsePage.steps.navigateToCreateQuestion('essay response');
148
176
  cy.barsPreLoaderWait();
149
177
  essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
150
- essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
178
+ essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
179
+ essayResponsePage.steps.checkDisplayWordCountCheckbox();
151
180
  essayResponsePage.steps.switchToPreviewTab();
152
181
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
153
182
  });
154
- equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('operators');
155
183
 
156
- essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('operators', '1/10000');
184
+ equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('common');
185
+
186
+ it('On clicking the symbols it should be displayed in the input field of Equation editor and user should be able to form meaningful equations using the category', () => {
187
+ equationEditorFlyout.steps.enterTextInPreviewInputField('8');
188
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.lowerExponent.ariaLabel);
189
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('3{rightarrow}');
190
+ equationEditorFlyout.steps.enterTextInPreviewInputField('2');
191
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.upperExponent.ariaLabel);
192
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('3{rightarrow}');
193
+ equationEditorFlyout.steps.enterTextInPreviewInputField('2');
194
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.square.ariaLabel);
195
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.fraction.ariaLabel);
196
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
197
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['16{rightarrow}']);
198
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.lessThan.ariaLabel);
199
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.greaterThan.ariaLabel);
200
+ equationEditorFlyout.steps.enterTextInPreviewInputField('3');
201
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.mixedFraction.ariaLabel);
202
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['15', '5{rightarrow}']);
203
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.sqrt.ariaLabel);
204
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('25{rightarrow}{rightarrow}');
205
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.cubeRoot.ariaLabel);
206
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('27{rightarrow}');
207
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.colonRatio.ariaLabel);
208
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('3');
209
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.percent.ariaLabel);
210
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.absoluteValue.ariaLabel);
211
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.plusMinus.ariaLabel);
212
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('9{rightarrow}50');
213
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.muchLessThan.ariaLabel);
214
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.muchGreaterThan.ariaLabel);
215
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.x.ariaLabel);
216
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.y.ariaLabel);
217
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.therefore.ariaLabel);
218
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.infinity.ariaLabel);
219
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.common.symbols.nSqrt.ariaLabel);
220
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('9')
221
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['16{rightarrow}']);
222
+ });
223
+
224
+ equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('common');
225
+
226
+ essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('83​2322516​<>3155​√253√27:3%|9±50≪≫xy∴∞9√16|', '2');
157
227
  });
158
228
 
159
- describe('Equation editor input category: Relationships', () => {
229
+ describe('Equation editor input category: Algebra', () => {
160
230
  abortEarlySetup();
161
231
  before(() => {
162
232
  essayResponsePage.steps.navigateToCreateQuestion('essay response');
163
233
  cy.barsPreLoaderWait();
164
234
  essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
165
235
  essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
236
+ essayResponsePage.steps.checkDisplayWordCountCheckbox();
166
237
  essayResponsePage.steps.switchToPreviewTab();
167
238
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
168
239
  });
169
240
 
170
- equationEditorFlyout.tests.verifyEquationEditorFlyoutCategoryTooltip('relationships');
171
-
172
- equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('relationships');
241
+ equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('algebra');
173
242
 
174
243
  it('On clicking the symbols it should be displayed in the input field of Equation editor and user should be able to form meaningful equations using the category', () => {
175
- equationEditorFlyout.steps.selectAllCategories();
176
- equationEditorFlyout.steps.enterTextAtInputFieldCursor('a');
177
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['b']);
178
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['c']);
179
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['d']);
180
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4a+4b']);
244
+ equationEditorFlyout.steps.enterTextInPreviewInputField('8');
245
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.lowerExponent.ariaLabel);
246
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('3{rightarrow}');
247
+ equationEditorFlyout.steps.enterTextInPreviewInputField('2');
248
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.upperExponent.ariaLabel);
249
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('3{rightarrow}');
250
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.fraction.ariaLabel);
251
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
252
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['16{rightarrow}']);
253
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.lessThan.ariaLabel);
254
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.greaterThan.ariaLabel);
255
+ equationEditorFlyout.steps.enterTextInPreviewInputField('3');
256
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.mixedFraction.ariaLabel);
257
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['15', '5{rightarrow}']);
258
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.sqrt.ariaLabel);
259
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('25{rightarrow}{rightarrow}');
260
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.absoluteValue.ariaLabel);
261
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.plusMinus.ariaLabel);
262
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('9{rightarrow}50');
263
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.x.ariaLabel);
264
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.y.ariaLabel);
265
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.infinity.ariaLabel);
266
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.nSqrt.ariaLabel);
267
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('9')
268
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['16{rightarrow}']);
269
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.pi.ariaLabel);
270
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.infinity.ariaLabel);
271
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.lessThanEqual.ariaLabel);
272
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.greaterThanEqual.ariaLabel);
273
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.approxEqualTo.ariaLabel);
274
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.notEqualTo.ariaLabel);
275
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.groupInParathesis.ariaLabel);
276
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('9{rightarrow}')
277
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.algebra.symbols.groupInBrackets.ariaLabel);
278
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('12')
181
279
  });
182
280
 
183
- equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('relationships');
281
+ equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('algebra');
184
282
 
185
- essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('⊦<>≡≅~∉≠∝≈≤≥∈∋∌⊂⊃⊄⊅⊆⊇⊈⊉⊨≺≻≼≽≃∣≪≫∥⋈⊏⊐⌣⊑⊒≐⌢⊦⊣∃∅≁≇≮≯{a+b=c+d=4a+4b', '1/10000');
283
+ essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('83​23516​<>3155​√25|9±50xy∞9√16π∞≤≥≈≠(9)[12]|', '2');
186
284
  });
187
285
 
188
- describe('Equation editor symbol category: Arrows', () => {
286
+ describe('Equation editor input category: Geo', () => {
189
287
  abortEarlySetup();
190
288
  before(() => {
191
289
  essayResponsePage.steps.navigateToCreateQuestion('essay response');
192
290
  cy.barsPreLoaderWait();
193
291
  essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
194
292
  essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
293
+ essayResponsePage.steps.checkDisplayWordCountCheckbox();
294
+ essayResponsePage.steps.switchToPreviewTab();
295
+ essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
296
+ });
297
+
298
+ equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('geo');
299
+
300
+ it('On clicking the symbols it should be displayed in the input field of Equation editor and user should be able to form meaningful equations using the category', () => {
301
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.circle.ariaLabel);
302
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.square.ariaLabel);
303
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.triangle.ariaLabel);
304
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.parallelogram.ariaLabel);
305
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.perpendicularTo.ariaLabel);
306
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.similarTo.ariaLabel);
307
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.congruentTo.ariaLabel);
308
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.parallelTo.ariaLabel);
309
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.notParallel.ariaLabel);
310
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.pi.ariaLabel);
311
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.degree.ariaLabel);
312
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.prime.ariaLabel);
313
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.doublePrime.ariaLabel);
314
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.angle.ariaLabel);
315
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('45');
316
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.measureOfAngle.ariaLabel);
317
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('30');
318
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.arc.ariaLabel);
319
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
320
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.topLineSegment.ariaLabel);
321
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
322
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.topDoubleSidedArrow.ariaLabel);
323
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
324
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.topLeftArrow.ariaLabel);
325
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
326
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.topRightArrow.ariaLabel);
327
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
328
+ equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geo.symbols.recurringDecimal.ariaLabel);
329
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
330
+ });
331
+
332
+ equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('geo');
333
+
334
+ essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('◯□△▱⊥~≅∥∦π°′″∠45m∠3022222˙2', '1');
335
+ });
336
+
337
+ describe('Equation editor symbol category: Compare', () => {
338
+ abortEarlySetup();
339
+ before(() => {
340
+ essayResponsePage.steps.navigateToCreateQuestion('essay response');
341
+ cy.barsPreLoaderWait();
342
+ essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
343
+ essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
344
+ essayResponsePage.steps.checkDisplayWordCountCheckbox();
195
345
  essayResponsePage.steps.switchToPreviewTab();
196
346
  essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
197
347
  });
198
348
 
199
- equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('arrows');
349
+ equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('compare');
200
350
 
201
- essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('arrows', '1/10000');
351
+ essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('compare', '1');
202
352
  });
203
353
  });