From 636cee5dcb281f28792c4ef25aeab94954da52df Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 5 Aug 2025 12:04:01 +0200 Subject: [PATCH] Fix the MAS config override ordering --- packages/element-web-playwright-common/package.json | 2 +- .../element-web-playwright-common/src/testcontainers/mas.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/element-web-playwright-common/package.json b/packages/element-web-playwright-common/package.json index c97f1d6b8c..9a5d8e3d1c 100644 --- a/packages/element-web-playwright-common/package.json +++ b/packages/element-web-playwright-common/package.json @@ -1,7 +1,7 @@ { "name": "@element-hq/element-web-playwright-common", "type": "module", - "version": "1.4.5", + "version": "1.4.6", "license": "SEE LICENSE IN README.md", "repository": { "type": "git", diff --git a/packages/element-web-playwright-common/src/testcontainers/mas.ts b/packages/element-web-playwright-common/src/testcontainers/mas.ts index c8605ae5c1..6330897ada 100644 --- a/packages/element-web-playwright-common/src/testcontainers/mas.ts +++ b/packages/element-web-playwright-common/src/testcontainers/mas.ts @@ -186,9 +186,9 @@ export class MatrixAuthenticationServiceContainer extends GenericContainer { const port = await getFreePort(); this.config.http = { + ...this.config.http, public_base: `http://localhost:${port}/`, issuer: `http://localhost:${port}/`, - ...this.config.http, }; this.withExposedPorts({