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] View Bounties From OrganizationDetails Page #415

Closed elraphty closed 7 months ago

elraphty commented 7 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, and view all the bounties created by the organization.

So what we want to do is use Create org and create 4 bounties with the newly created org, navigate to the user's profile, click on the Manage button of the created organization, and click on the View Bounties button which will redirect to the Organization's bounties page.

File to create

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

Acceptance Criteria

The View Bounties 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

MuhammadUmer44 commented 7 months ago

I've configured the project following the instructions in this document: Setup Cypress Test. I am ready and waiting for you to assign me tasks so I can proceed with writing a unit test.

AbdulWahab3181 commented 7 months ago

Could you please assign me?

NengakDakup commented 7 months ago

Hi @elraphty can you assign me?

MahtabBukhari commented 7 months ago

@elraphty Could you assign me?