revert CI test changes

This commit is contained in:
Valere
2025-10-23 14:24:15 +02:00
parent 185d7d1177
commit 552e1215be
3 changed files with 3 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ Please see LICENSE in the repository root for full details.
import { defineConfig, devices } from "@playwright/test"; import { defineConfig, devices } from "@playwright/test";
const baseURL = process.env.USE_DOCKER const baseURL = process.env.USE_DOCKER
? "http://localhost:3000" ? "http://localhost:8080"
: "https://localhost:3000"; : "https://localhost:3000";
/** /**
@@ -81,7 +81,6 @@ export default defineConfig({
url: baseURL, url: baseURL,
reuseExistingServer: !process.env.CI, reuseExistingServer: !process.env.CI,
ignoreHTTPSErrors: true, ignoreHTTPSErrors: true,
timeout: 240000,
gracefulShutdown: { gracefulShutdown: {
signal: "SIGTERM", signal: "SIGTERM",
timeout: 500, timeout: 500,

View File

@@ -76,7 +76,7 @@ const setDevToolElementCallDevUrl = process.env.USE_DOCKER
"Developer.elementCallUrl", "Developer.elementCallUrl",
null, null,
"device", "device",
"http://localhost:3000/room", "http://localhost:8080/room",
); );
}); });
} }

View File

@@ -3,7 +3,7 @@ if [ -n "$USE_DOCKER" ]; then
set -ex set -ex
yarn build yarn build
docker build -t element-call:testing . 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 else
cp config/config.devenv.json public/config.json cp config/config.devenv.json public/config.json
exec yarn dev exec yarn dev