Refactored e2e test naming
This commit is contained in:
parent
10ab95044b
commit
7fb84fac70
4 changed files with 16 additions and 15 deletions
11
e2e/login.po.ts
Normal file
11
e2e/login.po.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { browser, element, by } from 'protractor';
|
||||
|
||||
export class LoginPageObject {
|
||||
navigateTo() {
|
||||
return browser.get('/');
|
||||
}
|
||||
|
||||
getLoginHeaderText() {
|
||||
return element(by.css('app-root h1')).getText();
|
||||
}
|
||||
}
|
Reference in a new issue