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] Connection Codes Flow #449

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 using the connection codes.

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 Get Sphinx button then click on the Reveal Connection Code button, then you should see a We are out of connection codes msg

File to create

sphinx-tribes-frontend/cypress/e2e/35_signoutConnectionCodes.cy.ts

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

Acceptance Criteria

The Connection code flow is shown below

image image image

References

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

aliraza556 commented 5 months ago

Hi @elraphty can you please assign this one to me

chiragDork commented 5 months ago

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

elraphty commented 5 months ago

Hi @elraphty can you please assign this one to me

Ali work on the other 2 issues for now

MuhammadUmer44 commented 5 months ago

@elraphty next assign to me

Vayras commented 5 months ago

@elraphty can you assign this one to me

AbdulWahab3181 commented 5 months ago

@elraphty Could you please assign me the next one?