test(deps): fix webdriver logging entry type (#3026)
This commit is contained in:
parent
ec2b07ef8c
commit
d766ddda81
|
@ -296,7 +296,7 @@ describe('Animation Tests', () => {
|
||||||
it('fires a callback on start and done', () => {
|
it('fires a callback on start and done', () => {
|
||||||
addActiveHero();
|
addActiveHero();
|
||||||
browser.manage().logs().get(logging.Type.BROWSER)
|
browser.manage().logs().get(logging.Type.BROWSER)
|
||||||
.then((logs: webdriver.logging.Entry[]) => {
|
.then((logs: logging.Entry[]) => {
|
||||||
const animationMessages = logs.filter((log) => {
|
const animationMessages = logs.filter((log) => {
|
||||||
return log.message.indexOf('Animation') !== -1 ? true : false;
|
return log.message.indexOf('Animation') !== -1 ? true : false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue