itemengine-cypress-automation 1.0.535-graphing-cypress-fixed-ea9aaf7.0 → 1.0.536-cypress-fixes-rel-13-10-25-4f3da88.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.
@@ -270,7 +270,7 @@ describe('Create question page - Essay Response: Customize formatting options (f
270
270
  it('The undo toolbar option should get disabled after a certain number of undo actions (18 times)', () => {
271
271
  essayResponsePage.steps.resetPreviewTabResponseField();
272
272
  essayResponsePage.steps.enterInputInResponseField('Lorem Ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec tristique ipsum sit amet velit laoreet, eget dapibus mi placerat.');
273
- for (var i = 0; i < 19; i++) {
273
+ for (var i = 0; i < 18; i++) {
274
274
  essayResponsePage.steps.selectPreviewTabToolbarOption('Undo (Ctrl+Z)');
275
275
  };
276
276
  essayResponsePage.steps.verifyPreviewTabToolbarOptionDisabled('Undo (Ctrl+Z)');
@@ -212,7 +212,7 @@ describe('Fill In the gaps with dropdown - Additional settings : Placeholder tex
212
212
  fillInTheGapsDropdownPage.steps.selectEnumerationType('without enumeration');
213
213
  fillInTheGapsDropdownPage.steps.switchToPreviewTab();
214
214
  fillInTheGapsDropdownPage.steps.switchToGradingView();
215
- utilities.verifyInnerText(fillInTheGapsDropdownPage.correctAnswerSectionWithoutEnumerationWrapper(), 'Lorem ipsum dolor sit amet, \nFlower\n​\n onsectetur adipiscing elit. Ut pellentesque tinciduntornare. Integer porttitor est quis urna porttitor, eget tempus tellus dapibus \nLeaf\n​');
215
+ utilities.verifyInnerText(fillInTheGapsDropdownPage.correctAnswerSectionWithoutEnumerationWrapper(), 'Lorem ipsum dolor sit amet, \nCorrect\nFlower\n​\n onsectetur adipiscing elit. Ut pellentesque tinciduntornare. Integer porttitor est quis urna porttitor, eget tempus tellus dapibus \nCorrect\nLeaf\n​');
216
216
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesWithoutEnumeration(['Flower', 'Leaf']);
217
217
  fillInTheGapsDropdownPage.steps.verifyDropdownNumerationNotExistsPreviewTab();
218
218
  utilities.verifyElementVisibilityState(fillInTheGapsDropdownPage.correctAnswerResponseNumeration(), 'notExist');
@@ -153,8 +153,8 @@ describe('Create Item page - Image highlight : Additional settings', () => {
153
153
 
154
154
  it('When the user sets aria label, then in the highlight region of the specify correct answer section, the aria labels should get updated accordingly', () => {
155
155
  imageHighlightPage.steps.enterTextInAriaLabelInputField(0, 'Select correct option');
156
- imageHighlightPage.steps.verifyHighlightRegionAriaLabelSpecifyCorrectAnswer(0, 'Select correct option');
157
- imageHighlightPage.steps.verifyHighlightRegionAriaLabelSpecifyCorrectAnswer(1, 'Response 2');
156
+ imageHighlightPage.steps.verifyHighlightRegionAriaLabelSpecifyCorrectAnswer(0, 'Select correct option, Response 1 of 2');
157
+ imageHighlightPage.steps.verifyHighlightRegionAriaLabelSpecifyCorrectAnswer(1, 'Response 2 of 2');
158
158
  });
159
159
  });
160
160
 
@@ -174,16 +174,16 @@ describe('Create Item page - Image highlight : Additional settings', () => {
174
174
  });
175
175
 
176
176
  it('When the user has not set \'ARIA label\' input field, then default aria labels should be present for the highlight region in the preview tab', () => {
177
- imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(0, 'Response 1');
178
- imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(1, 'Response 2');
177
+ imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(0, 'Response 1 of 2');
178
+ imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(1, 'Response 2 of 2');
179
179
  });
180
180
 
181
181
  it('When the user has set \'ARIA label\', then it should be present for the highlight region in the preview tab', () => {
182
182
  imageHighlightPage.steps.switchToEditTab();
183
183
  imageHighlightPage.steps.enterTextInAriaLabelInputField(0, 'Correct response 1');
184
184
  imageHighlightPage.steps.switchToPreviewTab();
185
- imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(0, 'Correct response 1');
186
- imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(1, 'Response 2');
185
+ imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(0, 'Correct response 1, Response 1 of 2');
186
+ imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(1, 'Response 2 of 2');
187
187
  });
188
188
 
189
189
  it('Accessibility of input field in preview tab when custom \'ARIA label\' is set', { tags: 'a11y' }, () => {
@@ -194,8 +194,8 @@ describe('Create Item page - Image highlight : Additional settings', () => {
194
194
  imageHighlightPage.steps.switchToEditTab();
195
195
  imageHighlightPage.steps.clearTextInAriaLabelInputField(0);
196
196
  imageHighlightPage.steps.switchToPreviewTab();
197
- imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(0, 'Response 1');
198
- imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(1, 'Response 2');
197
+ imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(0, 'Response 1 of 2');
198
+ imageHighlightPage.steps.verifyHighlightRegionAriaLabelPreviewTab(1, 'Response 2 of 2');
199
199
  });
200
200
  });
201
201
  });
@@ -247,7 +247,7 @@ describe('Create Item page: Tool settings', () => {
247
247
  rulerPage.steps.expandRotationDropdown();
248
248
  rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
249
249
  rulerPage.steps.enterInputToOpacityInputField(60);
250
- rulerPage.steps.checkAddShowHideButtonCheckbox();
250
+ // rulerPage.steps.checkAddShowHideButtonCheckbox();
251
251
  toolSettingsComponent.steps.clickOnOkButtonInDialogBox();
252
252
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
253
253
  toolSettingsComponent.steps.verifyToolSelectedState(0);
@@ -344,7 +344,7 @@ const steps = {
344
344
  * @description Select the toolbar option in preview tab.
345
345
  */
346
346
  selectPreviewTabToolbarOption: (toolbarOption) => {
347
- if (toolbarOption == 'Insert Horizontal Line' || toolbarOption == 'Code Editor' || toolbarOption == 'Increase Indent' || toolbarOption == 'Decrease Indent' || toolbarOption == 'Remove Format' || toolbarOption == 'Clear all') {
347
+ if (toolbarOption == 'Insert Horizontal Line' || toolbarOption == 'Code Editor' || toolbarOption == 'Increase Indent' || toolbarOption == 'Decrease Indent' || toolbarOption == 'Remove Format') {
348
348
  essayResponseCommonComponents.previewTabToolbarOption(toolbarOption)
349
349
  .click()
350
350
  .should('have.attr', 'aria-pressed', 'false');
@@ -325,6 +325,7 @@ const steps = {
325
325
  .should('exist');
326
326
  });
327
327
  });
328
+ cy.wait(1000);
328
329
  },
329
330
 
330
331
  /**
@@ -835,6 +836,7 @@ const steps = {
835
836
  });
836
837
  });
837
838
  });
839
+ cy.wait(1000);
838
840
  },
839
841
 
840
842
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.535-graphing-cypress-fixed-ea9aaf7.0",
3
+ "version": "1.0.536-cypress-fixes-rel-13-10-25-4f3da88.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {