tests(e2e): upgrade Protractor to 1.7.0 and remove special cases for shadow dom
With Protractor 1.7.0, which installs chromedriver 2.14, shadow DOM is supported.
This commit is contained in:
@@ -13,10 +13,8 @@ describe('ng2 naive infinite scroll benchmark', function () {
|
||||
url: URL,
|
||||
id: 'ng2.naive_infinite_scroll',
|
||||
work: function() {
|
||||
browser.executeScript(
|
||||
'document.querySelector("scroll-app /deep/ #reset-btn").click()');
|
||||
browser.executeScript(
|
||||
'document.querySelector("scroll-app /deep/ #run-btn").click()');
|
||||
element(by.deepCss('#reset-btn')).click();
|
||||
element(by.deepCss('#run-btn')).click();
|
||||
browser.wait(() => {
|
||||
return $('#done').getText().then(
|
||||
function() { return true; },
|
||||
|
||||
@@ -13,10 +13,8 @@ describe('ng-dart1.x naive infinite scroll benchmark', function () {
|
||||
url: URL,
|
||||
id: 'ng1-dart1.x.naive_infinite_scroll',
|
||||
work: function() {
|
||||
browser.executeScript(
|
||||
'document.querySelector("scroll-app /deep/ #reset-btn").click()');
|
||||
browser.executeScript(
|
||||
'document.querySelector("scroll-app /deep/ #run-btn").click()');
|
||||
element(by.deepCss('#reset-btn')).click();
|
||||
element(by.deepCss('#run-btn')).click();
|
||||
var s = 1000;
|
||||
if (appSize > 4) {
|
||||
s = s + appSize * 100;
|
||||
|
||||
Reference in New Issue
Block a user