itemengine-cypress-automation 1.0.105 → 1.0.107
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +129 -0
- package/cypress/e2e/ILC/AudioResponseNew/minimalRecorderStyle.js +482 -0
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +123 -0
- package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.js +554 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -41
- package/cypress/e2e/ILC/EditTabSettingPage/ItemPreviewSettingsTabContent.js +5 -3
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +284 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +412 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditorCategories1.js +203 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditorCategories2.js +340 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +432 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +134 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +336 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions2.js +332 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions3.js +522 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +253 -0
- package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +266 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +57 -640
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +209 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +209 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +303 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingPenaltyScoring.js +68 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsBasic.js +149 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +218 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +191 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +219 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +240 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +124 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +107 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +408 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -2
- package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
- package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +0 -6
- package/cypress/e2e/ILC/Passage/multipageContentEditTab.js +242 -0
- package/cypress/e2e/ILC/Passage/passageAdditionalSettings.js +99 -0
- package/cypress/e2e/ILC/Passage/passageEditTab.js +241 -0
- package/cypress/e2e/ILC/Passage/passageHeaderSection.js +73 -0
- package/cypress/e2e/ILC/Passage/passagePreviewTab.js +246 -0
- package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +138 -33
- package/cypress/e2e/ILC/ReadingRuler/readingRulerHeaderSection.js +30 -6
- package/cypress/e2e/ILC/ReadingRuler/readingRulerPreviewTab.js +167 -101
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/headerSection.js +20 -5
- package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +1 -0
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +12 -7
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +1336 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +419 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +443 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +411 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +411 -0
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +3 -3
- package/cypress/fixtures/specialAndMathCharacters.js +2 -0
- package/cypress/fixtures/theme/ilc.json +4 -2
- package/cypress/pages/audioResponsePage.js +326 -165
- package/cypress/pages/components/additionalSettingsPanel.js +1 -1
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +1 -1
- package/cypress/pages/components/backgroundImageUploadComponent.js +162 -2
- package/cypress/pages/components/colorPopupComponent.js +115 -26
- package/cypress/pages/components/customizeMathCharacterComponent.js +133 -0
- package/cypress/pages/components/customizeSpecialCharacterComponent.js +74 -4
- package/cypress/pages/components/editCategoryFlyout.js +164 -2
- package/cypress/pages/components/equationEditorFlyout.js +36 -1
- package/cypress/pages/components/essayResponseCommonComponents.js +0 -2
- package/cypress/pages/components/figOverImageCanvasComponent.js +587 -134
- package/cypress/pages/components/index.js +2 -1
- package/cypress/pages/components/playbackControlsBaseComponent.js +137 -2
- package/cypress/pages/correctAnswerViewPage.js +12 -1
- package/cypress/pages/drawingResponsePage.js +26 -151
- package/cypress/pages/essayResponseMathPage.js +28 -16
- package/cypress/pages/essayResponsePage.js +187 -7
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +78 -14
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +178 -221
- package/cypress/pages/fillInTheGapsOverImageTextPage.js +79 -0
- package/cypress/pages/multipleSelectionPage.js +1 -1
- package/cypress/pages/readingRulerPage.js +219 -104
- package/cypress/pages/singleSelectionPage.js +1 -0
- package/cypress/pages/textEntryMathPage.js +17 -6
- package/cypress/pages/videoResponsePage.js +0 -8
- package/package.json +1 -1
- package/scripts/sorry-cypress.mjs +1 -1
@@ -0,0 +1,340 @@
|
|
1
|
+
import { equationEditorCategoriesAndSymbols } from "../../../fixtures/equationEditorCategoriesAndSymbols ";
|
2
|
+
import { equationEditorFlyout } from "../../../pages/components/equationEditorFlyout";
|
3
|
+
import { essayResponsePage } from "../../../pages/essayResponsePage";
|
4
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
5
|
+
const css = Cypress.env('css');
|
6
|
+
|
7
|
+
describe('Create question page - Essay Response: Equation Editor categories', () => {
|
8
|
+
before(() => {
|
9
|
+
cy.loginAs('admin');
|
10
|
+
});
|
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
|
+
describe('Equation editor input category: Matrices', () => {
|
112
|
+
abortEarlySetup();
|
113
|
+
before(() => {
|
114
|
+
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
115
|
+
cy.barsPreLoaderWait();
|
116
|
+
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
117
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
118
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['matrices'].displayName}`]);
|
119
|
+
essayResponsePage.steps.switchToPreviewTab();
|
120
|
+
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
121
|
+
});
|
122
|
+
|
123
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('matrices');
|
124
|
+
|
125
|
+
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', () => {
|
126
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.matrix.ariaLabel);
|
127
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
|
128
|
+
for (let i = 1; i < 4; i++) {
|
129
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
|
130
|
+
}
|
131
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
|
132
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.twoByTwoMatrixBoundedBrackets.ariaLabel);
|
133
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
|
134
|
+
for (let i = 1; i < 4; i++) {
|
135
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
|
136
|
+
}
|
137
|
+
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
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.matrixBoundedBraces.ariaLabel);
|
145
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.singleMatrixBoundedBrackets.ariaLabel);
|
146
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
|
147
|
+
for (let i = 1; i < 4; i++) {
|
148
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
|
149
|
+
}
|
150
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
|
151
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.matrixBoundedVerticalLines.ariaLabel);
|
152
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.insertColumnInMatrix.ariaLabel);
|
153
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.insertRowInMatrix.ariaLabel);
|
154
|
+
for (let i = 1; i < 10; i++) {
|
155
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
|
156
|
+
}
|
157
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
|
158
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.matrixBoundedDoubleVerticalLines.ariaLabel);
|
159
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
|
160
|
+
for (let i = 1; i < 4; i++) {
|
161
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
|
162
|
+
}
|
163
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
|
164
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.threeByThreeMatrixBoundedBrackets.ariaLabel);
|
165
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('5');
|
166
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.subscript.ariaLabel);
|
167
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2');
|
168
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
169
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.superscript.ariaLabel);
|
170
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2')
|
171
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
172
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.factorial.ariaLabel);
|
173
|
+
for (let i = 1; i < 7; i++) {
|
174
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox([i]);
|
175
|
+
}
|
176
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('{rightarrow}{rightarrow}');
|
177
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.dotsBottom.ariaLabel);
|
178
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.dotsMiddle.ariaLabel);
|
179
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.verticalDots.ariaLabel);
|
180
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.matrices.symbols.diagonalDots.ariaLabel);
|
181
|
+
});
|
182
|
+
|
183
|
+
equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('matrices');
|
184
|
+
|
185
|
+
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('5123[5123](5123){[5]123}|123456789|‖5123‖[52223!123456]…⋯⋮⋱', '1/10000');
|
186
|
+
});
|
187
|
+
|
188
|
+
describe('Equation editor symbol category: Trigonometric Functions', () => {
|
189
|
+
abortEarlySetup();
|
190
|
+
before(() => {
|
191
|
+
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
192
|
+
cy.barsPreLoaderWait();
|
193
|
+
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
194
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
195
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['trigonometry'].displayName}`]);
|
196
|
+
essayResponsePage.steps.switchToPreviewTab();
|
197
|
+
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
198
|
+
});
|
199
|
+
|
200
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutCategoryTooltip('trigonometry');
|
201
|
+
|
202
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('trigonometry', '1/10000');
|
203
|
+
|
204
|
+
essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('trigonometry', '1/10000');
|
205
|
+
});
|
206
|
+
|
207
|
+
describe('Equation editor symbol category: Units', () => {
|
208
|
+
abortEarlySetup();
|
209
|
+
before(() => {
|
210
|
+
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
211
|
+
cy.barsPreLoaderWait();
|
212
|
+
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
213
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
214
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['units'].displayName}`]);
|
215
|
+
essayResponsePage.steps.switchToPreviewTab();
|
216
|
+
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
217
|
+
});
|
218
|
+
|
219
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('units');
|
220
|
+
|
221
|
+
essayResponsePage.tests.verifyEquationEditorFlyoutSymbolCategoriesFunctionality('units', '2/10000');
|
222
|
+
});
|
223
|
+
|
224
|
+
describe('Equation editor input category: Calculus Symbols', () => {
|
225
|
+
abortEarlySetup();
|
226
|
+
before(() => {
|
227
|
+
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
228
|
+
cy.barsPreLoaderWait();
|
229
|
+
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
230
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
231
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['calculus'].displayName}`]);
|
232
|
+
essayResponsePage.steps.switchToPreviewTab();
|
233
|
+
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
234
|
+
});
|
235
|
+
|
236
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutCategoryTooltip('calculus');
|
237
|
+
|
238
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutSymbolCategoriesTabs('calculus');
|
239
|
+
|
240
|
+
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
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.limit.ariaLabel);
|
242
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.epsilon.ariaLabel);
|
243
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.eulersNumber.ariaLabel);
|
244
|
+
equationEditorFlyout.steps.focusInPreviewInputField()
|
245
|
+
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
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.integral.ariaLabel);
|
251
|
+
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
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.doubleIntegral.ariaLabel);
|
256
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2{rightarrow}{rightarrow}{rightarrow}');
|
257
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.partialDerivative.ariaLabel);
|
258
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('2');
|
259
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.timeDerivative.ariaLabel);
|
260
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.tripleIntegral.ariaLabel);
|
261
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('1{rightarrow}');
|
262
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.timeSecondDerivative.ariaLabel);
|
263
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.lineIntegral.ariaLabel);
|
264
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.vector.ariaLabel);
|
265
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('x{rightarrow}');
|
266
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.closedSurfaceIntegral.ariaLabel);
|
267
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.unitVector.ariaLabel);
|
268
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('x{rightarrow}');
|
269
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.closedVolumeIntegral.ariaLabel);
|
270
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.underSim.ariaLabel);
|
271
|
+
equationEditorFlyout.steps.enterTextAtInputFieldCursor('x{rightarrow}{rightarrow}');
|
272
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.summation.ariaLabel);
|
273
|
+
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
|
+
equationEditorFlyout.steps.selectCategoryCharacters(equationEditorCategoriesAndSymbols.calculus.symbols.nabla.ariaLabel);
|
278
|
+
});
|
279
|
+
|
280
|
+
equationEditorFlyout.tests.verifyCSSAnda11yOfEquationEditorInputField('calculus');
|
281
|
+
|
282
|
+
essayResponsePage.tests.insertEquationAndVerifyInputFieldContentsAndWordCount('limx→ϵeΔdydx2yd2ydx22xy∫32d3ydx3∬2∂y∂x2y˙∭1y¨∮x→∯x^∰x~∑34|5|∞∇', '3/10000');
|
283
|
+
});
|
284
|
+
|
285
|
+
describe('Equation editor input category: Geometric Symbols', () => {
|
286
|
+
abortEarlySetup();
|
287
|
+
before(() => {
|
288
|
+
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
289
|
+
cy.barsPreLoaderWait();
|
290
|
+
essayResponsePage.steps.expandCustomizeFormattingOptionsAccordion();
|
291
|
+
essayResponsePage.steps.selectCustomizedFormattingOption(['Equation Editor'])
|
292
|
+
essayResponsePage.steps.selectingCategories([`${equationEditorCategoriesAndSymbols['geometry'].displayName}`]);
|
293
|
+
essayResponsePage.steps.switchToPreviewTab();
|
294
|
+
essayResponsePage.steps.selectPreviewTabToolbarOption('Equation Editor')
|
295
|
+
});
|
296
|
+
|
297
|
+
equationEditorFlyout.tests.verifyEquationEditorFlyoutCategoryTooltip('geometry');
|
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');
|
339
|
+
});
|
340
|
+
});
|