itemengine-cypress-automation 1.0.180-essayResponseLazyLoadingFix-63cd8a3.0 → 1.0.182-repoUpdate22April-92d01da.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioPlayerNew/previewContents.smoke.js +162 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +4 -5
- package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +64 -3
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
- package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +29 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +3 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +2 -2
- package/cypress/e2e/ILC/Graphing/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +216 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +214 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +251 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingPenaltyScoring.js +52 -0
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +243 -0
- package/cypress/e2e/ILC/ListOrderingNew/checkAnswerFunctionalityForAllViews.smoke.js +128 -0
- package/cypress/e2e/ILC/ListOrderingNew/previewContentsForAllViews.smoke.js +176 -0
- package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +1 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLine/LayoutSection.js +530 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +3 -3
- package/cypress/e2e/ILC/NumberLine/lineSettingsSection.js +119 -0
- package/cypress/e2e/ILC/NumberLine/numberLineSection.js +263 -0
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +2 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +49 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +2 -2
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +0 -1
- package/cypress/e2e/ILC/TextSelection/additionalSettings.js +125 -0
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -1
- package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +0 -1
- package/cypress/e2e/ILC/TextSelection/editTabScoringSection.js +5 -4
- package/cypress/e2e/ILC/TextSelection/headerSection.js +73 -0
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.smoke.js +179 -0
- package/cypress/e2e/ILC/TextSelection/specifyCorrectAnswerSection.js +89 -0
- package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +436 -0
- package/cypress/e2e/ILC/TextSelection/styleAndLayoutCustomizationAccordion.js +277 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInPreviewTab.js +222 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +260 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +380 -0
- package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +5 -5
- package/cypress/fixtures/constants.js +1 -1
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +20 -20
- package/cypress/fixtures/theme/ilc.json +16 -16
- package/cypress/pages/audioPlayerPage.js +55 -543
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +3 -3
- package/cypress/pages/components/autoScoredStudentViewSettings.js +4 -4
- package/cypress/pages/components/commonComponents.js +1 -0
- package/cypress/pages/components/draggableOptionContainer.js +1 -0
- package/cypress/pages/components/equationEditorFlyout.js +3 -2
- package/cypress/pages/components/essayResponseCommonComponents.js +8 -2
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -0
- package/cypress/pages/components/imageCanvasComponent.js +2 -1
- package/cypress/pages/components/index.js +1 -0
- package/cypress/pages/components/optionsWrapperComponent.js +11 -0
- package/cypress/pages/components/styleAndLayoutCustomizationAccordionComponent.js +46 -0
- package/cypress/pages/components/toolSettingsComponent.js +6 -0
- package/cypress/pages/contentBlocksPage.js +2 -2
- package/cypress/pages/createItemPage.js +29 -0
- package/cypress/pages/dialogBoxBase.js +2 -2
- package/cypress/pages/drawingResponsePage.js +23 -4
- package/cypress/pages/feedbackScalePage.js +3 -0
- package/cypress/pages/graphingPage.js +18 -0
- package/cypress/pages/gridFillPage.js +18 -2
- package/cypress/pages/index.js +1 -1
- package/cypress/pages/itemPreviewSettingsPage.js +4 -0
- package/cypress/pages/listOrderingPage.js +122 -647
- package/cypress/pages/matchingPage.js +1 -1
- package/cypress/pages/multipleSelectionPage.js +23 -1
- package/cypress/pages/numberLinePage.js +1196 -59
- package/cypress/pages/rulerPage.js +6 -2
- package/cypress/pages/textSelectionPage.js +460 -22
- package/cypress/support/migrationHelpers/extractLrnQuestionData.js +2 -1
- package/cypress/support/migrationHelpers/verifyIeQuestionData.js +4 -1
- package/package.json +1 -1
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +0 -432
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +0 -134
@@ -5,7 +5,7 @@ import { dialogBoxBase, multipleSelectionPage, rulerPage } from "../../../pages"
|
|
5
5
|
|
6
6
|
const css = Cypress.env('css');
|
7
7
|
|
8
|
-
const tools = ['Ruler', 'Protractor', 'Reading ruler', 'Simple
|
8
|
+
const tools = ['Ruler', 'Protractor', 'Reading ruler', 'Simple Calculator', 'Scientific Calculator'];
|
9
9
|
const lengthOfRuler = ['15 cm', '30 cm', '40 cm'];
|
10
10
|
const rotationOptions = ['None', 'Allow rotation', 'Allow rotation and display angle'];
|
11
11
|
const unitOfMeasurementOptions = ['Centimeter', 'Inch', 'Pixel', 'Both centimeter and inch', 'Custom image'];
|
@@ -62,7 +62,7 @@ describe('Create Item page: Tool settings', () => {
|
|
62
62
|
it(`When \'Tool settings\' accordion is expanded, then \'Add tools\' and \'Select the tools that will be displayed to the students.\' labels should be displayed. Three tools ${tools} should be displayed with their labels, icons, drag handle button and edit icon. By default tools should not be selected`, () => {
|
63
63
|
utilities.verifyInnerText(toolSettingsComponent.addToolsLabel(), 'Add tools');
|
64
64
|
utilities.verifyInnerText(toolSettingsComponent.toolSettingsHelpText(), 'Select the tools that will be displayed to the students.');
|
65
|
-
utilities.verifyElementCount(toolSettingsComponent.toolButton(),
|
65
|
+
utilities.verifyElementCount(toolSettingsComponent.toolButton(), 5);
|
66
66
|
tools.forEach((toolName, toolIndex) => {
|
67
67
|
toolSettingsComponent.steps.verifyToolButton(toolIndex, toolName);
|
68
68
|
});
|
@@ -117,8 +117,8 @@ describe('Create Item page: Tool settings', () => {
|
|
117
117
|
it(`'Length of ruler' label and dropdown should be displayed and by default ${lengthOfRuler[0]} should be selected`, () => {
|
118
118
|
utilities.verifyInnerText(rulerPage.lengthOfRulerLabel(), 'Length of ruler');
|
119
119
|
utilities.verifyElementVisibilityState(rulerPage.lengthOfRulerLabel(), 'visible');
|
120
|
-
rulerPage.steps.
|
121
|
-
utilities.verifyElementVisibilityState(rulerPage.
|
120
|
+
rulerPage.steps.verifyLengthOfRulerOptions(lengthOfRuler[0]);
|
121
|
+
utilities.verifyElementVisibilityState(rulerPage.lengthOfRulerOptions(), 'exist');
|
122
122
|
});
|
123
123
|
|
124
124
|
it(`When user expands the \'Unit of measurement\' dropdown then list with five option ${unitOfMeasurementOptions} should be displayed`, () => {
|
@@ -134,7 +134,7 @@ describe('Create Item page: Tool settings', () => {
|
|
134
134
|
|
135
135
|
it(`When user expands the \'Length of ruler\' dropdown then list with three options ${lengthOfRuler} should be displayed`, () => {
|
136
136
|
rulerPage.steps.expandLengthOfRulerDropdown();
|
137
|
-
rulerPage.steps.
|
137
|
+
rulerPage.steps.verifyLengthOfRulerOptions(lengthOfRuler);
|
138
138
|
});
|
139
139
|
|
140
140
|
it('When user selects an option from \'Length of ruler\' dropdown list, then dropdown list should disappear and selected option should be the active selection for the dropdown', () => {
|
@@ -9,7 +9,7 @@ const constants = {
|
|
9
9
|
sampleSVGLink: "https://www.svgrepo.com/show/128943/3-flowers.svg",
|
10
10
|
CKEditorEquationEditorPopupInputFieldEnteredEquationText: "x=3√8,What is the value of x?",
|
11
11
|
CKEditorInputFieldEnteredEquationText: "x=83,What is the value of x?",
|
12
|
-
CKEditorInputFieldEnteredEquationAriaLabel: "x equals the cube root of 8 comma cap w h of A t i s t h of e v A l u e o f x question mark
|
12
|
+
CKEditorInputFieldEnteredEquationAriaLabel: "x equals the cube root of 8 comma cap w h of A t i s t h of e v A l u e o f x question mark",
|
13
13
|
sampleMp3Link: "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",
|
14
14
|
sampleWAVLink: "https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.wav",
|
15
15
|
sampleAACLink: "https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.aac",
|
@@ -80,17 +80,11 @@ export const equationEditorCategoriesAndSymbols = {
|
|
80
80
|
ariaLabel: 'Comma',
|
81
81
|
displayText: ','
|
82
82
|
},
|
83
|
-
|
84
|
-
title: '
|
85
|
-
textElement: null,
|
86
|
-
ariaLabel: 'Plus 6',
|
87
|
-
displayText: '+'
|
88
|
-
},
|
89
|
-
subtract: {
|
90
|
-
title: 'Subtraction',
|
83
|
+
divide: {
|
84
|
+
title: 'Division',
|
91
85
|
textElement: null,
|
92
|
-
ariaLabel: '
|
93
|
-
displayText: '
|
86
|
+
ariaLabel: 'Division',
|
87
|
+
displayText: '÷'
|
94
88
|
},
|
95
89
|
multiply: {
|
96
90
|
title: 'Multiply',
|
@@ -98,11 +92,17 @@ export const equationEditorCategoriesAndSymbols = {
|
|
98
92
|
ariaLabel: 'Multiply',
|
99
93
|
displayText: '×'
|
100
94
|
},
|
101
|
-
|
102
|
-
title: '
|
95
|
+
subtract: {
|
96
|
+
title: 'Subtraction',
|
103
97
|
textElement: null,
|
104
|
-
ariaLabel: '
|
105
|
-
displayText: '
|
98
|
+
ariaLabel: 'Minus',
|
99
|
+
displayText: '−'
|
100
|
+
},
|
101
|
+
add: {
|
102
|
+
title: 'Addition',
|
103
|
+
textElement: null,
|
104
|
+
ariaLabel: 'Plus 6',
|
105
|
+
displayText: '+'
|
106
106
|
},
|
107
107
|
equalTo: {
|
108
108
|
title: 'Equal To',
|
@@ -122,17 +122,17 @@ export const equationEditorCategoriesAndSymbols = {
|
|
122
122
|
ariaLabel: 'MoveRight',
|
123
123
|
displayText: null
|
124
124
|
},
|
125
|
-
clear: {
|
126
|
-
title: 'Clear',
|
127
|
-
textElement: null,
|
128
|
-
ariaLabel: 'Clear',
|
129
|
-
displayText: null
|
130
|
-
},
|
131
125
|
clearAll: {
|
132
126
|
title: 'Clear all',
|
133
127
|
textElement: null,
|
134
128
|
ariaLabel: 'ClearAll',
|
135
129
|
displayText: null
|
130
|
+
},
|
131
|
+
clear: {
|
132
|
+
title: 'Clear',
|
133
|
+
textElement: null,
|
134
|
+
ariaLabel: 'Clear',
|
135
|
+
displayText: null
|
136
136
|
}
|
137
137
|
}
|
138
138
|
},
|
@@ -135,7 +135,9 @@
|
|
135
135
|
"uploadedFileName": "rgb(0, 0, 124)",
|
136
136
|
"feedbackHeart": "rgb(255, 56, 0)",
|
137
137
|
"manipulativeOptionContainerBorder": "rgb(186, 201, 255)",
|
138
|
-
"cellIcon": "rgb(186, 201, 255)"
|
138
|
+
"cellIcon": "rgb(186, 201, 255)",
|
139
|
+
"outerBorder": "rgb(186, 201, 255)",
|
140
|
+
"playbackTime": "rgb(0, 0, 124)"
|
139
141
|
},
|
140
142
|
"fontSize": {
|
141
143
|
"extraSmall": "10px",
|
@@ -161,27 +163,25 @@
|
|
161
163
|
"hoverBackground": "rgba(82, 0, 255, 0.2)",
|
162
164
|
"hoverBorder": "rgba(82, 0, 255, 0.4)"
|
163
165
|
},
|
164
|
-
"
|
165
|
-
"background": "rgb(
|
166
|
-
"hoverBackground": "rgba(
|
167
|
-
"hoverBorder": "
|
166
|
+
"aqua":{
|
167
|
+
"background": "rgb(0, 112, 128)",
|
168
|
+
"hoverBackground": "rgba(0, 112, 128, 0.2)",
|
169
|
+
"hoverBorder": "rgba(0, 112, 128, 0.4)"
|
168
170
|
},
|
169
171
|
"brown":{
|
170
|
-
"background": "rgb(128,
|
171
|
-
"hoverBackground": "rgba(128,
|
172
|
-
"hoverBorder": "
|
172
|
+
"background": "rgb(128, 102, 69)",
|
173
|
+
"hoverBackground": "rgba(128, 102, 69, 0.2)",
|
174
|
+
"hoverBorder": "rgba(128, 102, 69, 0.4)"
|
173
175
|
},
|
174
176
|
"grey":{
|
175
|
-
"background": "rgb(
|
176
|
-
"hoverBackground": "rgba(
|
177
|
-
"hoverBorder": "
|
177
|
+
"background": "rgb(102, 102, 102)",
|
178
|
+
"hoverBackground": "rgba(102, 102, 102, 0.2)",
|
179
|
+
"hoverBorder": "rgba(102, 102, 102, 0.4)"
|
178
180
|
},
|
179
181
|
"black":{
|
180
|
-
"
|
181
|
-
"
|
182
|
-
"
|
183
|
-
"hoverBackground": "rgba(255, 238, 78, 0.4)",
|
184
|
-
"hoverBorder": "rgb(153, 141, 32)"
|
182
|
+
"background": "rgb(0, 0, 0)",
|
183
|
+
"hoverBackground": "rgba(0, 0, 0, 0.2)",
|
184
|
+
"hoverBorder": "rgba(0, 0, 0, 0.4)"
|
185
185
|
}
|
186
186
|
}
|
187
187
|
}
|