-
Notifications
You must be signed in to change notification settings - Fork 341
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
Article-flow #298
base: main
Are you sure you want to change the base?
Article-flow #298
Conversation
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.
Great job on setting up the Cypress configuration and using the faker library effectively! 🎉 The points mentioned are minor and can be addressed in future iterations. Keep up the good work and continue refining your skills!
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
}; | ||
user = generatedUser; | ||
|
||
cy.login(user.email, user.username, user.password); |
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.
The cy.login
command assumes that a custom Cypress command for logging in has been defined. Ensure that this command is correctly implemented in your Cypress support files.
user = generatedUser; | ||
|
||
cy.login(user.email, user.username, user.password); | ||
cy.visit(''); |
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.
The cy.visit('');
line is visiting an empty URL path. Ensure that this is intentional. If you intend to visit the homepage or a specific URL, provide the correct path.
|
||
cy.contains('.btn', ' Delete Article').click(); |
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.
There is an extra space in the selector '.btn', ' Delete Article'. Ensure that the space is intentional and matches the actual button text. Otherwise, remove the extra space.
No description provided.