zenika-open-source / FAQ

Internal Knowledge Database for your organization
https://demo.faq.team
Apache License 2.0
61 stars 16 forks source link

✅ add e2e test suite #333

Closed thibaudbrault closed 1 year ago

thibaudbrault commented 1 year ago

Add an e2e test suite using playwright.

This test suite bypasses authentication using the new environment variables DISABLE_AUTH and REACT_APP_DISABLE_AUTH. When authentication is bypassed, a fake user is automatically created and used.

How to run the test suite is documented in docs/src/advanced/testing.mdx. CI is updated to run the test suite on every commit.

Also upgrade prisma to 1.34.