Context
Currently, we have a cypress command to create a user profile but we want to assert that we can edit the user's profile details price to meet and the user image.
So what we want to do is use Login User to create a user profile, click on the user icon, and edit the user profile, change the user image using attachImage, and the user price to meet.
File to create
sphinx-tribes-frontend/cypress/e2e/25_editProfileImagePrice.cy.ts
there will be modifications to sphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
- Given a user is signed in
- Click on the User profile icon/username, to lead you to the user profile
- Click on the Edit button
- Update the user profile image
- Update the user price to meet
- Save the updated details
- Then Assert that the updated details become the new user details.
The edit profile modal is shown below

References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts
Context
Currently, we have a cypress command to create a user profile but we want to assert that we can edit the user's profile details price to meet and the user image.
So what we want to do is use Login User to create a user profile, click on the user icon, and edit the user profile, change the user image using
attachImage, and the user price to meet.File to create
sphinx-tribes-frontend/cypress/e2e/25_editProfileImagePrice.cy.tsthere will be modifications to
sphinx-tribes-frontend/cypress/support/commands.tsAcceptance Criteria
The edit profile modal is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts