This example exhibits a "Card List" component that continuously re-renders its contents. The re-render happens so fast that it is not perceivable to humans, but can disrupt bots.
Exercise
Write a test that fulfils the following requirements:
-
Performs a click on exactly the
"button#visit-chicago-btn", not the ".card" element that wraps it, and not the "label" that is over the button.
-
No use of Javascript clicks.
-
If the click is successful, you'll see
""button#visit-chicago-btn" clicked." in the logs below.