Commit graph

5 commits

Author SHA1 Message Date
Tom Alexander
75ff28dd68
chore: Use local clickhouse instance for playwright tests (#1711)
TLDR: This PR changes playwright full-stack tests to run against a local clickhouse instance (with seeded data) instead of relying on the clickhouse demo server, which can be unpredictable at times. This workflow allows us to fully control the data to make tests more predictable.

This PR: 
* Adds local CH instance to the e2e dockerfile
* Adds a schema creation script
* Adds a data seeding script
* Updates playwright config 
* Updates various tests to change hardcoded fields, metrics, or areas relying on play demo data
* Updates github workflow to use the dockerfile instead of separate services
* Runs against a local clickhouse instead of the demo server

Fixes: HDX-3193
2026-02-13 15:43:12 +00:00
Brandon Pereira
6a6709bb3b
cleanup test-e2e additional flags so they're easier to add (#1543)
Also fixes issue where `--ui` passed incorrectly 

Feedback for Claude: we currently don't support any arguments with spaces at the makefile level, so no need for space parsing
2026-01-04 23:31:52 +00:00
Brandon Pereira
9509f1e72c
Fix More Search Select Statement Bugs, Add Tests (#1539)
- fix race condition when switching saved searches after changing sources 
- Add e2e tests for saved search bug
- add ability to run e2e tests with UI easier

No changeset needed.. can bump off last commit

Fixes HDX-3127
2025-12-30 22:02:29 +00:00
Tom Alexander
68918e4711
chore: Run playwright tests with mongo backend (#1493)
Enables broader testing

Fixes: HDX-3069

To test:
- By default `make e2e` runs playwright tests with a docker compose for mongo
- To test the local-only mode, run `make e2e local=true`
- Since we manage play.hyperdx.io, I envision us running both commands on release
2025-12-17 18:33:28 +00:00
Tom Alexander
8b153c076c
chore: update e2e test configs to better work with CI (#1458)
* Also adds a helpful test:e2e:ci script to test playwright tests inside of a docker image with a clean build to more closely resemble running in CI
* Upgrades playwright version
2025-12-10 20:13:00 +00:00