stakwork / sphinx-tribes-frontend

Frontend for sphinx tribes and bounties. The bounty platform that pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
12 stars 42 forks source link

[tests][cypress] Edit Organization #413

Closed elraphty closed 6 months ago

elraphty commented 6 months ago

Context

Currently, we have a cypress command to create an organization we want to assert that we can edit an organization details.

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 the Edit button of the newly created organization which will open the Edit Modal page then edit the organization description, name, and website.

File to create

sphinx-tribes-frontend/cypress/e2e/20_editOrgDetails.cy.ts there will be modifications to sphinx-tribes-frontend/cypress/support/commands.ts

Acceptance Criteria

The Edit Organization modal is shown below

image

References

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

elraphty commented 6 months ago

@Zoe-AE-ND your account seems to be private, you are not appearing on the assignee list

MirzaHanan commented 6 months ago

So, @elraphty, Please assign me

chiragDork commented 6 months ago

Hi @elraphty can you please assign this to me.

AbdulWahab3181 commented 6 months ago

Assign me

elraphty commented 6 months ago

So, @elraphty, Please assign me

assigned

MirzaHanan commented 6 months ago

Hi @elraphty, Please change the name of file '20_deleteOrgUser.cy.ts'. Because file name this ticket #412