Skip to content

Conversation

@Lukaxe
Copy link
Collaborator

@Lukaxe Lukaxe commented Apr 19, 2025

Right:

  1. Run npm install this should hopefully work and will get playwright and JEST installed
  2. the tests are in the imaginatively named __tests__ directory and inside are the unit & integration tests and the E2E tests
  3. the unit tests just test some schemas and the integration tests test more advanced components
  4. the e2e tests act as users and perform actions, this is good for testing both back and front-end
  5. to run the unit & integration tests individually do npm run test [testFileName]
  6. to run the e2e tests run npx playwright test [testFileName]
  7. I would advise running the researcher e2e test before the e2e admin test as it opens a new study request with fake data
  8. hopefully this is enough tests, there are very minor fixes to the code in here as well, but all in all everything worked, apart from some of my parts lol, so we are in good stead I think 😎

@minjnlgc minjnlgc self-requested a review April 21, 2025 16:49
Copy link
Collaborator

@minjnlgc minjnlgc left a comment

Choose a reason for hiding this comment

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

lgtm

@minjnlgc minjnlgc merged commit 7869438 into main Apr 21, 2025
1 check passed
@minjnlgc minjnlgc deleted the fixes branch April 21, 2025 16:49
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.

3 participants