You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Might be worth updating the README to include installing the 'should' library otherwise some examples will fail.
Some examples try to call should.equal on the result object of support.isElementPresent(...).
Example:
this.Then(/^I should not see a "([^"]*)" link$/,function(link,callback){support.isElementPresent(this,link,function(result){result.should.equal(false);setTimeout(callback,1000);});});
Alternatively you could remove the should stuff and just use:
this.Then(/^I should not see a "([^"]*)" link$/,function(link,callback){support.isElementPresent(this,link,function(result){if(result){setTimeout(callback,1000);}else{callback(newError('Element not present'));}});});
The text was updated successfully, but these errors were encountered:
Might be worth updating the README to include installing the 'should' library otherwise some examples will fail.
Some examples try to call
should.equal
on theresult
object ofsupport.isElementPresent(...)
.Example:
Alternatively you could remove the should stuff and just use:
The text was updated successfully, but these errors were encountered: