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:
Tobias Bosch
2015-02-27 09:07:16 -08:00
parent 7e6f536cf5
commit 3b40052dc7
8 changed files with 53 additions and 41 deletions

View File

@ -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;