Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multi-id mode and va e2e tests when ran locally #2296

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

spastorelli
Copy link
Contributor

@spastorelli spastorelli commented Apr 19, 2024

This PR aims to prevent the e2e va test to fail when ran against local env (localhost).

VA E2E tests are currently failing because we use a cookie to store the va token on initial request but use sameSite = none. But in localhost env the cookie will not be properly set/retrieved because of that policy.

As a result, the test fails with a Authentication missing to access this content error.

The same issue happens when testing multi-id mode (preview) locally as we store the content token passed in the preview URL into a cookie with the same policy.

Before After
Screenshot 2024-04-19 at 16 48 42 Screenshot 2024-04-19 at 16 52 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant