frontend: fix auth issue with cypress headless mode #1766
Labels
area/frontend
Related to changes in the folder projects/frontend for details about ui please see readme
bug
Something isn't working
Describe the bug
Running frontend e2e tests in headless (default) mode results in 401 Unauthorised. For example, see https://gitlab.com/vmware-analytics/versatile-data-kit/-/jobs/3965681426
Issues with headless mode come up a lot. Workaround to unblock is running in headed mode, the downside is (relatively substantially) more resources are consumed on rendering the browser.
Steps To Reproduce
Toggle the e2e script to run in headless (default) by removing --headed option. See https://github.com/vmware/versatile-data-kit/blob/main/projects/frontend/data-pipelines/gui/package.json#L19
Expected behavior
Successful auth is expected 2xx, instead of 401 Unauthorized responses.
Screenshots
N/A
Version (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: