itemengine-cypress-automation 1.0.384-task-IEI-4672-9e835ce.0 → 1.0.385-IEI-6161-IEI-6162-manualAndNonScoredScript-72a6ac7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +356 -0
  2. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +287 -0
  3. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +247 -0
  4. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +211 -0
  5. package/cypress/e2e/ILC/Graphing/specifyCorrectAnswerSection.js +0 -28
  6. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +0 -2
  7. package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
  8. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -1
  9. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +6 -6
  10. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +0 -213
  11. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +0 -249
  12. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +0 -266
  13. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +0 -268
  14. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +5 -5
  15. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -3
  16. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +1 -1
  17. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -2
  18. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +2 -2
  19. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -263
  20. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +0 -217
  21. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  22. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +3 -3
  23. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +0 -263
  24. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +1 -0
  25. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
  26. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +0 -1
  27. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +248 -0
  28. package/cypress/pages/components/chartsCommonComponent.js +15 -0
  29. package/cypress/pages/components/equationEditorSectionCommonComponent.js +4 -4
  30. package/cypress/pages/graphingPage.js +1 -2
  31. package/cypress/pages/listOrderingPage.js +1 -6
  32. package/cypress/pages/textEntryMathPage.js +7 -3
  33. package/package.json +1 -1
@@ -255,7 +255,7 @@ const steps = {
255
255
  break;
256
256
  case 'none':
257
257
  dragIcon
258
- .should('not.exist');
258
+ .should('not.be.visible');
259
259
  break;
260
260
  default:
261
261
  throw new Error('Invalid drag handle option');
@@ -755,7 +755,6 @@ const steps = {
755
755
  ///Dropdown menu steps
756
756
  expandDropdownMenuOptionsDropdown: () => {
757
757
  listOrderingPage.dropdownMenuOptionsDropdown()
758
- .trigger('mouseover')
759
758
  .click();
760
759
  },
761
760
 
@@ -774,7 +773,6 @@ const steps = {
774
773
  */
775
774
  expandPositionDropdownSpecifyCorrectAnswerSection: (dropdownIndex) => {
776
775
  utilities.getNthElement(listOrderingPage.positionDropdownSpecifyCorrectAnswerSection(), dropdownIndex)
777
- .trigger('mouseover')
778
776
  .click();
779
777
  },
780
778
 
@@ -786,7 +784,6 @@ const steps = {
786
784
  selectOptionPositionSpecifyCorrectAnswerSection: (optionIndex, position) => {
787
785
  steps.expandPositionDropdownSpecifyCorrectAnswerSection(optionIndex);
788
786
  listOrderingPage.positionDropdownListOption(position)
789
- .trigger('mouseover')
790
787
  .click();
791
788
  },
792
789
 
@@ -808,7 +805,6 @@ const steps = {
808
805
  */
809
806
  expandPositionDropdownPreviewTab: (dropdownIndex) => {
810
807
  utilities.getNthElement(listOrderingPage.positionDropdownPreviewTab(), dropdownIndex)
811
- .trigger('mouseover')
812
808
  .click();
813
809
  },
814
810
 
@@ -830,7 +826,6 @@ const steps = {
830
826
  selectOptionPositionPreviewTab: (optionIndex, position) => {
831
827
  steps.expandPositionDropdownPreviewTab(optionIndex);
832
828
  listOrderingPage.positionDropdownListOption(position)
833
- .trigger('mouseover')
834
829
  .click();
835
830
  },
836
831
 
@@ -1447,21 +1447,25 @@ const tests = {
1447
1447
  });
1448
1448
  }
1449
1449
 
1450
- it('When user focuses in and out of the response accordion \'Answer\' input field, error message should not be displayed', () => {
1450
+ it('When user focuses in and out of the response accordion \'Answer\' input field, \'Error: Answer is required.\' error message should be displayed', () => {
1451
1451
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
1452
1452
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
1453
1453
  equationEditorFlyout.steps.focusInPreviewInputField();
1454
1454
  equationEditorFlyout.steps.clickOnOkButton();
1455
1455
  textEntryMathPage.steps.focusOutOfResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
1456
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
1456
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible');
1457
+ utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Answer is required.');
1457
1458
  });
1458
1459
 
1459
- it('When gives an input to \'Answer\' input field,then error message should not be displayed', () => {
1460
+ it('When gives an input to \'Answer\' input field,then error message should disappear', () => {
1460
1461
  textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '(a+b)(a−b)');
1461
1462
  commonComponents.steps.verifyErrorMessageIsNotDisplayed();
1462
1463
  });
1463
1464
 
1464
1465
  it('User should be able to expand multiple response accordions simultaneously', () => {
1466
+ if (accordionName === 'Alternate') {
1467
+ textEntryMathPage.steps.deleteAlternativeAnswerAccordion(0);
1468
+ }
1465
1469
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
1466
1470
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
1467
1471
  textEntryMathPage.steps.verifyResponseAccordionIsExpanded(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.384-task-IEI-4672-9e835ce.0",
3
+ "version": "1.0.385-IEI-6161-IEI-6162-manualAndNonScoredScript-72a6ac7.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {