-
Notifications
You must be signed in to change notification settings - Fork 1k
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 Studio experimental version docs #3394
Conversation
cy.task('db:seed') | ||
|
||
// Login test user | ||
cy.database('find', 'users').then((user) => { | ||
cy.login(user.username, 's3cret', true) | ||
}) |
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.
I would discourage against having code here that can't be copy/pasted and work with no other code in their project. People will copy/paste this and get an error like 'cy.database is not defined' and 'cy.login is not defined' and be confused.
@amirrustam Ready for review |
I've updated the base branch to 6.3.0-release branch, so that this will be merged and released along with all 6.3.0 docs. |
@jennifer-shehane looks like we did this exactly at the same time! GH was erroring out! |
For cypress-io/cypress#9542