Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To run tests:
- :test_tube: Run `yarn check-types` to check TypeScript types.
- :test_tube: Run `yarn lint` to run the linter (ESLint).

Note that to run `test:e2e`, first ensure that the environment is correctly setup by running the `run_e2e_env.sh` script.
Note that to run `test:e2e`, first ensure that the environment is correctly setup by running the `run_e2e_env.sh` script. This script requires a running docker engine.

```sh
./scripts/run_e2e_env.sh start
Expand Down
6 changes: 5 additions & 1 deletion scripts/run_e2e_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ function stop_app() {
kill -s TERM $(cat test-logs/e2e-test-env/simulation.pid)
}


docker version > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Docker is not running. Please start Docker and try again."
exit 1
fi

case "$1" in
start) start_app ;;
Expand Down