mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 23:16:56 +00:00
.. | ||
newNotebook.spec.ts | ||
README.md | ||
resourceTree.spec.ts |
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.