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][Signed Out] Post Bounty Flow #448

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 when a user is signed out, and they try to post a bounty, they have to sign in before they can post a bounty.

So, go to the bounties homepage without signing in, click on the Post Bounty button, a modal should pop up for sign in, click on the I Have Sphinx button then sign in as a user and create a bounty.

File to create

sphinx-tribes-frontend/cypress/e2e/34_signoutPostBounty.cy.ts

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

Acceptance Criteria

The Post Bounty Signout fLow is shown below

image image

References

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

MahtabBukhari commented 5 months ago

@elraphty Could you assign me?

aliraza556 commented 5 months ago

Hi @elraphty can you please assign this one to me or the next one.

Vayras commented 5 months ago

Assign