itemengine-cypress-automation 1.0.143-migrationScripts-d059d60.0 → 1.0.143
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/additionalSettingsBasic.js +104 -0
- package/cypress/e2e/ILC/ContentBlocks/additionalSection.js +92 -0
- package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +11 -1
- package/cypress/e2e/ILC/ContentBlocks/previewTab.js +91 -0
- package/cypress/e2e/ILC/ContentBlocks/styleAndLayoutCustomizationSection.js +3 -3
- package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorEditTabBasicSection.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosGeometryToolEditTabBasicSection.js +1 -0
- package/cypress/e2e/ILC/Desmos/desmosGeometryToolPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorEditTabBasicSection.js +1 -0
- package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorEditTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorEditTabBasicSection.js +3 -2
- package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/DesmosGraphing/additionalSettings.js +0 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettingsBasic.js +124 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +0 -9
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +17 -17
- package/cypress/e2e/ILC/EssayResponse/additionalSettingsBasic.js +83 -0
- package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +32 -30
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +25 -21
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +40 -41
- package/cypress/e2e/ILC/EssayResponse/equationEditorCategories1.js +249 -99
- package/cypress/e2e/ILC/EssayResponse/equationEditorCategories2.js +118 -187
- package/cypress/e2e/ILC/EssayResponseBasic/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/EssayResponseMath/mathCharacters.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/additionalSettings.js +11 -11
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +1 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsBasic.js +138 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsForDropdowns.js +309 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +181 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/additionalSettingsBasic.js +132 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsBasic.js +143 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +345 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/supportedFileTypes.js +49 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsBasic.js +25 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsForAnswerInputFields.js +251 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +49 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsBasic.js +93 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsForAnswerInputFields.js +215 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/textContainerSettings.js +219 -0
- package/cypress/e2e/ILC/GeoGebraTools/3DGraphingCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/3DGraphingCalculatorPreviewTabContents.smoke.js +75 -0
- package/cypress/e2e/ILC/GeoGebraTools/casCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/casCalculatorPreviewTabContents.smoke.js +75 -0
- package/cypress/e2e/ILC/GeoGebraTools/geometryCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/geometryCalculatorPreviewTabContents.smoke.js +76 -0
- package/cypress/e2e/ILC/GeoGebraTools/graphingCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/graphingCalculatorPreviewTabContents.smoke.js +73 -0
- package/cypress/e2e/ILC/GeoGebraTools/probablityCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/probablityCalculatorPreviewTabContents.smoke.js +75 -0
- package/cypress/e2e/ILC/GeoGebraTools/scientificCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/scientificCalculatorPreviewTabContents.smoke.js +75 -0
- package/cypress/e2e/ILC/GeogebraActivity/additionalSettings.js +10 -8
- package/cypress/e2e/ILC/GeogebraActivity/gradingViewAndCorrectAnswerViewContents.smoke.js +3 -2
- package/cypress/e2e/ILC/GeogebraActivity/headerSection.js +2 -1
- package/cypress/e2e/ILC/GeogebraActivity/insertResourceLink.js +318 -0
- package/cypress/e2e/ILC/GeogebraActivity/previewTabContent.smoke.js +2 -1
- package/cypress/e2e/ILC/Graphing/additionalSettingsBasic.js +15 -4
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +280 -0
- package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +136 -0
- package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +205 -0
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +213 -0
- package/cypress/e2e/ILC/GridFill/scoring/manuallyAndNonScored.js +106 -0
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +79 -0
- package/cypress/e2e/ILC/MultipleSelection/additionalSettingsBasic.js +108 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +251 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +180 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/additionalSettings.js +48 -56
- package/cypress/e2e/ILC/SingleSelection/additionalSettingsBasic.js +107 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +251 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +180 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/TextEntryMath/checkAnswerFunctionalityForAllViews.smoke.js +4 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +93 -68
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +59 -52
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +59 -52
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +61 -50
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +65 -51
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +55 -46
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +6 -3
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +11 -9
- package/cypress/e2e/ILC/TextEntryMathWithImage/checkAnswerFunctionalityForAllViews.smoke.js +4 -3
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +4 -2
- package/cypress/e2e/ILC/UploadResponse/additionalSettingsBasic.js +85 -0
- package/cypress/e2e/ILC/UploadResponse/editTabScoringSection.js +12 -12
- package/cypress/e2e/ILC/UploadResponse/uploadResponseEditTabBasicSections.js +1 -1
- package/cypress/fixtures/constants.js +2 -0
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +1114 -1511
- package/cypress/fixtures/theme/ilc.json +7 -1
- package/cypress/pages/audioResponsePage.js +26 -2
- package/cypress/pages/components/additionalSettingsAccessibilitySectionComponent.js +1 -0
- package/cypress/pages/components/additionalSettingsPanel.js +3 -10
- package/cypress/pages/components/ariaLabelSectionComponent.js +84 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +5 -2
- package/cypress/pages/components/autoScoredStudentViewSettings.js +1 -1
- package/cypress/pages/components/commonComponents.js +1 -1
- package/cypress/pages/components/createCustomCategoryFlyout.js +2 -2
- package/cypress/pages/components/createQuestionBasePage.js +1 -1
- package/cypress/pages/components/desmosToolComponent.js +1 -0
- package/cypress/pages/components/draggableOptionContainer.js +1 -1
- package/cypress/pages/components/editCategoryFlyout.js +9 -10
- package/cypress/pages/components/equationEditorFlyout.js +20 -11
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +167 -3
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +149 -6
- package/cypress/pages/components/gradingViewEnumerationComponent.js +151 -0
- package/cypress/pages/components/gridQuestionCommonComponent.js +390 -0
- package/cypress/pages/components/imageCanvasComponent.js +25 -1
- package/cypress/pages/components/index.js +5 -1
- package/cypress/pages/components/placeholderTextSectionComponent.js +110 -0
- package/cypress/pages/components/responseAreaSettingsPopupComponent.js +2 -2
- package/cypress/pages/contentBlocksPage.js +60 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +4 -17
- package/cypress/pages/essayResponsePage.js +14 -11
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +15 -0
- package/cypress/pages/fillInTheGapsDropdownPage.js +121 -2
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +3 -1
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +70 -3
- package/cypress/pages/fillInTheGapsOverImageTextPage.js +33 -3
- package/cypress/pages/fillInTheGapsTextPage.js +81 -4
- package/cypress/pages/geoGebraActivityPage.js +75 -11
- package/cypress/pages/geoGebraToolsPage.js +292 -0
- package/cypress/pages/graphingPage.js +2 -1
- package/cypress/pages/gridFillPage.js +713 -0
- package/cypress/pages/index.js +3 -1
- package/cypress/pages/multipleSelectionGridPage.js +71 -317
- package/cypress/pages/multipleSelectionPage.js +2 -1
- package/cypress/pages/selectQuestionResourceToolPage.js +13 -2
- package/cypress/pages/singleSelectionGridPage.js +78 -329
- package/cypress/pages/singleSelectionPage.js +2 -1
- package/cypress/pages/textEntryMathPage.js +24 -6
- package/cypress/pages/textEntryMathWithImagePage.js +1 -1
- package/cypress/pages/uploadResponsePage.js +4 -3
- package/package.json +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/additionalSettings.js +0 -43
- package/cypress/pages/components/fillInTheGapsCommonComponents.js +0 -642
@@ -9,113 +9,14 @@ describe('Create question page - Essay Response: Equation Editor categories', ()
|
|
9
9
|
cy.loginAs('admin');
|
10
10
|
});
|
11
11
|
|
12
|
-
describe('Equation editor input category: Delimiters', () => {
|
13
|
-
abortEarlySetup();
|
14
|
-
before(() => {
|
15
|
-
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
16
|
-
cy.barsPreLoaderWait();
|
17
|
-
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
18
|
-
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
19
|
-
essayResponsePage.steps.switchToPreviewTab();
|
20
|
-
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
21
|
-
});
|
22
|
-
|
23
|
-
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('delimiters');
|
24
|
-
|
25
|
-
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', () => {
|
26
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.lFloor.ariaLabel);
|
27
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.rFloor.ariaLabel);
|
28
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.lCeil.ariaLabel);
|
29
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.rCeil.ariaLabel);
|
30
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.forwardSlash.ariaLabel);
|
31
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.openCurlBracket.ariaLabel);
|
32
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.closedCurlBracket.ariaLabel);
|
33
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.groupInParathesis.ariaLabel);
|
34
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
35
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.groupInBrackets.ariaLabel);
|
36
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
37
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.squareRoundBrackets.ariaLabel);
|
38
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
39
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.roundSquareBrackets.ariaLabel);
|
40
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
41
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.angleBracket.ariaLabel);
|
42
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
43
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.singleSquareOpen.ariaLabel);
|
44
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
45
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.singleSquareClose.ariaLabel);
|
46
|
-
});
|
47
|
-
|
48
|
-
equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('delimiters');
|
49
|
-
|
50
|
-
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('⌊⌋⌈⌉/{}(a)[a][a)(a]⟨a⟩[a]', '2/10000');
|
51
|
-
});
|
52
|
-
|
53
|
-
describe('Equation editor input category: Misc', () => {
|
54
|
-
abortEarlySetup();
|
55
|
-
before(() => {
|
56
|
-
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
57
|
-
cy.barsPreLoaderWait();
|
58
|
-
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
59
|
-
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
|
60
|
-
essayResponsePage.steps.switchToPreviewTab();
|
61
|
-
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
|
62
|
-
});
|
63
|
-
|
64
|
-
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('misc');
|
65
|
-
|
66
|
-
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', () => {
|
67
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.forAll.ariaLabel);
|
68
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.dotsBottom.ariaLabel);
|
69
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.horizontalDots.ariaLabel);
|
70
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.verticalDots.ariaLabel);
|
71
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.diagonalDots.ariaLabel);
|
72
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.sqrt.ariaLabel);
|
73
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('4{rightarrow}');
|
74
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.triangle.ariaLabel);
|
75
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.ell.ariaLabel);
|
76
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.top.ariaLabel);
|
77
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.flat.ariaLabel);
|
78
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.natural.ariaLabel);
|
79
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.sharp.ariaLabel);
|
80
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.elliptic.ariaLabel);
|
81
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.perpendicularTo.ariaLabel);
|
82
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.clubSuit.ariaLabel);
|
83
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.diamondSuit.ariaLabel);
|
84
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.heartSuit.ariaLabel);
|
85
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.spadeSuit.ariaLabel);
|
86
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.exponent.ariaLabel);
|
87
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.underscore.ariaLabel);
|
88
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.backSlash.ariaLabel);
|
89
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.forwardSlash.ariaLabel);
|
90
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.vert.ariaLabel);
|
91
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.nabla.ariaLabel);
|
92
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.planck.ariaLabel);
|
93
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.angstrom.ariaLabel);
|
94
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.circle.ariaLabel);
|
95
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.bullet.ariaLabel);
|
96
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.not.ariaLabel);
|
97
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.real.ariaLabel)
|
98
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.imaginary.ariaLabel)
|
99
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.partialDerivative.ariaLabel)
|
100
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.infinity.ariaLabel);
|
101
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.alpeh.ariaLabel);
|
102
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.degree.ariaLabel);
|
103
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.misc.symbols.angle.ariaLabel);
|
104
|
-
});
|
105
|
-
|
106
|
-
equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('misc');
|
107
|
-
|
108
|
-
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('∀…⋯⋮⋱√4△ℓ⊤♭♮♯℘⊥♧♢♡♤^_\\/|∇ℏÅ∘•¬ℜℑ∂∞ℵ°∠', '1/10000');
|
109
|
-
});
|
110
|
-
|
111
12
|
describe('Equation editor input category: Matrices', () => {
|
112
13
|
abortEarlySetup();
|
113
14
|
before(() => {
|
114
15
|
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
115
16
|
cy.barsPreLoaderWait();
|
116
17
|
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
117
|
-
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
118
|
-
essayResponsePage.steps.
|
18
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
|
19
|
+
essayResponsePage.steps.checkDisplayWordCountCheckbox();
|
119
20
|
essayResponsePage.steps.switchToPreviewTab();
|
120
21
|
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
121
22
|
});
|
@@ -135,19 +36,12 @@ describe('Create question page - Essay Response: Equation Editor categories', ()
|
|
135
36
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
|
136
37
|
}
|
137
38
|
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
|
138
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.matrixBoundedParenthesis.ariaLabel);
|
139
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
|
140
|
-
for (let i = 1; i < 4; i++) {
|
141
|
-
equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
|
142
|
-
}
|
143
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
|
144
39
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.matrixBoundedBraces.ariaLabel);
|
145
|
-
equationEditorFlyout.steps.
|
146
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
|
40
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('4');
|
147
41
|
for (let i = 1; i < 4; i++) {
|
148
42
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
|
149
43
|
}
|
150
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
|
44
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}{rightarrow}');
|
151
45
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.matrixBoundedVerticalLines.ariaLabel);
|
152
46
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.insertColumnInMatrix.ariaLabel);
|
153
47
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.insertRowInMatrix.ariaLabel);
|
@@ -175,50 +69,134 @@ describe('Create question page - Essay Response: Equation Editor categories', ()
|
|
175
69
|
}
|
176
70
|
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
|
177
71
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.dotsBottom.ariaLabel);
|
178
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.dotsMiddle.ariaLabel);
|
179
72
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.verticalDots.ariaLabel);
|
180
73
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.diagonalDots.ariaLabel);
|
74
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.dotMultiplier.ariaLabel);
|
181
75
|
});
|
182
76
|
|
183
77
|
equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('matrices');
|
184
78
|
|
185
|
-
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('5123[5123]
|
79
|
+
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('5123[5123]{4123}|123456789|‖5123‖[52223!123456]…⋮⋱·', '1');
|
186
80
|
});
|
187
81
|
|
188
|
-
describe('Equation editor symbol category:
|
82
|
+
describe('Equation editor symbol category: Set notation', () => {
|
83
|
+
abortEarlySetup();
|
84
|
+
before(() => {
|
85
|
+
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
86
|
+
cy.barsPreLoaderWait();
|
87
|
+
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
88
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
|
89
|
+
essayResponsePage.steps.checkDisplayWordCountCheckbox();
|
90
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['setNotation'].displayName}`]);
|
91
|
+
essayResponsePage.steps.switchToPreviewTab();
|
92
|
+
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
|
93
|
+
});
|
94
|
+
|
95
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('setNotation');
|
96
|
+
|
97
|
+
essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('setNotation', '1');
|
98
|
+
});
|
99
|
+
|
100
|
+
describe('Equation editor symbol category: Trig', () => {
|
189
101
|
abortEarlySetup();
|
190
102
|
before(() => {
|
191
103
|
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
192
104
|
cy.barsPreLoaderWait();
|
193
105
|
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
194
106
|
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
195
|
-
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['
|
107
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['trig'].displayName}`]);
|
108
|
+
essayResponsePage.steps.checkDisplayWordCountCheckbox();
|
196
109
|
essayResponsePage.steps.switchToPreviewTab();
|
197
110
|
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
198
111
|
});
|
199
112
|
|
200
|
-
equationEditorFlyout.tests.
|
113
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('trig');
|
114
|
+
|
115
|
+
essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('trig', '1');
|
116
|
+
});
|
117
|
+
|
118
|
+
describe('Equation editor symbol category: Greek', () => {
|
119
|
+
abortEarlySetup();
|
120
|
+
before(() => {
|
121
|
+
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
122
|
+
cy.barsPreLoaderWait();
|
123
|
+
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
124
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
|
125
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['greek'].displayName}`]);
|
126
|
+
essayResponsePage.steps.checkDisplayWordCountCheckbox();
|
127
|
+
essayResponsePage.steps.switchToPreviewTab();
|
128
|
+
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor');
|
129
|
+
});
|
201
130
|
|
202
|
-
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('
|
131
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('greek');
|
203
132
|
|
204
|
-
essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('
|
133
|
+
essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('greek', '1');
|
205
134
|
});
|
206
135
|
|
207
|
-
describe('Equation editor symbol category:
|
136
|
+
describe('Equation editor symbol category: Measurement', () => {
|
208
137
|
abortEarlySetup();
|
209
138
|
before(() => {
|
210
139
|
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
211
140
|
cy.barsPreLoaderWait();
|
212
141
|
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
213
142
|
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
214
|
-
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['
|
143
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['measurement'].displayName}`]);
|
144
|
+
essayResponsePage.steps.checkDisplayWordCountCheckbox();
|
215
145
|
essayResponsePage.steps.switchToPreviewTab();
|
216
146
|
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
217
147
|
});
|
218
148
|
|
219
|
-
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('
|
149
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('measurement');
|
220
150
|
|
221
|
-
essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('
|
151
|
+
essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('measurement', '2');
|
152
|
+
});
|
153
|
+
|
154
|
+
describe('Equation editor input category: Delimiters', () => {
|
155
|
+
abortEarlySetup();
|
156
|
+
before(() => {
|
157
|
+
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
158
|
+
cy.barsPreLoaderWait();
|
159
|
+
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
160
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
|
161
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['delimiters'].displayName}`]);
|
162
|
+
essayResponsePage.steps.checkDisplayWordCountCheckbox();
|
163
|
+
essayResponsePage.steps.switchToPreviewTab();
|
164
|
+
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
165
|
+
});
|
166
|
+
|
167
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('delimiters');
|
168
|
+
|
169
|
+
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', () => {
|
170
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.lFloor.ariaLabel);
|
171
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.rFloor.ariaLabel);
|
172
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.lCeil.ariaLabel);
|
173
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.rCeil.ariaLabel);
|
174
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.forAll.ariaLabel);
|
175
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.not.ariaLabel);
|
176
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.and.ariaLabel);
|
177
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.or.ariaLabel);
|
178
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.equivalance.ariaLabel);
|
179
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.existentialQuantifier.ariaLabel);
|
180
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.circledPlus.ariaLabel);
|
181
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.upwardsArrow.ariaLabel);
|
182
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.openCurlBracket.ariaLabel);
|
183
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.closedCurlBracket.ariaLabel);
|
184
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.groupInParathesis.ariaLabel);
|
185
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
186
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.groupInBrackets.ariaLabel);
|
187
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
188
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.angleBracket.ariaLabel);
|
189
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
190
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.singleSquareOpen.ariaLabel);
|
191
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
192
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.singleSquareClose.ariaLabel);
|
193
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.delimiters.symbols.groupInBraces.ariaLabel);
|
194
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('a{rightarrow}');
|
195
|
+
});
|
196
|
+
|
197
|
+
equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('delimiters');
|
198
|
+
|
199
|
+
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('⌊⌋⌈⌉∀¬∧∨≡∃⊕↑{}(a)[a]⟨a⟩[a]{a}', '2');
|
222
200
|
});
|
223
201
|
|
224
202
|
describe('Equation editor input category: Calculus Symbols', () => {
|
@@ -229,112 +207,65 @@ describe('Create question page - Essay Response: Equation Editor categories', ()
|
|
229
207
|
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
230
208
|
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
231
209
|
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['calculus'].displayName}`]);
|
210
|
+
essayResponsePage.steps.checkDisplayWordCountCheckbox();
|
232
211
|
essayResponsePage.steps.switchToPreviewTab();
|
233
212
|
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
234
213
|
});
|
235
214
|
|
236
|
-
equationEditorFlyout.tests.verifyEquationEditorFlyoutCategoryTooltip('calculus');
|
237
|
-
|
238
215
|
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('calculus');
|
239
216
|
|
240
217
|
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', () => {
|
241
218
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.limit.ariaLabel);
|
242
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.
|
219
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.varEpsilon.ariaLabel);
|
243
220
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.eulersNumber.ariaLabel);
|
244
221
|
equationEditorFlyout.steps.focusInPreviewInputField()
|
245
222
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.deltaUppercase.ariaLabel);
|
246
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.derivative.ariaLabel);
|
247
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2y');
|
248
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.secondDerivative.ariaLabel);
|
249
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2xy');
|
250
223
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.integral.ariaLabel);
|
251
224
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2', '3{rightarrow}{rightarrow}{rightarrow}'])
|
252
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.nDerivative.ariaLabel);
|
253
|
-
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3', '3']);
|
254
|
-
equationEditorFlyout.steps.focusInPreviewInputField();
|
255
225
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.doubleIntegral.ariaLabel);
|
256
226
|
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}{rightarrow}{rightarrow}');
|
257
227
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.partialDerivative.ariaLabel);
|
258
228
|
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2');
|
259
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.timeDerivative.ariaLabel);
|
260
229
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.tripleIntegral.ariaLabel);
|
261
230
|
equationEditorFlyout.steps.enterTextAtInputFieldCursor('1{rightarrow}');
|
262
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.timeSecondDerivative.ariaLabel);
|
263
231
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.lineIntegral.ariaLabel);
|
264
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.vector.ariaLabel);
|
265
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('x{rightarrow}');
|
266
232
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.closedSurfaceIntegral.ariaLabel);
|
267
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.unitVector.ariaLabel);
|
268
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('x{rightarrow}');
|
269
233
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.closedVolumeIntegral.ariaLabel);
|
270
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.underSim.ariaLabel);
|
271
234
|
equationEditorFlyout.steps.enterTextAtInputFieldCursor('x{rightarrow}{rightarrow}');
|
272
235
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.summation.ariaLabel);
|
273
236
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3', '4{rightarrow}']);
|
274
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.absoluteValue.ariaLabel);
|
275
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5{rightarrow}');
|
276
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.infinity.ariaLabel);
|
277
237
|
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.nabla.ariaLabel);
|
238
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.iota.ariaLabel);
|
239
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.j.ariaLabel);
|
240
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.k.ariaLabel);
|
241
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.d.ariaLabel);
|
242
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.f.ariaLabel);
|
243
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.fraction.ariaLabel);
|
244
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
|
245
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['16{rightarrow}']);
|
246
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.groupInParenthesis.ariaLabel);
|
247
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
|
278
248
|
});
|
279
249
|
|
280
250
|
equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('calculus');
|
281
251
|
|
282
|
-
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('limx
|
252
|
+
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('∯limx→εeΔ∫32∬2∂y∂x2∭1∮∯\oiiintx∑34∇ιjkdf516(5)', '4');
|
283
253
|
});
|
284
254
|
|
285
|
-
describe('Equation editor
|
255
|
+
describe('Equation editor symbol category: Other symbols', () => {
|
286
256
|
abortEarlySetup();
|
287
257
|
before(() => {
|
288
258
|
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
289
259
|
cy.barsPreLoaderWait();
|
290
260
|
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
291
|
-
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
292
|
-
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['
|
261
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor']);
|
262
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['otherSymbols'].displayName}`]);
|
263
|
+
essayResponsePage.steps.checkDisplayWordCountCheckbox();
|
293
264
|
essayResponsePage.steps.switchToPreviewTab();
|
294
265
|
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
295
266
|
});
|
267
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('otherSymbols');
|
296
268
|
|
297
|
-
|
298
|
-
|
299
|
-
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('geometry');
|
300
|
-
|
301
|
-
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', () => {
|
302
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.circle.ariaLabel);
|
303
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.square.ariaLabel);
|
304
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.triangle.ariaLabel);
|
305
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.parallelogram.ariaLabel);
|
306
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.perpendicularTo.ariaLabel);
|
307
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.similarTo.ariaLabel);
|
308
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.congruentTo.ariaLabel);
|
309
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.parallelTo.ariaLabel);
|
310
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.notParallel.ariaLabel);
|
311
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.pi.ariaLabel);
|
312
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.dotMultiplier.ariaLabel);
|
313
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.degree.ariaLabel);
|
314
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.prime.ariaLabel);
|
315
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.doublePrime.ariaLabel);
|
316
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.angle.ariaLabel);
|
317
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('45');
|
318
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.measureOfAngle.ariaLabel);
|
319
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('30');
|
320
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.arc.ariaLabel);
|
321
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
|
322
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.topLineSegment.ariaLabel);
|
323
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
|
324
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.vector.ariaLabel);
|
325
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
|
326
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.topDoubleSidedArrow.ariaLabel);
|
327
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
|
328
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.topLeftArrow.ariaLabel);
|
329
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
|
330
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.topRightArrow.ariaLabel);
|
331
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
|
332
|
-
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.geometry.symbols.recurringDecimal.ariaLabel);
|
333
|
-
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}');
|
334
|
-
});
|
335
|
-
|
336
|
-
equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('geometry');
|
337
|
-
|
338
|
-
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('◯□△▱⊥~≅∥∦π·°′″∠45m∠302⌒2―2→2↔2←2→2˙', '1/10000');
|
269
|
+
essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('otherSymbols', '1');
|
339
270
|
});
|
340
271
|
});
|
@@ -53,7 +53,7 @@ describe('Create item page - Essay response - Basic: Preview contents', () => {
|
|
53
53
|
|
54
54
|
it('Word count should be displayed in the format \'Maximum 1000 words\'', () => {
|
55
55
|
essayResponseBasicPage.steps.verifyResponseFieldWordCount('Maximum 1000 words');
|
56
|
-
})
|
56
|
+
});
|
57
57
|
|
58
58
|
it('When the user updates the formatting options and types something in the response field', () => {
|
59
59
|
essayResponseBasicPage.steps.selectPreviewTabToolbarOption('Bold (Ctrl+B)');
|
@@ -134,7 +134,7 @@ describe('Essay response math: Customize math characters', () => {
|
|
134
134
|
});
|
135
135
|
});
|
136
136
|
|
137
|
-
describe('Preview tab - toolbar option - \'Math characters\' - content and functionality',
|
137
|
+
describe('Preview tab - toolbar option - \'Math characters\' - content and functionality', () => {
|
138
138
|
abortEarlySetup();
|
139
139
|
before(() => {
|
140
140
|
cy.log('Navigating to drawing response question type');
|
@@ -14,19 +14,19 @@ describe('Create item page - Fill in the gaps with drag and drop: Additional Set
|
|
14
14
|
describe('Additional Settings accordion', () => {
|
15
15
|
abortEarlySetup();
|
16
16
|
before(() => {
|
17
|
-
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop')
|
17
|
+
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
|
18
18
|
cy.barsPreLoaderWait();
|
19
19
|
});
|
20
20
|
|
21
|
-
fillInTheGapsDragAndDropPage.tests.
|
21
|
+
fillInTheGapsDragAndDropPage.tests.verifyAdditionalSettingsAccordionProperties();
|
22
22
|
});
|
23
23
|
|
24
24
|
describe('Additional settings: Font size contents', () => {
|
25
25
|
abortEarlySetup();
|
26
26
|
before(() => {
|
27
|
-
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop')
|
27
|
+
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
|
28
28
|
cy.barsPreLoaderWait();
|
29
|
-
fillInTheGapsDragAndDropPage.steps.
|
29
|
+
fillInTheGapsDragAndDropPage.steps.expandAdditionalSettings();
|
30
30
|
});
|
31
31
|
|
32
32
|
fillInTheGapsDragAndDropPage.tests.verifyFontSizeSectionContents();
|
@@ -35,10 +35,10 @@ describe('Create item page - Fill in the gaps with drag and drop: Additional Set
|
|
35
35
|
describe('Additional settings: Font size functionality edit tab', () => {
|
36
36
|
abortEarlySetup();
|
37
37
|
before(() => {
|
38
|
-
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop')
|
38
|
+
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
|
39
39
|
cy.barsPreLoaderWait();
|
40
40
|
fillInTheGapsDragAndDropPage.steps.addQuestionInstructions();
|
41
|
-
fillInTheGapsDragAndDropPage.steps.
|
41
|
+
fillInTheGapsDragAndDropPage.steps.expandAdditionalSettings();
|
42
42
|
});
|
43
43
|
|
44
44
|
fontSizeDropdownOptions.forEach((option, fontsIndex) => {
|
@@ -55,13 +55,13 @@ describe('Create item page - Fill in the gaps with drag and drop: Additional Set
|
|
55
55
|
describe('Additional settings: Font size functionality preview tab', () => {
|
56
56
|
abortEarlySetup();
|
57
57
|
before(() => {
|
58
|
-
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop')
|
58
|
+
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
|
59
59
|
cy.barsPreLoaderWait();
|
60
60
|
fillInTheGapsDragAndDropPage.steps.addQuestionInstructions();
|
61
61
|
fillInTheGapsDragAndDropPage.steps.addInputToOptionsInputField(['Petals', 'Leaves']);
|
62
62
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Leaves': 1 });
|
63
63
|
fillInTheGapsDragAndDropPage.steps.allotPoints(20);
|
64
|
-
fillInTheGapsDragAndDropPage.steps.
|
64
|
+
fillInTheGapsDragAndDropPage.steps.expandAdditionalSettings();
|
65
65
|
});
|
66
66
|
|
67
67
|
fontSizeDropdownOptions.forEach((option, fontsIndex) => {
|
@@ -100,7 +100,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Additional Set
|
|
100
100
|
abortEarlySetup();
|
101
101
|
before(() => {
|
102
102
|
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');;
|
103
|
-
fillInTheGapsDragAndDropPage.steps.
|
103
|
+
fillInTheGapsDragAndDropPage.steps.expandAdditionalSettings();
|
104
104
|
});
|
105
105
|
|
106
106
|
it('When the user expands additional settings accordion then \'Accessibility\' label should be displayed', () => {
|
@@ -144,9 +144,9 @@ describe('Create item page - Fill in the gaps with drag and drop: Additional Set
|
|
144
144
|
describe('Additional Settings: Details section', () => {
|
145
145
|
abortEarlySetup();
|
146
146
|
before(() => {
|
147
|
-
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop')
|
147
|
+
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
|
148
148
|
cy.barsPreLoaderWait();
|
149
|
-
fillInTheGapsDragAndDropPage.steps.
|
149
|
+
fillInTheGapsDragAndDropPage.steps.expandAdditionalSettings();
|
150
150
|
});
|
151
151
|
|
152
152
|
fillInTheGapsDragAndDropPage.tests.verifyDetailsSection();
|
@@ -80,7 +80,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Dropzone setti
|
|
80
80
|
fillInTheGapsDragAndDropPage.steps.verifySetForAllDropzoneCheckboxChecked();
|
81
81
|
});
|
82
82
|
|
83
|
-
it('When user updates any value and clicks on \'OK\' button, then the dropzone settings popup should close and the updated values should
|
83
|
+
it('When user updates any value and clicks on \'OK\' button, then the dropzone settings popup should close and the updated values should be saved', () => {
|
84
84
|
fillInTheGapsDragAndDropPage.steps.addInputToWidthInputField(150);
|
85
85
|
fillInTheGapsDragAndDropPage.steps.addInputToHeightInputField(120);
|
86
86
|
fillInTheGapsDragAndDropPage.steps.checkWordWrappedCheckbox();
|
@@ -118,9 +118,7 @@ describe('Preview tab contents for all views', () => {
|
|
118
118
|
});
|
119
119
|
|
120
120
|
it('The content in the dropzone should not be editable', () => {
|
121
|
-
fillInTheGapsDragAndDropPage.steps.
|
122
|
-
fillInTheGapsDragAndDropPage.steps.verifyPreviewDropzoneOptionDisabled(1);
|
123
|
-
fillInTheGapsDragAndDropPage.steps.verifyPreviewDropzoneOptionDisabled(2);
|
121
|
+
fillInTheGapsDragAndDropPage.steps.verifyDropzoneIsNotEditableInGradingView();
|
124
122
|
});
|
125
123
|
} else {
|
126
124
|
it('The dropzone should be displayed filled with answers', () => {
|