Tests more robusts

This commit is contained in:
vjrj 2018-05-21 17:43:17 +02:00
parent 391b8935be
commit 245619f4e4
4 changed files with 27 additions and 19 deletions

View file

@ -5,14 +5,14 @@
this.Before(() => {
// global.expect = require('@xolvio/jasmine-expect').expect;
/* Not used
// https://github.com/webdriverio/webdriverio/issues/1145
if (!this.initMyCmds) {
client.addCommand('waitForClickable', function elementClickable(selector, timeout) {
this.waitForVisible(selector, timeout);
this.waitForEnabled(selector, timeout);
});
this.initMyCmds = true;
} */
}
client.windowHandleSize({ width: 1500, height: 1000 });