The Browser-Test Stack
A disposable, localhost-only stack for Playwright.
docker-compose.test.yml in platform, with src/Tests/e2e-env/up.sh, brings up a
self-contained stack for browser tests: PostgreSQL, a blob storage emulator, two Portal APIs
(an Arabic tenant and an English one), Upload, Media and two portals.
./src/Tests/e2e-env/up.shIt differs from the self-hosted stack on purpose:
| Browser-test stack | Self-hosted | |
|---|---|---|
| Data | In memory, rebuilt on every start | Named volumes |
| Tenants | Two fixed test tenants | The one you name |
| Seed | Deletes and recreates its tenants | Only adds |
| Images | Built from source | Pulled |
Do not point it at real data, and do not reuse its credentials: they are in the repository.