Fix benchpress for newest protractor and selenium (#11451)
* chore: update protractor and selenium-webdriver packages As `karma-jasmine` has a peer dependency on `jasmine-core@2.3`, but `jasmine` and `protractor` are using `jasmine-core@2.4` we need to add `jasmine-core@2.3` explicitly. Previously, the peer dependency was satisfied by accident because npm deduped the dependency for `jasmine-core@2.3` as top level dependency. Note that the shrink-wrap files changes quite a bit because of the deduping mechanism of npm. * fix(benchpress): make it work with latest protractor and seleniuv-webdriver * fix(e2e_tests): make them work with latest protractor
This commit is contained in:

committed by
Evan Martin

parent
71e9cae1d0
commit
f386cb4ba9
@ -63,7 +63,7 @@ export class Runner {
|
||||
}
|
||||
|
||||
var inj = ReflectiveInjector.resolveAndCreate(sampleProviders);
|
||||
var adapter = inj.get(WebDriverAdapter);
|
||||
var adapter: WebDriverAdapter = inj.get(WebDriverAdapter);
|
||||
|
||||
return Promise
|
||||
.all([adapter.capabilities(), adapter.executeScript('return window.navigator.userAgent;')])
|
||||
|
Reference in New Issue
Block a user