itemengine-cypress-automation 1.0.535-fix-label-numberline-026d4e8.0 → 1.0.535-fix-label-numberline-7d14b0a.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.
@@ -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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.535-fix-label-numberline-026d4e8.0",
3
+ "version": "1.0.535-fix-label-numberline-7d14b0a.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {