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

add task #636

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

add task #636

wants to merge 1 commit into from

Conversation

pawelnowicki87
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 structuring the test script for the Sign In page! 🎉 The code meets the task requirements and constraints, automating the login flow effectively. Just make sure that the credentials used in the test are valid and exist in the application database to avoid test failures. Keep up the good work! 🚀

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

Comment on lines +9 to +10
cy.get('input[type="email"]').type('[email protected]');
cy.get('input[type="password"]').type('password123');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the email '[email protected]' and password 'password123' correspond to a valid user account in the application. If these credentials are not valid, the test will fail.

cy.get('button[type="submit"]').click();

// Sprawdzenie, czy nazwa użytkownika pojawiła się w nawigacji
cy.get('.navbar').contains('cypressTestUser').should('be.visible');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that 'cypressTestUser' is the correct username associated with the test account. If the username does not match, the test will fail.

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