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

[tests][cypress] Edit Organization's Image #428

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

[tests][cypress] Edit Organization's Image #428

elraphty opened this issue Mar 18, 2024 · 6 comments

Comments

@elraphty
Copy link
Collaborator

Context

Currently, we have a cypress command to create an organization we want to assert that we can edit an organization's image.

So what we want to do is use Login User to create a user profile, click on the user icon, click on the Add Organization button and create an organization, then click on the Edit button of the newly created organization which will open the Edit Modal page then edit the organization image.

File to create

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

Acceptance Criteria

  • Given a user is signed in
  • Click on the User profile icon/username, to lead you to the user profile
  • Click on the Organizations tabs
  • Click on the Add Organization button
  • Create an organization
  • Click on the Manage button on the newly created organization
  • Click on the Edit button
  • Update the organization's image.
  • Close the edit modal
  • Assert that the organization's image was changed and it is visible.

The Edit 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

@MahtabBukhari
Copy link
Contributor

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

@AbdulWahab3181
Copy link
Contributor

AbdulWahab3181 commented Mar 18, 2024

Could you please assign me?

@elraphty
Copy link
Collaborator Author

@AbdulWahab3181 you can take this

@elraphty
Copy link
Collaborator Author

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

Okay, will assign the next one.

@AbdulWahab3181
Copy link
Contributor

@AbdulWahab3181 you can take this

Thanks

@elraphty
Copy link
Collaborator Author

@AbdulWahab3181 I will change this to blocked for now, we can't add the AWS keys for security reasons.

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

3 participants