-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cypress-tools]: cypress plugin snapshot added #113
base: master
Are you sure you want to change the base?
Conversation
cypress-tools/support/commands.js
Outdated
Cypress.Commands.add('getByDataCy', (selector) => { | ||
cy.get(`[data-cy="${selector}"]`); | ||
}); | ||
|
||
addMatchImageSnapshotCommand({ | ||
failureThreshold: 3.0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я б не робив такого. Це не допоможе з flaky, але зробить тести ненадійними
mate-scripts/package.json
Outdated
@@ -61,6 +61,7 @@ | |||
"@types/jest": "^26.0.20", | |||
"@types/node": "^14.14.35", | |||
"@types/sinon": "^9.0.10", | |||
"cypress-image-snapshot": "^4.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, you should add it to cypress-tools
6258b6c
to
376b88f
Compare
@@ -1,5046 +1,9 @@ | |||
{ | |||
"name": "@mate-academy/cypress-tools", | |||
"version": "1.0.3", | |||
"lockfileVersion": 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
чому пропав весь контент файлу?
No description provided.