From c5be7e5a9a12492908cfc638f046c9409cb42b06 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Mon, 16 Nov 2020 23:57:12 +0530 Subject: [PATCH] mgr/dashboard: Change the text 'Login' to 'Log in' Fixes: https://tracker.ceph.com/issues/48253 Signed-off-by: Nizamudeen A --- .../mgr/dashboard/frontend/cypress/integration/ui/login.po.ts | 2 +- .../frontend/src/app/core/auth/login/login.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/ui/login.po.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/ui/login.po.ts index a44d935bfb89..d4d2c692116a 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/ui/login.po.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/ui/login.po.ts @@ -9,7 +9,7 @@ export class LoginPageHelper extends PageHelper { doLogin() { cy.get('[name=username]').type('admin'); cy.get('#password').type('admin'); - cy.contains('input', 'Login').click(); + cy.get('[type=submit]').click(); cy.get('cd-dashboard').should('exist'); } diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html index 9ea2b29b2def..8565c3615c6b 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html @@ -58,7 +58,7 @@ -- 2.47.3