From 552e1215befcf5bbfe2472dfa2a8cd53af3db7e6 Mon Sep 17 00:00:00 2001 From: Valere Date: Thu, 23 Oct 2025 14:24:15 +0200 Subject: [PATCH] revert CI test changes --- playwright.config.ts | 3 +-- playwright/fixtures/widget-user.ts | 2 +- scripts/playwright-webserver-command.sh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index dd7b1e76..7a8ee530 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -8,7 +8,7 @@ Please see LICENSE in the repository root for full details. import { defineConfig, devices } from "@playwright/test"; const baseURL = process.env.USE_DOCKER - ? "http://localhost:3000" + ? "http://localhost:8080" : "https://localhost:3000"; /** @@ -81,7 +81,6 @@ export default defineConfig({ url: baseURL, reuseExistingServer: !process.env.CI, ignoreHTTPSErrors: true, - timeout: 240000, gracefulShutdown: { signal: "SIGTERM", timeout: 500, diff --git a/playwright/fixtures/widget-user.ts b/playwright/fixtures/widget-user.ts index 484c1712..8089c9de 100644 --- a/playwright/fixtures/widget-user.ts +++ b/playwright/fixtures/widget-user.ts @@ -76,7 +76,7 @@ const setDevToolElementCallDevUrl = process.env.USE_DOCKER "Developer.elementCallUrl", null, "device", - "http://localhost:3000/room", + "http://localhost:8080/room", ); }); } diff --git a/scripts/playwright-webserver-command.sh b/scripts/playwright-webserver-command.sh index c6015fef..8c00909b 100755 --- a/scripts/playwright-webserver-command.sh +++ b/scripts/playwright-webserver-command.sh @@ -3,7 +3,7 @@ if [ -n "$USE_DOCKER" ]; then set -ex yarn build docker build -t element-call:testing . - exec docker run --rm --name element-call-testing -p 3000:3000 -v ./config/config.devenv.json:/app/config.json:ro,Z element-call:testing + exec docker run --rm --name element-call-testing -p 8080:8080 -v ./config/config.devenv.json:/app/config.json:ro,Z element-call:testing else cp config/config.devenv.json public/config.json exec yarn dev