Is it possible to simulate "click" on buttons in tests? #2644
Unanswered
nikophil
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm using
symfony/ux-live-component
(v2.23) in order to create a paginated list. So far so good, this lib is amazing 🤩I'm handling my pagination thanks to a property
#[LiveProp(writable: true)] public int $page;
In twig, my pagination is made thanks to something like this:
I'm testing my pagination this way:
But it feels like something is missing, I'd love to display the page 1, click on page 2 button using the crawler, see the page 2 is displayed.
Does some black magic like that exist?
thanks!
Beta Was this translation helpful? Give feedback.
All reactions