Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #146
This PR makes the end-to-end (e2e) tests compatible with headless mode, allowing them to be run within a Docker container. This ensures a consistent testing environment for all team members, regardless of their local setup.
Type of change
Detailed scenario
To trigger the new code, set the
ENV_HEADLESS
environment variable to'true'
when running the e2e tests. This will launch the Chromium browser in headless mode.Technical description
Documentation
The changes in this PR involve adding a new
ENV_HEADLESS
environment variable and updating the Chromium launch configuration to use this variable. IfENV_HEADLESS
is'true'
, the Chromium browser is launched in headless mode. This is often used in automated testing environments.Don't forget to modify you config file
New dependencies
No new dependencies are required for this change.
Risks
There are no known performance or security risks associated with this change.
Mandatory Checklist
Code validation
Code style
Additional Checks