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] I Can Help Flow #450

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, they must sign in to connect with the Bounty Creator.

So we want to go to the bounties homepage sign in as Alice create 3 bounties and sign out. Click on the 'I can help' button and a Signup modal pops up, then login as Carol and click on the I can help button, and assert that when Carol clicks on I can help they can see the user connection Modal and QR code to Alice.

File to create

sphinx-tribes-frontend/cypress/e2e/36_icanhelpFLow.cy.ts

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

Acceptance Criteria

The I can help 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

MuhammadUmer44 commented 5 months ago

Hi @elraphty please assign me #https://github.com/stakwork/sphinx-tribes-frontend/issues/449#issuecomment-2012022952

AbdulWahab3181 commented 5 months ago

@elraphty Could you please assign me this one or may be next one?

MirzaHanan commented 5 months ago

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

Vayras commented 5 months ago

@elraphty can I get this one?