From 2ab9d345b424fd5549124464165c50b6f797f867 Mon Sep 17 00:00:00 2001 From: ElementRobot Date: Thu, 4 Dec 2025 11:28:25 +0100 Subject: [PATCH] Playwright Docker image updates (#31418) * [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> --- playwright/e2e/oidc/index.ts | 4 ++-- playwright/testcontainers/mas.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/playwright/e2e/oidc/index.ts b/playwright/e2e/oidc/index.ts index 602a4368c7..50aa2de8d5 100644 --- a/playwright/e2e/oidc/index.ts +++ b/playwright/e2e/oidc/index.ts @@ -42,7 +42,7 @@ export async function registerAccountMas( await page.getByRole("button", { name: "Continue" }).click(); await page.getByRole("textbox", { name: "Display Name" }).fill(username); await page.getByRole("button", { name: "Continue" }).click(); - await expect(page.getByText("Allow access to your account?")).toBeVisible(); + await expect(page.getByText("Continue to Element?")).toBeVisible(); await page.getByRole("button", { name: "Continue" }).click(); } @@ -56,6 +56,6 @@ export async function logInAccountMas(page: Page, username: string, password: st await page.getByRole("textbox", { name: "Password", exact: true }).fill(password); await page.getByRole("button", { name: "Continue" }).click(); - await expect(page.getByText("Allow access to your account?")).toBeVisible(); + await expect(page.getByText("Continue to Element?")).toBeVisible(); await page.getByRole("button", { name: "Continue" }).click(); } diff --git a/playwright/testcontainers/mas.ts b/playwright/testcontainers/mas.ts index 6cb2426b08..c9077bef96 100644 --- a/playwright/testcontainers/mas.ts +++ b/playwright/testcontainers/mas.ts @@ -10,7 +10,7 @@ import { type StartedPostgreSqlContainer, } from "@element-hq/element-web-playwright-common/lib/testcontainers"; -const TAG = "main@sha256:326ef2fbd740ce0050b46807dc51d513228ce02dca681c453815cc6cc3d2d207"; +const TAG = "main@sha256:667def36a80a73637513389e8f1f55a3e1995f86c878ccfcdc84419d427db724"; /** * MatrixAuthenticationServiceContainer which freezes the docker digest to