You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are no integration/functional tests for the app. The main reason is that it's not possible to to mock/stub the Auth0 auth flow that uses PKCE (nor should we want to!).
But I think it would still be very useful to test (parts) of the app using cypress.
A possible approach to achieve this could be to render a "custom" app (using the same components) but without any auth. But only if this adds value and confidence.
The text was updated successfully, but these errors were encountered:
There was one test for the failed login flow, but it only worked because
of a bug (that was fixed in #91).
I think it's better to take a step back, and rethink the best way
to e2e test the app (because of the implications of the app's auth flow
using PKCE).
Therefore I'm temporarily disabling e2e in the CI/CD pipeline, and deleting the
"login failed" e2e test. This test will be converted to a component unit test
instead.
For more information see:
#94
Currently there are no integration/functional tests for the app. The main reason is that it's not possible to to mock/stub the Auth0 auth flow that uses PKCE (nor should we want to!).
But I think it would still be very useful to test (parts) of the app using cypress.
A possible approach to achieve this could be to render a "custom" app (using the same components) but without any auth. But only if this adds value and confidence.
The text was updated successfully, but these errors were encountered: