This PR provides a simple end-to-end tests project structure with a login helper, that logs user in via the Auth0 UI and saves browser storage for all tests (so you don't have to re-login in them). Therefore, only one Auth0 user is going to be used at all times. It also means that a regular positive Sign In test is not necessary, as its logic is already covered by the current helper.
[!WARNING]
Login callback is adjusted to accept email & password users. You might want to review that part thoroughly and suggest your changes. You are welcome to edit that part yourself.
[!WARNING]
Custom Login Page was adjusted as well for the dev tenant and no longer supports OTP. Please see if it's possible to have both OTP and email & password authentication methods, as these are two similar instances - Auth0LockPasswordless and Auth0Lock.
Custom Login Page change was reverted as per request from @andy-t-wang. We need to figure out how to allow both passwordless and regular login on the same form.
Playwright is used as a test automation tool.
This PR provides a simple end-to-end tests project structure with a login helper, that logs user in via the Auth0 UI and saves browser storage for all tests (so you don't have to re-login in them). Therefore, only one Auth0 user is going to be used at all times. It also means that a regular positive Sign In test is not necessary, as its logic is already covered by the current helper.