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 Bounty By Searching, Change Organization And Assignee #437

Closed elraphty closed 5 months ago

elraphty commented 5 months ago

Context

Currently, we have a cypress command to create a bounty but we want to assert that we can search for the bounty after creating it, change the bounty organization, amount, coding languages, and change the bounty assignee

We want to create 2 Organizations, then create a bounty select one of the organizations as the bounty organization, and assign a user. Navigate to the Bounties tab, and search for the bounty that was created, click on the bounty then click on the Edit button. We want to assert that we can change the bounty organization, coding languages, amount, and assignee.

File to create

sphinx-tribes-frontend/cypress/e2e/31_editBountyBySearch.cy.ts

there will be modifications to sphinx-tribes-frontend/cypress/support/commands.ts

Acceptance Criteria

The edit button is shown below image

References

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

MahtabBukhari commented 5 months ago

@elraphty Could you assign me?

AbdulWahab3181 commented 5 months ago

@elraphty Could you please assign me?

elraphty commented 5 months ago

@MuhammadUmer44 you can take this one

MuhammadUmer44 commented 5 months ago

@elraphty assign me

elraphty commented 5 months ago

@elraphty Could you assign me?

Assigned the previous one to you already

AbdulWahab3181 commented 5 months ago

@elraphty Could you please assign next one to me?

elraphty commented 5 months ago

@elraphty Could you please assign me?

@AbdulWahab3181 I will assign the next one.

chiragDork commented 5 months ago

Hi @elraphty if there are more issue to work on please assign one to me as well. Thanks