-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] add a expect.toFail equivalent #20518
Labels
Comments
@A-ZC-Lau Perhaps, |
@dgozman my tests still fail, the "not" doesn't seem to have any effect. |
@A-ZC-Lau Could you please share the exact snippet you run? The original snippet fails, but that's expected. How do you want to use |
Thank you, I can repro. |
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Feb 2, 2023
aslushnikov
added a commit
that referenced
this issue
Feb 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So we have a
.toPass
now, and I was wondering if we could have a.toFail
equivalent.For example, I have the function which tests an array of lessThan:
The text was updated successfully, but these errors were encountered: