test(deps): fix webdriver logging entry type (#3026)

This commit is contained in:
Filipe Silva 2016-12-22 11:18:14 +00:00 committed by GitHub
parent ec2b07ef8c
commit d766ddda81
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
'use strict'; // necessary for es6 output in node
'use strict'; // necessary for es6 output in node
import { browser, element, by, ElementFinder } from 'protractor';
import { logging, promise } from 'selenium-webdriver';
@ -296,7 +296,7 @@ describe('Animation Tests', () => {
it('fires a callback on start and done', () => {
addActiveHero();
browser.manage().logs().get(logging.Type.BROWSER)
.then((logs: webdriver.logging.Entry[]) => {
.then((logs: logging.Entry[]) => {
const animationMessages = logs.filter((log) => {
return log.message.indexOf('Animation') !== -1 ? true : false;
});