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

🧒🏻 Docker, pytest and cypress setups #819

Merged
merged 34 commits into from
Jan 4, 2024
Merged

🧒🏻 Docker, pytest and cypress setups #819

merged 34 commits into from
Jan 4, 2024

Conversation

HamzaAnis
Copy link
Collaborator

@HamzaAnis HamzaAnis commented Nov 14, 2023

Description 🌟

Docker setup has been changed. Workflows run on github hosted runner on every pull request to dev branch

Wrote E2E test case for

  • Home Page
  • Apply Page
  • Login Page
  • Forget Page
  • Events Page
  • Appointments Page
  • Explore Page
  • Sending and receiving messages and Notifications
  • Your Videos Page
  • Profile Page
  • Admin Add new or download existing Accounts data

Backend test cases for

  • Authorization
  • Check permissions of different users
  • Add, Update and Delete Events
  • Apply for different roles
  • Find profiles of different roles
  • Send and receive messages
  • Check private users visibility
  • Update profile info
  • Add or delete Videos
  • Add, remove images from imgur, google
  • Generate JWT token from firebase and Authorize

All tests are formatted and should display relevant message on failure. After each run, the data generated by them such as events, appointments etc are cleaned up by them.

mentee test case/cypress/e2e/pages/HomePage.js Outdated Show resolved Hide resolved
mentee test case/cypress/e2e/pages/HomePage.js Outdated Show resolved Hide resolved
mentee test case/cypress/e2e/test/ApplyPageTest.cy.js Outdated Show resolved Hide resolved
mentee test case/cypress/e2e/test/HomePageTest.cy.js Outdated Show resolved Hide resolved
@HamzaAnis HamzaAnis requested a review from robert-dm November 16, 2023 14:51
@HamzaAnis HamzaAnis marked this pull request as draft November 16, 2023 14:51
@HamzaAnis HamzaAnis requested a review from robert-dm December 4, 2023 13:28
@HamzaAnis HamzaAnis requested review from robert-dm and removed request for robert-dm December 12, 2023 20:46
@HamzaAnis HamzaAnis requested review from robert-dm and removed request for robert-dm December 29, 2023 13:31
@HamzaAnis HamzaAnis marked this pull request as ready for review December 29, 2023 13:38
@HamzaAnis HamzaAnis requested a review from robert-dm January 3, 2024 15:44
Copy link
Collaborator

@robert-dm robert-dm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the two mentioned files @HamzaAnis

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HamzaAnis please remove this file

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is removed in this PR. It was present on the other branches.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HamzaAnis please remove this file

@robert-dm robert-dm merged commit dfe8093 into dev Jan 4, 2024
4 of 5 checks passed
@robert-dm robert-dm deleted the tests/structure branch January 4, 2024 12:46
@HamzaAnis HamzaAnis restored the tests/structure branch January 4, 2024 15:15
@robert-dm robert-dm deleted the tests/structure branch January 4, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants