itemengine-cypress-automation 1.0.221-16thSmokeTestFixes-a427ca0.0 → 1.0.222-23rdJulyFixes-d8cd939.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +3 -3
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +22 -22
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +13 -13
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +13 -13
- package/cypress/e2e/ILC/ChartsBar/gridSettings.js +10 -5
- package/cypress/e2e/ILC/ChartsBar/labelOptionsSection.js +10 -6
- package/cypress/e2e/ILC/ChartsBar/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -1
- package/cypress/e2e/ILC/ChartsLine/editTabScoringSection.js +5 -5
- package/cypress/e2e/ILC/ChartsLine/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/ChartsLine/specifyCorrectAnswerSection.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +0 -2
- package/cypress/e2e/ILC/GridFill/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -4
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +3 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +3 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +3 -1
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsBasic.js +3 -3
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +3 -3
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGridNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +0 -2
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/editTabScoringSection.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +2 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +17 -17
- package/cypress/e2e/ILC/TextEntryMath/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +4 -7
- package/cypress/e2e/ILC/TextEntryMath/specifyCorrectAnswerSection.js +25 -7
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/manuallyAndNonScored.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/pages/chartsBarPage.js +6 -6
- package/cypress/pages/chartsLinePage.js +3 -2
- package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +4 -2
- package/cypress/pages/components/createQuestionBasePage.js +1 -1
- package/cypress/pages/components/gridQuestionCommonComponent.js +9 -0
- package/cypress/pages/components/opacityComponent.js +1 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +5 -3
- package/cypress/pages/components/setPointsPopupBase.js +7 -0
- package/cypress/pages/gridFillPage.js +13 -0
- package/cypress/pages/textEntryMathPage.js +2 -2
- package/package.json +1 -1
@@ -1076,7 +1076,7 @@ const steps = {
|
|
1076
1076
|
verifyBarLabelCenteredSelectChartType: () => {
|
1077
1077
|
chartsBarPage.selectChartTypeBarLabel()
|
1078
1078
|
.eq(0)
|
1079
|
-
.should('
|
1079
|
+
.should('have.css', 'text-align', 'center');
|
1080
1080
|
},
|
1081
1081
|
|
1082
1082
|
verifyBarLabelAtIntervalSpecifyCorrectAnswer: () => {
|
@@ -1088,7 +1088,7 @@ const steps = {
|
|
1088
1088
|
verifyBarLabelCenteredSpecifyCorrectAnswer: () => {
|
1089
1089
|
chartsBarPage.specifyCorrectAnswerBarLabel()
|
1090
1090
|
.eq(0)
|
1091
|
-
.should('
|
1091
|
+
.should('have.css', 'text-align', 'center');
|
1092
1092
|
},
|
1093
1093
|
|
1094
1094
|
verifyBarLabelAtIntervalPreviewTab: () => {
|
@@ -1100,7 +1100,7 @@ const steps = {
|
|
1100
1100
|
verifyBarLabelCenteredPreviewTab: () => {
|
1101
1101
|
chartsBarPage.previewTabBarLabel()
|
1102
1102
|
.eq(0)
|
1103
|
-
.should('
|
1103
|
+
.should('have.css', 'text-align', 'center');
|
1104
1104
|
},
|
1105
1105
|
|
1106
1106
|
/**
|
@@ -1147,7 +1147,7 @@ const steps = {
|
|
1147
1147
|
for (let index = 0; index < len; index++) {
|
1148
1148
|
chartsBarPage.xAxisCoordinateSelectChartType()
|
1149
1149
|
.eq(index)
|
1150
|
-
.should('have.text',
|
1150
|
+
.should('have.text', min);
|
1151
1151
|
min += interval;
|
1152
1152
|
}
|
1153
1153
|
});
|
@@ -1164,7 +1164,7 @@ const steps = {
|
|
1164
1164
|
for (let index = 0; index < len; index++) {
|
1165
1165
|
chartsBarPage.xAxisCoordinateSpecifyCorrectAnswer()
|
1166
1166
|
.eq(index)
|
1167
|
-
.should('have.text',
|
1167
|
+
.should('have.text', min);
|
1168
1168
|
min += interval;
|
1169
1169
|
}
|
1170
1170
|
});
|
@@ -1181,7 +1181,7 @@ const steps = {
|
|
1181
1181
|
for (let index = 0; index < len; index++) {
|
1182
1182
|
chartsBarPage.xAxisCoordinatePreviewTab()
|
1183
1183
|
.eq(index)
|
1184
|
-
.should('have.text',
|
1184
|
+
.should('have.text', min);
|
1185
1185
|
min += interval;
|
1186
1186
|
}
|
1187
1187
|
});
|
@@ -579,9 +579,10 @@ const tests = {
|
|
579
579
|
});
|
580
580
|
|
581
581
|
it(`User should be able to delete bar in ${accordionName} accordion and labels for other bars should not change`, () => {
|
582
|
+
utilities.triggerMouseout(utilities.getNthElement(chartsLinePage.selectChartTypePoint(), 0));
|
582
583
|
steps.deletePointInSpecifyCorrectAnswerSection(1);
|
583
|
-
steps.verifyPointLabelSpecifyCorrectAnswer(0, '
|
584
|
-
steps.verifyPointLabelSpecifyCorrectAnswer(1, '
|
584
|
+
steps.verifyPointLabelSpecifyCorrectAnswer(0, 'Point 1');
|
585
|
+
steps.verifyPointLabelSpecifyCorrectAnswer(1, 'Point 3');
|
585
586
|
});
|
586
587
|
|
587
588
|
it(`When the user resets the charts in the ${accordionName} accordion, error message should not be thrown on the \'${accordionName}\' accordion`, () => {
|
@@ -137,7 +137,9 @@ const steps = {
|
|
137
137
|
|
138
138
|
clearTotalPenaltyPointsInputField: () => {
|
139
139
|
autoScoredScoringSectionMultiResponseType.totalPenaltyPointsInputField()
|
140
|
-
.clear()
|
140
|
+
.clear();
|
141
|
+
cy.wait(2000)
|
142
|
+
autoScoredScoringSectionMultiResponseType.totalPenaltyPointsInputField()
|
141
143
|
.should('have.value', '');
|
142
144
|
},
|
143
145
|
|
@@ -183,7 +185,7 @@ const steps = {
|
|
183
185
|
.clear()
|
184
186
|
autoScoredScoringSectionMultiResponseType.pointsInputField()
|
185
187
|
.eq(indexNumber)
|
186
|
-
.type(`${points}`, { delay:
|
188
|
+
.type(`${points}`, { delay: 1000 });
|
187
189
|
autoScoredScoringSectionMultiResponseType.pointsInputField()
|
188
190
|
.eq(indexNumber)
|
189
191
|
.blur()
|
@@ -1527,8 +1527,12 @@ const steps = {
|
|
1527
1527
|
.clear()
|
1528
1528
|
.type(cellHeight)
|
1529
1529
|
.should('have.value', cellHeight);
|
1530
|
+
gridQuestionCommonComponent.cellMinimumHeightInputField()
|
1531
|
+
.click();
|
1532
|
+
cy.wait(2000);
|
1530
1533
|
gridQuestionCommonComponent.cellMinimumHeightInputField()
|
1531
1534
|
.blur();
|
1535
|
+
cy.wait(2000);
|
1532
1536
|
},
|
1533
1537
|
|
1534
1538
|
/**
|
@@ -1709,9 +1713,14 @@ const steps = {
|
|
1709
1713
|
.eq(index)
|
1710
1714
|
.clear()
|
1711
1715
|
.type(width);
|
1716
|
+
gridQuestionCommonComponent.columnWidthInputField()
|
1717
|
+
.eq(index)
|
1718
|
+
.click();
|
1719
|
+
cy.wait(2000);
|
1712
1720
|
gridQuestionCommonComponent.columnWidthInputField()
|
1713
1721
|
.eq(index)
|
1714
1722
|
.blur();
|
1723
|
+
cy.wait(2000);
|
1715
1724
|
},
|
1716
1725
|
|
1717
1726
|
verifyTableColumnWidthPreviewTab: (index, width) => {
|
@@ -42,7 +42,7 @@ const steps = {
|
|
42
42
|
.clear();
|
43
43
|
scoringSectionBaseEditTab.pointsInputField()
|
44
44
|
.type(`${points}`);
|
45
|
-
cy.wait(
|
45
|
+
cy.wait(2000);
|
46
46
|
scoringSectionBaseEditTab.pointsInputField()
|
47
47
|
.should('have.value', points);
|
48
48
|
scoringSectionBaseEditTab.pointsInputField()
|
@@ -87,7 +87,7 @@ const steps = {
|
|
87
87
|
.clear()
|
88
88
|
scoringSectionBaseEditTab.minimumPointsInputField()
|
89
89
|
.type(`${points}`)
|
90
|
-
cy.wait(
|
90
|
+
cy.wait(2000)
|
91
91
|
scoringSectionBaseEditTab.minimumPointsInputField()
|
92
92
|
.should('have.value', points);
|
93
93
|
scoringSectionBaseEditTab.minimumPointsInputField()
|
@@ -123,7 +123,8 @@ const steps = {
|
|
123
123
|
clearMinimumPointsField: () => {
|
124
124
|
scoringSectionBaseEditTab.minimumPointsInputField()
|
125
125
|
.clear()
|
126
|
-
|
126
|
+
cy.wait(1000);
|
127
|
+
scoringSectionBaseEditTab.minimumPointsInputField().should('have.value', '')
|
127
128
|
.blur();
|
128
129
|
},
|
129
130
|
|
@@ -370,6 +371,7 @@ const tests = {
|
|
370
371
|
scoringSectionBaseEditTab.steps.clearMinimumPointsField();
|
371
372
|
scoringSectionBaseEditTab.minimumPointsInputField()
|
372
373
|
.click();
|
374
|
+
cy.wait(1000)
|
373
375
|
scoringSectionBaseEditTab.minimumPointsInputField()
|
374
376
|
.blur();
|
375
377
|
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
|
@@ -38,7 +38,14 @@ const steps = {
|
|
38
38
|
.eq(index)
|
39
39
|
.clear()
|
40
40
|
.type(points)
|
41
|
+
cy.wait(1000)
|
42
|
+
scoringSectionBase.pointsInputField()
|
43
|
+
.eq(index)
|
44
|
+
.click()
|
41
45
|
.blur();
|
46
|
+
scoringSectionBase.pointsInputField()
|
47
|
+
.eq(index)
|
48
|
+
.should('have.value', points)
|
42
49
|
});
|
43
50
|
},
|
44
51
|
|
@@ -849,7 +849,11 @@ const steps = {
|
|
849
849
|
addInputToCellShadeCountInputField: (cellCount) => {
|
850
850
|
gridFillPage.cellShadeCountInputField()
|
851
851
|
.clear()
|
852
|
+
cy.wait(1000)
|
853
|
+
gridFillPage.cellShadeCountInputField()
|
852
854
|
.type(cellCount)
|
855
|
+
cy.wait(1000)
|
856
|
+
gridFillPage.cellShadeCountInputField()
|
853
857
|
.blur();
|
854
858
|
},
|
855
859
|
|
@@ -1049,6 +1053,9 @@ const steps = {
|
|
1049
1053
|
gridFillPage.cellHeightInputField()
|
1050
1054
|
.clear()
|
1051
1055
|
.type(height)
|
1056
|
+
cy.wait(1000)
|
1057
|
+
gridFillPage.cellHeightInputField()
|
1058
|
+
.click()
|
1052
1059
|
.blur();
|
1053
1060
|
},
|
1054
1061
|
|
@@ -1060,6 +1067,9 @@ const steps = {
|
|
1060
1067
|
gridFillPage.cellWidthInputField()
|
1061
1068
|
.clear()
|
1062
1069
|
.type(width)
|
1070
|
+
cy.wait(1000)
|
1071
|
+
gridFillPage.cellWidthInputField()
|
1072
|
+
.click()
|
1063
1073
|
.blur();
|
1064
1074
|
},
|
1065
1075
|
|
@@ -2327,6 +2337,9 @@ const steps = {
|
|
2327
2337
|
gridFillPage.maxSelectedCellInputField()
|
2328
2338
|
.clear()
|
2329
2339
|
.type(value)
|
2340
|
+
cy.wait(1000)
|
2341
|
+
gridFillPage.maxSelectedCellInputField()
|
2342
|
+
.click()
|
2330
2343
|
.blur();
|
2331
2344
|
},
|
2332
2345
|
|
@@ -912,10 +912,10 @@ const tests = {
|
|
912
912
|
it('User should be able to expand and collapse the accordions', () => {
|
913
913
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
914
914
|
textEntryMathPage.steps.verifyResponseAccordionIsExpanded(0);
|
915
|
-
textEntryMathPage.steps.
|
915
|
+
textEntryMathPage.steps.verifyResponseAccordionIsExpanded(1);
|
916
916
|
textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(0);
|
917
917
|
textEntryMathPage.steps.verifyResponseAccordionIsCollapsed(0);
|
918
|
-
textEntryMathPage.steps.
|
918
|
+
textEntryMathPage.steps.verifyResponseAccordionIsExpanded(1);
|
919
919
|
});
|
920
920
|
},
|
921
921
|
|