use the tag and not id because does not exist (#5847)

This commit is contained in:
Maurizio Vitale
2020-07-09 10:51:34 +01:00
committed by GitHub
parent 05a478e317
commit 33f4c01c2e

View File

@@ -27,7 +27,7 @@ export class LoginSSOPage {
usernameField = element(by.id('username'));
passwordField = element(by.id('password'));
loginButton = element(by.css('input[type="submit"]'));
header = element(by.id('adf-header'));
header = element(by.tagName('adf-layout-header'));
loginError = element(by.css(`div[data-automation-id="login-error"]`));
visibilityLabel = element(by.id('v'));