New Cypress Test | Existing User Profile Updation | User Tab #6527
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WHAT
🤖 Generated by Copilot at 11f3795
This pull request improves the user creation and user profile test specs by adding constants, new test cases, and helper methods. It also adds id attributes to some components to make them more testable. The affected files are
cypress/e2e/users_spec/user_creation.cy.ts
,src/Components/Users/UserProfile.tsx
,cypress/pageobject/Users/UserCreation.ts
, andsrc/Components/Common/Sidebar/SidebarUserCard.tsx
.Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 11f3795
UserCreation.ts
page object file and use them inuser_creation.cy.ts
test spec (link, link)UserCreation.ts
page object class for typing and clearing elements by id (link)user_creation.cy.ts
test spec for updating and validating user profile with valid and invalid data (link)user_creation.cy.ts
test spec (link)user_creation.cy.ts
test spec (link)