microsoft/playwright-test

expect().toThrowErrorMatchingSnapshot when selector not found

ncrmro opened this issue · 1 comments

I was looking at the expect util and looks like toThrow assertions are not currently implemented.

What is the preferred way to currently say filter a list and then assert that a specified selector is not found?

I guess I can do a try catch.

Also feel free to give this issue a more descriptive name.