src/test-e2e/login/sso-login.po.ts
Function login
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
login(username: string, password: string) {
// If this is a different user to last time, then logout first
if (SSOLoginPage.ssoLastUsername && SSOLoginPage.ssoLastUsername !== username) {
browser.waitForAngularEnabled(false);
this.logoutUAA();