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,6 +18,8 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
17
18
|
textEntryMathPage.steps.addInputToQuestionInputField('Enter the correct value in the response field');
|
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('Symbols are equivalent');
|
22
25
|
});
|
@@ -35,7 +38,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
35
38
|
it('When the user enters a equation using decimals in \'Specify correct answer\' section and answers the question which yields the same result but using appropriate symbols 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: 'numPad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
39
42
|
equationEditorFlyout.steps.clickOnOkButton();
|
40
43
|
textEntryMathPage.steps.switchToGradingView();
|
41
44
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -45,7 +48,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
45
48
|
it('When the user enters a equation using decimals in \'Specify correct answer\' section and user enters answer using cube roots it should be treated as correct', () => {
|
46
49
|
textEntryMathPage.steps.resetQuestionPreview();
|
47
50
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
48
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
51
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['cubeRoot'] }]);
|
49
52
|
equationEditorFlyout.steps.enterTextAtInputFieldCursor('85081.223211');
|
50
53
|
equationEditorFlyout.steps.clickOnOkButton();
|
51
54
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -56,7 +59,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
56
59
|
it('When the user enters a equation using decimals in \'Specify correct answer\' and attempts the question using approximate value of pi then it should be treated as incorrect', () => {
|
57
60
|
textEntryMathPage.steps.resetQuestionPreview();
|
58
61
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
59
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
62
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'seven', 'multiply'] }]);
|
60
63
|
equationEditorFlyout.steps.enterTextInPreviewInputField('3.14');
|
61
64
|
equationEditorFlyout.steps.clickOnOkButton();
|
62
65
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -66,11 +69,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
66
69
|
|
67
70
|
it('When the user enters a equation using parenthesis in \'Specify correct answer\' and user enters the simplified answer it should be treated as correct', () => {
|
68
71
|
textEntryMathPage.steps.switchToEditTab();
|
69
|
-
textEntryMathPage.steps.
|
70
|
-
textEntryMathPage.steps.
|
72
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
73
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
74
|
+
equationEditorFlyout.steps.clearAll();
|
75
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('(7-2)(7+2)');
|
76
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
71
77
|
textEntryMathPage.steps.switchToPreviewTab();
|
72
78
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
73
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
79
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['four', 'five'] }]);
|
74
80
|
equationEditorFlyout.steps.clickOnOkButton();
|
75
81
|
textEntryMathPage.steps.switchToGradingView();
|
76
82
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -90,7 +96,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
90
96
|
it('When the user enters a equation using parenthesis in \'Specify correct answer\' and user enters the answer in form of fraction it should be treated as correct', () => {
|
91
97
|
textEntryMathPage.steps.resetQuestionPreview();
|
92
98
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
93
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
99
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four', 'zero', 'five'] }]);
|
94
100
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['9']);
|
95
101
|
equationEditorFlyout.steps.clickOnOkButton();
|
96
102
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -100,8 +106,11 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
100
106
|
|
101
107
|
it('When the user sets percentage in \'Specify correct answer\' section and user enters a value using integers which yields same result it should be treated as correct', () => {
|
102
108
|
textEntryMathPage.steps.switchToEditTab();
|
103
|
-
textEntryMathPage.steps.
|
104
|
-
textEntryMathPage.steps.
|
109
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
110
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
111
|
+
equationEditorFlyout.steps.clearAll();
|
112
|
+
textEntryMathPage.steps.enterTextInPreviewInputField('9000%');
|
113
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
105
114
|
textEntryMathPage.steps.switchToPreviewTab();
|
106
115
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
107
116
|
equationEditorFlyout.steps.enterTextInPreviewInputField('90');
|
@@ -123,15 +132,15 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
123
132
|
|
124
133
|
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', () => {
|
125
134
|
textEntryMathPage.steps.switchToEditTab();
|
126
|
-
textEntryMathPage.steps.
|
135
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
127
136
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
128
|
-
|
129
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
137
|
+
equationEditorFlyout.steps.clearAll();
|
138
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
130
139
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
131
140
|
equationEditorFlyout.steps.clickOnOkButton();
|
132
141
|
textEntryMathPage.steps.switchToPreviewTab();
|
133
142
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
134
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
143
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
135
144
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
136
145
|
equationEditorFlyout.steps.clickOnOkButton();
|
137
146
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -142,7 +151,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
142
151
|
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', () => {
|
143
152
|
textEntryMathPage.steps.resetQuestionPreview();
|
144
153
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
145
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
154
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['one', 'six'] }]);
|
146
155
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
|
147
156
|
equationEditorFlyout.steps.clickOnOkButton();
|
148
157
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -154,7 +163,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
154
163
|
textEntryMathPage.steps.resetQuestionPreview();
|
155
164
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
156
165
|
equationEditorFlyout.steps.enterTextInPreviewInputField('1');
|
157
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
166
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
158
167
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
159
168
|
equationEditorFlyout.steps.clickOnOkButton();
|
160
169
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -164,14 +173,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
164
173
|
|
165
174
|
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', () => {
|
166
175
|
textEntryMathPage.steps.switchToEditTab();
|
167
|
-
textEntryMathPage.steps.
|
176
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
168
177
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
169
|
-
|
170
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
178
|
+
equationEditorFlyout.steps.clearAll();
|
179
|
+
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'] }]);
|
171
180
|
equationEditorFlyout.steps.clickOnOkButton();
|
172
181
|
textEntryMathPage.steps.switchToPreviewTab();
|
173
182
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
174
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
183
|
+
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'] }]);
|
175
184
|
equationEditorFlyout.steps.clickOnOkButton();
|
176
185
|
textEntryMathPage.steps.switchToGradingView();
|
177
186
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -181,7 +190,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
181
190
|
it('When the user enters polynomial quadratic equations in \'Specify correct answer\' and the user enters the same equation in different order then it should be treated as correct', () => {
|
182
191
|
textEntryMathPage.steps.resetQuestionPreview();
|
183
192
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
184
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
193
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['four'] }, { categoryName: 'intermediate', symbolName: ['y', 'x'] }, { categoryName: 'numPad', symbolName: ['add', 'two'] }, { categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }, { categoryName: 'numPad', symbolName: ['add', 'four'] }]);
|
185
194
|
equationEditorFlyout.steps.clickOnOkButton();
|
186
195
|
textEntryMathPage.steps.switchToGradingView();
|
187
196
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -190,9 +199,11 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
190
199
|
|
191
200
|
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', () => {
|
192
201
|
textEntryMathPage.steps.switchToEditTab();
|
193
|
-
textEntryMathPage.steps.
|
202
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
194
203
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
195
|
-
|
204
|
+
equationEditorFlyout.steps.clearAll();
|
205
|
+
textEntryMathPage.steps.enterTextInPreviewInputField('-38-9i');
|
206
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
196
207
|
textEntryMathPage.steps.switchToPreviewTab();
|
197
208
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
198
209
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-38-9i');
|
@@ -224,20 +235,20 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
224
235
|
|
225
236
|
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', () => {
|
226
237
|
textEntryMathPage.steps.switchToEditTab();
|
227
|
-
textEntryMathPage.steps.
|
238
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
228
239
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
229
|
-
|
240
|
+
equationEditorFlyout.steps.clearAll();
|
230
241
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
231
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
242
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
232
243
|
equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
|
233
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
244
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
234
245
|
equationEditorFlyout.steps.clickOnOkButton();
|
235
246
|
textEntryMathPage.steps.switchToPreviewTab();
|
236
247
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
237
248
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
238
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
249
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
239
250
|
equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
|
240
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
251
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
241
252
|
equationEditorFlyout.steps.clickOnOkButton();
|
242
253
|
textEntryMathPage.steps.switchToGradingView();
|
243
254
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -248,9 +259,9 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
248
259
|
textEntryMathPage.steps.resetQuestionPreview();
|
249
260
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
250
261
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
|
251
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
262
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
252
263
|
equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
|
253
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
264
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
254
265
|
equationEditorFlyout.steps.clickOnOkButton();
|
255
266
|
textEntryMathPage.steps.switchToGradingView();
|
256
267
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -261,9 +272,9 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
261
272
|
textEntryMathPage.steps.resetQuestionPreview();
|
262
273
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
263
274
|
equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
|
264
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
275
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
|
265
276
|
equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10^')
|
266
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
277
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
|
267
278
|
equationEditorFlyout.steps.clickOnOkButton();
|
268
279
|
textEntryMathPage.steps.switchToGradingView();
|
269
280
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
@@ -272,18 +283,18 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
272
283
|
|
273
284
|
it('When the user enters a equation with trigonometric functions in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
|
274
285
|
textEntryMathPage.steps.switchToEditTab();
|
275
|
-
textEntryMathPage.steps.
|
286
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
276
287
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
277
|
-
|
288
|
+
equationEditorFlyout.steps.clearAll();
|
278
289
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
|
279
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
290
|
+
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'] }]);
|
280
291
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
281
292
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
282
293
|
equationEditorFlyout.steps.clickOnOkButton();
|
283
294
|
textEntryMathPage.steps.switchToPreviewTab();
|
284
295
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
285
296
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150')
|
286
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
297
|
+
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'] }]);
|
287
298
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2']);
|
288
299
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
289
300
|
equationEditorFlyout.steps.clickOnOkButton();
|
@@ -296,7 +307,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
296
307
|
textEntryMathPage.steps.resetQuestionPreview();
|
297
308
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
298
309
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
|
299
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
310
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis', 'fraction'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
|
300
311
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2{rightarrow}+']);
|
301
312
|
equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['theta'] }])
|
302
313
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
@@ -310,7 +321,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
310
321
|
textEntryMathPage.steps.resetQuestionPreview();
|
311
322
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
312
323
|
equationEditorFlyout.steps.enterTextInPreviewInputField('-150');
|
313
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: '
|
324
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'trig', symbolName: ['sin'] }, { categoryName: 'intermediate', symbolName: ['groupInParenthesis'] }, { categoryName: 'greek', symbolName: ['theta'] }, { categoryName: 'numPad', symbolName: ['add', 'nine', 'zero'] }]);
|
314
325
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+260');
|
315
326
|
equationEditorFlyout.steps.clickOnOkButton();
|
316
327
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -320,14 +331,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
320
331
|
|
321
332
|
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', () => {
|
322
333
|
textEntryMathPage.steps.switchToEditTab();
|
323
|
-
textEntryMathPage.steps.
|
334
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
324
335
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
325
|
-
|
326
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
336
|
+
equationEditorFlyout.steps.clearAll();
|
337
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
327
338
|
equationEditorFlyout.steps.clickOnOkButton();
|
328
339
|
textEntryMathPage.steps.switchToPreviewTab();
|
329
340
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
330
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
341
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x', 'square'] }]);
|
331
342
|
equationEditorFlyout.steps.clickOnOkButton();
|
332
343
|
textEntryMathPage.steps.switchToGradingView();
|
333
344
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -337,7 +348,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
337
348
|
it('When the user enters a equation using derivatives in \'Specify correct answer\' and the user enters the same equation but different format then it should be treated as correct', () => {
|
338
349
|
textEntryMathPage.steps.resetQuestionPreview();
|
339
350
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
340
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['
|
351
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['partialDerivative'] }, { categoryName: 'intermediate', symbolName: ['x'] }, { categoryName: 'numPad', symbolName: ['multiply'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
341
352
|
equationEditorFlyout.steps.clickOnOkButton();
|
342
353
|
textEntryMathPage.steps.switchToGradingView();
|
343
354
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
@@ -346,15 +357,15 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
346
357
|
|
347
358
|
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', () => {
|
348
359
|
textEntryMathPage.steps.switchToEditTab();
|
349
|
-
textEntryMathPage.steps.
|
360
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
350
361
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
351
|
-
|
352
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
362
|
+
equationEditorFlyout.steps.clearAll();
|
363
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
353
364
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
|
354
365
|
equationEditorFlyout.steps.clickOnOkButton();
|
355
366
|
textEntryMathPage.steps.switchToPreviewTab();
|
356
367
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
357
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
368
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
358
369
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
|
359
370
|
equationEditorFlyout.steps.clickOnOkButton();
|
360
371
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -365,7 +376,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
365
376
|
it('When the user enters a equation using integration in \'Specify correct answer\' and the user enters the same equation with coefficients then it should be treated as correct', () => {
|
366
377
|
textEntryMathPage.steps.resetQuestionPreview();
|
367
378
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
368
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: '
|
379
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'calculus', symbolName: ['integral'] }, { categoryName: 'numPad', symbolName: ['one'] }, { categoryName: 'intermediate', symbolName: ['x'] }]);
|
369
380
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '0']);
|
370
381
|
equationEditorFlyout.steps.clickOnOkButton();
|
371
382
|
textEntryMathPage.steps.switchToGradingView();
|
@@ -375,9 +386,9 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
375
386
|
|
376
387
|
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', () => {
|
377
388
|
textEntryMathPage.steps.switchToEditTab();
|
378
|
-
textEntryMathPage.steps.
|
389
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
379
390
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
380
|
-
|
391
|
+
equationEditorFlyout.steps.clearAll();
|
381
392
|
equationEditorFlyout.steps.enterEquation([{ categoryName: 'matrices', symbolName: ['twoByTwoMatrixBoundedBrackets'] }]);
|
382
393
|
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['2', '1', '0', '3']);
|
383
394
|
equationEditorFlyout.steps.enterTextInPreviewInputField('+')
|