itemengine-cypress-automation 1.0.578-IEI-7105-c0daa6d.0 → 1.0.579-IEI-7105-043279f.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.
@@ -110,7 +110,7 @@ describe('Create Item page - Matching: Draggable options section', () => {
110
110
  });
111
111
  });
112
112
 
113
- describe.only('Standard options layout - Preview tab contents', () => {
113
+ describe('Standard options layout - Preview tab contents', () => {
114
114
  abortEarlySetup();
115
115
  before(() => {
116
116
  matchingPage.steps.navigateToCreateQuestion('matching');
@@ -208,7 +208,7 @@ describe('Create Item page - Matching : Question Instructions and prompt section
208
208
  });
209
209
  });
210
210
 
211
- describe.only('Prompt - Preview tab section', () => {
211
+ describe('Prompt - Preview tab section', () => {
212
212
  abortEarlySetup();
213
213
  before(() => {
214
214
  cy.log('Navigating to Matching question type');
@@ -266,7 +266,7 @@ describe('Create Item page - Matching : Question Instructions and prompt section
266
266
  matchingPage.steps.verifyPromptHeaderTextPreviewTab('Header');
267
267
  });
268
268
 
269
- it.only('When user clears text in prompt header input field then prompt header should be removed in preview tab', () => {
269
+ it('When user clears text in prompt header input field then prompt header should be removed in preview tab', () => {
270
270
  matchingPage.steps.switchToEditTab();
271
271
  matchingPage.steps.clearAndFocusOutOfPromptHeaderInputField();
272
272
  matchingPage.steps.switchToPreviewTab();
@@ -274,7 +274,7 @@ describe('Create Item page - Matching : Question Instructions and prompt section
274
274
  });
275
275
 
276
276
  if (imageExpandEnhancement === 'true') {
277
- it.only('When user add large image in question instruction, user should be able to expand the image in preview tab', () => {
277
+ it('When user add large image in question instruction, user should be able to expand the image in preview tab', () => {
278
278
  matchingPage.steps.switchToEditTab();
279
279
  matchingPage.steps.clearPromptInputField(0);
280
280
  matchingPage.steps.focusInPromptInputField(0);
@@ -21,7 +21,7 @@ describe('Create Item page - Number line label : Question instructions and label
21
21
  numberLineLabelPage.tests.verifyQuestionInstructionsInputFieldEditTab();
22
22
  });
23
23
 
24
- describe.only('Question instructions input field - Preview tab', () => {
24
+ describe('Question instructions input field - Preview tab', () => {
25
25
  abortEarlySetup();
26
26
  before(() => {
27
27
  numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
@@ -454,14 +454,7 @@ const tests = {
454
454
  createQuestionBasePage.steps.switchToPreviewTab();
455
455
  draggableOptionContainer.steps.verifyDraggableOptionsInOptionsContainerPreviewTab(optionsAfterDeleting);
456
456
  });
457
- it.only('When user add large image in option, the option container should have expand icon', () => {
458
- // const imagePath = 'images/largeImage.png';
459
- // cy.log('Pre-step : Switching to \'Edit\' tab')
460
- // createQuestionBasePage.steps.switchToEditTab();
461
- // optionsWrapperComponent.steps.addOption();
462
- // optionsWrapperComponent.steps.uploadImageInOption(2, imagePath);
463
- // createQuestionBasePage.steps.switchToPreviewTab();
464
- // utilities.verifyElementVisibilityState(utilities.getNthElement(draggableOptionContainer.optionContainerItemListPreviewTab().find('svg'), 2), 'visible');
457
+ it('When user add large image in option, the option container should have expand icon', () => {
465
458
  createQuestionBasePage.steps.switchToEditTab();
466
459
  optionsWrapperComponent.steps.addOption();
467
460
  optionsWrapperComponent.steps.focusInOptionsInputField(2)
@@ -470,10 +463,9 @@ const tests = {
470
463
  createQuestionBasePage.steps.switchToPreviewTab();
471
464
  optionsWrapperComponent.steps.verifyExpandIconInImage();
472
465
  optionsWrapperComponent.steps.clickExpandIconInImage();
473
- cy.wait(1000); //Added wait as this is failing due to page updating
474
466
  utilities.verifyInnerText(optionsWrapperComponent.closeImagePopup(), 'Close');
475
- // optionsWrapperComponent.steps.closeImagePopup();
476
- // optionsWrapperComponent.steps.verifyExpandIconInImage();
467
+ optionsWrapperComponent.steps.closeImagePopup();
468
+ optionsWrapperComponent.steps.verifyExpandIconInImage();
477
469
  });
478
470
  },
479
471
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.578-IEI-7105-c0daa6d.0",
3
+ "version": "1.0.579-IEI-7105-043279f.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {