Skip to Content
Development InfrastructureThe Browser-Test Stack

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.sh

It differs from the self-hosted stack on purpose:

Browser-test stackSelf-hosted
DataIn memory, rebuilt on every startNamed volumes
TenantsTwo fixed test tenantsThe one you name
SeedDeletes and recreates its tenantsOnly adds
ImagesBuilt from sourcePulled

Do not point it at real data, and do not reuse its credentials: they are in the repository.