You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get an instance of the component from its name and parameters
assert that the output of the component is similar to an expected value
etc ...
The text was updated successfully, but these errors were encountered:
ker0x
changed the title
[Twig Component] Provide class/trait for testing component
[TwigComponent] Provide class/trait for testing component
Apr 25, 2023
Yep, for twig components, this would be pretty straight forward.
I'm working on a new selector api for zenstruck/browser. Included in this PR is a proposed new package: zenstruck/dom, that extracts the selector system to be used with any html string. The following could be possible:
It would be great to provide a
ComponentTestCase
class orComponentAssertionTrait
trait to help testing component.I was thinking of something similar to MailerAssertionsTrait so we can:
The text was updated successfully, but these errors were encountered: