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 format only used to format the error message? if so can we name it more explicitly like formatErrorMessage? format reads a bit confusing imo because it is also makes me think that I'll use format to check a value complies with a format or something like that
I think we could call it error() or errorMessage().
The text was updated successfully, but these errors were encountered:
I think we could call it error() or errorMessage().
It isn't just an error message, it's also used in locators:
HTML(including("Hello World")).click():
couldn't find html element including "Hello World"
did you mean one of:
Hello Mom
Hello Planet
Hello Universe
In that case, is the string including "Hello World" really an error message even though it appears inside an error message?
Also, in our inspector These could appear matchers that you are just evaluating to play around, and we'd want to render them html including "Hello World" and there would be no error message at all.
From a discussion in PR #902:
I think we could call it
error()
orerrorMessage()
.The text was updated successfully, but these errors were encountered: