fix e2e tests

This commit is contained in:
Denys Vuika
2017-10-19 16:26:52 +01:00
parent fd74683a27
commit 027aeca81d
15 changed files with 56 additions and 39 deletions

View File

@@ -43,11 +43,11 @@ export class UserInfo extends Component {
.then(() => menu);
}
get name(): Promise<string> {
get name(): promise.Promise<string> {
return this.fullName.getText();
}
signOut(): Promise<void> {
signOut(): promise.Promise<void> {
return this.openMenu()
.then(menu => {
menu.clickMenuItem('Sign out');