Xotabu4/jasmine-protractor-matchers

Error callback is now correctly returns false. Update code

Xotabu4 opened this issue · 1 comments

Code:

                }, err => {
                    let msg = message || "Element " + actual.parentElementArrayFinder.locator_.toString() +
                        " was expected to be shown in " + timeout + " milliseconds but is NOT visible";
                    throw new Error(msg);
                });
                return result;
            }

Should be changed to return false instead throw Error.

Fixed.