feat(build): enforce mobile layout during e2e tests
This is important as we run our benchmarks on mobile devices as web driver tests fails if buttons are not visible / overlaid by other content.
This commit is contained in:
@ -13,8 +13,8 @@ describe('ng-dart1.x naive infinite scroll benchmark', function () {
|
||||
url: URL,
|
||||
id: 'ng1-dart1.x.naive_infinite_scroll',
|
||||
work: function() {
|
||||
element(by.deepCss('#reset-btn')).click();
|
||||
element(by.deepCss('#run-btn')).click();
|
||||
$('#reset-btn').click();
|
||||
$('#run-btn').click();
|
||||
var s = 1000;
|
||||
if (appSize > 4) {
|
||||
s = s + appSize * 100;
|
||||
|
Reference in New Issue
Block a user