Tests more robusts
This commit is contained in:
parent
391b8935be
commit
245619f4e4
4 changed files with 27 additions and 19 deletions
|
|
@ -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 });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue