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.
but we want to assert that we can deposit sats to an organization by clicking the Deposit button, inputting the amount of sats we want to deposit, and paying the lightning invoice.
So, create an organization, and click the Manage button on the newly created organization to view the organization details, We want to assert that when we click the Deposit button we can follow the deposit flow and add budget to the created organization
File to create
sphinx-tribes-frontend/cypress/e2e/13_deposit_to_org.cy.ts
there will be no modifications to sphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
Given a user is signed in
Create an organization
Click on the created organization Manage button
Click on the Deposit button
Input the amount of sats you want to deposit
Pay the Lightning invoice
Assert that the SATS amount was added to the organization's budget
The Deposit button 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 an organization
but we want to assert that we can deposit sats to an organization by clicking the
Deposit
button, inputting the amount of sats we want to deposit, and paying the lightning invoice.So, create an organization, and click the
Manage
button on the newly created organization to view the organization details, We want to assert that when we click theDeposit
button we can follow the deposit flow and add budget to the created organizationFile to create
sphinx-tribes-frontend/cypress/e2e/13_deposit_to_org.cy.ts
there will be no modifications tosphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
Manage
buttonDeposit
buttonThe
Deposit
button is shown belowReferences
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts