Refactored e2e test naming

This commit is contained in:
Tom Bloor 2017-08-25 11:55:53 +01:00
parent 10ab95044b
commit 7fb84fac70
4 changed files with 16 additions and 15 deletions

11
e2e/login.po.ts Normal file
View 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();
}
}