Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Article-flow #298

wants to merge 1 commit into from

Conversation

Sofi-Mamzer
Copy link

No description provided.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a 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);

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('');

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();

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants