Add browser assertion helpers for available fields #5990
Unanswered
bmoex
asked this question in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since latest (patch) release our dusk tests failed cause we used
->assertChecked()
and the boolean field now uses labels instead of input fields.It would be nice to extend the FormComponent with helper assertions or maybe create a generic trait
InteractsWithFields
that contains most helper functions.This would make changing the interaction/templating more flexible for development if changes happen.
I solved this now with the following assertion:
See: https://github.com/eur-rsm/laravel-nova-testing
Beta Was this translation helpful? Give feedback.
All reactions