itemengine-cypress-automation 1.0.482-IEI-6793-ebbb93c.0 → 1.0.483

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.
@@ -1279,7 +1279,8 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
1279
1279
  //Selected state of secondary toolbar option. Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
1280
1280
  });
1281
1281
 
1282
- it(`A \'Line type\' title along with the five line type options - ${lineTypeOptions.join(', ')} should be displayed`, () => {
1282
+ //Need to remove skip once https://weldnorthed.atlassian.net/browse/IEI-6776 is resolved
1283
+ it.skip(`A \'Line type\' title along with the five line type options - ${lineTypeOptions.join(', ')} should be displayed`, () => {
1283
1284
  drawingResponsePage.steps.verifySecondaryOptionPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[2].secondaryToolbarOptions[2]);
1284
1285
  lineTypeOptions.forEach((thickness, index) => {
1285
1286
  drawingResponsePage.steps.verifySecondaryPopupLineType(thickness, index);
@@ -221,9 +221,12 @@ describe('Create item page - Multiple selection grid: Preview contents', () => {
221
221
  });
222
222
  }
223
223
 
224
- it('Accessibility of preview tab', { tags: 'a11y' }, () => {
225
- cy.checkAccessibility(multipleSelectionGridPage.tableCell());
226
- });
224
+ //Added if condition as sometimes when we run tests on spinaker it fails as image does not load and give unnecessary failure. Need to run these locally.
225
+ if (view !== 'Correct answer view') {
226
+ it('Accessibility of preview tab', { tags: 'a11y' }, () => {
227
+ cy.checkAccessibility(multipleSelectionGridPage.tableCell());
228
+ });
229
+ }
227
230
  });
228
231
  });
229
232
  });
@@ -220,9 +220,12 @@ describe('Create item page - Single selection grid: Preview contents', () => {
220
220
  });
221
221
  }
222
222
 
223
- it('Accessibility of preview tab', { tags: 'a11y' }, () => {
224
- cy.checkAccessibility(singleSelectionGridPage.tableCell());
225
- });
223
+ //Added if condition as sometimes when we run tests on spinaker it fails as image does not load and give unnecessary failure. Need to run these locally.
224
+ if (view !== 'Correct answer view') {
225
+ it('Accessibility of preview tab', { tags: 'a11y' }, () => {
226
+ cy.checkAccessibility(singleSelectionGridPage.tableCell());
227
+ });
228
+ }
226
229
  });
227
230
  });
228
231
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.482-IEI-6793-ebbb93c.0",
3
+ "version": "1.0.483",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {