Skip to content

Commit

Permalink
docs: integration tests changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nLight committed Mar 11, 2019
1 parent 0af72a3 commit 96af96a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <path>
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
Expand Down

0 comments on commit 96af96a

Please sign in to comment.