mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-07 01:00:41 +00:00
Quick Run Tests with UI
-
Run quickstart
./gradlew quickstartDebug
-
Load Cypress fixture data and run Cypress UI
./gradlew cypressDev
Run Tests Against Remote Instance
Warning: this does not load any data. For now, either load data onto the remote instance manually, or only run tests that do not require preset data.
./gradlew :smoke-test:cypressRemote -PbaseUrl=<url> -Pusername=<username> -Ppassword=<password>
Run Tests Against Remote Instance with Local Frontend
- Build frontend
./gradlew :datahub-web-react:yarnBuild
- Start frontend preview against remote instance
./gradlew :datahub-web-react:yarnPreview -Pproxy="<remote-instance-url>"
- Start cypress against localhost:4173
./gradlew :smoke-test:cypressRemote -Pusername=<username> -Ppassword=<password>