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

Implement faker for our frontend testing #888

Open
4 tasks
NabbeunNabi opened this issue Nov 7, 2024 · 0 comments
Open
4 tasks

Implement faker for our frontend testing #888

NabbeunNabi opened this issue Nov 7, 2024 · 0 comments
Assignees
Labels
CI/CD cypress Tests related to user interface interactions using Cypress. enhancement New feature or request testing

Comments

@NabbeunNabi
Copy link
Contributor

Problem

We want to use randomly generated data from the faker library in order to do our testing on the frontend. This will allow us to generate new data on each test run that can help us test edge cases better instead of hardcoded perfect data by ourselves. Along with this it will help us with intercept from calling our production database which costs money per database call.

Success

Implement the faker library as our fake data on front end tests in e2e and the tests are still passing.

Requirements

  • Implement the faker library to mimic our Facility data
  • Implement the faker library to mimic our Healthcare Professional data
  • Implement the faker library to mimic our Submission data
  • e2e tests in cypress are still passing with using the fake data with the intercepts

Implementation notes

Follow the backend faker set up and use the documentation linked above

@NabbeunNabi NabbeunNabi added CI/CD cypress Tests related to user interface interactions using Cypress. enhancement New feature or request testing labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD cypress Tests related to user interface interactions using Cypress. enhancement New feature or request testing
Projects
None yet
Development

No branches or pull requests

2 participants