From 28bcbd40569bfb9c419ad30bbb41bd1c02ae94ca Mon Sep 17 00:00:00 2001 From: ElementRobot Date: Mon, 17 Jun 2024 10:30:33 +0100 Subject: [PATCH] Playwright Docker image updates (#12626) * [create-pull-request] automated change * Complete UIA password prompt Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: github-merge-queue Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --- playwright/e2e/crypto/crypto.spec.ts | 4 ++++ playwright/plugins/homeserver/synapse/index.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/playwright/e2e/crypto/crypto.spec.ts b/playwright/e2e/crypto/crypto.spec.ts index 326aeaff8e..8cac8abcb8 100644 --- a/playwright/e2e/crypto/crypto.spec.ts +++ b/playwright/e2e/crypto/crypto.spec.ts @@ -248,6 +248,10 @@ test.describe("Cryptography", function () { await page.getByPlaceholder("Security Key").fill(secretStorageKey); await page.getByRole("button", { name: "Continue" }).click(); + // Enter the password + await page.getByPlaceholder("Password").fill(aliceCredentials.password); + await page.getByRole("button", { name: "Continue" }).click(); + await expect(async () => { const masterKey2 = await fetchMasterKey(); expect(masterKey1).not.toEqual(masterKey2); diff --git a/playwright/plugins/homeserver/synapse/index.ts b/playwright/plugins/homeserver/synapse/index.ts index 77d6c745fe..6c048f5040 100644 --- a/playwright/plugins/homeserver/synapse/index.ts +++ b/playwright/plugins/homeserver/synapse/index.ts @@ -28,7 +28,7 @@ import { randB64Bytes } from "../../utils/rand"; // Docker tag to use for `matrixdotorg/synapse` image. // We target a specific digest as every now and then a Synapse update will break our CI. // This digest is updated by the playwright-image-updates.yaml workflow periodically. -const DOCKER_TAG = "develop@sha256:e05402df7e93b2cd6b618ed8f05aa76c6ef1abeb29c14d7891422b64e9452cc9"; +const DOCKER_TAG = "develop@sha256:0a531cc69287cbb92eaa6bdfab82aa3add71535cc9ba9eab0510413e42effb06"; async function cfgDirFromTemplate(opts: StartHomeserverOpts): Promise> { const templateDir = path.join(__dirname, "templates", opts.template);