mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-14 13:51:41 +01:00
* [create-pull-request] automated change * Update Playwright utilities for navigating MAS UI Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
25 lines
910 B
TypeScript
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:667def36a80a73637513389e8f1f55a3e1995f86c878ccfcdc84419d427db724";
|
|
|
|
/**
|
|
* 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}`);
|
|
}
|
|
}
|