Skip to content

[Test][cypress] Edit Profile Details Image And Price To Meet #426

@elraphty

Description

@elraphty

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

image

  • I have rebased and tested locally before submitting my PR
  • I can submit a PR within 2 days of taking the bounty

References

Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

🆕 New

Relationships

None yet

Development

No branches or pull requests

Issue actions