itemengine-cypress-automation 1.0.143-migrationScripts-d059d60.0 → 1.0.144-21MatchRepoUpdate-0ab2c79.0
Sign up to get free protection for your applications and to get access to all the features.
- 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";
|
@@ -18,13 +19,15 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
18
19
|
textEntryMathPage.steps.addResponseToken();
|
19
20
|
textEntryMathPage.steps.allotPoints(20);
|
20
21
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
21
|
-
textEntryMathPage.steps.selectEvaluationMethod('Response is true')
|
22
|
+
textEntryMathPage.steps.selectEvaluationMethod('Response is true');
|
23
|
+
textEntryMathPage.steps.expandAdditionalSettings();
|
24
|
+
textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
|
22
25
|
textEntryMathPage.steps.switchToPreviewTab();
|
23
26
|
});
|
24
27
|
|
25
28
|
it('When the user attempts the question using correct equal to comparison then it should be treated as correct', () => {
|
26
29
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
27
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
30
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['cubeRoot'] }, { categoryName: 'numPad', symbolName: ['two', 'seven'] }]);
|
28
31
|
equationEditorFlyout.steps.enterTextInPreviewInputField('=3');
|
29
32
|
equationEditorFlyout.steps.clickOnOkButton();
|
30
33
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -35,10 +38,10 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
35
38
|
it('When the user attempts the question using correct greater than comparison then it should be treated as correct', () => {
|
36
39
|
textEntryMathPage.steps.resetQuestionPreview();
|
37
40
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
38
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
41
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
39
42
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
40
43
|
equationEditorFlyout.steps.enterTextInPreviewInputField('>')
|
41
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
44
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one'] }]);
|
42
45
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
43
46
|
equationEditorFlyout.steps.clickOnOkButton();
|
44
47
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -70,7 +73,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
70
73
|
textEntryMathPage.steps.resetQuestionPreview();
|
71
74
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
72
75
|
equationEditorFlyout.steps.enterTextInPreviewInputField('900%<10');
|
73
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
76
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
74
77
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['90', '9']);
|
75
78
|
equationEditorFlyout.steps.clickOnOkButton();
|
76
79
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -81,9 +84,9 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
81
84
|
it('When the user attempts the question using correct equal to comparison using square roots and quadratic equations then it should be treated as correct', () => {
|
82
85
|
textEntryMathPage.steps.resetQuestionPreview();
|
83
86
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
84
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
87
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square', 'greaterThan', 'sqrt'] }]);
|
85
88
|
equationEditorFlyout.steps.enterTextAtInputFieldCursor('4x');
|
86
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
89
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['square'] }]);
|
87
90
|
equationEditorFlyout.steps.clickOnOkButton();
|
88
91
|
textEntryMathPage.steps.switchToGradingView();
|
89
92
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -94,7 +97,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
94
97
|
textEntryMathPage.steps.resetQuestionPreview();
|
95
98
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
96
99
|
equationEditorFlyout.steps.enterTextInPreviewInputField('2*3.14');
|
97
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
100
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['lessThan'] }, { categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
98
101
|
equationEditorFlyout.steps.clickOnOkButton();
|
99
102
|
textEntryMathPage.steps.switchToGradingView();
|
100
103
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -125,7 +128,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
125
128
|
textEntryMathPage.steps.resetQuestionPreview();
|
126
129
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
127
130
|
equationEditorFlyout.steps.enterTextInPreviewInputField('2(3x)y');
|
128
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
131
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['greaterThanEqual'] }]);
|
129
132
|
equationEditorFlyout.steps.enterTextInPreviewInputField('6xy');
|
130
133
|
equationEditorFlyout.steps.clickOnOkButton();
|
131
134
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -153,10 +156,10 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
153
156
|
it('When the user attempts the question using comparison of integration then it should be treated as incorrect', () => {
|
154
157
|
textEntryMathPage.steps.resetQuestionPreview();
|
155
158
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
156
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
159
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
157
160
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
|
158
161
|
equationEditorFlyout.steps.enterTextInPreviewInputField('=');
|
159
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
162
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one'] }]);
|
160
163
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
161
164
|
equationEditorFlyout.steps.clickOnOkButton();
|
162
165
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -167,7 +170,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
167
170
|
it('When the user attempts the question using derivatives then it should be treated as incorrect', () => {
|
168
171
|
textEntryMathPage.steps.resetQuestionPreview();
|
169
172
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
170
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
173
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }, { categoryName: 'numPad', symbolName: ['equalTo'] }]);
|
171
174
|
equationEditorFlyout.steps.enterTextInPreviewInputField('2x')
|
172
175
|
equationEditorFlyout.steps.clickOnOkButton();
|
173
176
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -178,7 +181,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
178
181
|
it('When the user attempts the question using epsilon then it should be treated as incorrect', () => {
|
179
182
|
textEntryMathPage.steps.resetQuestionPreview();
|
180
183
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
181
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
184
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
182
185
|
equationEditorFlyout.steps.enterTextInPreviewInputField('^0.07')
|
183
186
|
equationEditorFlyout.steps.clickOnOkButton();
|
184
187
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -189,7 +192,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
189
192
|
it('When the user attempts the question using trigonometric functions then it should be treated as incorrect', () => {
|
190
193
|
textEntryMathPage.steps.resetQuestionPreview();
|
191
194
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
192
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
195
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['square', 'x'] }, { categoryName: 'numPad', symbolName: ['add'] }, { categoryName: 'trig', symbolName: ['cos'] }, { categoryName: 'intermediate', symbolName: ['square', 'x'] }]);
|
193
196
|
equationEditorFlyout.steps.enterTextInPreviewInputField('=1')
|
194
197
|
equationEditorFlyout.steps.clickOnOkButton();
|
195
198
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -209,14 +212,16 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
209
212
|
textEntryMathPage.steps.addResponseToken();
|
210
213
|
textEntryMathPage.steps.allotPoints(20);
|
211
214
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
212
|
-
textEntryMathPage.steps.selectEvaluationMethod('Expanded form')
|
215
|
+
textEntryMathPage.steps.selectEvaluationMethod('Expanded form');
|
216
|
+
textEntryMathPage.steps.expandAdditionalSettings();
|
217
|
+
textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
|
213
218
|
textEntryMathPage.steps.switchToPreviewTab();
|
214
219
|
});
|
215
220
|
|
216
221
|
it('When the user attempts the question using arithmetic square operation then it should be treated as correct', () => {
|
217
222
|
textEntryMathPage.steps.resetQuestionPreview();
|
218
223
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
219
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
224
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['three'] }, { categoryName: 'intermediate', symbolName: ['square'] }]);
|
220
225
|
equationEditorFlyout.steps.clickOnOkButton();
|
221
226
|
textEntryMathPage.steps.switchToGradingView();
|
222
227
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -246,7 +251,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
246
251
|
it('When the user attempts the question using fractions then it should be treated as incorrect', () => {
|
247
252
|
textEntryMathPage.steps.resetQuestionPreview();
|
248
253
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
249
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
254
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['two'] }]);
|
250
255
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
251
256
|
equationEditorFlyout.steps.clickOnOkButton();
|
252
257
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -258,7 +263,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
258
263
|
textEntryMathPage.steps.resetQuestionPreview();
|
259
264
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
260
265
|
equationEditorFlyout.steps.enterTextInPreviewInputField('2');
|
261
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
266
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
262
267
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3', '4']);
|
263
268
|
equationEditorFlyout.steps.clickOnOkButton();
|
264
269
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -268,7 +273,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
268
273
|
|
269
274
|
it('When the user attempts the question using expanded quadratic expressions then it should be treated as correct', () => {
|
270
275
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
271
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
276
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }, { categoryName: 'numPad', symbolName: ['add'] }, { categoryName: 'numPad', symbolName: ['four'] }, { categoryName: 'intermediate', symbolName: ['x'] }, { categoryName: 'numPad', symbolName: ['add', 'six'] }]);
|
272
277
|
equationEditorFlyout.steps.clickOnOkButton();
|
273
278
|
textEntryMathPage.steps.switchToGradingView();
|
274
279
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -278,7 +283,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
278
283
|
it('When the user attempts the question using expanded form using polynomials then it should be treated as correct', () => {
|
279
284
|
textEntryMathPage.steps.resetQuestionPreview();
|
280
285
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
281
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
286
|
+
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'] }]);
|
282
287
|
equationEditorFlyout.steps.clickOnOkButton();
|
283
288
|
textEntryMathPage.steps.switchToGradingView();
|
284
289
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -308,7 +313,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
308
313
|
it('When the user attempts the question using simplified trigonometric functions then it should be treated as correct', () => {
|
309
314
|
textEntryMathPage.steps.resetQuestionPreview();
|
310
315
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
311
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
316
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['square', 'x'] }, { categoryName: 'numPad', symbolName: ['add'] }, { categoryName: 'trig', symbolName: ['cos'] }, { categoryName: 'intermediate', symbolName: ['square', 'x'] }]);
|
312
317
|
equationEditorFlyout.steps.clickOnOkButton();
|
313
318
|
textEntryMathPage.steps.switchToGradingView();
|
314
319
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -318,7 +323,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
318
323
|
it('When the user attempts the question using special symbols like \'pi\' then it should be treated as correct', () => {
|
319
324
|
textEntryMathPage.steps.resetQuestionPreview();
|
320
325
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
321
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
326
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
322
327
|
equationEditorFlyout.steps.clickOnOkButton();
|
323
328
|
textEntryMathPage.steps.switchToGradingView();
|
324
329
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -329,7 +334,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
329
334
|
textEntryMathPage.steps.resetQuestionPreview();
|
330
335
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
331
336
|
equationEditorFlyout.steps.enterTextInPreviewInputField('3i')
|
332
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
337
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['square'] }, { categoryName: 'numPad', symbolName: ['add', 'two'] }, { categoryName: 'greek', symbolName: ['iota'] }, { categoryName: 'numPad', symbolName: ['add', 'six'] }]);
|
333
338
|
equationEditorFlyout.steps.clickOnOkButton();
|
334
339
|
textEntryMathPage.steps.switchToGradingView();
|
335
340
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -363,7 +368,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
363
368
|
it('When the user attempts the question using derivative then it should be treated as incorrect', () => {
|
364
369
|
textEntryMathPage.steps.resetQuestionPreview();
|
365
370
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
366
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
371
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
367
372
|
equationEditorFlyout.steps.clickOnOkButton();
|
368
373
|
textEntryMathPage.steps.switchToGradingView();
|
369
374
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -373,7 +378,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
373
378
|
it('When the user attempts the question using integration then it should be treated as correct', () => {
|
374
379
|
textEntryMathPage.steps.resetQuestionPreview();
|
375
380
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
376
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
381
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
377
382
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0'])
|
378
383
|
equationEditorFlyout.steps.clickOnOkButton();
|
379
384
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -384,7 +389,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
384
389
|
it('When the user attempts the question using epsilon correct icon should be displayed beside the response, a status message with text \'Your answer is correct\' should be displayed', () => {
|
385
390
|
textEntryMathPage.steps.resetQuestionPreview();
|
386
391
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
387
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
392
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
388
393
|
equationEditorFlyout.steps.enterTextInPreviewInputField('^0.07')
|
389
394
|
equationEditorFlyout.steps.clickOnOkButton();
|
390
395
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -404,14 +409,16 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
404
409
|
textEntryMathPage.steps.addResponseToken();
|
405
410
|
textEntryMathPage.steps.allotPoints(20);
|
406
411
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
407
|
-
textEntryMathPage.steps.selectEvaluationMethod('Factored form')
|
412
|
+
textEntryMathPage.steps.selectEvaluationMethod('Factored form');
|
413
|
+
textEntryMathPage.steps.expandAdditionalSettings();
|
414
|
+
textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
|
408
415
|
textEntryMathPage.steps.switchToPreviewTab();
|
409
416
|
});
|
410
417
|
|
411
418
|
it('When the user attempts the question using arithmetic square operation in un-simplified format then it should be treated as correct', () => {
|
412
419
|
textEntryMathPage.steps.resetQuestionPreview();
|
413
420
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
414
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
421
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['three'] }, { categoryName: 'intermediate', symbolName: ['square'] }]);
|
415
422
|
equationEditorFlyout.steps.clickOnOkButton();
|
416
423
|
textEntryMathPage.steps.switchToGradingView();
|
417
424
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -441,7 +448,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
441
448
|
it('When the user attempts the question using fractions in simplified format then it should be treated as correct', () => {
|
442
449
|
textEntryMathPage.steps.resetQuestionPreview();
|
443
450
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
444
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
451
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['two'] }]);
|
445
452
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
446
453
|
equationEditorFlyout.steps.clickOnOkButton();
|
447
454
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -453,7 +460,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
453
460
|
textEntryMathPage.steps.resetQuestionPreview();
|
454
461
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
455
462
|
equationEditorFlyout.steps.enterTextInPreviewInputField('2');
|
456
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
463
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
457
464
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3', '4']);
|
458
465
|
equationEditorFlyout.steps.clickOnOkButton();
|
459
466
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -464,7 +471,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
464
471
|
it('When the user attempts the question using quadratic equation then it should be treated as incorrect', () => {
|
465
472
|
textEntryMathPage.steps.resetQuestionPreview();
|
466
473
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
467
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
474
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }, { categoryName: 'numPad', symbolName: ['subtract', 'three'] }, { categoryName: 'intermediate', symbolName: ['x'] }, { categoryName: 'numPad', symbolName: ['add', 'one'] }]);
|
468
475
|
equationEditorFlyout.steps.clickOnOkButton();
|
469
476
|
textEntryMathPage.steps.switchToGradingView();
|
470
477
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -511,7 +518,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
511
518
|
it('When the user attempts the question using special symbols like \'pi\' along with numeric values then it should be treated as incorrect', () => {
|
512
519
|
textEntryMathPage.steps.resetQuestionPreview();
|
513
520
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
514
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
521
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['three'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
515
522
|
equationEditorFlyout.steps.clickOnOkButton();
|
516
523
|
textEntryMathPage.steps.switchToGradingView();
|
517
524
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -521,7 +528,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
521
528
|
it('When the user attempts the question using simplified trigonometric functions then it should be treated as incorrect', () => {
|
522
529
|
textEntryMathPage.steps.resetQuestionPreview();
|
523
530
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
524
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
531
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['square', 'x'] }, { categoryName: 'numPad', symbolName: ['add'] }, { categoryName: 'trig', symbolName: ['cos'] }, { categoryName: 'intermediate', symbolName: ['square', 'x'] }]);
|
525
532
|
equationEditorFlyout.steps.clickOnOkButton();
|
526
533
|
textEntryMathPage.steps.switchToGradingView();
|
527
534
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -556,7 +563,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
556
563
|
it('When the user attempts the question using percentages then it should be treated as correct', () => {
|
557
564
|
textEntryMathPage.steps.resetQuestionPreview();
|
558
565
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
559
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
566
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
560
567
|
equationEditorFlyout.steps.clickOnOkButton();
|
561
568
|
textEntryMathPage.steps.switchToGradingView();
|
562
569
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -566,7 +573,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
566
573
|
it('When the user attempts the question using integration then it should be treated as correct', () => {
|
567
574
|
textEntryMathPage.steps.resetQuestionPreview();
|
568
575
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
569
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
576
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
570
577
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0'])
|
571
578
|
equationEditorFlyout.steps.clickOnOkButton();
|
572
579
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -577,7 +584,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
577
584
|
it('When the user attempts the question using epsilon then it should be treated as correct', () => {
|
578
585
|
textEntryMathPage.steps.resetQuestionPreview();
|
579
586
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
580
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
587
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
581
588
|
equationEditorFlyout.steps.enterTextInPreviewInputField('^0.07')
|
582
589
|
equationEditorFlyout.steps.clickOnOkButton();
|
583
590
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -597,7 +604,9 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
597
604
|
textEntryMathPage.steps.addResponseToken();
|
598
605
|
textEntryMathPage.steps.allotPoints(20);
|
599
606
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
600
|
-
textEntryMathPage.steps.selectEvaluationMethod('Simplified version')
|
607
|
+
textEntryMathPage.steps.selectEvaluationMethod('Simplified version');
|
608
|
+
textEntryMathPage.steps.expandAdditionalSettings();
|
609
|
+
textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
|
601
610
|
textEntryMathPage.steps.switchToPreviewTab();
|
602
611
|
});
|
603
612
|
|
@@ -624,7 +633,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
624
633
|
it('When the user attempts the question using arithmetic square operation in un-simplified format then it should be treated as incorrect', () => {
|
625
634
|
textEntryMathPage.steps.resetQuestionPreview();
|
626
635
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
627
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
636
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['three'] }, { categoryName: 'intermediate', symbolName: ['square'] }]);
|
628
637
|
equationEditorFlyout.steps.clickOnOkButton();
|
629
638
|
textEntryMathPage.steps.switchToGradingView();
|
630
639
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -634,7 +643,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
634
643
|
it('When the user attempts the question using fractions in simplified format then it should be treated as incorrect', () => {
|
635
644
|
textEntryMathPage.steps.resetQuestionPreview();
|
636
645
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
637
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
646
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['two'] }]);
|
638
647
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
639
648
|
equationEditorFlyout.steps.clickOnOkButton();
|
640
649
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -646,7 +655,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
646
655
|
textEntryMathPage.steps.resetQuestionPreview();
|
647
656
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
648
657
|
equationEditorFlyout.steps.enterTextInPreviewInputField('2');
|
649
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
658
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
650
659
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3', '4']);
|
651
660
|
equationEditorFlyout.steps.clickOnOkButton();
|
652
661
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -657,7 +666,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
657
666
|
it('When the user attempts the question using polynomial expressions then it should be treated as correct', () => {
|
658
667
|
textEntryMathPage.steps.resetQuestionPreview();
|
659
668
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
660
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
669
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
661
670
|
equationEditorFlyout.steps.clickOnOkButton();
|
662
671
|
textEntryMathPage.steps.switchToGradingView();
|
663
672
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -698,7 +707,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
698
707
|
textEntryMathPage.steps.resetQuestionPreview();
|
699
708
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
700
709
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-3i');
|
701
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
710
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier', 'two'] }]);
|
702
711
|
equationEditorFlyout.steps.clickOnOkButton();
|
703
712
|
textEntryMathPage.steps.switchToGradingView();
|
704
713
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -718,7 +727,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
718
727
|
it('When the user attempts the question using special symbols like \'pi\' along with numeric values then it should be treated as incorrect', () => {
|
719
728
|
textEntryMathPage.steps.resetQuestionPreview();
|
720
729
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
721
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
730
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['three'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
722
731
|
equationEditorFlyout.steps.clickOnOkButton();
|
723
732
|
textEntryMathPage.steps.switchToGradingView();
|
724
733
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -728,7 +737,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
728
737
|
it('When the user attempts the question using simplified trigonometric functions then it should be treated as correct', () => {
|
729
738
|
textEntryMathPage.steps.resetQuestionPreview();
|
730
739
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
731
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
740
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['square', 'x'] }, { categoryName: 'numPad', symbolName: ['add'] }, { categoryName: 'trig', symbolName: ['cos'] }, { categoryName: 'intermediate', symbolName: ['square', 'x'] }]);
|
732
741
|
equationEditorFlyout.steps.clickOnOkButton();
|
733
742
|
textEntryMathPage.steps.switchToGradingView();
|
734
743
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -752,7 +761,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
752
761
|
it('When the user attempts the question using percentages then it should be treated as incorrect', () => {
|
753
762
|
textEntryMathPage.steps.resetQuestionPreview();
|
754
763
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
755
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
764
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
756
765
|
equationEditorFlyout.steps.clickOnOkButton();
|
757
766
|
textEntryMathPage.steps.switchToGradingView();
|
758
767
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -762,7 +771,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
|
|
762
771
|
it('When the user attempts the question using integration then it should be treated as incorrect', () => {
|
763
772
|
textEntryMathPage.steps.resetQuestionPreview();
|
764
773
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
765
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
774
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
766
775
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0'])
|
767
776
|
equationEditorFlyout.steps.clickOnOkButton();
|
768
777
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -24,7 +24,10 @@ describe('Create item page - Text entry math: Preview contents', () => {
|
|
24
24
|
textEntryMathPage.steps.addResponseToken();
|
25
25
|
textEntryMathPage.steps.addResponseToken();
|
26
26
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
27
|
-
textEntryMathPage.steps.
|
27
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
28
|
+
equationEditorFlyout.steps.clearAll();
|
29
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
|
30
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
28
31
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
29
32
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
30
33
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
@@ -80,7 +83,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
|
|
80
83
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
81
84
|
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
|
82
85
|
equationEditorFlyout.steps.clickOnOkButton();
|
83
|
-
textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, '
|
86
|
+
textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, 'Correct1');
|
84
87
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
85
88
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
86
89
|
textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
|
@@ -88,7 +91,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
|
|
88
91
|
});
|
89
92
|
} else if (view === 'Grading view') {
|
90
93
|
it(`The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
|
91
|
-
textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, '
|
94
|
+
textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, 'Correct1');
|
92
95
|
textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
|
93
96
|
textEntryMathPage.steps.verifyResponseFieldEquationAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
|
94
97
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
@@ -32,10 +32,12 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
32
32
|
it('When the user sets correct answer responses and allots points, then the alloted points should be displayed in the preview tab', () => {
|
33
33
|
textEntryMathWithImagePage.steps.switchToEditTab();
|
34
34
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
35
|
-
textEntryMathWithImagePage.steps.
|
35
|
+
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
36
|
+
equationEditorFlyout.steps.clearAll();
|
37
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
|
38
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
36
39
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
37
40
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
38
|
-
textEntryMathWithImagePage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
39
41
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
40
42
|
textEntryMathWithImagePage.steps.allotPoints(20);
|
41
43
|
textEntryMathWithImagePage.steps.switchToPreviewTab();
|
@@ -44,7 +46,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
44
46
|
|
45
47
|
it('When the user attempts question in preview tab and switches to edit tab, then on re-switching to the preview tab, users response should not persist', () => {
|
46
48
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
47
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField(
|
49
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
|
48
50
|
equationEditorFlyout.steps.clickOnOkButton();
|
49
51
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
50
52
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
@@ -72,14 +74,14 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
72
74
|
textEntryMathWithImagePage.steps.insertResponseArea(40);
|
73
75
|
textEntryMathWithImagePage.steps.insertResponseArea(80);
|
74
76
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
75
|
-
textEntryMathWithImagePage.steps.
|
77
|
+
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
78
|
+
equationEditorFlyout.steps.clearAll();
|
79
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct answer 1');
|
76
80
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
77
81
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
78
|
-
textEntryMathWithImagePage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
79
82
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
80
83
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
|
81
84
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
82
|
-
textEntryMathWithImagePage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
83
85
|
equationEditorFlyout.steps.enterEquationUsingPiSymbol();
|
84
86
|
textEntryMathWithImagePage.steps.allotPoints(20);
|
85
87
|
textEntryMathWithImagePage.steps.switchToPreviewTab();
|
@@ -274,14 +276,14 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
274
276
|
textEntryMathWithImagePage.steps.insertResponseArea(40);
|
275
277
|
textEntryMathWithImagePage.steps.insertResponseArea(80);
|
276
278
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
277
|
-
textEntryMathWithImagePage.steps.
|
279
|
+
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
280
|
+
equationEditorFlyout.steps.clearAll();
|
281
|
+
textEntryMathWithImagePage.steps.enterTextInPreviewInputField('Correct answer 1');
|
278
282
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
279
283
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
280
|
-
textEntryMathWithImagePage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
281
284
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
282
285
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
|
283
286
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
284
|
-
textEntryMathWithImagePage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
285
287
|
equationEditorFlyout.steps.enterEquationUsingPiSymbol();
|
286
288
|
textEntryMathWithImagePage.steps.allotPoints(20);
|
287
289
|
});
|
@@ -41,14 +41,15 @@ describe('Create item page - Text entry math - Check answer functionality', () =
|
|
41
41
|
textEntryMathWithImagePage.steps.insertResponseArea(40);
|
42
42
|
textEntryMathWithImagePage.steps.insertResponseArea(80);
|
43
43
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
44
|
-
textEntryMathWithImagePage.steps.
|
44
|
+
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
45
|
+
equationEditorFlyout.steps.clearAll();
|
46
|
+
textEntryMathWithImagePage.steps.enterTextInPreviewInputField('Correct answer 1');
|
47
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
45
48
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
46
49
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
47
|
-
textEntryMathWithImagePage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
48
50
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
49
51
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
|
50
52
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
51
|
-
textEntryMathWithImagePage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
52
53
|
equationEditorFlyout.steps.enterEquationUsingPiSymbol();
|
53
54
|
textEntryMathWithImagePage.steps.allotPoints(20);
|
54
55
|
textEntryMathWithImagePage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
@@ -28,10 +28,12 @@ describe('Create item page - Text entry math: Preview contents', () => {
|
|
28
28
|
textEntryMathWithImagePage.steps.insertResponseArea(40);
|
29
29
|
textEntryMathWithImagePage.steps.insertTextArea(80, 'This is a text area');
|
30
30
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
31
|
-
textEntryMathWithImagePage.steps.
|
31
|
+
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
32
|
+
equationEditorFlyout.steps.clearAll();
|
33
|
+
textEntryMathWithImagePage.steps.enterTextInPreviewInputField('Correct answer 1');
|
34
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
32
35
|
textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
33
36
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
34
|
-
textEntryMathWithImagePage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
35
37
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
36
38
|
textEntryMathWithImagePage.steps.allotPoints(10);
|
37
39
|
textEntryMathWithImagePage.steps.switchToPreviewTab();
|