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] Organization Page Bounty Filter Statuses #439

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 view an organization's bounties based on the status we select.

We want to create an organization, and then create 8 bounties attached to the organization, 3 bounties should be open, 3 bounties should be assigned to a user, and the remaining 2 bounties should be assigned to a user and marked as paid by clicking the Mark As Paid button after creating the bounties the default bounty status is all (which selects all the bounties), we want to select the statuses on the bounty filter status one at a time, and assert that the right bounties are displayed.

File to create

sphinx-tribes-frontend/cypress/e2e/33_orgBountyStatusFilter.cy.ts

there will be modifications to sphinx-tribes-frontend/cypress/support/commands.ts

Acceptance Criteria

The organization bounty status filter 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

@elrapht, assign me

Vayras commented 5 months ago

Assign

chiragDork commented 5 months ago

@elraphty Can you please assign this to me

saithsab877 commented 5 months ago

@elraphty, Please assign me next.