itemengine-cypress-automation 1.0.336 → 1.0.338-12thMarchRegressionFixes-1cd5906.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 (114) hide show
  1. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/editQuestion.smoke.js +94 -0
  2. package/cypress/e2e/ILC/ChartsBar/editQuestion.smoke.js +93 -0
  3. package/cypress/e2e/ILC/ChartsDotsPlot/editQuestion.smoke.js +92 -0
  4. package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +84 -0
  5. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +2 -2
  6. package/cypress/e2e/ILC/CkEditorEquationEditor/selectModeEditorBasic.js +1 -1
  7. package/cypress/e2e/ILC/CkEditorInsertImage/insertImageBasicFile.js +1 -1
  8. package/cypress/e2e/ILC/CkEditorInsertImage/upload.js +1 -1
  9. package/cypress/e2e/ILC/CkEditorInsertTable/insertTableEditorBasicFile.js +1 -1
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editQuestion.smoke.js +1 -1
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +12 -9
  12. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +2 -1
  13. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +63 -1
  14. package/cypress/e2e/ILC/EssayResponse/editQuestion.smoke.js +1 -1
  15. package/cypress/e2e/ILC/EssayResponseBasic/editQuestion.smoke.js +1 -1
  16. package/cypress/e2e/ILC/EssayResponseMath/editQuestion.smoke.js +1 -1
  17. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/checkScoringLableBannerAndCorrectAnswer.js +84 -0
  18. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/checkAddAlternativeButton.js +33 -0
  19. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/clickAndDrop.js +2 -4
  20. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptions.js +2 -8
  21. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editQuestion.smoke.js +1 -1
  22. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editTabBasicSection.js +32 -2
  23. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +39 -6
  24. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViewInIncompleteAuthoring.smoke.js +119 -0
  25. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +91 -0
  26. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/checkAddAlternativeButton.js +37 -0
  27. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
  28. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editQuestion.smoke.js +3 -3
  29. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +36 -2
  30. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +36 -6
  31. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViewsInIncompleteAuthoring.smoke.js +103 -0
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editQuestion.smoke.js +1 -1
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +96 -0
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/checkAddAlternativeButton.js +38 -0
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +1 -1
  36. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editQuestion.smoke.js +2 -2
  37. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +39 -0
  38. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +39 -8
  39. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +1 -1
  40. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViewsInIncompleteuthoring.smoke.js +106 -0
  41. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/supportedFileTypes.js +2 -3
  42. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +38 -5
  43. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +88 -0
  44. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +1 -1
  45. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/checkAddAlternative.js +35 -0
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editQuestion.smoke.js +33 -1
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViewsInIncompleteAuthoring.js +97 -0
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +3 -4
  49. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +79 -0
  50. package/cypress/e2e/ILC/FillInTheGapsTextNew/checkAddAlternativeButton.js +32 -0
  51. package/cypress/e2e/ILC/FillInTheGapsTextNew/editQuestion.smoke.js +1 -1
  52. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +30 -2
  53. package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +35 -4
  54. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViewsInIncompleteAuthoring.smoke.js +99 -0
  55. package/cypress/e2e/ILC/GridFill/editQuestion.smoke.js +1 -1
  56. package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +109 -0
  57. package/cypress/e2e/ILC/ImageHighlight/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternatePoints.js +45 -0
  58. package/cypress/e2e/ILC/ImageHighlight/Scoring/checkScoringLableBannerAndCorrectAnswer.js +96 -0
  59. package/cypress/e2e/ILC/ImageHighlight/checkAddAlternativeButton.js +39 -0
  60. package/cypress/e2e/ILC/ImageHighlight/editQuestion.smoke.js +76 -0
  61. package/cypress/e2e/ILC/ImageHighlight/editTabBasicSection.js +46 -0
  62. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +35 -5
  63. package/cypress/e2e/ILC/ImageHighlight/previewContentForAllViewInIncompleteAuthoring.js +118 -0
  64. package/cypress/e2e/ILC/ListOrderingNew/editQuestion.smoke.js +3 -0
  65. package/cypress/e2e/ILC/Matching/editQuestion.smoke.js +1 -1
  66. package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationLayoutProperties.js +3 -3
  67. package/cypress/e2e/ILC/NumberLine/editQuestion.smoke.js +79 -0
  68. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  69. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/editQuestion.smoke.js +72 -0
  70. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +1 -0
  71. package/cypress/e2e/ILC/NumberLineLabel/editQuestion.smoke.js +80 -0
  72. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +81 -0
  73. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  74. package/cypress/e2e/ILC/ShortTextResponseNew/editQuestion.smoke.js +56 -0
  75. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +5 -6
  76. package/cypress/e2e/ILC/SingleSelection/editQuestion.smoke.js +1 -1
  77. package/cypress/e2e/ILC/SingleSelection/editTabBasicSection.js +1 -1
  78. package/cypress/e2e/ILC/SingleSelectionGridNew/editQuestion.smoke.js +1 -1
  79. package/cypress/e2e/ILC/TextEntryMath/editQuestion.smoke.js +76 -0
  80. package/cypress/e2e/ILC/TextEntryMathWithImage/editQuestion.smoke.js +92 -0
  81. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +1 -1
  82. package/cypress/e2e/ILC/TextSelection/editQuestion.smoke.js +0 -3
  83. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
  84. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
  85. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  86. package/cypress/e2e/ILC/chartsDotsPlot/numberLineAxisSettings.js +1 -0
  87. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +1 -1
  88. package/cypress/fixtures/uploadResponseFileType.js +1 -1
  89. package/cypress/pages/chartsBarPage.js +3 -0
  90. package/cypress/pages/chartsDotPlotPage.js +2 -0
  91. package/cypress/pages/chartsLinePage.js +38 -2
  92. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  93. package/cypress/pages/components/browseItemsPage.js +4 -4
  94. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +22 -1
  95. package/cypress/pages/components/layoutSectionComponent.js +1 -1
  96. package/cypress/pages/components/optionsWrapperComponent.js +1 -0
  97. package/cypress/pages/components/scoringSectionBaseEditTab.js +2 -1
  98. package/cypress/pages/createItemPage.js +7 -0
  99. package/cypress/pages/drawingResponsePage.js +73 -2
  100. package/cypress/pages/feedbackScalePage.js +2 -0
  101. package/cypress/pages/fillInTheGapsDropdownPage.js +21 -0
  102. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -2
  103. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +22 -0
  104. package/cypress/pages/fillInTheGapsOverImageTextPage.js +22 -0
  105. package/cypress/pages/fillInTheGapsTextPage.js +24 -2
  106. package/cypress/pages/imageHighlightPage.js +37 -2
  107. package/cypress/pages/listOrderingPage.js +4 -2
  108. package/cypress/pages/menuBarPage.js +65 -65
  109. package/cypress/pages/numberLineLabelPage.js +4 -1
  110. package/cypress/pages/numberLinePage.js +2 -0
  111. package/cypress/pages/shortTextResponsePage.js +2 -0
  112. package/cypress/pages/textEntryMathPage.js +7 -3
  113. package/cypress/pages/textEntryMathWithImagePage.js +3 -0
  114. package/package.json +2 -2
@@ -1,6 +1,7 @@
1
1
  import { createQuestionBasePage, autoScoredStudentViewSettings, autoScoredScoringPreviewTab, scoringSectionBaseEditTab, questionInstructionsComponent, autoScoredScoringSectionMultiResponseType, autoScoredSpecifyCorrectAnswerSection, commonComponents, additionalSettingsPanel, acceptedStudentInputComponent, studentViewSettingsLabelComponent, customizeSpecialCharacterComponent, studentResponseAndLayoutComponent } from "./components/";
2
2
  import { dialogBoxBase } from "./dialogBoxBase";
3
3
  import utilities from "../support/helpers/utilities";
4
+ import { createItemPage } from "./createItemPage";
4
5
  const css = Cypress.env('css');
5
6
 
6
7
  const selectors = {
@@ -104,6 +105,7 @@ const steps = {
104
105
  ...commonComponents.steps,
105
106
  ...additionalSettingsPanel.steps,
106
107
  ...autoScoredSpecifyCorrectAnswerSection.steps,
108
+ ...createItemPage.steps,
107
109
 
108
110
  verifyCorrectIcon: () => {
109
111
  utilities.verifyElementVisibilityState(autoScoredScoringPreviewTab.correctIcon(), 'visible');
@@ -3,7 +3,7 @@ import utilities from "../support/helpers/utilities"
3
3
  import { questionInstructionsComponent, questionInputFieldComponent, createQuestionBasePage, commonComponents, additionalSettingsPanel, autoScoredSpecifyCorrectAnswerSection, scoringSectionBaseEditTab, autoScoredScoringSectionMultiResponseType, autoScoredScoringPreviewTab, equationEditorFlyout, autoScoredStudentViewSettings, correctIncorrectAnswerLabelComponent, ckEditorToolbar, colorPopupComponent, gradingViewEnumerationComponent, ariaLabelSectionComponent, additionalSettingsAccessibilitySectionComponent, equationEditorSectionCommonComponent, styleAndLayoutCustomizationAccordionComponent, imageCanvasComponent } from "./components"
4
4
  import { customSettingsSeparatorComponent } from "./components/customSettingsSeparatorsComponent";
5
5
  import { dialogBoxBase } from "./dialogBoxBase";
6
-
6
+ import { createItemPage } from "./createItemPage";
7
7
 
8
8
  const css = Cypress.env('css');
9
9
  const borderStyles = ["Dashed", "Dotted", "Solid", "None"]
@@ -197,6 +197,8 @@ const steps = {
197
197
  ...equationEditorSectionCommonComponent.steps,
198
198
  ...styleAndLayoutCustomizationAccordionComponent.steps,
199
199
  ...imageCanvasComponent.steps,
200
+ ...createItemPage.steps,
201
+
200
202
  verifyAddStructureTabIsSelected: () => {
201
203
  textEntryMathPage.addStructureTab()
202
204
  .should('have.attr', 'aria-selected', 'true');
@@ -856,6 +858,7 @@ const steps = {
856
858
  textEntryMathPage.responseFieldWrapperPreviewTab()
857
859
  .eq(index)
858
860
  .within(() => {
861
+ cy.wait(1000);
859
862
  textEntryMathPage.tickIcon()
860
863
  .verifyPseudoClassBeforeProperty('color', css.color.correctAnswer);
861
864
  });
@@ -869,6 +872,7 @@ const steps = {
869
872
  textEntryMathPage.responseFieldWrapperPreviewTab()
870
873
  .eq(index)
871
874
  .within(() => {
875
+ cy.wait(1000);
872
876
  textEntryMathPage.tickIcon()
873
877
  .verifyPseudoClassBeforeProperty('color', css.color.incorrectAnswer);
874
878
  });
@@ -1861,7 +1865,7 @@ const tests = {
1861
1865
  if (type === 'add background') {
1862
1866
  textEntryMathPage.steps.insertResponseArea(60);
1863
1867
  textEntryMathPage.steps.verifyResponseAreaFillColorAddBackGround(0, modifiedColor);
1864
- textEntryMathPage.steps.verifyResponseAreaFillColorAddBackGround(1, modifiedColor);;
1868
+ textEntryMathPage.steps.verifyResponseAreaFillColorAddBackGround(1, modifiedColor);
1865
1869
  }
1866
1870
  else {
1867
1871
  textEntryMathPage.steps.addResponseArea();
@@ -1921,7 +1925,7 @@ const tests = {
1921
1925
  textEntryMathPage.steps.insertResponseArea(60);
1922
1926
  textEntryMathPage.steps.switchToPreviewTab();
1923
1927
  textEntryMathPage.steps.verifyAnswerInputFieldFillColorAddBackground(0, modifiedColor);
1924
- textEntryMathPage.steps.verifyAnswerInputFieldFillColorAddBackground(1, modifiedColor);;
1928
+ textEntryMathPage.steps.verifyAnswerInputFieldFillColorAddBackground(1, modifiedColor);
1925
1929
  }
1926
1930
  else {
1927
1931
  textEntryMathPage.steps.addResponseArea();
@@ -1,6 +1,7 @@
1
1
  import { imageCanvasComponent, backgroundImageUploadComponent, questionInstructionsComponent, autoScoredScoringPreviewTab, connectorStyleStyleAndLayoutCustomizationComponent } from "./components"
2
2
  import { textEntryMathPage } from "./textEntryMathPage";
3
3
  import { dialogBoxBase } from "./dialogBoxBase";
4
+ import { createItemPage } from "./createItemPage";
4
5
  import utilities from "../support/helpers/utilities";
5
6
  const css = Cypress.env('css');
6
7
 
@@ -36,7 +37,9 @@ const steps = {
36
37
  ...imageCanvasComponent.steps,
37
38
  ...questionInstructionsComponent.steps,
38
39
  ...textEntryMathPage.steps,
40
+ ...createItemPage.steps,
39
41
  ...connectorStyleStyleAndLayoutCustomizationComponent.steps,
42
+
40
43
  addBackground: () => {
41
44
  textEntryMathWithImagePage.addBackgroundButton()
42
45
  .click();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.336",
3
+ "version": "1.0.338-12thMarchRegressionFixes-1cd5906.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -52,4 +52,4 @@
52
52
  "devDependencies": {
53
53
  "@applitools/eyes-cypress": "^3.47.0"
54
54
  }
55
- }
55
+ }