+
{translate('auth.signup.title')}
);
}
diff --git a/test/e2e/tests/helper/staticData.ts b/test/e2e/tests/helper/staticData.ts
index e5641e9358..7899eb237f 100644
--- a/test/e2e/tests/helper/staticData.ts
+++ b/test/e2e/tests/helper/staticData.ts
@@ -23,7 +23,7 @@ export const staticData = {
termsOfServiceTitle: 'Terms of Service',
needHelpTitle: 'How can we help you?',
howToCreateBackUpKeyPageTitle: 'How do I create a backup key?',
- logInPageTitle: 'Login',
+ logInPageTitle: 'Log in',
logInButtonText: 'Log in',
userAlreadyRegistered: 'already registered',
diff --git a/test/e2e/tests/pages/loginPage.ts b/test/e2e/tests/pages/loginPage.ts
index 3e2d28f74d..204ac15e2e 100644
--- a/test/e2e/tests/pages/loginPage.ts
+++ b/test/e2e/tests/pages/loginPage.ts
@@ -23,12 +23,12 @@ export class LoginPage {
constructor(page: Page) {
this.page = page;
- this.loginTitle = this.page.getByRole('heading', { name: 'Login' });
- this.emailInput = this.page.getByPlaceholder('Email', { exact: true });
+ this.loginTitle = this.page.getByRole('heading', { name: 'Log in' });
+ this.emailInput = this.page.getByPlaceholder('Email address', { exact: true });
this.passwordInput = this.page.getByPlaceholder('Password', { exact: true });
this.loginButton = this.page.getByRole('button', { name: 'Log in' });
this.loginButtonText = this.page.locator('[data-cy="loginButton"] div');
- this.forgotPassword = this.page.getByText('Forgot your password?');
+ this.forgotPassword = this.page.getByText('I forgot my password');
this.dontHaveAccountText = this.page.getByText('Don’t have an account?');
this.createAccount = this.page.getByRole('link', { name: 'Create account' });
this.termsAndConditions = this.page.getByRole('link', { name: 'Terms and conditions' });
@@ -48,7 +48,7 @@ export class LoginPage {
async typeEmail(user: string | any) {
await expect(this.emailInput).toBeVisible();
const emailPlaceholder = await this.emailInput.getAttribute('placeholder');
- expect(emailPlaceholder).toEqual('Email');
+ expect(emailPlaceholder).toEqual('Email address');
await this.emailInput.fill(user);
}
async typePassword(password: string | any) {
diff --git a/test/e2e/tests/pages/signUpPage.ts b/test/e2e/tests/pages/signUpPage.ts
index e10b338417..babd606ef3 100644
--- a/test/e2e/tests/pages/signUpPage.ts
+++ b/test/e2e/tests/pages/signUpPage.ts
@@ -25,7 +25,7 @@ export class SignUpPage {
constructor(page: Page) {
this.page = page;
(this.createAccountTitle = this.page.getByRole('heading', { level: 1 })),
- (this.emailInput = this.page.getByPlaceholder('Email', { exact: true }));
+ (this.emailInput = this.page.getByPlaceholder('Email address', { exact: true }));
this.passwordInput = this.page.getByPlaceholder('Password', { exact: true });
this.passwordWarning = this.page.locator('[class="pt-1"] p');
this.disclaimer = this.page.locator('[class$="pr-4 dark:bg-primary/20"] p');
@@ -49,7 +49,7 @@ export class SignUpPage {
const createAccountTitle = await this.createAccountTitle.textContent();
expect(createAccountTitle).toEqual('Create account');
const emailPlaceholder = await this.emailInput.getAttribute('placeholder');
- expect(emailPlaceholder).toEqual('Email');
+ expect(emailPlaceholder).toEqual('Email address');
await this.emailInput.fill(email);
}