Context
Currently, we have a cypress command to create an organization we want to assert that we can edit an organization's image.
So what we want to do is use Login User to create a user profile, click on the user icon, click on the Add Organization button and create an organization, then click on the Edit button of the newly created organization which will open the Edit Modal page then edit the organization image.
File to create
sphinx-tribes-frontend/cypress/e2e/27_editOrgImage.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 Organizations tabs
- Click on the Add Organization button
- Create an organization
- Click on the
Manage button on the newly created organization
- Click on the
Edit button
- Update the organization's image.
- Close the edit modal
- Assert that the organization's image was changed and it is visible.
The Edit Organization 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 an organization we want to assert that we can edit an organization's image.
So what we want to do is use Login User to create a user profile, click on the user icon, click on the
Add Organizationbutton and create an organization, then click on theEditbutton of the newly created organization which will open the Edit Modal page then edit the organization image.File to create
sphinx-tribes-frontend/cypress/e2e/27_editOrgImage.cy.tsthere will be modifications to
sphinx-tribes-frontend/cypress/support/commands.tsAcceptance Criteria
Managebutton on the newly created organizationEditbuttonThe Edit Organization modal is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts