itemengine-cypress-automation 1.0.220 → 1.0.221

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  2. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +3 -3
  3. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
  4. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
  5. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  6. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +22 -22
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +13 -13
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +13 -13
  9. package/cypress/e2e/ILC/ChartsBar/gridSettings.js +10 -5
  10. package/cypress/e2e/ILC/ChartsBar/labelOptionsSection.js +10 -6
  11. package/cypress/e2e/ILC/ChartsBar/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  12. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -1
  13. package/cypress/e2e/ILC/ChartsLine/editTabScoringSection.js +5 -5
  14. package/cypress/e2e/ILC/ChartsLine/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  15. package/cypress/e2e/ILC/ChartsLine/specifyCorrectAnswerSection.js +1 -1
  16. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +1 -2
  17. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +0 -2
  18. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +1 -2
  19. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +0 -2
  20. package/cypress/e2e/ILC/GridFill/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -4
  21. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  22. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  23. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +3 -1
  24. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +2 -0
  25. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +2 -0
  26. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +3 -1
  27. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  28. package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +3 -1
  29. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsBasic.js +3 -3
  30. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +3 -3
  31. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
  32. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  33. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +1 -1
  34. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +3 -3
  35. package/cypress/e2e/ILC/MultipleSelectionGridNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -2
  36. package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +0 -2
  37. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +1 -2
  38. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -1
  39. package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +0 -2
  40. package/cypress/e2e/ILC/TextEntryMath/editTabScoringSection.js +3 -3
  41. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +2 -1
  42. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +17 -17
  43. package/cypress/e2e/ILC/TextEntryMath/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  44. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +4 -7
  45. package/cypress/e2e/ILC/TextEntryMath/specifyCorrectAnswerSection.js +25 -7
  46. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +1 -1
  47. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  48. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +1 -1
  49. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +1 -1
  50. package/cypress/e2e/ILC/TextSelection/Scoring/manuallyAndNonScored.js +1 -1
  51. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  52. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  53. package/cypress/pages/chartsBarPage.js +6 -6
  54. package/cypress/pages/chartsLinePage.js +3 -2
  55. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +4 -2
  56. package/cypress/pages/components/createQuestionBasePage.js +1 -1
  57. package/cypress/pages/components/gridQuestionCommonComponent.js +9 -0
  58. package/cypress/pages/components/opacityComponent.js +1 -0
  59. package/cypress/pages/components/scoringSectionBaseEditTab.js +5 -3
  60. package/cypress/pages/components/setPointsPopupBase.js +7 -0
  61. package/cypress/pages/gridFillPage.js +13 -0
  62. package/cypress/pages/textEntryMathPage.js +2 -2
  63. package/package.json +1 -1
@@ -1076,7 +1076,7 @@ const steps = {
1076
1076
  verifyBarLabelCenteredSelectChartType: () => {
1077
1077
  chartsBarPage.selectChartTypeBarLabel()
1078
1078
  .eq(0)
1079
- .should('not.have.css', 'margin-left')
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('not.have.css', 'margin-left')
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('not.have.css', 'margin-left')
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', value);
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', value);
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', value);
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, 'Bar 1');
584
- steps.verifyPointLabelSpecifyCorrectAnswer(1, 'Bar 3');
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: 500 });
188
+ .type(`${points}`, { delay: 1000 });
187
189
  autoScoredScoringSectionMultiResponseType.pointsInputField()
188
190
  .eq(indexNumber)
189
191
  .blur()
@@ -39,7 +39,7 @@ const steps = {
39
39
  },
40
40
 
41
41
  switchToPreviewTab: () => {
42
- cy.wait(1000);
42
+ cy.wait(2000);
43
43
  createQuestionBasePage.previewTab()
44
44
  .click()
45
45
  .should('have.attr', 'aria-selected', 'true');
@@ -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) => {
@@ -49,6 +49,7 @@ const steps = {
49
49
  .clear();
50
50
  opacityComponent.opacityInputField()
51
51
  .type(value);
52
+ cy.wait(1000);
52
53
  opacityComponent.opacityInputField()
53
54
  .click()
54
55
  .blur();
@@ -42,7 +42,7 @@ const steps = {
42
42
  .clear();
43
43
  scoringSectionBaseEditTab.pointsInputField()
44
44
  .type(`${points}`);
45
- cy.wait(1000);
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(1000)
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
- .should('have.value', '')
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.verifyResponseAccordionIsCollapsed(1);
915
+ textEntryMathPage.steps.verifyResponseAccordionIsExpanded(1);
916
916
  textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(0);
917
917
  textEntryMathPage.steps.verifyResponseAccordionIsCollapsed(0);
918
- textEntryMathPage.steps.verifyResponseAccordionIsCollapsed(1);
918
+ textEntryMathPage.steps.verifyResponseAccordionIsExpanded(1);
919
919
  });
920
920
  },
921
921
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.220",
3
+ "version": "1.0.221",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {