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 navigate to the next and previous bounty when on the bounty modal.
We want to create 8 bounties, 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 opened, click on the first open bounty and assert that you can navigate to the next and previous bounty in the right order, then change the bounty status filter to paid, and assert you can see only 2 bounties and when you click on the first bounty, assert that the next bounty takes you can go to the next paid bounty, then select all bounty statuses and assert that the bounties are in the correct order and you navigate to the next and previous bounties.
Note: the bounties are ordered by the time they were created.
Context
Currently, we have a cypress command to create a bounty but we want to assert that we can navigate to the next and previous bounty when on the bounty modal.
We want to create 8 bounties, 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 opened, click on the first open bounty and assert that you can navigate to the next and previous bounty in the right order, then change the bounty status filter to paid, and assert you can see only 2 bounties and when you click on the first bounty, assert that the next bounty takes you can go to the next paid bounty, then select all bounty statuses and assert that the bounties are in the correct order and you navigate to the next and previous bounties.Note: the bounties are ordered by the time they were created.
File to create
sphinx-tribes-frontend/cypress/e2e/32_bountyModalNavigation.cy.ts
there will be modifications to
sphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
The button modal left and right navigation buttons are shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts