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

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { by, ElementFinder } from 'protractor';
import { by, ElementFinder, promise } from 'protractor';
import { Component } from '../component';
export class LoginComponent extends Component {
@@ -61,7 +61,7 @@ export class LoginComponent extends Component {
return this;
}
submit(): Promise<void> {
submit(): promise.Promise<void> {
return this.submitButton.click();
}
}