[e2e] fix selectors (#116)

* fix selectors
start chrome headless

* use case insensitive
This commit is contained in:
Adina Parpalita
2017-12-06 14:32:30 +02:00
committed by Cilibiu Bogdan
parent 860b637c9c
commit 9681b459f7
6 changed files with 10 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ export class Sidenav extends Component {
return this.component.element(by.cssContainingText(Sidenav.selectors.link, label));
}
navigateToLinkByLabel(label: string): promise.Promise<void> {
navigateToLinkByLabel(label: string): promise.Promise<any> {
return this.getLinkByLabel(label).click();
}
}