From 96af96ae4ff7cfa0a04423da020d2dea9d7e5dfe Mon Sep 17 00:00:00 2001 From: Dmitriy Rozhkov Date: Wed, 27 Feb 2019 19:14:41 +0100 Subject: [PATCH] docs: integration tests changes --- CONTRIBUTING.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ebcb36fc23..2e8c3f1948 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -390,12 +390,25 @@ it will run, the user browser. ### Running Integration Tests -1. Run DC/OS UI in testing mode (you have to close `npm start`). +1.1 Without Plugins + +Run DC/OS UI in testing mode (you have to close `npm start`). ```sh +npm config delete externalplugins npm run start:testing ``` +1.1 With Plugins + +```sh +npm config set externalplugins +npm run test:integration:plugins:setup +npm run start:testing +``` + +NOTE: `npm run test:integration:plugins:setup` will copy plugins test over. Don't forged removing them. This is a workaround since Cypress can't run tests in multiple directories. + 2. Open Cypress app ```sh