stakwork / sphinx-tribes-frontend

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.
https://community.sphinx.chat/bounties
12 stars 42 forks source link

[tests][cypress] Deposit To An Organization #396

Closed elraphty closed 6 months ago

elraphty commented 6 months ago

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 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

The Deposit button is shown below image

References

Example cypress test https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts

Zoe-AE-ND commented 6 months ago

Can I get this