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 linked to an organization, and view all the bounties created by the organization.
So what we want to do is use Create org and create a new bounty with an org, we also want to assert that the bounty appears and it has the org label on it, and when the organization label is clicked it leads the user to the organization bounties page.
File to create
sphinx-tribes-frontend/cypress/e2e/7_viewOrgBounties.cy.ts
there will be modifications to sphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
Given a user is signed in and an org is created
When we create a bounty attached to the org
Then the test asserts that the bounty tile has the org label attached and is clickable
Then test that when the label is clicked it leads to an organization bounties page, and has the newly created bounty on the list of bounties
The label 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 linked to an organization, and view all the bounties created by the organization.
So what we want to do is use Create org and create a new bounty with an org, we also want to assert that the bounty appears and it has the org label on it, and when the organization label is clicked it leads the user to the organization bounties page.
File to create
sphinx-tribes-frontend/cypress/e2e/7_viewOrgBounties.cy.ts
there will be modifications tosphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
The label is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts