Merge pull request #58988 from rhcs-dashboard/wip-67200-squid

squid: mgr/dashboard: Changes for Sign out text to Login out

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
This commit is contained in:
afreen23 2024-09-30 13:16:58 +05:30 committed by GitHub
commit e3beff2159
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ export class LoginPageHelper extends PageHelper {
doLogout() {
cy.get('cd-identity a').click();
cy.contains('cd-identity span', 'Sign out').click();
cy.contains('cd-identity span', 'Log out').click();
cy.get('cd-login').should('exist');
cy.location('hash').should('eq', '#/login');
}

View File

@ -11,7 +11,7 @@
<div ngbDropdownMenu>
<button ngbDropdownItem
disabled
i18n>Signed in as <strong>{{ username }}</strong></button>
i18n>Logged in as <strong>{{ username }}</strong></button>
<hr class="dropdown-divider" />
<button ngbDropdownItem
*ngIf="!sso"
@ -22,7 +22,7 @@
<button ngbDropdownItem
(click)="logout()">
<i [ngClass]="[icons.signOut]"></i>
<span i18n>Sign out</span>
<span i18n>Log out</span>
</button>
</div>
</div>