itemengine-cypress-automation 1.0.508-dependabot-npm-and-yarn-multi-92087b3b2d-e95290e.0 → 1.0.509-fixesForSmokeTest15Sep-d9e7d12.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.
@@ -478,9 +478,9 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
478
478
  });
479
479
  });
480
480
  };
481
- //Remove skip once https://weldnorthed.atlassian.net/browse/ITEM-1313 is completed.
481
+
482
482
  viewsForQuestionMethods.forEach((view) => {
483
- describe.skip(`Multiple selection: Question methods Accordion - ${view}`, { tags: 'smoke' }, () => {
483
+ describe(`Multiple selection: Question methods Accordion - ${view}`, { tags: 'smoke' }, () => {
484
484
  abortEarlySetup();
485
485
  let responseId;
486
486
  before(() => {
@@ -176,9 +176,12 @@ describe('Create item page - Multiple selection: Preview contents', () => {
176
176
  }
177
177
  });
178
178
 
179
- it('Accessibility of preview tab', { tags: 'a11y' }, () => {
180
- cy.checkAccessibility(multipleSelectionPage.questionInstructionsText().parents('[class*="ContentWrapper"]'));
181
- });
179
+ //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.
180
+ if (view !== 'Correct answer view' || view !== 'Grading view') {
181
+ it('Accessibility of preview tab', { tags: 'a11y' }, () => {
182
+ cy.checkAccessibility(multipleSelectionPage.questionInstructionsText().parents('[class*="ContentWrapper"]'));
183
+ });
184
+ }
182
185
  });
183
186
  });
184
187
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.508-dependabot-npm-and-yarn-multi-92087b3b2d-e95290e.0",
3
+ "version": "1.0.509-fixesForSmokeTest15Sep-d9e7d12.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -43,7 +43,7 @@
43
43
  "axe-core": "^4.7.1",
44
44
  "cy-verify-downloads": "^0.1.11",
45
45
  "cy2": "^4.0.9",
46
- "cypress": "^15.2.0",
46
+ "cypress": "^12.17.2",
47
47
  "cypress-axe": "^1.4.0",
48
48
  "cypress-file-upload": "^5.0.8",
49
49
  "cypress-real-events": "^1.7.6",