Closed elraphty closed 3 months ago
@elraphty assign me
@elraphty Could you please assign me?
@elraphty can you assign this or the next one. I've configured the project and ready for writing a unit test.
Hi @elraphty can you please assign the next one to me please
@elraphty can you assign this or the next one. I've configured the project and ready for writing a unit test.
Assigning the next one
ninja-programer
@ninja-programer please make your GitHub profile public
Context
Currently, we have a cypress command to create a bounty
but we want to assert that when we change the bounties filter sort by (it sorts by descending by default i.e.
Newest
), it changes the sorting direction of the bounties.We want to Sign in as Alice and create 6 bounties, then navigate to the admin tab, assert that the 6 bounties are on the 7-day bounties list timeframe, then assert that the bounties are in chronologically descending order, then change the sortBy status to
Oldest
and assert that the bounties are ordered in ascending order (oldest first).File to create
sphinx-tribes-frontend/cypress/e2e/47_adminFIlterSortBy.cy.ts
there will be no modifications to
sphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
Oldest
The Bounties filter Sort by flow is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts