-
Notifications
You must be signed in to change notification settings - Fork 477
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
Fixed Flaky Cypress Test in the User_Manage File #6583
Conversation
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Passing run #1565 ↗︎
Details:
Review all test suite changes for PR #6583 ↗︎ |
@nihal467 We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌. |
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.
@nihal467 you've changed the package.json, but have not committed the package-lock changes.
WHAT
🤖 Generated by Copilot at 352f326
The pull request enhances the test code for user management by using a class for user creation, adding more steps and assertions to a test case, and waiting for the users API response before navigating to the profile page. The changes affect the files
cypress/e2e/users_spec/user_manage.cy.ts
andcypress/pageobject/Users/ManageUserPage.ts
.Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 352f326
UserCreationPage
class to access user creation and verification methods (link)UserCreationPage
class and assign it to theuserCreationPage
variable (link)user_manage.cy.ts
(link)navigateToProfile
method inManageUserPage.ts
to intercept and wait for the users API request and assert that the response status code is 200 (link)