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

[Cypress] Create 20 bounties #348

Closed ecurrencyhodler closed 6 months ago

ecurrencyhodler commented 6 months ago

Context

We are implementing cypress tests for E2E testing.

This test requires the following user story:

Go to homepage, create a bounty without an organization for 10,000 sats, Title it "Title 1", <3 hr estimation, typescript skill selected, web development selected, no github link, description added (Lorem Ipsum Dolor), and shown to public. Do this 20 times and title it up to "Title 20".

Put the test in this folder: https://github.com/stakwork/sphinx-tribes-frontend/tree/master/cypress/e2e

And title it the following: 3_Create_20_bounties

Resources

  1. Get up to speed on cypress tests here: https://github.com/stakwork/sphinx-tribes-frontend/blob/master/docs/setupCypressTest.md
  2. Here is an example of a cypress test.
  3. You'll also need to run sphinx-stack locally to complete the tests.

Acceptance Criteria

AbdulWahab3181 commented 6 months ago

@ecurrencyhodler I would like to try this

ecurrencyhodler commented 6 months ago

Okay.

ecurrencyhodler commented 6 months ago

Let me know if you run into pain points and what steps you took to resolve them. We should document this to make it easier for other contributors.

AbdulWahab3181 commented 6 months ago

Let me know if you run into pain points and what steps you took to resolve them. We should document this to make it easier for other contributors.

I don't encounter any pain points. I simply follow the steps outlined in this document. The instructions are already very clear, detailing how to start and run the Sphinx-stack and Cypress tests.

kevkevinpal commented 6 months ago

what does the '3' in 3_Create_20_bounties mean? I think that makes reading what the tests are doing a bit more difficult.

I think create_20_bounties.cy.ts makes more sense and fits the snake case format that we currently have

AbdulWahab3181 commented 6 months ago

what does the '3' in 3_Create_20_bounties mean? I think that makes reading what the tests are doing a bit more difficult.

I think create_20_bounties.cy.ts makes more sense and fits the snake case format that we currently have

@kevkevinpal Addressed

ecurrencyhodler commented 6 months ago

Paid!

Great work abdul.

AbdulWahab3181 commented 6 months ago

Paid!

Great work abdul.

Thanks