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
11 stars 42 forks source link

[Test][cypress] [Super Admin] Bounty List #473

Closed elraphty closed 3 months ago

elraphty commented 3 months ago

Context

Currently, we have a cypress command to create a bounty

but we want to assert that when bounties are created they are visible in the admin page by date range (Default 7 days).

We want to Sign in as Alice and create 5 bounties, then navigate to the admin tab, assert that the 5 bounties are on the 7-day bounties list timeframe, then change the date to 30 days and assert that the bounties are on the bounties list, finally change the date to 90 days, and assert that the bounties are still on the bounties list.

File to create

sphinx-tribes-frontend/cypress/e2e/45_adminBountyList.cy.ts

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

Acceptance Criteria

The Admin page flow is shown below

image

References

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

ninja-programer commented 3 months ago

@elraphty can you assign this or the next one. I've configured the project and ready for writing a unit test.

MirzaHanan commented 3 months ago

@elraphty can you assign this or the next one

elraphty commented 3 months ago

@aliraza556 comment on this

AbdulWahab3181 commented 3 months ago

@elraphty Could you please assign me the next one?

MahtabBukhari commented 3 months ago

please assingne me next

MuhammadUmer44 commented 3 months ago

Please assign me

aliraza556 commented 3 months ago

assign me

MahtabBukhari commented 3 months ago

@elraphty Could you assine me next?

Vayras commented 3 months ago

@elraphty can you assign the next issue to me?

MahtabBukhari commented 3 months ago

@elraphty is there any next bounty?