mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-26 23:46:47 +00:00
1.5 KiB
1.5 KiB
Notebook end-to-end tests
This describes how to run the tests locally
Stand up a local notebook container instance:
Instructions on how to build and run the container here
Run a local data explorer
Instructions are in DataExplorer/README.md
.
Make sure you can run Data Explorer locally from the web browser.
Run cypress tests
- Edit the URL for your DataExplorer in the
.spec.ts
file - Run the test:
cd DataExplorer/cypress
npm i
npm t -- --spec 'integration/notebook/newNotebook.spec.ts'
To run in Debug mode:
npm run test:debug
This opens Cypress UI
Troubleshooting
- The tests are recorded in the
videos
folder. - Cypress does not support hover: workarounds here.