-
Notifications
You must be signed in to change notification settings - Fork 77
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
Start writing some frontend tests #1184
Comments
@razzeee What are the main components of the frontend that should be tested more? |
Btw, I would probably look at playwright and not cypress, but it's been a while. I'm actually not too sure, I can't think of anything specific, that keeps breaking, but tests usually help you anyway. I would guess, that the logged in part would have the most value, but it's probably also the hardest to do. |
So the login tests should focus on the ProviderLink component that redirects to the provider's login route, right? |
@razzeee maded one pr with some tests to login, i try remove duplicate code and organize tests but i not have much experience with jest if you can review |
Probably using https://nextjs.org/docs/testing#jest-and-react-testing-library
The text was updated successfully, but these errors were encountered: