-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
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:
// var originalAddMatcherResult = jasmine.Spec.prototype. addMatcherResult;
var originalAddMatcherResult = jasmine.Spec.prototype.addExpectationResult;
jasmine.Spec.prototype.addExpectationResult = function() {
++index;
// if (!arguments[0].passed()) {
if (!arguments[1].passed) {
screenshot(this.description, index);
}
return originalAddMatcherResult.apply(this, arguments);
};Thank you
marbon87
Metadata
Metadata
Assignees
Labels
No labels