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
- Given a user is signed in
- Create an organization with an image
- Then the test asserts the organization is created successfully and the image is visible
The add organization modal is shown below

References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts
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.tsthere will be modifications to
sphinx-tribes-frontend/cypress/support/commands.tsAcceptance Criteria
The add organization modal is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts