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] [Super Admin] Bounty Click #476

Closed elraphty closed 6 months ago

elraphty commented 6 months ago

Context

Currently, we have a cypress command to create a bounty

but we want to assert that when we click on a bounty tile on the admin bounties list, it opens a new bounty tab, and the bounty details are visible.

We want to Sign in as Alice and create 6 bounties, then navigate to the admin tab, and assert that the 6 bounties are on the 7-day bounties list timeframe, then click on the second bounty and assert that it opens a new tab with the bounty in display and assert that the bounty's details match the details of the second bounty created.

File to create

sphinx-tribes-frontend/cypress/e2e/48_adminBountyClick.cy.ts

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

Acceptance Criteria

The Admin bounties list is shown below

image

References

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

saithsab877 commented 6 months ago

HI @elraphty, assign me this or the next one?

MuhammadUmer44 commented 6 months ago

HI @elraphty, assign me the next one?

AbdulWahab3181 commented 6 months ago

Could you please assign me the next one?

ninja-programer commented 6 months ago

assign me?

ninja-programer commented 6 months ago

@elraphty can you please assign me some task?

chiragDork commented 6 months ago

Hi @elraphty can you please assign me the next one