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
Is it possible to update the examples to Protractor v3.x.x?
For example, the code in ScreenshotReporter does not work there.
Although I haven't tested it thoroughly, those changed made it work:
// var originalAddMatcherResult = jasmine.Spec.prototype. addMatcherResult;varoriginalAddMatcherResult=jasmine.Spec.prototype.addExpectationResult;jasmine.Spec.prototype.addExpectationResult=function(){++index;// if (!arguments[0].passed()) {if(!arguments[1].passed){screenshot(this.description,index);}returnoriginalAddMatcherResult.apply(this,arguments);};
Thank you
The text was updated successfully, but these errors were encountered:
Hello.
Is it possible to update the examples to Protractor
v3.x.x
?For example, the code in
ScreenshotReporter
does not work there.Although I haven't tested it thoroughly, those changed made it work:
Thank you
The text was updated successfully, but these errors were encountered: