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] Homepage Bounties Filter #452

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 filter a bounty by Status, and Coding Languages.

So we want to go to the bounties homepage and sign in as Alice and create 8 bounties, 3 assigned, 3 Open, and 2 Marked as Paid They should have different combinations of coding languages on the Coding Language filter and sign out. Click on the Filter to pop up the Filter Modal, and click on Open to assert and assert that only assigned bounties are visible. Click on Typescript and assert that only assigned bounties with Typescript are visible, then Select Lightning and assert that Typescript and Lightning bounties are visible.

File to create

sphinx-tribes-frontend/cypress/e2e/37_bountyFilters.cy.ts

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

Acceptance Criteria

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

AbdulWahab3181 commented 5 months ago

@elraphty Could you please assign me?

MirzaHanan commented 5 months ago

Hi @elraphty can you please assign this one and next

saithsab877 commented 5 months ago

@elraphty Could you please assign me this one or may be next one?

elraphty commented 5 months ago

Hi @elraphty can you please assign this one

You can have the next one