Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Test][Cypress] Create org with image #427

Open
2 tasks
elraphty opened this issue Mar 18, 2024 · 6 comments
Open
2 tasks

[Test][Cypress] Create org with image #427

elraphty opened this issue Mar 18, 2024 · 6 comments

Comments

@elraphty
Copy link
Collaborator

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

image

  • I have rebased and tested locally before submitting my PR
  • I can submit a PR within 2 days of taking the bounty

References

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

@AbdulWahab3181
Copy link
Contributor

AbdulWahab3181 commented Mar 18, 2024

@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.

@MirzaHanan
Copy link
Contributor

MirzaHanan commented Mar 18, 2024

@elraphty could you assign me?

@MahtabBukhari
Copy link
Contributor

MahtabBukhari commented Mar 18, 2024

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

@MirzaHanan
Copy link
Contributor

@elraphty,
Thanks

@elraphty
Copy link
Collaborator Author

@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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants