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
Whatever regex we have hunting for the string "return" is apparently matching the last instance of return, so I have a test:
Then -> browser.executeScript("return 1 + 1;") === "yay!"
And the detected comparison is:
This comparison was detected:
1 + 1;") === "yay!"
<Error: "SyntaxError: Unexpected token ILLEGAL"> === yay!
Stacktrace:
Error: Then clause `browser.executeScript("return 1 + 1;") === "yay!"` failed by returning false
Obviously, that's not right. The regex is probably looking for the last return statement and should probably be looking for the first return statement on the last line.
The text was updated successfully, but these errors were encountered:
Whatever regex we have hunting for the string "return" is apparently matching the last instance of return, so I have a test:
And the detected comparison is:
Obviously, that's not right. The regex is probably looking for the last return statement and should probably be looking for the first return statement on the last line.
The text was updated successfully, but these errors were encountered: