To run browser tests in a local dev environment:
-
make sure
localhost:9999
points to QuestDB Web Console -
disable telemetry in QuestDB Web Console. Use env variable
QDB_TELEMETRY_ENABLED=false
if 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
cypress
throughyarn
:
yarn workspace browser-tests test
If you want to interact with cypress, you can start it like so:
yarn workspace browser-tests run cypress open