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

[Test][Cypress] Create org bounty from organization page. #424

Closed elraphty closed 5 months ago

elraphty commented 5 months ago

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 from the organization page.

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, then navigate to the org page and create a bounty from the org page.

File to create

sphinx-tribes-frontend/cypress/e2e/24_createOrgPageBounty.cy.ts there will be modifications to sphinx-tribes-frontend/cypress/support/commands.ts

Acceptance Criteria

Org add bounty modal is shown below

image

References

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

aliraza556 commented 5 months ago

Assign

Zoe-AE-ND commented 5 months ago

Can I have this

AbdulWahab3181 commented 5 months ago

@elraphty Could you please assign me?

MahtabBukhari commented 5 months ago

@elraphty Could you assign any cypress issue to me?