Skip to content

Commit

Permalink
Adding testing info do DEVELOPER_GUIDE.md (#1554)
Browse files Browse the repository at this point in the history
* Make the steps diagram honor the theme (#1538)

Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Craig Perkins <cwperx@amazon.com>
Co-authored-by: Ryan Liang <109499885+RyanL1997@users.noreply.github.com>
Signed-off-by: Sam <samuel.costa@eliatra.com>

* Adding testing info do DEVELOPER_GUIDE.md

Signed-off-by: Sam <samuel.costa@eliatra.com>

* Minor changes and adding link

Signed-off-by: Sam <samuel.costa@eliatra.com>

---------

Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Sam <samuel.costa@eliatra.com>
Co-authored-by: Miki <miki@amazon.com>
Co-authored-by: Craig Perkins <cwperx@amazon.com>
Co-authored-by: Ryan Liang <109499885+RyanL1997@users.noreply.github.com>
  • Loading branch information
4 people authored Aug 18, 2023
1 parent 20ba268 commit 8f15188
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,15 @@ Next, go to the base directory (`cd ../..`) and run `yarn osd bootstrap` to inst
From the base directory, run `yarn start`. This should start dashboard UI successfully. `Cmd+click` the url in the console output (It should look something like `http://0:5601/omf`). Once the page loads, you should be able to log in with user `admin` and password `admin`.
## Integration Tests
## Testing
The security-dashboards-plugin project uses Jest, Cypress and Selenium and makes use of the [OpenSearch Dashboards Functional Test]( https://github.com/opensearch-project/opensearch-dashboards-functional-test) project.
Make sure you have the OpenSearch and OpenSearch Dashboards running with the Security Plugin and that you can log in to it using a web browser.
Clone [OpenSearch Dashboards Functional Test]( https://github.com/opensearch-project/opensearch-dashboards-functional-test) in your local machine and follow the instructions in its DEVELOPER_GUIDE.md
### Integration Tests
To run selenium based integration tests, download and export the firefox web-driver to your PATH. Also, run `node scripts/build_opensearch_dashboards_platform_plugins.js` or `yarn start` before running the tests. This is essential to generate the bundles.
Expand Down

0 comments on commit 8f15188

Please sign in to comment.