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 org with image #427

Open elraphty opened 5 months ago

elraphty commented 5 months ago

Context

Currently, we have a cypress command to [Create org]](https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/support/commands.ts#L252) )but we want to assert that we can create an organization with an image.

So what we want to do is modify the Create org command and add an optional image to key to its parameter, if an image is available it gets attached to the image file input and uploaded.

File to create

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

Acceptance Criteria

The add organization modal 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 5 months ago

@elraphty Could you please assign me? I have created a pull request https://github.com/stakwork/sphinx-tribes-frontend/pull/425 as you can see. Now I only have one issue left and the limit is 3 to 5 task.

MirzaHanan commented 5 months ago

@elraphty could you assign me?

MahtabBukhari commented 5 months ago

@elraphty could you assign me? I have step up project locally but i have not assign task . So, please assign me.

MirzaHanan commented 5 months ago

@elraphty, Thanks

elraphty commented 5 months ago

@elraphty Could you please assign me? I have created a pull request #425 as you can see. Now I only have one issue left and the limit is 3 to 5 task.

Okay, I will assign the next one to you.

elraphty commented 5 months ago

@MirzaHanan I will change this status to Blocked because of AWS keys.