diff --git a/packages/element-web-playwright-common/src/testcontainers/mas.ts b/packages/element-web-playwright-common/src/testcontainers/mas.ts index 7d248cbd9c..c177376ee4 100644 --- a/packages/element-web-playwright-common/src/testcontainers/mas.ts +++ b/packages/element-web-playwright-common/src/testcontainers/mas.ts @@ -143,9 +143,11 @@ export class MatrixAuthenticationServiceContainer extends GenericContainer { private config: MasConfig; private readonly args = ["-c", "/config/config.yaml"]; - public constructor(db: StartedPostgreSqlContainer) { - // We rely on https://github.com/element-hq/matrix-authentication-service/pull/4563 which isn't in a release yet - super("ghcr.io/element-hq/matrix-authentication-service:sha-3207d23"); + public constructor( + db: StartedPostgreSqlContainer, + image: string = "ghcr.io/element-hq/matrix-authentication-service:latest", + ) { + super(image); this.config = deepCopy(DEFAULT_CONFIG); this.config.database.username = db.getUsername();