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] Create And View Bounties On Profile Page #402

Closed elraphty closed 6 months ago

elraphty commented 6 months ago

Context

Currently, we have a cypress command to create a bounty but we want to assert that we can create a bounty on the user profile page and view them.

So what we want to do is use Login User to create a user profile, click on the user icon, click on the Bounties tab on the user profile page, then create 2 new bounties.

File to create

sphinx-tribes-frontend/cypress/e2e/15_profile_create_bounties.cy.ts there will be modifications to sphinx-tribes-frontend/cypress/support/commands.ts

Acceptance Criteria

The created bounties page is shown below

image

References

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

AbdulWahab3181 commented 6 months ago

@elraphty Could you please assign me?

chiragDork commented 6 months ago

Hi @elraphty can you please assign me

elraphty commented 6 months ago

@elraphty Could you please assign me?

sure @AbdulWahab3181, assigning