From bd778e24636cecf6893da82e655341c001ff319a Mon Sep 17 00:00:00 2001 From: ns065186 Date: Mon, 6 Mar 2023 08:47:39 -0600 Subject: [PATCH 1/9] Add ability to use Dev Container --- .devcontainer/Dockerfile | 2 ++ .devcontainer/devcontainer.json | 26 ++++++++++++++++++++++++++ .devcontainer/docker-compose.yml | 14 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json create mode 100644 .devcontainer/docker-compose.yml diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000000..d2b8acad1bc --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,2 @@ +# use ion-node as base image +FROM docker.cernerrepos.net/ion/ion-node:5 \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000000..a7e319bcb0b --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,26 @@ +{ + "name": "TerraCore", + "dockerComposeFile": "docker-compose.yml", + "service": "vscode", + "shutdownAction": "stopCompose", + "workspaceFolder": "/workspace", + "postCreateCommand": "", + "runServices": [ + "vscode" + ], + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "james-yu.latex-workshop", + "eamodio.gitlens", + "shardulm94.trailing-spaces", + "stkb.rewrap", + "vscode-icons-team.vscode-icons", + "streetsidesoftware.code-spell-checker" + ] + } + }, + + "forwardPorts": [8080] +} \ No newline at end of file diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml new file mode 100644 index 00000000000..ca5dd71d851 --- /dev/null +++ b/.devcontainer/docker-compose.yml @@ -0,0 +1,14 @@ +version: "3" + +services: + vscode: + build: . + ports: + - "8080:8080" + volumes: + - ../:/workspace + # Docker socket to access Docker server + - /var/run/docker.sock:/var/run/docker.sock + # Git config + - ~/.gitconfig:/root/.gitconfig + entrypoint: /bin/sh -c "while sleep 1000; do :; done" \ No newline at end of file From 6e5eb9d3f7f6861d9e1b68a543cb1706185fb284 Mon Sep 17 00:00:00 2001 From: ns065186 Date: Tue, 7 Mar 2023 15:18:34 -0600 Subject: [PATCH 2/9] wdio container setup --- .devcontainer/Dockerfile | 1 - .devcontainer/devcontainer.json | 4 +-- .devcontainer/docker-compose.yml | 59 +++++++++++++++++++++++++++----- 3 files changed, 52 insertions(+), 12 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index d2b8acad1bc..4625f11255a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,2 +1 @@ -# use ion-node as base image FROM docker.cernerrepos.net/ion/ion-node:5 \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a7e319bcb0b..9bc52ba5bbe 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,7 +6,7 @@ "workspaceFolder": "/workspace", "postCreateCommand": "", "runServices": [ - "vscode" + "vscode", "selenium-hub", "chrome", "firefox" ], "customizations": { "vscode": { @@ -22,5 +22,5 @@ } }, - "forwardPorts": [8080] + "forwardPorts": [8080, 4444] } \ No newline at end of file diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index ca5dd71d851..05883fd35d9 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -1,14 +1,55 @@ version: "3" services: - vscode: - build: . + # vscode: + # build: . + # ports: + # - "8080:8080" + # volumes: + # - ../:/workspace + # # Docker socket to access Docker server + # - /var/run/docker.sock:/var/run/docker.sock + # # Git config + # - ~/.gitconfig:/root/.gitconfig + # entrypoint: /bin/sh -c "while sleep 1000; do :; done" + + selenium-hub: + image: selenium/hub:3.14.0-helium + container_name: selenium-hub ports: - - "8080:8080" + - "4444:4444" + healthcheck: + test: ["CMD", "/opt/bin/check-grid.sh"] + interval: 15s + timeout: 30s + retries: 5 + + chrome: + image: selenium/node-chrome:3.14.0-helium + # Volume mounting is necessary to ensure the browser does not crash inside the docker container. + # For more details see: + # https://github.com/SeleniumHQ/docker-selenium#running-the-images + # https://bugs.chromium.org/p/chromium/issues/detail?id=519952 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 + volumes: + - /dev/shm:/dev/shm + depends_on: + - selenium-hub + environment: + - HUB_HOST=selenium-hub + - HUB_PORT=4444 + + firefox: + image: selenium/node-firefox:3.141.59-titanium + # Volume mounting is necessary to ensure the browser does not crash inside the docker container. + # For more details see: + # https://github.com/SeleniumHQ/docker-selenium#running-the-images + # https://bugs.chromium.org/p/chromium/issues/detail?id=519952 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 volumes: - - ../:/workspace - # Docker socket to access Docker server - - /var/run/docker.sock:/var/run/docker.sock - # Git config - - ~/.gitconfig:/root/.gitconfig - entrypoint: /bin/sh -c "while sleep 1000; do :; done" \ No newline at end of file + - /dev/shm:/dev/shm + depends_on: + - selenium-hub + environment: + - HUB_HOST=selenium-hub + - HUB_PORT=4444 \ No newline at end of file From 3cf62cea6b91fe50429151b4540bf257f2f229ee Mon Sep 17 00:00:00 2001 From: ns065186 Date: Tue, 14 Mar 2023 15:02:49 -0500 Subject: [PATCH 3/9] Add docker-compose-wdio for local selenium grid docker spin-up --- .devcontainer/devcontainer.json | 5 +-- .devcontainer/docker-compose-wdio.yml | 43 +++++++++++++++++++ .devcontainer/docker-compose.yml | 60 ++++----------------------- 3 files changed, 54 insertions(+), 54 deletions(-) create mode 100644 .devcontainer/docker-compose-wdio.yml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9bc52ba5bbe..767703d5699 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,7 +6,7 @@ "workspaceFolder": "/workspace", "postCreateCommand": "", "runServices": [ - "vscode", "selenium-hub", "chrome", "firefox" + "vscode" ], "customizations": { "vscode": { @@ -21,6 +21,5 @@ ] } }, - - "forwardPorts": [8080, 4444] + "forwardPorts": [8080] } \ No newline at end of file diff --git a/.devcontainer/docker-compose-wdio.yml b/.devcontainer/docker-compose-wdio.yml new file mode 100644 index 00000000000..fee7ced2b1d --- /dev/null +++ b/.devcontainer/docker-compose-wdio.yml @@ -0,0 +1,43 @@ +version: "3" + +services: + selenium-hub: + image: selenium/hub:3.141.59-zirconium + container_name: selenium-hub + ports: + - "4444:4444" + healthcheck: + test: ["CMD", "/opt/bin/check-grid.sh"] + interval: 15s + timeout: 30s + retries: 5 + + chrome: + image: selenium/node-chrome:3.141.59-zirconium + # Volume mounting is necessary to ensure the browser does not crash inside the docker container. + # For more details see: + # https://github.com/SeleniumHQ/docker-selenium#running-the-images + # https://bugs.chromium.org/p/chromium/issues/detail?id=519952 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 + volumes: + - /dev/shm:/dev/shm + depends_on: + - selenium-hub + environment: + - HUB_HOST=selenium-hub + - HUB_PORT=4444 + + firefox: + image: selenium/node-firefox:3.141.59-zirconium + # Volume mounting is necessary to ensure the browser does not crash inside the docker container. + # For more details see: + # https://github.com/SeleniumHQ/docker-selenium#running-the-images + # https://bugs.chromium.org/p/chromium/issues/detail?id=519952 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 + volumes: + - /dev/shm:/dev/shm + depends_on: + - selenium-hub + environment: + - HUB_HOST=selenium-hub + - HUB_PORT=4444 \ No newline at end of file diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 05883fd35d9..3c931f53585 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -1,55 +1,13 @@ version: "3" services: - # vscode: - # build: . - # ports: - # - "8080:8080" - # volumes: - # - ../:/workspace - # # Docker socket to access Docker server - # - /var/run/docker.sock:/var/run/docker.sock - # # Git config - # - ~/.gitconfig:/root/.gitconfig - # entrypoint: /bin/sh -c "while sleep 1000; do :; done" - - selenium-hub: - image: selenium/hub:3.14.0-helium - container_name: selenium-hub - ports: - - "4444:4444" - healthcheck: - test: ["CMD", "/opt/bin/check-grid.sh"] - interval: 15s - timeout: 30s - retries: 5 - - chrome: - image: selenium/node-chrome:3.14.0-helium - # Volume mounting is necessary to ensure the browser does not crash inside the docker container. - # For more details see: - # https://github.com/SeleniumHQ/docker-selenium#running-the-images - # https://bugs.chromium.org/p/chromium/issues/detail?id=519952 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 - volumes: - - /dev/shm:/dev/shm - depends_on: - - selenium-hub - environment: - - HUB_HOST=selenium-hub - - HUB_PORT=4444 - - firefox: - image: selenium/node-firefox:3.141.59-titanium - # Volume mounting is necessary to ensure the browser does not crash inside the docker container. - # For more details see: - # https://github.com/SeleniumHQ/docker-selenium#running-the-images - # https://bugs.chromium.org/p/chromium/issues/detail?id=519952 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 + vscode: + network_mode: host + build: . volumes: - - /dev/shm:/dev/shm - depends_on: - - selenium-hub - environment: - - HUB_HOST=selenium-hub - - HUB_PORT=4444 \ No newline at end of file + - ../:/workspace + # Docker socket to access Docker server + - /var/run/docker.sock:/var/run/docker.sock + # Git config + - ~/.gitconfig:/root/.gitconfig + entrypoint: /bin/sh -c "while sleep 1000; do :; done" \ No newline at end of file From cd11ec261e4d6aed706eb38474cf012b97a4450d Mon Sep 17 00:00:00 2001 From: ns065186 Date: Tue, 14 Mar 2023 15:56:08 -0500 Subject: [PATCH 4/9] Add documentation to use devcontainers in Readme --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index efeaf0fcdf6..ad4091cbc26 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ - [Packages Requiring I18n](#packages-requiring-i18n) - [Contributing](#contributing) - [Local Development](#local-development) +- [Local Development using Docker](#docker-local-development) - [LICENSE](#license)

@@ -175,6 +176,32 @@ npm install npm run test ``` +

+ Local Development using Docker +

+ +1. Install docker https://www.docker.com/. +2. Install [Microsoft VS Code](https://code.visualstudio.com/Download) +3. Clone this repo. +4. Open this repo in VS Code. +5. Install the Dev Container extension. + - Navigate to View -> Extension -> Search for and install _Dev Containers_ +6. Build the dev container. + - Navigate to View -> Command Palette -> Open Workspace In Container or Reopen Folder Locally +7. You're now running in a dev container. Use the terminal of the dev container to issue any npm commands. +8. Before running any WDIO tests (`npm run test` or `npm run wdio`) from inside this Dev Container, make sure to perform the following steps: + - Open a fresh terminal and navigate to ".devcontainer/" path. + - Execute the command `"docker compose -f docker-compose-wdio.yml up"`. Selenium hub should spin up. + - Navigate to the root package.json file and edit the wdio scripts to include `--disableSeleniumService=true` flag. + For example: + ```sh + "scripts": { + "wdio": "terra wdio --disableSeleniumService --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme" + } + ``` + This will disable the selenium service from spinning up again through terra-functional-testing setup. + - You can now run `npm run test` or any npm command which runs wdio tests through the Dev container. +

LICENSE

From b1e41716d884398f04e28923038abf2a350c79b4 Mon Sep 17 00:00:00 2001 From: ns065186 Date: Tue, 14 Mar 2023 16:07:02 -0500 Subject: [PATCH 5/9] Add Docs on vscode devcontainers --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ad4091cbc26..23276e65823 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ - [Packages Requiring I18n](#packages-requiring-i18n) - [Contributing](#contributing) - [Local Development](#local-development) -- [Local Development using Docker](#docker-local-development) +- [Local Development using Docker (Dev Containers)](#docker-local-development) - [LICENSE](#license)

@@ -177,7 +177,7 @@ npm run test ```

- Local Development using Docker + Local Development using Docker (Dev Containers)

1. Install docker https://www.docker.com/. @@ -186,6 +186,7 @@ npm run test 4. Open this repo in VS Code. 5. Install the Dev Container extension. - Navigate to View -> Extension -> Search for and install _Dev Containers_ + - More information on [Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) 6. Build the dev container. - Navigate to View -> Command Palette -> Open Workspace In Container or Reopen Folder Locally 7. You're now running in a dev container. Use the terminal of the dev container to issue any npm commands. From 5c7b5a108cfb60fbd9599073bc0a067cfb364da5 Mon Sep 17 00:00:00 2001 From: ns065186 Date: Wed, 15 Mar 2023 09:03:38 -0500 Subject: [PATCH 6/9] Readme update --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 23276e65823..77ae0d271c7 100644 --- a/README.md +++ b/README.md @@ -190,18 +190,18 @@ npm run test 6. Build the dev container. - Navigate to View -> Command Palette -> Open Workspace In Container or Reopen Folder Locally 7. You're now running in a dev container. Use the terminal of the dev container to issue any npm commands. -8. Before running any WDIO tests (`npm run test` or `npm run wdio`) from inside this Dev Container, make sure to perform the following steps: - - Open a fresh terminal and navigate to ".devcontainer/" path. +8. Before running any WDIO tests (`npm run test` or `npm run wdio`), make sure to perform the following steps: + - Open a new terminal (outside the dev container) and navigate to ".devcontainer/" path in your repository. - Execute the command `"docker compose -f docker-compose-wdio.yml up"`. Selenium hub should spin up. - Navigate to the root package.json file and edit the wdio scripts to include `--disableSeleniumService=true` flag. For example: ```sh "scripts": { - "wdio": "terra wdio --disableSeleniumService --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme" + "wdio": "terra wdio --disableSeleniumService=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme" } ``` This will disable the selenium service from spinning up again through terra-functional-testing setup. - - You can now run `npm run test` or any npm command which runs wdio tests through the Dev container. + - You can now run `npm run test` or any npm command which runs wdio tests from inside the Dev Container.

LICENSE From b73c0a51ec96827cc4510702a95b2b97ed13e0a4 Mon Sep 17 00:00:00 2001 From: ns065186 Date: Wed, 15 Mar 2023 09:17:55 -0500 Subject: [PATCH 7/9] Readme updates to include docker prune commands --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 77ae0d271c7..8d2db71b9a0 100644 --- a/README.md +++ b/README.md @@ -192,16 +192,15 @@ npm run test 7. You're now running in a dev container. Use the terminal of the dev container to issue any npm commands. 8. Before running any WDIO tests (`npm run test` or `npm run wdio`), make sure to perform the following steps: - Open a new terminal (outside the dev container) and navigate to ".devcontainer/" path in your repository. - - Execute the command `"docker compose -f docker-compose-wdio.yml up"`. Selenium hub should spin up. - - Navigate to the root package.json file and edit the wdio scripts to include `--disableSeleniumService=true` flag. + - Execute the command `"docker compose -f docker-compose-wdio.yml up"`. Selenium hub should spin up. Leave this running in the background. If you see errors saying "container name already exists", run `"docker container prune"` command followed by selecting "y" to clear up any unused containers and try running the previous command again. + - Edit the root package.json file WDIO scripts to include `--disableSeleniumService=true` flag. This will disable the selenium service from spinning up again. For example: ```sh "scripts": { "wdio": "terra wdio --disableSeleniumService=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme" } ``` - This will disable the selenium service from spinning up again through terra-functional-testing setup. - - You can now run `npm run test` or any npm command which runs wdio tests from inside the Dev Container. + - You can now run `npm run test` or any npm command which runs WDIO tests from inside the Dev Container.

LICENSE From 12bcd8174d6a8914aa91ba09880613ad56ef82cf Mon Sep 17 00:00:00 2001 From: ns065186 Date: Wed, 15 Mar 2023 11:22:41 -0500 Subject: [PATCH 8/9] Update readme --- .devcontainer/Dockerfile | 2 +- .devcontainer/devcontainer.json | 2 +- .devcontainer/docker-compose-wdio.yml | 2 +- .devcontainer/docker-compose.yml | 2 +- README.md | 5 +++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 4625f11255a..46a4e0acaee 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1 +1 @@ -FROM docker.cernerrepos.net/ion/ion-node:5 \ No newline at end of file +FROM docker.cernerrepos.net/ion/ion-node:5 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 767703d5699..12acea5316f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -22,4 +22,4 @@ } }, "forwardPorts": [8080] -} \ No newline at end of file +} diff --git a/.devcontainer/docker-compose-wdio.yml b/.devcontainer/docker-compose-wdio.yml index fee7ced2b1d..50c6d6c76f8 100644 --- a/.devcontainer/docker-compose-wdio.yml +++ b/.devcontainer/docker-compose-wdio.yml @@ -40,4 +40,4 @@ services: - selenium-hub environment: - HUB_HOST=selenium-hub - - HUB_PORT=4444 \ No newline at end of file + - HUB_PORT=4444 diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 3c931f53585..b73fe4b2734 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -10,4 +10,4 @@ services: - /var/run/docker.sock:/var/run/docker.sock # Git config - ~/.gitconfig:/root/.gitconfig - entrypoint: /bin/sh -c "while sleep 1000; do :; done" \ No newline at end of file + entrypoint: /bin/sh -c "while sleep 1000; do :; done" diff --git a/README.md b/README.md index 8d2db71b9a0..3e65a56b330 100644 --- a/README.md +++ b/README.md @@ -185,10 +185,11 @@ npm run test 3. Clone this repo. 4. Open this repo in VS Code. 5. Install the Dev Container extension. - - Navigate to View -> Extension -> Search for and install _Dev Containers_ + - Navigate to View -> Extension -> Search for and install _Dev Containers_ (or "ms-vscode-remote.remote-containers") - More information on [Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) 6. Build the dev container. - - Navigate to View -> Command Palette -> Open Workspace In Container or Reopen Folder Locally + - Make sure you are connected to the Cerner VPN when building this container the first time. + - Navigate to View -> Command Palette -> Open Workspace In Container or Reopen In Container. 7. You're now running in a dev container. Use the terminal of the dev container to issue any npm commands. 8. Before running any WDIO tests (`npm run test` or `npm run wdio`), make sure to perform the following steps: - Open a new terminal (outside the dev container) and navigate to ".devcontainer/" path in your repository. From 97a5e245ae3b3eb16ac00c3d501eceadc72e6e30 Mon Sep 17 00:00:00 2001 From: ns065186 Date: Wed, 15 Mar 2023 13:55:03 -0500 Subject: [PATCH 9/9] Add docker scripts for WDIO tests --- README.md | 12 ++++++------ package.json | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3e65a56b330..82e6b6c3df4 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ npm run test Local Development using Docker (Dev Containers)

-1. Install docker https://www.docker.com/. +1. Install [Docker](https://www.docker.com/). 2. Install [Microsoft VS Code](https://code.visualstudio.com/Download) 3. Clone this repo. 4. Open this repo in VS Code. @@ -191,17 +191,17 @@ npm run test - Make sure you are connected to the Cerner VPN when building this container the first time. - Navigate to View -> Command Palette -> Open Workspace In Container or Reopen In Container. 7. You're now running in a dev container. Use the terminal of the dev container to issue any npm commands. -8. Before running any WDIO tests (`npm run test` or `npm run wdio`), make sure to perform the following steps: +8. Before running any WDIO tests, make sure to perform the following steps: - Open a new terminal (outside the dev container) and navigate to ".devcontainer/" path in your repository. - - Execute the command `"docker compose -f docker-compose-wdio.yml up"`. Selenium hub should spin up. Leave this running in the background. If you see errors saying "container name already exists", run `"docker container prune"` command followed by selecting "y" to clear up any unused containers and try running the previous command again. - - Edit the root package.json file WDIO scripts to include `--disableSeleniumService=true` flag. This will disable the selenium service from spinning up again. + - Execute the command `"docker compose -f docker-compose-wdio.yml up"`. Selenium hub should spin up. Leave this running in the background. If you see errors saying "container name already exists", run `"docker container prune"` command followed by pressing "y" to clear up any unused containers and try running the previous command again. + - You can now run `npm run test:docker` or `npm run wdio:docker` commands to run WDIO tests from inside the Dev Container. + - NOTE: Optionally, if you want to run other WDIO commands in the dev container, you can also edit the root package.json file WDIO scripts to include `--disableSeleniumService=true` flag. This will disable the selenium service from spinning up again. For example: ```sh "scripts": { - "wdio": "terra wdio --disableSeleniumService=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme" + "wdio-lowlight": "terra wdio --disableSeleniumService=true --themes clinical-lowlight-theme" } ``` - - You can now run `npm run test` or any npm command which runs WDIO tests from inside the Dev Container.

LICENSE diff --git a/package.json b/package.json index be724e3277c..d040211fa15 100644 --- a/package.json +++ b/package.json @@ -70,10 +70,12 @@ "start-static": "npm run compile:prod && terra express-server --site ./build", "start-heroku": "terra express-server --port $PORT --site './build' ", "test": "npm run lint && npm run jest && npm run wdio", + "test:docker": "npm run lint && npm run jest && npm run wdio:docker", "wdio-default": "terra wdio", "wdio-lowlight": "terra wdio --themes clinical-lowlight-theme", "wdio-fusion": "terra wdio --themes orion-fusion-theme", - "wdio": "terra wdio --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme" + "wdio": "terra wdio --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme", + "wdio:docker": "terra wdio --disableSeleniumService=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme" }, "devDependencies": { "@babel/cli": "^7.5.0",