fix: conflict config.toml in browser containers when node-docker volumes is shared #2345
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.
User description
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
fix: conflict config.toml in browser containers when node-docker volumes is shared
Motivation and Context
After harmonized mount points to
/opt/selenium/config.toml
(#2343). Once volumes config is shared to node browser containers, itsconfig.toml
could be overwritten by node-docker container config file.In this case, mount your
config.toml
file to another name e.g/opt/selenium/docker.toml
in node-docker container. And set the environment variableSE_NODE_DOCKER_CONFIG_FILENAME=docker.toml
to specify that config file name for the startup script.Types of changes
Checklist
PR Type
Bug fix, Enhancement, Documentation
Description
SE_NODE_DOCKER_CONFIG_FILENAME
environment variable.suppressKillServer
andallowDelayAdb
in Selenium tests setup.gen_certs
target in the Makefile.config.toml
to/opt/selenium
.Changes walkthrough 📝
start-selenium-grid-docker.sh
Make configuration file path dynamic in startup script
NodeDocker/start-selenium-grid-docker.sh
SE_NODE_DOCKER_CONFIG_FILENAME
environment variable.__init__.py
Add new Appium capabilities in Selenium tests setup
tests/SeleniumTests/init.py
suppressKillServer
andallowDelayAdb
.Makefile
Update Selenium version and add certificate generation target
Makefile
gen_certs
target and included it in thebase
target.Dockerfile
Adjust Dockerfile to copy config.toml to /opt/selenium
NodeDocker/Dockerfile
config.toml
copy command to a new line and changed itsdestination directory.
docker-compose-v3-test-node-docker.yaml
Update docker-compose for dynamic config file path
tests/docker-compose-v3-test-node-docker.yaml
config.toml
and addedSE_NODE_DOCKER_CONFIG_FILENAME
environment variable.README.md
Document sharing volumes config in Dynamic Grid
README.md
container to node browser containers.