expect().toThrowErrorMatchingSnapshot when selector not found
ncrmro opened this issue · 1 comments
ncrmro commented
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.
ncrmro commented
NVM just read up on detached sorry!
https://playwright.dev/docs/api/class-page#pagewaitforselectorselector-options