itemengine-cypress-automation 1.0.327-IEI-5098-RCA-for-FIG-text-and-short-text-7bbafe1.0 → 1.0.328-UpdateRepo28thFeb-dedf086.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 (77) hide show
  1. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +5 -4
  2. package/cypress/e2e/ILC/CkEditorInsertTable/updateTable.js +1 -0
  3. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +100 -0
  4. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +1 -0
  5. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +12 -0
  6. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +1 -0
  7. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editQuestion.smoke.js +24 -0
  8. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettingsForGroupedLayout.js +5 -4
  9. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +4 -3
  10. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomizationDraggableOptionsPanel.js +1 -1
  11. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +1 -1
  12. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +2 -1
  13. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +1 -1
  14. package/cypress/e2e/ILC/Matching/draggableOptions.js +29 -0
  15. package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationDropzoneConnectorStyle.js +52 -47
  16. package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationOptionAlignment.js +6 -4
  17. package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationOptionPlacement.js +60 -54
  18. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +1 -1
  19. package/cypress/e2e/ILC/MultipleSelection/checkAddAlternativeButton.js +34 -0
  20. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +79 -0
  21. package/cypress/e2e/ILC/MultipleSelection/editQuestion.smoke.js +1 -1
  22. package/cypress/e2e/ILC/MultipleSelection/editTabBasicSection.js +31 -0
  23. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +36 -7
  24. package/cypress/e2e/ILC/MultipleSelection/previewContentsForInCompleteAuthoring.js +98 -0
  25. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +5 -19
  26. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +80 -0
  27. package/cypress/e2e/ILC/MultipleSelectionGridNew/checkAddAlternativeButton.js +38 -0
  28. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +35 -1
  29. package/cypress/e2e/ILC/MultipleSelectionGridNew/headerSection.js +36 -10
  30. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentForAllViewsInIncompleteAuthoring.smoke.js +71 -0
  31. package/cypress/e2e/ILC/SingleSelection/checkAddAlternativeButton.js +34 -0
  32. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +79 -0
  33. package/cypress/e2e/ILC/SingleSelection/editQuestion.smoke.js +72 -0
  34. package/cypress/e2e/ILC/SingleSelection/editTabBasicSection.js +31 -0
  35. package/cypress/e2e/ILC/SingleSelection/headerSection.js +36 -11
  36. package/cypress/e2e/ILC/SingleSelection/previewContentsForInCompleteAuthoring.js +92 -0
  37. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +4 -18
  38. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +79 -0
  39. package/cypress/e2e/ILC/SingleSelectionGridNew/checkAddAlternativeButton.js +35 -0
  40. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +34 -0
  41. package/cypress/e2e/ILC/SingleSelectionGridNew/headerSection.js +37 -10
  42. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViewsInIncompleteAuthoring.smoke.js +69 -0
  43. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
  44. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +1 -1
  45. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +33 -0
  46. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +7 -7
  47. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  48. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +2 -3
  49. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  50. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +6 -6
  51. package/cypress/pages/components/autoScoredScoringPreviewTab.js +0 -1
  52. package/cypress/pages/components/barAndLineChartComponent.js +1 -1
  53. package/cypress/pages/components/ckEditorInsertTableComponent.js +1 -1
  54. package/cypress/pages/components/ckEditorToolbar.js +1 -1
  55. package/cypress/pages/components/equationEditorSectionCommonComponent.js +2 -2
  56. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +11 -0
  57. package/cypress/pages/components/gridQuestionCommonComponent.js +3 -4
  58. package/cypress/pages/components/imageCanvasComponent.js +2 -0
  59. package/cypress/pages/components/layoutSectionComponent.js +1 -1
  60. package/cypress/pages/components/maximumCapacityPerDropzoneComponent.js +1 -1
  61. package/cypress/pages/components/numberLineCommonComponent.js +3 -3
  62. package/cypress/pages/createItemPage.js +0 -7
  63. package/cypress/pages/dragAndDropIntoCategoriesPage.js +32 -0
  64. package/cypress/pages/drawingResponsePage.js +13 -3
  65. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +6 -5
  66. package/cypress/pages/fillInTheGapsOverImageTextPage.js +14 -4
  67. package/cypress/pages/graphingPage.js +12 -12
  68. package/cypress/pages/matchingPage.js +3 -3
  69. package/cypress/pages/multipleSelectionGridPage.js +4 -5
  70. package/cypress/pages/multipleSelectionPage.js +4 -6
  71. package/cypress/pages/shortTextResponsePage.js +1 -2
  72. package/cypress/pages/singleSelectionPage.js +2 -3
  73. package/cypress/pages/textEntryMathPage.js +13 -2
  74. package/cypress/pages/textEntryMathWithImagePage.js +2 -2
  75. package/cypress/pages/uploadResponsePage.js +1 -0
  76. package/package.json +1 -1
  77. package/cypress/e2e/ILC/ThinkSphere/dummyTest.js +0 -17
@@ -621,7 +621,7 @@ const steps = {
621
621
 
622
622
  verifyXAxisMinArrowNotExistGraphEditTab: () => {
623
623
  graphingPage.xAxisGraphEditTab()
624
- .should('not.have.attr', 'marker-start');
624
+ .should('have.attr', 'marker-start', 'null');
625
625
  },
626
626
 
627
627
  verifyXAxisMinArrowExistGraphEditTab: () => {
@@ -636,12 +636,12 @@ const steps = {
636
636
 
637
637
  verifyXAxisMaxArrowNotExistGraphEditTab: () => {
638
638
  graphingPage.xAxisGraphEditTab()
639
- .should('not.have.attr', 'marker-end');
639
+ .should('have.attr', 'marker-end', 'null');
640
640
  },
641
641
 
642
642
  verifyYAxisMinArrowNotExistGraphEditTab: () => {
643
643
  graphingPage.yAxisGraphEditTab()
644
- .should('not.have.attr', 'marker-start');
644
+ .should('have.attr', 'marker-start', 'null');
645
645
  },
646
646
 
647
647
  verifyYAxisMinArrowExistGraphEditTab: () => {
@@ -656,7 +656,7 @@ const steps = {
656
656
 
657
657
  verifyYAxisMaxArrowNotExistGraphEditTab: () => {
658
658
  graphingPage.yAxisGraphEditTab()
659
- .should('not.have.attr', 'marker-end');
659
+ .should('have.attr', 'marker-end', 'null');
660
660
  },
661
661
 
662
662
  /**
@@ -1225,7 +1225,7 @@ const steps = {
1225
1225
 
1226
1226
  verifyXAxisMinArrowNotExistGraphSpecifyCorrectAnswerSection: () => {
1227
1227
  graphingPage.xAxisGraphSpecifyCorrectAnswerSection()
1228
- .should('not.have.attr', 'marker-start');
1228
+ .should('have.attr', 'marker-start', 'null');
1229
1229
  },
1230
1230
 
1231
1231
  verifyXAxisMinArrowExistGraphSpecifyCorrectAnswerSection: () => {
@@ -1240,12 +1240,12 @@ const steps = {
1240
1240
 
1241
1241
  verifyXAxisMaxArrowNotExistGraphSpecifyCorrectAnswerSection: () => {
1242
1242
  graphingPage.xAxisGraphSpecifyCorrectAnswerSection()
1243
- .should('not.have.attr', 'marker-end');
1243
+ .should('have.attr', 'marker-end', 'null');
1244
1244
  },
1245
1245
 
1246
1246
  verifyYAxisMinArrowNotExistGraphSpecifyCorrectAnswerSection: () => {
1247
1247
  graphingPage.yAxisGraphSpecifyCorrectAnswerSection()
1248
- .should('not.have.attr', 'marker-start');
1248
+ .should('have.attr', 'marker-start', 'null');
1249
1249
  },
1250
1250
 
1251
1251
  verifyYAxisMinArrowExistGraphSpecifyCorrectAnswerSection: () => {
@@ -1260,7 +1260,7 @@ const steps = {
1260
1260
 
1261
1261
  verifyYAxisMaxArrowNotExistGraphSpecifyCorrectAnswerSection: () => {
1262
1262
  graphingPage.yAxisGraphSpecifyCorrectAnswerSection()
1263
- .should('not.have.attr', 'marker-end');
1263
+ .should('have.attr', 'marker-end', 'null');
1264
1264
  },
1265
1265
 
1266
1266
  /**
@@ -1491,7 +1491,7 @@ const steps = {
1491
1491
 
1492
1492
  verifyXAxisMinArrowNotExistGraphPreviewTab: () => {
1493
1493
  graphingPage.xAxisGraphPreviewTab()
1494
- .should('not.have.attr', 'marker-start');
1494
+ .should('have.attr', 'marker-start', 'null');
1495
1495
  },
1496
1496
 
1497
1497
  verifyXAxisMinArrowExistGraphPreviewTab: () => {
@@ -1506,12 +1506,12 @@ const steps = {
1506
1506
 
1507
1507
  verifyXAxisMaxArrowNotExistGraphPreviewTab: () => {
1508
1508
  graphingPage.xAxisGraphPreviewTab()
1509
- .should('not.have.attr', 'marker-end');
1509
+ .should('have.attr', 'marker-end', 'null');
1510
1510
  },
1511
1511
 
1512
1512
  verifyYAxisMinArrowNotExistGraphPreviewTab: () => {
1513
1513
  graphingPage.yAxisGraphPreviewTab()
1514
- .should('not.have.attr', 'marker-start');
1514
+ .should('have.attr', 'marker-start', 'null');
1515
1515
  },
1516
1516
 
1517
1517
  verifyYAxisMinArrowExistGraphPreviewTab: () => {
@@ -1526,7 +1526,7 @@ const steps = {
1526
1526
 
1527
1527
  verifyYAxisMaxArrowNotExistGraphPreviewTab: () => {
1528
1528
  graphingPage.yAxisGraphPreviewTab()
1529
- .should('not.have.attr', 'marker-end');
1529
+ .should('have.attr', 'marker-end', 'null');
1530
1530
  },
1531
1531
 
1532
1532
  /**
@@ -120,7 +120,7 @@ const selectors = {
120
120
  optionRowContainerPreviewTab: () => cy.get('.match-list-response-container'),
121
121
  layoutLabel: () => cy.get('[class*="Layoutstyles__SectionWrapper"]'),
122
122
  rowSpacingDropdownLabel: () => cy.get('#Row-spacing-dropdown-label'),
123
- rowSpacingDropdown: () => cy.get('[aria-labelledby*="Row-spacing-dropdown-label"]').eq(0),
123
+ rowSpacingDropdown: () => cy.get('[aria-labelledby*="Row-spacing-select"]').eq(0),
124
124
  rowSpacingDropdownOptions: (ariaLabel = null) => {
125
125
  if (ariaLabel) {
126
126
  return cy.get(`[aria-labelledby*="Row-spacing-dropdown-label"] .dropdown-menu-item[aria-label*="${ariaLabel}"]`)
@@ -129,7 +129,7 @@ const selectors = {
129
129
  }
130
130
  },
131
131
  columnSpacingDropdownLabel: () => cy.get('#Column-spacing-dropdown-label'),
132
- columnSpacingDropdown: () => cy.get('[aria-labelledby*="Column-spacing-dropdown-label"]').eq(0),
132
+ columnSpacingDropdown: () => cy.get('[aria-labelledby*="Column-spacing-select"]').eq(0),
133
133
  columnSpacingDropdownOptions: (ariaLabel = null) => {
134
134
  if (ariaLabel) {
135
135
  return cy.get(`[aria-labelledby*="Column-spacing-dropdown-label"] .dropdown-menu-item[aria-label*="${ariaLabel}"]`)
@@ -1642,7 +1642,7 @@ const steps = {
1642
1642
  */
1643
1643
  selectRowSpacingDropdownOption: (rowSpacingOption) => {
1644
1644
  matchingPage.rowSpacingDropdownOptions(rowSpacingOption)
1645
- .click();
1645
+ .click({force:true});
1646
1646
  },
1647
1647
 
1648
1648
  /**
@@ -222,19 +222,18 @@ const tests = {
222
222
  gridQuestionCommonComponent.steps.setAnswerInSpecifyCorrectAnswerSection({ row: 1, column: 0 });
223
223
  });
224
224
 
225
- it(`When the user has unchecked all the options in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
225
+ it(`When the user has unchecked all the options in the ${accordionName} accordion, 'Error: Please set a correct answer.' error message should not be thrown along with an error icon on the '${accordionName}' accordion`, () => {
226
226
  gridQuestionCommonComponent.steps.uncheckOptionInSpecifyCorrectAnswerSection({ row: 1, column: 0 });
227
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible')
228
- utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
227
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist')
229
228
  if (accordionName == 'Correct') {
230
229
  autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
231
230
  .within(() => {
232
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
231
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
233
232
  });
234
233
  } else {
235
234
  autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
236
235
  .within(() => {
237
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
236
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
238
237
  });
239
238
  };
240
239
  });
@@ -914,7 +914,6 @@ const tests = {
914
914
  ...ckEditorInsertTableComponent.tests,
915
915
  ...ckEditorInsertImageComponent.tests,
916
916
  ...ckEditorLinkComponent.tests,
917
- //Note: need to remove this as change the global function once save as you go is available for all question types
918
917
  verifyPreviewModesAndScoreWhenPointsAndCorrectAnswersIsNotSet: () => {
919
918
  it('When the user has not set correct answer option(s) and alloted points, \'Student view\' radio button should be checked, \'Grading view\' button should not be checked, 0 points should be displayed and no correct or incorrect icons should be displayed in the preview tab', () => {
920
919
  utilities.verifyInnerText(autoScoredScoringPreviewTab.studentViewRadioButtonLabel(), 'Student view');
@@ -963,18 +962,17 @@ const tests = {
963
962
  multipleSelectionPage.steps.uncheckOptionsCheckboxInSpecifyCorrectAnswerSection(1);
964
963
  });
965
964
 
966
- it(`When the user has unchecked all selected options in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
967
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible')
968
- utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
965
+ it(`When the user has unchecked all selected options in the ${accordionName} accordion, 'Error: Please set a correct answer.' error message should not be thrown along with an error icon on the '${accordionName}' accordion`, () => {
966
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist')
969
967
  if (accordionName == 'Correct') {
970
968
  autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
971
969
  .within(() => {
972
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
970
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
973
971
  });
974
972
  } else {
975
973
  autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
976
974
  .within(() => {
977
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
975
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
978
976
  });
979
977
  };
980
978
  });
@@ -926,8 +926,7 @@ const tests = {
926
926
 
927
927
  it('When user focuses in and out of the response accordion \'Answer\' input field, \'Error: Answer is required.\' error message should not be displayed', () => {
928
928
  shortTextResponsePage.steps.clearAndFocusOutOfSpecifyCorrectAnswerInputField();
929
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible');
930
- utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Answer is required.');
929
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
931
930
  });
932
931
 
933
932
  autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredCorrectAnswerErrorMessageCSSAndA11y();
@@ -719,7 +719,6 @@ const tests = {
719
719
  ...autoScoredStudentViewSettings.tests,
720
720
  ...additionalSettingsAccessibilitySectionComponent.tests,
721
721
  ...mcqAdditionalSettingsBase.tests,
722
- //Note: need to remove this as change the global function once save as you go is available for all question types
723
722
  verifyPreviewModesAndScoreWhenPointsAndCorrectAnswersIsNotSet: () => {
724
723
  it('When the user has not set correct answer option(s) and alloted points, \'Student view\' radio button should be checked, \'Grading view\' button should not be checked, 0 points should be displayed and no correct or incorrect icons should be displayed in the preview tab', () => {
725
724
  utilities.verifyInnerText(autoScoredScoringPreviewTab.studentViewRadioButtonLabel(), 'Student view');
@@ -777,8 +776,8 @@ const tests = {
777
776
 
778
777
  it('On deleting correct answer option(s), \'Error: Please set a correct answer.\' validation error message should be thrown along with an error icon on the \'Correct\' tab', () => {
779
778
  singleSelectionPage.steps.deleteOption(1);
780
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'exist');
781
- autoScoredSpecifyCorrectAnswerSection.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
779
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
780
+ autoScoredSpecifyCorrectAnswerSection.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
782
781
  });
783
782
 
784
783
  autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredCorrectAnswerErrorMessageCSSAndA11y();
@@ -35,6 +35,7 @@ const selectors = {
35
35
  responseAccordionLabel: () => cy.get('[class*="ResponseAccordionstyles__Label"]'),
36
36
  responseAccordionAnswerInputField: () => cy.get('[class*="__AnswersWrapper"] .equation-input-component .mq-editable-field'),
37
37
  responseAccordionAnswerInputFieldNew: () => cy.get('[class*="__AnswersWrapper"] .equation-input-component'),
38
+ correctAnswerSection: () => cy.get('.correct-answer-wrapper'),
38
39
  responseAccordionPointsWrapper: () => cy.get('[class*="ResponseAccordionstyles__PointsDiv"]'),
39
40
  responseAccordionPointsLabel: () => cy.get('[class*="ResponseAccordionstyles__PointsLabel"]'),
40
41
  responseAccordionPointsScore: () => cy.get('[class*="ResponseAccordionstyles__Points-"]'),
@@ -1362,6 +1363,16 @@ const steps = {
1362
1363
  .eq(responseIndex)
1363
1364
  .click();
1364
1365
  },
1366
+
1367
+ correctAnswerSectionOverflow: () => {
1368
+ textEntryMathPage.correctAnswerSection()
1369
+ .should('exist')
1370
+ .then(($CorrectAnswerSection) => {
1371
+ const scrollWidth = $CorrectAnswerSection[0].scrollWidth;
1372
+ const clientWidth = $CorrectAnswerSection[0].clientWidth;
1373
+ expect(scrollWidth).to.not.be.greaterThan(clientWidth);
1374
+ });
1375
+ }
1365
1376
  }
1366
1377
 
1367
1378
  const tests = {
@@ -1418,7 +1429,7 @@ const tests = {
1418
1429
  it('User should be able to expand multiple response accordions simultaneously', () => {
1419
1430
  if (accordionName === 'Alternate') {
1420
1431
  textEntryMathPage.steps.deleteAlternativeAnswerAccordion(0);
1421
- }
1432
+ }
1422
1433
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
1423
1434
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
1424
1435
  textEntryMathPage.steps.verifyResponseAccordionIsExpanded(0);
@@ -1942,7 +1953,7 @@ const tests = {
1942
1953
  }
1943
1954
  });
1944
1955
  })
1945
- }
1956
+ },
1946
1957
  }
1947
1958
 
1948
1959
  export const textEntryMathPage = {
@@ -21,8 +21,8 @@ const selectors = {
21
21
  cancelButton: () => cy.get('[data-testid*="reject-button"]'),
22
22
  setHeightAndWidthForAllTextContainersLabel: () => cy.get('.set-textContainer-dimensions-checkbox label'),
23
23
  setHeightAndWidthForAllTextContainersCheckbox: () => cy.get('.set-textContainer-dimensions-checkbox .ngie-checkbox'),
24
- heightLabel: () => cy.get('[aria-labelledby="Height (px)"]'),
25
- widthLabel: () => cy.get('[aria-labelledby="Width (px)"]'),
24
+ heightLabel: () => cy.get('[for="Height (px)"]'),
25
+ widthLabel: () => cy.get('[for="Width (px)"]'),
26
26
  heightInputField: () => cy.get('.MuiInputBase-input[aria-label="Height (px)"]'),
27
27
  widthInputField: () => cy.get('.MuiInputBase-input[aria-label="Width (px)"]'),
28
28
  textContainerEditTab: () => cy.get('.canvas-dropzone'),
@@ -242,6 +242,7 @@ const steps = {
242
242
  * Verifies the pop up details and visiblity when user clicks on thumb nail or on image name
243
243
  */
244
244
  verifyImagePopUpDetail: () => {
245
+ cy.wait(2000);
245
246
  utilities.verifyElementVisibilityState(uploadResponsePage.popUpWrapper(), 'visible');
246
247
  utilities.verifyElementVisibilityState(uploadResponsePage.imageDisplayedInsidePopUp(), 'visible');
247
248
  utilities.verifyElementVisibilityState(uploadResponsePage.downloadIconOfPopUp(), 'visible');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.327-IEI-5098-RCA-for-FIG-text-and-short-text-7bbafe1.0",
3
+ "version": "1.0.328-UpdateRepo28thFeb-dedf086.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,17 +0,0 @@
1
- import { rulerPage } from "../../../pages";
2
- import abortEarlySetup from "../../../support/helpers/abortEarly";
3
-
4
- describe('Dummy test for setting up pipeline Create question page - Ruler resource type', () => {
5
- before(() => {
6
- cy.loginAs('admin');
7
- });
8
-
9
- describe('Header section contents', () => {
10
- abortEarlySetup();
11
- before(() => {
12
- rulerPage.steps.navigateToCreateResource('ruler');
13
- });
14
-
15
- rulerPage.tests.verifyCreateQuestionPageQuestionTypeHeader('Ruler');
16
- });
17
- });