2025-01-07 18:11:44 +00:00
|
|
|
/*
|
2025-03-17 09:16:45 +00:00
|
|
|
Copyright 2024-2025 New Vector Ltd.
|
2025-01-07 18:11:44 +00:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
*/
|
|
|
|
|
|
2025-03-17 09:16:45 +00:00
|
|
|
import { SynapseContainer as BaseSynapseContainer } from "@element-hq/element-web-playwright-common/lib/testcontainers";
|
2025-01-07 18:11:44 +00:00
|
|
|
|
2025-12-09 07:23:33 +01:00
|
|
|
const TAG = "develop@sha256:b2c1ae44f6e048d0cdd23b2469271d3a4e33b4c6528f051f1d29ac3e4ffe622f";
|
2025-01-07 18:11:44 +00:00
|
|
|
|
2025-03-17 09:16:45 +00:00
|
|
|
/**
|
|
|
|
|
* SynapseContainer which freezes the docker digest to stabilise tests,
|
|
|
|
|
* updated periodically by the `playwright-image-updates.yaml` workflow.
|
|
|
|
|
*/
|
|
|
|
|
export class SynapseContainer extends BaseSynapseContainer {
|
|
|
|
|
public constructor() {
|
2025-01-07 18:11:44 +00:00
|
|
|
super(`ghcr.io/element-hq/synapse:${TAG}`);
|
|
|
|
|
}
|
|
|
|
|
}
|