You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I needed 2 cypress.run because few test are not compatible on chrome and integration folder for both are same.
Changes in spec to run for browser specific case Spec 1
describe('Spec for electron', {browser: 'electron'}, function () {
....code
}
Spec 2
describe('Spec for chrome', {browser: '!electron'}, function () {
....code
}
Progress:
I am able to create and merge json for all specs (including skipped/pending-default behaviour mochawesome) to create 1 html report.
But there are screenshot overriden for skipped spec, which were failed cases from first cypress.run
Is there are way i can skip json creation for skipped/pending specs so that i can avoid overridden of screenshots .
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Statement: Generate and merge json of all failed cases ignoring skipped/pending
Code in Cypress.js:
await cypress.run({
browser: 'electron'
});
await cypress.run({
browser: 'chrome'
});
I needed 2 cypress.run because few test are not compatible on chrome and integration folder for both are same.
Changes in spec to run for browser specific case
Spec 1
describe('Spec for electron', {browser: 'electron'}, function () {
....code
}
Spec 2
describe('Spec for chrome', {browser: '!electron'}, function () {
....code
}
Progress:
I am able to create and merge json for all specs (including skipped/pending-default behaviour mochawesome) to create 1 html report.
But there are screenshot overriden for skipped spec, which were failed cases from first cypress.run
Is there are way i can skip json creation for skipped/pending specs so that i can avoid overridden of screenshots .
Beta Was this translation helpful? Give feedback.
All reactions