itemengine-cypress-automation 1.0.143-migrationScripts-d059d60.0 → 1.0.143
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/additionalSettingsBasic.js +104 -0
- package/cypress/e2e/ILC/ContentBlocks/additionalSection.js +92 -0
- package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +11 -1
- package/cypress/e2e/ILC/ContentBlocks/previewTab.js +91 -0
- package/cypress/e2e/ILC/ContentBlocks/styleAndLayoutCustomizationSection.js +3 -3
- package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorEditTabBasicSection.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosGeometryToolEditTabBasicSection.js +1 -0
- package/cypress/e2e/ILC/Desmos/desmosGeometryToolPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorEditTabBasicSection.js +1 -0
- package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorEditTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorEditTabBasicSection.js +3 -2
- package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorPreviewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/DesmosGraphing/additionalSettings.js +0 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettingsBasic.js +124 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +0 -9
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +17 -17
- package/cypress/e2e/ILC/EssayResponse/additionalSettingsBasic.js +83 -0
- package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +32 -30
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +25 -21
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +40 -41
- package/cypress/e2e/ILC/EssayResponse/equationEditorCategories1.js +249 -99
- package/cypress/e2e/ILC/EssayResponse/equationEditorCategories2.js +118 -187
- package/cypress/e2e/ILC/EssayResponseBasic/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/EssayResponseMath/mathCharacters.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/additionalSettings.js +11 -11
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +1 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsBasic.js +138 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsForDropdowns.js +309 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +181 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/additionalSettingsBasic.js +132 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsBasic.js +143 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +345 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/supportedFileTypes.js +49 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsBasic.js +25 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/additionalSettingsForAnswerInputFields.js +251 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +49 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsBasic.js +93 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsForAnswerInputFields.js +215 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/textContainerSettings.js +219 -0
- package/cypress/e2e/ILC/GeoGebraTools/3DGraphingCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/3DGraphingCalculatorPreviewTabContents.smoke.js +75 -0
- package/cypress/e2e/ILC/GeoGebraTools/casCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/casCalculatorPreviewTabContents.smoke.js +75 -0
- package/cypress/e2e/ILC/GeoGebraTools/geometryCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/geometryCalculatorPreviewTabContents.smoke.js +76 -0
- package/cypress/e2e/ILC/GeoGebraTools/graphingCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/graphingCalculatorPreviewTabContents.smoke.js +73 -0
- package/cypress/e2e/ILC/GeoGebraTools/probablityCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/probablityCalculatorPreviewTabContents.smoke.js +75 -0
- package/cypress/e2e/ILC/GeoGebraTools/scientificCalculatorEditTabBasicSection.js +96 -0
- package/cypress/e2e/ILC/GeoGebraTools/scientificCalculatorPreviewTabContents.smoke.js +75 -0
- package/cypress/e2e/ILC/GeogebraActivity/additionalSettings.js +10 -8
- package/cypress/e2e/ILC/GeogebraActivity/gradingViewAndCorrectAnswerViewContents.smoke.js +3 -2
- package/cypress/e2e/ILC/GeogebraActivity/headerSection.js +2 -1
- package/cypress/e2e/ILC/GeogebraActivity/insertResourceLink.js +318 -0
- package/cypress/e2e/ILC/GeogebraActivity/previewTabContent.smoke.js +2 -1
- package/cypress/e2e/ILC/Graphing/additionalSettingsBasic.js +15 -4
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +280 -0
- package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +136 -0
- package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +205 -0
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +213 -0
- package/cypress/e2e/ILC/GridFill/scoring/manuallyAndNonScored.js +106 -0
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +79 -0
- package/cypress/e2e/ILC/MultipleSelection/additionalSettingsBasic.js +108 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +251 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +180 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/additionalSettings.js +48 -56
- package/cypress/e2e/ILC/SingleSelection/additionalSettingsBasic.js +107 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +251 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +180 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/TextEntryMath/checkAnswerFunctionalityForAllViews.smoke.js +4 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +93 -68
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +59 -52
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +59 -52
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +61 -50
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +65 -51
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +55 -46
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +6 -3
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +11 -9
- package/cypress/e2e/ILC/TextEntryMathWithImage/checkAnswerFunctionalityForAllViews.smoke.js +4 -3
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +4 -2
- package/cypress/e2e/ILC/UploadResponse/additionalSettingsBasic.js +85 -0
- package/cypress/e2e/ILC/UploadResponse/editTabScoringSection.js +12 -12
- package/cypress/e2e/ILC/UploadResponse/uploadResponseEditTabBasicSections.js +1 -1
- package/cypress/fixtures/constants.js +2 -0
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +1114 -1511
- package/cypress/fixtures/theme/ilc.json +7 -1
- package/cypress/pages/audioResponsePage.js +26 -2
- package/cypress/pages/components/additionalSettingsAccessibilitySectionComponent.js +1 -0
- package/cypress/pages/components/additionalSettingsPanel.js +3 -10
- package/cypress/pages/components/ariaLabelSectionComponent.js +84 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +5 -2
- package/cypress/pages/components/autoScoredStudentViewSettings.js +1 -1
- package/cypress/pages/components/commonComponents.js +1 -1
- package/cypress/pages/components/createCustomCategoryFlyout.js +2 -2
- package/cypress/pages/components/createQuestionBasePage.js +1 -1
- package/cypress/pages/components/desmosToolComponent.js +1 -0
- package/cypress/pages/components/draggableOptionContainer.js +1 -1
- package/cypress/pages/components/editCategoryFlyout.js +9 -10
- package/cypress/pages/components/equationEditorFlyout.js +20 -11
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +167 -3
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +149 -6
- package/cypress/pages/components/gradingViewEnumerationComponent.js +151 -0
- package/cypress/pages/components/gridQuestionCommonComponent.js +390 -0
- package/cypress/pages/components/imageCanvasComponent.js +25 -1
- package/cypress/pages/components/index.js +5 -1
- package/cypress/pages/components/placeholderTextSectionComponent.js +110 -0
- package/cypress/pages/components/responseAreaSettingsPopupComponent.js +2 -2
- package/cypress/pages/contentBlocksPage.js +60 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +4 -17
- package/cypress/pages/essayResponsePage.js +14 -11
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +15 -0
- package/cypress/pages/fillInTheGapsDropdownPage.js +121 -2
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +3 -1
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +70 -3
- package/cypress/pages/fillInTheGapsOverImageTextPage.js +33 -3
- package/cypress/pages/fillInTheGapsTextPage.js +81 -4
- package/cypress/pages/geoGebraActivityPage.js +75 -11
- package/cypress/pages/geoGebraToolsPage.js +292 -0
- package/cypress/pages/graphingPage.js +2 -1
- package/cypress/pages/gridFillPage.js +713 -0
- package/cypress/pages/index.js +3 -1
- package/cypress/pages/multipleSelectionGridPage.js +71 -317
- package/cypress/pages/multipleSelectionPage.js +2 -1
- package/cypress/pages/selectQuestionResourceToolPage.js +13 -2
- package/cypress/pages/singleSelectionGridPage.js +78 -329
- package/cypress/pages/singleSelectionPage.js +2 -1
- package/cypress/pages/textEntryMathPage.js +24 -6
- package/cypress/pages/textEntryMathWithImagePage.js +1 -1
- package/cypress/pages/uploadResponsePage.js +4 -3
- package/package.json +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/additionalSettings.js +0 -43
- package/cypress/pages/components/fillInTheGapsCommonComponents.js +0 -642
@@ -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,12 +18,16 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
17
18
|
textEntryMathPage.steps.addInputToQuestionInputField('Match the exact 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 exact');
|
22
25
|
});
|
23
26
|
|
24
27
|
it('When the user enters a numeric value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
25
|
-
textEntryMathPage.steps.
|
28
|
+
textEntryMathPage.steps.focusInAndFocusOutOfResponseAnswerInputFieldSpecifyCorrectAnswer(0);
|
29
|
+
textEntryMathPage.steps.enterTextInPreviewInputField(0, '90');
|
30
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
26
31
|
textEntryMathPage.steps.switchToPreviewTab();
|
27
32
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
28
33
|
equationEditorFlyout.steps.enterTextInPreviewInputField('90');
|
@@ -55,7 +60,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
55
60
|
it('When the user enters a numeric value in \'Specify correct answer\' response field and then the user enters the same value using percentage then it should be treated as incorrect', () => {
|
56
61
|
textEntryMathPage.steps.resetQuestionPreview();
|
57
62
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
58
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
63
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['three', 'zero'] }, { categoryName: 'intermediate', symbolName: ['square'] }]);
|
59
64
|
equationEditorFlyout.steps.clickOnOkButton();
|
60
65
|
textEntryMathPage.steps.switchToGradingView();
|
61
66
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -64,15 +69,15 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
64
69
|
|
65
70
|
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
71
|
textEntryMathPage.steps.switchToEditTab();
|
67
|
-
textEntryMathPage.steps.
|
72
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
68
73
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
69
|
-
|
70
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
74
|
+
equationEditorFlyout.steps.clearAll();
|
75
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
71
76
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
72
77
|
equationEditorFlyout.steps.clickOnOkButton();
|
73
78
|
textEntryMathPage.steps.switchToPreviewTab();
|
74
79
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
75
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
80
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
76
81
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
77
82
|
equationEditorFlyout.steps.clickOnOkButton();
|
78
83
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -83,7 +88,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
83
88
|
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
89
|
textEntryMathPage.steps.resetQuestionPreview();
|
85
90
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
86
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
91
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one', 'six'] }]);
|
87
92
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
|
88
93
|
equationEditorFlyout.steps.clickOnOkButton();
|
89
94
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -95,7 +100,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
95
100
|
textEntryMathPage.steps.resetQuestionPreview();
|
96
101
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
97
102
|
equationEditorFlyout.steps.enterTextInPreviewInputField('1');
|
98
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
103
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
99
104
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
100
105
|
equationEditorFlyout.steps.clickOnOkButton();
|
101
106
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -105,9 +110,9 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
105
110
|
|
106
111
|
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
112
|
textEntryMathPage.steps.switchToEditTab();
|
108
|
-
textEntryMathPage.steps.
|
113
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
109
114
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
110
|
-
|
115
|
+
equationEditorFlyout.steps.clearAll();
|
111
116
|
equationEditorFlyout.steps.enterTextInPreviewInputField('(x-3)(x+3)');
|
112
117
|
equationEditorFlyout.steps.clickOnOkButton();
|
113
118
|
textEntryMathPage.steps.switchToPreviewTab();
|
@@ -122,7 +127,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
122
127
|
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', () => {
|
123
128
|
textEntryMathPage.steps.resetQuestionPreview();
|
124
129
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
125
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
130
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square'] }, { categoryName: 'numPad', symbolName: ['subtract', 'three'] }, { categoryName: 'intermediate', symbolName: ['square'] }]);
|
126
131
|
equationEditorFlyout.steps.clickOnOkButton();
|
127
132
|
textEntryMathPage.steps.switchToGradingView();
|
128
133
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -132,7 +137,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
132
137
|
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', () => {
|
133
138
|
textEntryMathPage.steps.resetQuestionPreview();
|
134
139
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
135
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
140
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
136
141
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-3x+3x+9');
|
137
142
|
equationEditorFlyout.steps.clickOnOkButton();
|
138
143
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -142,14 +147,14 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
142
147
|
|
143
148
|
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', () => {
|
144
149
|
textEntryMathPage.steps.switchToEditTab();
|
145
|
-
textEntryMathPage.steps.
|
150
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
146
151
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
147
|
-
|
148
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
152
|
+
equationEditorFlyout.steps.clearAll();
|
153
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
149
154
|
equationEditorFlyout.steps.clickOnOkButton();
|
150
155
|
textEntryMathPage.steps.switchToPreviewTab();
|
151
156
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
152
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
157
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
153
158
|
equationEditorFlyout.steps.clickOnOkButton();
|
154
159
|
textEntryMathPage.steps.switchToGradingView();
|
155
160
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -169,7 +174,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
169
174
|
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', () => {
|
170
175
|
textEntryMathPage.steps.resetQuestionPreview();
|
171
176
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
172
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
177
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'dotMultiplier'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
173
178
|
equationEditorFlyout.steps.clickOnOkButton();
|
174
179
|
textEntryMathPage.steps.switchToGradingView();
|
175
180
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -178,20 +183,20 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
178
183
|
|
179
184
|
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', () => {
|
180
185
|
textEntryMathPage.steps.switchToEditTab();
|
181
|
-
textEntryMathPage.steps.
|
186
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
182
187
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
183
|
-
|
188
|
+
equationEditorFlyout.steps.clearAll();
|
184
189
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
185
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
190
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
186
191
|
equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
|
187
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
192
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
188
193
|
equationEditorFlyout.steps.clickOnOkButton();
|
189
194
|
textEntryMathPage.steps.switchToPreviewTab();
|
190
195
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
191
196
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
192
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
197
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
193
198
|
equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
|
194
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
199
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
195
200
|
equationEditorFlyout.steps.clickOnOkButton();
|
196
201
|
textEntryMathPage.steps.switchToGradingView();
|
197
202
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -202,9 +207,9 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
202
207
|
textEntryMathPage.steps.resetQuestionPreview();
|
203
208
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
204
209
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
205
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
210
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
206
211
|
equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10')
|
207
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
212
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
208
213
|
equationEditorFlyout.steps.clickOnOkButton();
|
209
214
|
textEntryMathPage.steps.switchToGradingView();
|
210
215
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -215,9 +220,9 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
215
220
|
textEntryMathPage.steps.resetQuestionPreview();
|
216
221
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
217
222
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
|
218
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
223
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['multiply'] }]);
|
219
224
|
equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
|
220
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
225
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
221
226
|
equationEditorFlyout.steps.clickOnOkButton();
|
222
227
|
textEntryMathPage.steps.switchToGradingView();
|
223
228
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -226,18 +231,18 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
226
231
|
|
227
232
|
it('When the user enters a trigonometric equation in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
|
228
233
|
textEntryMathPage.steps.switchToEditTab();
|
229
|
-
textEntryMathPage.steps.
|
234
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
230
235
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
231
|
-
|
236
|
+
equationEditorFlyout.steps.clearAll();
|
232
237
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
|
233
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
238
|
+
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'] }]);
|
234
239
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
235
240
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
236
241
|
equationEditorFlyout.steps.clickOnOkButton();
|
237
242
|
textEntryMathPage.steps.switchToPreviewTab();
|
238
243
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
239
244
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150')
|
240
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
245
|
+
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'] }]);
|
241
246
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
242
247
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
243
248
|
equationEditorFlyout.steps.clickOnOkButton();
|
@@ -250,10 +255,10 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
250
255
|
textEntryMathPage.steps.resetQuestionPreview();
|
251
256
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
252
257
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
|
253
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
258
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
254
259
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
255
260
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+')
|
256
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['theta'] }])
|
261
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['theta'] }]);
|
257
262
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
258
263
|
equationEditorFlyout.steps.clickOnOkButton();
|
259
264
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -265,7 +270,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
265
270
|
textEntryMathPage.steps.resetQuestionPreview();
|
266
271
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
267
272
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
|
268
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
273
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add', 'nine', 'zero'] }]);
|
269
274
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
270
275
|
equationEditorFlyout.steps.clickOnOkButton();
|
271
276
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -275,9 +280,11 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
275
280
|
|
276
281
|
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', () => {
|
277
282
|
textEntryMathPage.steps.switchToEditTab();
|
278
|
-
textEntryMathPage.steps.
|
283
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
279
284
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
280
|
-
|
285
|
+
equationEditorFlyout.steps.clearAll();
|
286
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
|
287
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
281
288
|
textEntryMathPage.steps.switchToPreviewTab();
|
282
289
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
283
290
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
|
@@ -299,14 +306,14 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
299
306
|
|
300
307
|
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', () => {
|
301
308
|
textEntryMathPage.steps.switchToEditTab();
|
302
|
-
textEntryMathPage.steps.
|
309
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
303
310
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
304
|
-
|
305
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
311
|
+
equationEditorFlyout.steps.clearAll();
|
312
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
306
313
|
equationEditorFlyout.steps.clickOnOkButton();
|
307
314
|
textEntryMathPage.steps.switchToPreviewTab();
|
308
315
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
309
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
316
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
310
317
|
equationEditorFlyout.steps.clickOnOkButton();
|
311
318
|
textEntryMathPage.steps.switchToGradingView();
|
312
319
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -325,15 +332,15 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
325
332
|
|
326
333
|
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', () => {
|
327
334
|
textEntryMathPage.steps.switchToEditTab();
|
328
|
-
textEntryMathPage.steps.
|
335
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
329
336
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
330
|
-
|
331
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
337
|
+
equationEditorFlyout.steps.clearAll();
|
338
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
332
339
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
|
333
340
|
equationEditorFlyout.steps.clickOnOkButton();
|
334
341
|
textEntryMathPage.steps.switchToPreviewTab();
|
335
342
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
336
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
343
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
337
344
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
|
338
345
|
equationEditorFlyout.steps.clickOnOkButton();
|
339
346
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -344,7 +351,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
344
351
|
it('When the user enters a equation using integration in \'Specify correct answer\' and the user enters the result of the equation then it should be treated as incorrect', () => {
|
345
352
|
textEntryMathPage.steps.resetQuestionPreview();
|
346
353
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
347
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
354
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one'] }]);
|
348
355
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
349
356
|
equationEditorFlyout.steps.clickOnOkButton();
|
350
357
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -354,14 +361,14 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
354
361
|
|
355
362
|
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', () => {
|
356
363
|
textEntryMathPage.steps.switchToEditTab();
|
357
|
-
textEntryMathPage.steps.
|
364
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
358
365
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
359
|
-
|
360
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
366
|
+
equationEditorFlyout.steps.clearAll();
|
367
|
+
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'] }]);
|
361
368
|
equationEditorFlyout.steps.clickOnOkButton();
|
362
369
|
textEntryMathPage.steps.switchToPreviewTab();
|
363
370
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
364
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
371
|
+
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'] }]);
|
365
372
|
equationEditorFlyout.steps.clickOnOkButton();
|
366
373
|
textEntryMathPage.steps.switchToGradingView();
|
367
374
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -371,7 +378,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
371
378
|
it('When the user enters polynomial quadratic equations in \'Specify correct answer\' and the user enters the same equation in different form then it should be treated as incorrect', () => {
|
372
379
|
textEntryMathPage.steps.resetQuestionPreview();
|
373
380
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
374
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
381
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'two'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'two'] }]);
|
375
382
|
equationEditorFlyout.steps.clickOnOkButton();
|
376
383
|
textEntryMathPage.steps.switchToGradingView();
|
377
384
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -380,9 +387,9 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
380
387
|
|
381
388
|
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', () => {
|
382
389
|
textEntryMathPage.steps.switchToEditTab();
|
383
|
-
textEntryMathPage.steps.
|
390
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
384
391
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
385
|
-
|
392
|
+
equationEditorFlyout.steps.clearAll();
|
386
393
|
equationEditorFlyout.steps.enterEquation([{ categoryName: 'matrices', symbolName: ['twoByTwoMatrixBoundedBrackets'] }]);
|
387
394
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2', '1', '0', '3']);
|
388
395
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+')
|