Thymeleaf and testing.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Thymeleaf and testing.

Matthew
Hello,
Is there a way to use some sort of dynamic matching in the expected output while using thymeleaf-testing? For example I have a processor that alongside its work also adds a random id attribute to the element and I don't see a practical way to test it.

Thank you


 
Reply | Threaded
Open this post in threaded view
|

Re: Thymeleaf and testing.

danielfernandez
Administrator
Unfortunately, there isn't yet. But it is in the TODO: https://github.com/thymeleaf/thymeleaf-testing/issues/3
Reply | Threaded
Open this post in threaded view
|

Re: Thymeleaf and testing.

Matthew
Oh, I see, sorry I think I missed the issue on github.

Meanwhile, is there any way to access the dom tree of the processed input programmatically?

Thank for your reply!