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.
- 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 +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/additionalSettings.js +0 -43
- package/cypress/pages/components/fillInTheGapsCommonComponents.js +0 -642
@@ -1,3 +1,4 @@
|
|
1
|
+
import { equationEditorCategoriesAndSymbols } from "../../../fixtures/equationEditorCategoriesAndSymbols ";
|
1
2
|
import { textEntryMathPage } from "../../../pages";
|
2
3
|
import { equationEditorFlyout } from "../../../pages/components";
|
3
4
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
@@ -17,6 +18,8 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
17
18
|
textEntryMathPage.steps.addInputToQuestionInputField('Match the value entered in edit tab')
|
18
19
|
textEntryMathPage.steps.addResponseToken();
|
19
20
|
textEntryMathPage.steps.allotPoints(20);
|
21
|
+
textEntryMathPage.steps.expandAdditionalSettings();
|
22
|
+
textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
|
20
23
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
21
24
|
textEntryMathPage.steps.selectEvaluationMethod('Match value');
|
22
25
|
});
|
@@ -55,7 +58,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
55
58
|
it('When the user enters a numeric value in \'Specify correct answer\' response field and then the user enters the same value using square then it should be treated as incorrect', () => {
|
56
59
|
textEntryMathPage.steps.resetQuestionPreview();
|
57
60
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
58
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
61
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['three', 'zero'] }, { categoryName: 'intermediate', symbolName: ['square'] }]);
|
59
62
|
equationEditorFlyout.steps.clickOnOkButton();
|
60
63
|
textEntryMathPage.steps.switchToGradingView();
|
61
64
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -64,15 +67,15 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
64
67
|
|
65
68
|
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
66
69
|
textEntryMathPage.steps.switchToEditTab();
|
67
|
-
textEntryMathPage.steps.
|
70
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
68
71
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
69
|
-
|
70
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
72
|
+
equationEditorFlyout.steps.clearAll();
|
73
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
71
74
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
72
75
|
equationEditorFlyout.steps.clickOnOkButton();
|
73
76
|
textEntryMathPage.steps.switchToPreviewTab();
|
74
77
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
75
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
78
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
76
79
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
77
80
|
equationEditorFlyout.steps.clickOnOkButton();
|
78
81
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -83,7 +86,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
83
86
|
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
84
87
|
textEntryMathPage.steps.resetQuestionPreview();
|
85
88
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
86
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
89
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one', 'six'] }]);
|
87
90
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
|
88
91
|
equationEditorFlyout.steps.clickOnOkButton();
|
89
92
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -95,7 +98,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
95
98
|
textEntryMathPage.steps.resetQuestionPreview();
|
96
99
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
97
100
|
equationEditorFlyout.steps.enterTextInPreviewInputField('1');
|
98
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
101
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
99
102
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
100
103
|
equationEditorFlyout.steps.clickOnOkButton();
|
101
104
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -105,9 +108,9 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
105
108
|
|
106
109
|
it('When the user enters a factored equation in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
|
107
110
|
textEntryMathPage.steps.switchToEditTab();
|
108
|
-
textEntryMathPage.steps.
|
111
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
109
112
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
110
|
-
|
113
|
+
equationEditorFlyout.steps.clearAll();
|
111
114
|
equationEditorFlyout.steps.enterTextInPreviewInputField('(x-3)(x+3)');
|
112
115
|
equationEditorFlyout.steps.clickOnOkButton();
|
113
116
|
textEntryMathPage.steps.switchToPreviewTab();
|
@@ -132,7 +135,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
132
135
|
it('When the user enters a factored equation in \'Specify correct answer\' response field and then the user enters the simplified equation using parenthesis then it should be treated as incorrect', () => {
|
133
136
|
textEntryMathPage.steps.resetQuestionPreview();
|
134
137
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
135
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
138
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square'] }, { categoryName: 'numPad', symbolName: ['subtract', 'three'] }, { categoryName: 'intermediate', symbolName: ['square'] }]);
|
136
139
|
equationEditorFlyout.steps.clickOnOkButton();
|
137
140
|
textEntryMathPage.steps.switchToGradingView();
|
138
141
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -142,7 +145,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
142
145
|
it('When the user enters a factored equation in \'Specify correct answer\' response field and then the user enters the same equation in expanded form then it should be treated as incorrect', () => {
|
143
146
|
textEntryMathPage.steps.resetQuestionPreview();
|
144
147
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
145
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
148
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
146
149
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-3x+3x+9');
|
147
150
|
equationEditorFlyout.steps.clickOnOkButton();
|
148
151
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -152,14 +155,14 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
152
155
|
|
153
156
|
it('When the user enters a equation of pi in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
|
154
157
|
textEntryMathPage.steps.switchToEditTab();
|
155
|
-
textEntryMathPage.steps.
|
158
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
156
159
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
157
|
-
|
158
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
160
|
+
equationEditorFlyout.steps.clearAll();
|
161
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
159
162
|
equationEditorFlyout.steps.clickOnOkButton();
|
160
163
|
textEntryMathPage.steps.switchToPreviewTab();
|
161
164
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
162
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
165
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
163
166
|
equationEditorFlyout.steps.clickOnOkButton();
|
164
167
|
textEntryMathPage.steps.switchToGradingView();
|
165
168
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -179,7 +182,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
179
182
|
it('When the user enters a equation using pi in \'Specify correct answer\' response field and then the user enters the same equation then it should be treated as incorrect', () => {
|
180
183
|
textEntryMathPage.steps.resetQuestionPreview();
|
181
184
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
182
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
185
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'dotMultiplier'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
183
186
|
equationEditorFlyout.steps.clickOnOkButton();
|
184
187
|
textEntryMathPage.steps.switchToGradingView();
|
185
188
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -188,20 +191,20 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
188
191
|
|
189
192
|
it('When the user enters a equation with parenthesis equation with epsilon in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
|
190
193
|
textEntryMathPage.steps.switchToEditTab();
|
191
|
-
textEntryMathPage.steps.
|
194
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
192
195
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
193
|
-
|
196
|
+
equationEditorFlyout.steps.clearAll();
|
194
197
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
195
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
198
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
196
199
|
equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
|
197
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
200
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
198
201
|
equationEditorFlyout.steps.clickOnOkButton();
|
199
202
|
textEntryMathPage.steps.switchToPreviewTab();
|
200
203
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
201
204
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
202
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
205
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
203
206
|
equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
|
204
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
207
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
205
208
|
equationEditorFlyout.steps.clickOnOkButton();
|
206
209
|
textEntryMathPage.steps.switchToGradingView();
|
207
210
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -212,9 +215,9 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
212
215
|
textEntryMathPage.steps.resetQuestionPreview();
|
213
216
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
214
217
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
215
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
218
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
216
219
|
equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
|
217
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
220
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
218
221
|
equationEditorFlyout.steps.clickOnOkButton();
|
219
222
|
textEntryMathPage.steps.switchToGradingView();
|
220
223
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -225,9 +228,9 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
225
228
|
textEntryMathPage.steps.resetQuestionPreview();
|
226
229
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
227
230
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
228
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
231
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
229
232
|
equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10')
|
230
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
233
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
231
234
|
equationEditorFlyout.steps.clickOnOkButton();
|
232
235
|
textEntryMathPage.steps.switchToGradingView();
|
233
236
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -236,18 +239,18 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
236
239
|
|
237
240
|
it('When the user enters trigonometric equations in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
|
238
241
|
textEntryMathPage.steps.switchToEditTab();
|
239
|
-
textEntryMathPage.steps.
|
242
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
240
243
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
241
|
-
|
244
|
+
equationEditorFlyout.steps.clearAll();
|
242
245
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150')
|
243
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
246
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add'] }, { categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
244
247
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
245
248
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
246
249
|
equationEditorFlyout.steps.clickOnOkButton();
|
247
250
|
textEntryMathPage.steps.switchToPreviewTab();
|
248
251
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
249
252
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150')
|
250
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
253
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add'] }, { categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
251
254
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
252
255
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
253
256
|
equationEditorFlyout.steps.clickOnOkButton();
|
@@ -260,7 +263,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
260
263
|
textEntryMathPage.steps.resetQuestionPreview();
|
261
264
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
262
265
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
|
263
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
266
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
264
267
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
265
268
|
equationEditorFlyout.steps.enterTextInPreviewInputField('{leftarrow}+')
|
266
269
|
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['theta'] }])
|
@@ -275,7 +278,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
275
278
|
textEntryMathPage.steps.resetQuestionPreview();
|
276
279
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
277
280
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
|
278
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
281
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add', 'nine', 'zero'] }]);
|
279
282
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
280
283
|
equationEditorFlyout.steps.clickOnOkButton();
|
281
284
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -285,9 +288,11 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
285
288
|
|
286
289
|
it('When the user enters a equation with iota in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
|
287
290
|
textEntryMathPage.steps.switchToEditTab();
|
288
|
-
textEntryMathPage.steps.
|
291
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
289
292
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
290
|
-
|
293
|
+
equationEditorFlyout.steps.clearAll();
|
294
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
|
295
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
291
296
|
textEntryMathPage.steps.switchToPreviewTab();
|
292
297
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
293
298
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
|
@@ -309,14 +314,14 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
309
314
|
|
310
315
|
it('When the user enters a equation using derivatives in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
|
311
316
|
textEntryMathPage.steps.switchToEditTab();
|
312
|
-
textEntryMathPage.steps.
|
317
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
313
318
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
314
|
-
|
315
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
319
|
+
equationEditorFlyout.steps.clearAll();
|
320
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
316
321
|
equationEditorFlyout.steps.clickOnOkButton();
|
317
322
|
textEntryMathPage.steps.switchToPreviewTab();
|
318
323
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
319
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
324
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
320
325
|
equationEditorFlyout.steps.clickOnOkButton();
|
321
326
|
textEntryMathPage.steps.switchToGradingView();
|
322
327
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -335,15 +340,15 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
335
340
|
|
336
341
|
it('When the user enters a equation using integration in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
|
337
342
|
textEntryMathPage.steps.switchToEditTab();
|
338
|
-
textEntryMathPage.steps.
|
343
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
339
344
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
340
|
-
|
341
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
345
|
+
equationEditorFlyout.steps.clearAll();
|
346
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
342
347
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
|
343
348
|
equationEditorFlyout.steps.clickOnOkButton();
|
344
349
|
textEntryMathPage.steps.switchToPreviewTab();
|
345
350
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
346
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
351
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
347
352
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
|
348
353
|
equationEditorFlyout.steps.clickOnOkButton();
|
349
354
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -354,7 +359,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
354
359
|
it('When the user enters a equation using integration in \'Specify correct answer\' and the user enters the result of equation in different form then it should be treated as incorrect', () => {
|
355
360
|
textEntryMathPage.steps.resetQuestionPreview();
|
356
361
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
357
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
362
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one'] }]);
|
358
363
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
359
364
|
equationEditorFlyout.steps.clickOnOkButton();
|
360
365
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -364,14 +369,14 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
364
369
|
|
365
370
|
it('When the user enters a equation using polynomial quadratic equations in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
|
366
371
|
textEntryMathPage.steps.switchToEditTab();
|
367
|
-
textEntryMathPage.steps.
|
372
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
368
373
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
369
|
-
|
370
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
374
|
+
equationEditorFlyout.steps.clearAll();
|
375
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }]);
|
371
376
|
equationEditorFlyout.steps.clickOnOkButton();
|
372
377
|
textEntryMathPage.steps.switchToPreviewTab();
|
373
378
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
374
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
379
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }]);
|
375
380
|
equationEditorFlyout.steps.clickOnOkButton();
|
376
381
|
textEntryMathPage.steps.switchToGradingView();
|
377
382
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -381,7 +386,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
381
386
|
it('When the user enters polynomial quadratic equations in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as incorrect', () => {
|
382
387
|
textEntryMathPage.steps.resetQuestionPreview();
|
383
388
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
384
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
389
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }, { categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'two'] }]);
|
385
390
|
equationEditorFlyout.steps.clickOnOkButton();
|
386
391
|
textEntryMathPage.steps.switchToGradingView();
|
387
392
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -390,9 +395,9 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
390
395
|
|
391
396
|
it('When the user enters a equation using matrices in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
|
392
397
|
textEntryMathPage.steps.switchToEditTab();
|
393
|
-
textEntryMathPage.steps.
|
398
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
394
399
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
395
|
-
|
400
|
+
equationEditorFlyout.steps.clearAll();
|
396
401
|
equationEditorFlyout.steps.enterEquation([{ categoryName: 'matrices', symbolName: ['twoByTwoMatrixBoundedBrackets'] }]);
|
397
402
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2', '1', '0', '3']);
|
398
403
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+')
|
@@ -428,8 +433,10 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
428
433
|
|
429
434
|
it('When the user enters a equation using parenthesis in \'Specify correct answer\' and the user enters the same equation but in different form then it should be treated as incorrect', () => {
|
430
435
|
textEntryMathPage.steps.switchToEditTab();
|
431
|
-
textEntryMathPage.steps.
|
432
|
-
textEntryMathPage.steps.
|
436
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
437
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
438
|
+
equationEditorFlyout.steps.clearAll();
|
439
|
+
textEntryMathPage.steps.enterTextInPreviewInputField('{4,6}')
|
433
440
|
equationEditorFlyout.steps.clickOnOkButton();
|
434
441
|
textEntryMathPage.steps.switchToPreviewTab();
|
435
442
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|