itemengine-cypress-automation 1.0.209-graphqlStagingUpdate-7ab593a.0 → 1.0.209
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +1 -1
- package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/specifyCorrectAnswerSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/styleAndLayoutCustomization.js +22 -22
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/Graphing/Scoring/manuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/Graphing/toolsControlsAndBackgroundSection.js +824 -388
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +19 -18
- package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +27 -26
- package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternatePoints.js +27 -26
- package/cypress/e2e/ILC/ImageHighlight/Scoring/manuallyAndNonScored.js +10 -9
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +23 -22
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +7 -6
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +29 -28
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeigtsCorrectPointsGreaterThanAlternativePoints.js +30 -29
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +22 -21
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsScoring.js +7 -6
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +27 -26
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +30 -29
- package/cypress/e2e/ILC/ImageHighlight/Scoring/singleSelectionPreviewScoring.js +21 -14
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +17 -15
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -5
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -3
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +16 -16
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +4 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +7 -7
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +7 -9
- package/cypress/pages/components/correctIncorrectAnswerLabelComponent.js +4 -0
- package/cypress/pages/components/createCustomCategoryFlyout.js +4 -3
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +1 -1
- package/cypress/pages/gridFillPage.js +5 -0
- package/cypress/pages/imageHighlightPage.js +2 -2
- package/cypress/pages/videoResponsePage.js +1 -1
- package/package.json +2 -2
@@ -410,7 +410,7 @@ describe('Bar audio player style: Preview tab functionality', () => {
|
|
410
410
|
});
|
411
411
|
});
|
412
412
|
|
413
|
-
it('Accessibility of add pin section and add pin button in selected state', () => {
|
413
|
+
it('Accessibility of add pin section and add pin button in selected state', { tags: 'a11y' }, () => {
|
414
414
|
cy.checkAccessibility(audioPlayerPage.pinsPanelAddPinButton().parents('[class*="AddPinstyles__PinsCollectionWrapper"]'));
|
415
415
|
});
|
416
416
|
|
@@ -582,7 +582,7 @@ describe('Standard audio player style: Edit tab contents and preview tab functio
|
|
582
582
|
});
|
583
583
|
});
|
584
584
|
|
585
|
-
it('Accessibility of add pin section and add pin button in selected state', () => {
|
585
|
+
it('Accessibility of add pin section and add pin button in selected state', { tags: 'a11y' }, () => {
|
586
586
|
cy.checkAccessibility(audioPlayerPage.pinsPanelAddPinButton().parents('[class*="AddPinstyles__PinsCollectionWrapper"]'));
|
587
587
|
});
|
588
588
|
|
@@ -73,7 +73,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Specify cor
|
|
73
73
|
|
74
74
|
it('When correct answers and points are set in alternate answer and user clicks on correct answer accordion, then correct answer accordion should be expanded and the alternate answer accordion should be collapsed', () => {
|
75
75
|
fillInTheGapsOverImageDropdownPage.steps.expandCorrectAnswerAccordion();
|
76
|
-
fillInTheGapsOverImageDropdownPage.steps.verifyAlternateAnswerAccordionIsCollapsed(
|
76
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyAlternateAnswerAccordionIsCollapsed(0);
|
77
77
|
});
|
78
78
|
});
|
79
79
|
});
|
@@ -40,13 +40,13 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
40
40
|
|
41
41
|
fillInTheGapsOverImageTextPage.tests.verifyBorderColorSectionContents();
|
42
42
|
|
43
|
-
fillInTheGapsOverImageTextPage.tests.verifyBorderStyleSectionContents('
|
43
|
+
fillInTheGapsOverImageTextPage.tests.verifyBorderStyleSectionContents('Dashed');
|
44
44
|
|
45
45
|
fillInTheGapsOverImageTextPage.tests.verifyFillColorTooltips();
|
46
46
|
|
47
47
|
fillInTheGapsOverImageTextPage.tests.verifyBorderColorTooltips();
|
48
48
|
|
49
|
-
fillInTheGapsOverImageTextPage.tests.verifyStyleAndLayoutCustomizationAccordionContentsCSSAndA11y('
|
49
|
+
fillInTheGapsOverImageTextPage.tests.verifyStyleAndLayoutCustomizationAccordionContentsCSSAndA11y('dashed');
|
50
50
|
});
|
51
51
|
|
52
52
|
describe('Fill color - Edit tab', () => {
|
@@ -62,25 +62,25 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
62
62
|
});
|
63
63
|
|
64
64
|
it('When the default color block is in selected state in the "Fill color" section, then the background color of the text containers in the canvas image should be the default selected color', () => {
|
65
|
-
fillInTheGapsOverImageTextPage.steps.
|
65
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaFillColor(0, css.color.optionsBg);
|
66
66
|
});
|
67
67
|
|
68
68
|
it('When the user selects the "None" color block, it should get in selected state and the no background color should be present for the text containers in the canvas image', () => {
|
69
69
|
fillInTheGapsOverImageTextPage.steps.selectColorBlock(1);
|
70
|
-
fillInTheGapsOverImageTextPage.steps.
|
70
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaFillColor(0, css.color.transparent);
|
71
71
|
});
|
72
72
|
|
73
73
|
it('When the user clicks on the "Edit color" button, modifies color for the selected color block, then the background color of the text containers in the canvas image should be the modified selected color', () => {
|
74
74
|
fillInTheGapsOverImageTextPage.steps.editColor(0);
|
75
75
|
colorPopupComponent.steps.clickInColorSaturationPalette();
|
76
76
|
colorPopupComponent.steps.clickOnOkButton();
|
77
|
-
fillInTheGapsOverImageTextPage.steps.
|
77
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaFillColor(0, modifiedColor);
|
78
78
|
});
|
79
79
|
|
80
80
|
it('When the adds a new text container, then the background color of the newly added text container should be the modified selected color', () => {
|
81
81
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(60);
|
82
|
-
fillInTheGapsOverImageTextPage.steps.
|
83
|
-
fillInTheGapsOverImageTextPage.steps.
|
82
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaFillColor(0, modifiedColor);
|
83
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaFillColor(1, modifiedColor);
|
84
84
|
});
|
85
85
|
});
|
86
86
|
|
@@ -139,25 +139,25 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
139
139
|
});
|
140
140
|
|
141
141
|
it('When the default color block is in selected state in the "Fill color" section, then the background color of the text containers in the canvas image should be the default selected color', () => {
|
142
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px
|
142
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px dashed ${css.color.activeComponentBorder}`);
|
143
143
|
});
|
144
144
|
|
145
145
|
it('When the user selects the "None" color block, it should get in selected state and the no background color should be present for the text containers in the canvas image', () => {
|
146
146
|
fillInTheGapsOverImageTextPage.steps.selectColorBlock(3);
|
147
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px
|
147
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px dashed ${css.color.transparent}`);
|
148
148
|
});
|
149
149
|
|
150
150
|
it('When the user clicks on the "Edit color" button, modifies color for the selected color block, then the background color of the text containers in the canvas image should be the modified selected color', () => {
|
151
151
|
fillInTheGapsOverImageTextPage.steps.editColor(1);
|
152
152
|
colorPopupComponent.steps.clickInColorSaturationPalette();
|
153
153
|
colorPopupComponent.steps.clickOnOkButton();
|
154
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px
|
154
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px dashed ${modifiedColor}`);
|
155
155
|
});
|
156
156
|
|
157
157
|
it('When the adds a new text container, then the background color of the newly added text container should be the modified selected color', () => {
|
158
158
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(60);
|
159
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px
|
160
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(1, `1px
|
159
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px dashed ${modifiedColor}`);
|
160
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(1, `1px dashed ${modifiedColor}`);
|
161
161
|
});
|
162
162
|
});
|
163
163
|
|
@@ -175,7 +175,7 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
175
175
|
});
|
176
176
|
|
177
177
|
it('When the default color block is in selected state in the "Fill color" section, then the background color of the text containers in the preview tab should be the default selected color', () => {
|
178
|
-
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px
|
178
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px dashed ${css.color.activeComponentBorder}`);
|
179
179
|
});
|
180
180
|
|
181
181
|
it('When the user selects the "None" color block, it should get in selected state and the no background color should be present for the text containers in the preview tab', () => {
|
@@ -191,15 +191,15 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
191
191
|
colorPopupComponent.steps.clickInColorSaturationPalette();
|
192
192
|
colorPopupComponent.steps.clickOnOkButton();
|
193
193
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
194
|
-
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px
|
194
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px dashed ${modifiedColor}`);
|
195
195
|
});
|
196
196
|
|
197
197
|
it('The background color of the text containers in the preview tab should be the modified selected color', () => {
|
198
198
|
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
199
199
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(60);
|
200
200
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
201
|
-
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px
|
202
|
-
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(1, `1px
|
201
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px dashed ${modifiedColor}`);
|
202
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(1, `1px dashed ${modifiedColor}`);
|
203
203
|
});
|
204
204
|
});
|
205
205
|
|
@@ -308,8 +308,8 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
308
308
|
fillInTheGapsOverImageTextPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
309
309
|
});
|
310
310
|
|
311
|
-
it('When the "
|
312
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderStyle(0, '
|
311
|
+
it('When the "dashed" border style is in selected state, then the border style of the text containers in the canvas image should be "dashed"', () => {
|
312
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderStyle(0, 'dashed');
|
313
313
|
});
|
314
314
|
|
315
315
|
borderStyles.forEach((style) => {
|
@@ -332,8 +332,8 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
332
332
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
333
333
|
});
|
334
334
|
|
335
|
-
it('When the "
|
336
|
-
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderStyle(0, '
|
335
|
+
it('When the "dashed" border style is in selected state, then the border style of the text containers in the preview tab should be "dashed"', () => {
|
336
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderStyle(0, 'dashed');
|
337
337
|
});
|
338
338
|
|
339
339
|
borderStyles.forEach((style) => {
|
@@ -440,7 +440,7 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
440
440
|
fillInTheGapsOverImageTextPage.steps.selectResponseAreaPointerStyle('left');
|
441
441
|
});
|
442
442
|
|
443
|
-
it('When the "Circle" connector style is in selected state, then the connector style of the text containers in the canvas image should be "
|
443
|
+
it('When the "Circle" connector style is in selected state, then the connector style of the text containers in the canvas image should be "dashed"', () => {
|
444
444
|
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaConnectorEndPointShape('Circle');
|
445
445
|
});
|
446
446
|
|
@@ -466,7 +466,7 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
466
466
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
467
467
|
});
|
468
468
|
|
469
|
-
it('When the "Circle" connector style is in selected state, then the connector style of the text containers in the canvas image should be "
|
469
|
+
it('When the "Circle" connector style is in selected state, then the connector style of the text containers in the canvas image should be "dashed"', () => {
|
470
470
|
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaConnectorEndPointShapePreviewTab('Circle');
|
471
471
|
});
|
472
472
|
|
@@ -64,7 +64,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
64
64
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
65
65
|
|
66
66
|
//Correct/incorrect icon
|
67
|
-
|
67
|
+
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
68
68
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
69
69
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
70
70
|
graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js
CHANGED
@@ -65,7 +65,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
65
65
|
utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
|
66
66
|
|
67
67
|
//Correct/incorrect icon
|
68
|
-
|
68
|
+
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
69
69
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
70
70
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
71
71
|
graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -65,7 +65,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
65
65
|
utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
|
66
66
|
|
67
67
|
//Correct/incorrect icon
|
68
|
-
|
68
|
+
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
69
69
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
70
70
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
71
71
|
graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -87,7 +87,7 @@ describe('Create Item page - Graphing: Manually and non scored', () => {
|
|
87
87
|
utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
|
88
88
|
|
89
89
|
//Correct/incorrect icon
|
90
|
-
|
90
|
+
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
91
91
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
92
92
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
93
93
|
graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|