diff --git a/playwright/e2e/login/login-consent.spec.ts b/playwright/e2e/login/login-consent.spec.ts index 51486b1ce0..33dd88df6c 100644 --- a/playwright/e2e/login/login-consent.spec.ts +++ b/playwright/e2e/login/login-consent.spec.ts @@ -129,6 +129,7 @@ test.describe("Login", () => { await expect(page.getByRole("heading", { name: "Welcome to Element!" })).toBeVisible(); // Start the login process + await expect(axe).toHaveNoViolations(); await page.getByRole("link", { name: "Sign in" }).click(); // first pick the homeserver, as otherwise the user picker won't be visible @@ -148,8 +149,6 @@ test.describe("Login", () => { await selectHomeserver(page, homeserver.baseUrl); await expect(page.getByRole("textbox", { name: "Username" })).toBeVisible(); - // Disabled because flaky - see https://github.com/vector-im/element-web/issues/24688 - // cy.percySnapshot("Login"); await expect(axe).toHaveNoViolations(); await page.getByRole("textbox", { name: "Username" }).fill(credentials.username); diff --git a/playwright/snapshots/forgot-password/forgot-password.spec.ts/forgot-password-linux.png b/playwright/snapshots/forgot-password/forgot-password.spec.ts/forgot-password-linux.png index 8bc25d6f2f..6bd16b37d6 100644 Binary files a/playwright/snapshots/forgot-password/forgot-password.spec.ts/forgot-password-linux.png and b/playwright/snapshots/forgot-password/forgot-password.spec.ts/forgot-password-linux.png differ diff --git a/res/welcome.html b/res/welcome.html index 9fdd60a7c0..d2e87c3be8 100644 --- a/res/welcome.html +++ b/res/welcome.html @@ -167,11 +167,11 @@ we don't have an account and should hide them. No account == no guest account ei
- +

_t("welcome_to_element")

-

_t("powered_by_matrix_with_logo")

+

_t("powered_by_matrix_with_logo")

diff --git a/src/components/views/auth/Welcome.tsx b/src/components/views/auth/Welcome.tsx index 59fd1533e3..e2b64028e4 100644 --- a/src/components/views/auth/Welcome.tsx +++ b/src/components/views/auth/Welcome.tsx @@ -26,6 +26,7 @@ export default class Welcome extends React.PureComponent { } const replaceMap: Record = { + "$brand": SdkConfig.get("brand"), "$riot:ssoUrl": "#/start_sso", "$riot:casUrl": "#/start_cas", "$matrixLogo": MATRIX_LOGO_HTML, diff --git a/test/unit-tests/components/structures/__snapshots__/MatrixChat-test.tsx.snap b/test/unit-tests/components/structures/__snapshots__/MatrixChat-test.tsx.snap index 2aa9d6e4a7..77c1617431 100644 --- a/test/unit-tests/components/structures/__snapshots__/MatrixChat-test.tsx.snap +++ b/test/unit-tests/components/structures/__snapshots__/MatrixChat-test.tsx.snap @@ -120,9 +120,11 @@ exports[` Multi-tab lockout waits for other tab to stop during sta class="mx_AuthPage_modalBlur" style="position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; filter: blur(40px);" /> -
Multi-tab lockout waits for other tab to stop during sta
-
+