diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 9f15c0898..9ca167725 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -16,6 +16,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install Symfony CLI + run: | + curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | sudo -E bash + sudo apt install symfony-cli + - name: Start containers run: docker compose -f "docker-compose.yml" up -d --build diff --git a/playwright.config.ts b/playwright.config.ts index 99e92b789..771f01c15 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -75,4 +75,11 @@ export default defineConfig({ // url: 'http://127.0.0.1:3000', // reuseExistingServer: !process.env.CI, // }, + webServer: { + command: `symfony server:start --port=8080`, + env: { + APP_ENV: 'test', + }, + url: `http://localhost:8080`, + }, });