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.
Currently, we have a cypress command to create a bounty but we want to assert that we can view an organization's bounties based on the status we select.
We want to create an organization, and then create 8 bounties attached to the organization, 3 bounties should be open, 3 bounties should be assigned to a user, and the remaining 2 bounties should be assigned to a user and marked as paid by clicking the Mark As Paid button after creating the bounties the default bounty status is all (which selects all the bounties), we want to select the statuses on the bounty filter status one at a time, and assert that the right bounties are displayed.
Context
Currently, we have a cypress command to create a bounty but we want to assert that we can view an organization's bounties based on the status we select.
We want to create an organization, and then create 8 bounties attached to the organization, 3 bounties should be open, 3 bounties should be assigned to a user, and the remaining 2 bounties should be assigned to a user and marked as paid by clicking the
Mark As Paid
button after creating the bounties the default bounty status is all (which selects all the bounties), we want to select the statuses on the bounty filter status one at a time, and assert that the right bounties are displayed.File to create
sphinx-tribes-frontend/cypress/e2e/33_orgBountyStatusFilter.cy.ts
there will be modifications to
sphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
Open
status on the bounty status filterAssigned
status on the bounty status filterPaid
status on the bounty filterThe organization bounty status filter is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts