Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wait for token request to finish after login in e2e-test
Our e2e-tests are currently flaky while logging in due to the following error: Error "apiRequestContext.fetch: Target page, context or browser has been closed" while running route callback. This then leads to errors in all other tests as the token file is not created: ENOENT: no such file or directory, open '[...]/e2e/storage/token.json' To (hopefully) fix this we wait for all route-handlers to finish their processing before closing the browser. RISDEV-0000
- Loading branch information