Skip to content

Commit

Permalink
Merge branch 'main' into #911_Failed_Test_policies_spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenlan-amzn authored Nov 8, 2023
2 parents 66012a4 + 3401a88 commit d781bc0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- [Build](#build)
- [Run](#run)
- [Test](#test)
- [Backport](#backport)

## Developer guide

Expand Down Expand Up @@ -57,6 +58,13 @@ In the base OpenSearch Dashboards directory, run

### Test

- `yarn start --no-base-path --no-watch --server.host="0.0.0.0"`

Starts OpenSearch Dashboards and includes this plugin. This setup is necessary for running tests using `Cypress` on `localhost:5601`.

**Important:** The `--server.host="0.0.0.0"` parameter is crucial as it configures the server to accept connections from any IP address, which is necessary for `Cypress` to connect to the dashboard server.


- `yarn test:jest`

- Runs the plugin tests.
Expand Down

0 comments on commit d781bc0

Please sign in to comment.