Tim Deschryver

Results 249 comments of Tim Deschryver

Hi, sorry but I don't understand the question. Could you elaborate why you don't include a rule while using `screen.findByRole("")`? What's the expected outcome?

I see, thanks. That could be, but I don't immediately see the reason for that. You can try increasing the `DEBUG_PRINT_LIMIT` (https://testing-library.com/docs/dom-testing-library/api-debugging/), but I don't think this affects the suggested...

Are those elements visible? It would be useful to have a reproduction for this.

Having the HTML can be helpful to troubleshoot this. We could also try https://testing-playground.com/ and see its output.

This logs the suggested queries for me. https://stackblitz.com/edit/dtl-template-pfpdks?file=src%2Fmain.test.ts Without a proper reproduction we won't be able to help. ```txt Here are the available roles: button: Name "Skip to content": Name...

As described in the referenced link, abstract roles should not be used. We want our test to resemble how users would use the application: > You want to write maintainable...

Based on the feedback I revisited my answer. But then I also found an older issue that requested this feature, after some comments we decided not to go through with...

I'll reopen this so other maintainers can also give their opinion. If we support this, how would this look like and how will it affect existing tests?

@MatanBobi both can be useful. Modifying the message can be helpful to a broader audience (is this a breaking change)? But since we already allow that the message can be...

> Would also be nice to provide examples in the documentation for purely standalone component based angular 17 applications that do not use any modules. @jdiemke we forgot to add...