From: Nizamudeen A Date: Mon, 16 Nov 2020 18:27:12 +0000 (+0530) Subject: mgr/dashboard: Change the text 'Login' to 'Log in' X-Git-Tag: v16.1.0~445^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F38113%2Fhead;p=ceph.git mgr/dashboard: Change the text 'Login' to 'Log in' Fixes: https://tracker.ceph.com/issues/48253 Signed-off-by: Nizamudeen A --- 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 @@