To run browser tests in a local dev environment:
-
make sure
localhost:9999points to QuestDB Web Console -
disable telemetry in QuestDB Web Console. Use env variable
QDB_TELEMETRY_ENABLED=falseif running with docker, you can pass the variable like this:docker run -e QDB_TELEMETRY_ENABLED=false -p 9000:9000 -p 9009:9009 questdb/questdb:latest -
run
cypressthroughyarn:
yarn test:e2e # console tests
yarn test:e2e:auth # auth tests
yarn test:e2e:enterprise # enterprise tests
If you want to interact with cypress, you can start it like so:
yarn cypress open