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 create a bounty on the user profile page and view them.
So what we want to do is use Login User to create a user profile, click on the user icon, click on the Bounties tab on the user profile page, then create 2 new bounties.
File to create
sphinx-tribes-frontend/cypress/e2e/15_profile_create_bounties.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 Bounties ${count} tab on the user profile page
Click on the Post a Bounty button
Follow the Bounty creation steps and create 2 bounties
Then Assert that the 2 newly created bounties are visible on the user profile Bounties tab
The created bounties page is shown below
[ ] I have rebased and tested locally before submitting my PR
[ ] I can submit a PR within 2 days of taking the bounty
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 a bounty but we want to assert that we can create a bounty on the user profile page and view them.
So what we want to do is use Login User to create a user profile, click on the user icon, click on the Bounties tab on the user profile page, then create 2 new bounties.
File to create
sphinx-tribes-frontend/cypress/e2e/15_profile_create_bounties.cy.ts
there will be modifications tosphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
The created bounties page is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts