.toHaveTableContent() #389
jimbolla-aurora
started this conversation in
Ideas
Replies: 2 comments
|
Interesting idea. Unfortunately, I do not have any bandwidth to implement this. Also, it's a non-trivial piece of work if you consider that tables can have a pretty varied set of layouts (e.g. multiple header rows, footer rows, cells that span across multiple rows or across multiple columns, etc.) Not saying it is not possible, but I wonder how to deal with those situations in a generic way. If you're dealing with specific and more predictable tables that you'd like to assert against in an app you're working on, I'd recommend that you write your own custom matcher that can be less generic and more targeted to your specific use case. But doing this in a way that supports any table that you may throw at it can be daunting. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'd like to be able to do something like:
and then even cooler:
All reactions