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