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(e2e) : for all common scenarios #2650

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
Draft

test(e2e) : for all common scenarios #2650

wants to merge 17 commits into from

Conversation

sadaf895
Copy link
Contributor

@sadaf895 sadaf895 commented Nov 6, 2024

closes: #2612


  • can we init the app (open it and generate demo data) only once and then run all the tests there (instead of generating data every time)?
  • Breaking down the large test into smaller tests
  • Locators that does not depend on the exact text
  • adapt expect to not rely on the exact date in demo data (Mocking date)

- Added coverage for navigation and content checks on Attendance page
- Verified elements load correctly and interactions behave as expected
- Ensured handling of edge cases like NaN values in counts
Copy link
Contributor

github-actions bot commented Nov 6, 2024

Deployed to https://pr-2650.aam-digital.net/

@tomwwinter
Copy link
Contributor

@sadaf895 Hey, i just pushed some updates. I restructured some files and removed cypress. Can you please take a look into the failing tests? It's not necessary to start the app anymore, just run npm run e2e

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.

e2e Tests for all common app scenarios
4 participants