Add small changes to the auth/login button label (#7754)
Some checks failed
_DEVELOP / build-bundle (push) Has been cancelled
_DEVELOP / build-docker (push) Has been cancelled
_STAGING / build-bundle (push) Has been cancelled
_STAGING / build-docker (push) Has been cancelled
Commit Message Check / Check Commit Message (push) Has been cancelled

* 📎 Update changelog

*  Update login button label

* 📎 Adapt playwright tests
This commit is contained in:
Andrey Antukh
2025-11-14 11:35:10 +01:00
committed by GitHub
parent 2810ae681f
commit 30413dbc66
3 changed files with 3 additions and 2 deletions

View File

@@ -53,6 +53,7 @@ provider dinamically.
- Select boards to export as PDF [Taiga #12320](https://tree.taiga.io/project/penpot/issue/12320) - Select boards to export as PDF [Taiga #12320](https://tree.taiga.io/project/penpot/issue/12320)
- Toggle for switching boolean property values [Taiga #12341](https://tree.taiga.io/project/penpot/us/12341) - Toggle for switching boolean property values [Taiga #12341](https://tree.taiga.io/project/penpot/us/12341)
- Add auth flow changes [Taiga #12333](https://tree.taiga.io/project/penpot/us/12333)
### :bug: Bugs fixed ### :bug: Bugs fixed

View File

@@ -3,7 +3,7 @@ import { BasePage } from "./BasePage";
export class LoginPage extends BasePage { export class LoginPage extends BasePage {
constructor(page) { constructor(page) {
super(page); super(page);
this.loginButton = page.getByRole("button", { name: "Login" }); this.loginButton = page.getByRole("button", { name: "Continue" });
this.password = page.getByLabel("Password"); this.password = page.getByLabel("Password");
this.userName = page.getByLabel("Email"); this.userName = page.getByLabel("Email");
this.invalidCredentialsError = page.getByText( this.invalidCredentialsError = page.getByText(

View File

@@ -201,7 +201,7 @@
(when (or (contains? cf/flags :login) (when (or (contains? cf/flags :login)
(contains? cf/flags :login-with-password)) (contains? cf/flags :login-with-password))
[:> fm/submit-button* [:> fm/submit-button*
{:label (tr "auth.login-submit") {:label (tr "labels.continue")
:data-testid "login-submit" :data-testid "login-submit"
:class (stl/css :login-button)}]) :class (stl/css :login-button)}])