ElementRobot d2d61a3203
[create-pull-request] automated change (#31825)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-01-21 06:23:36 +00:00

25 lines
910 B
TypeScript

/*
Copyright 2025 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
import {
MatrixAuthenticationServiceContainer as BaseMatrixAuthenticationServiceContainer,
type StartedPostgreSqlContainer,
} from "@element-hq/element-web-playwright-common/lib/testcontainers";
const TAG = "main@sha256:d9b943e8e3ae3efef5fe5e32a9ddf500bc77b257baedf2f1ca32b3ee0623095f";
/**
* MatrixAuthenticationServiceContainer which freezes the docker digest to
* stabilise tests, updated periodically by the `playwright-image-updates.yaml`
* workflow.
*/
export class MatrixAuthenticationServiceContainer extends BaseMatrixAuthenticationServiceContainer {
public constructor(db: StartedPostgreSqlContainer) {
super(db, `ghcr.io/element-hq/matrix-authentication-service:${TAG}`);
}
}