Krishzzi
..need help on Form Wizard Pest Test With Each Step Form Validation
I have a custom page which extends
now in this page I use as trait and use this page for form.
in form schema I have wizard with 3 steps.
How I can call wizard next and previous steps that I can test form validation with pest test.
Example:-
In wizard I have step like this..
like this I have total three steps, how test wizard form with step by step form validation
1 replies
get_class(): Argument #1 ($object) must be of type object, null given Filament::auth()
I have a common resource for multiple users (User model, Artist Model, Affiliate Model) etc.
in the list page, in table query I have like this.. to only load logged in user specific records
here we basicaly call where user_type = current auth user class
this works fine ..
but in test , when I do
I also add beforeEach for my pest test
I try to do this too chain with actingAs()->startSession() but still same error
I get this error : get_class(): Argument #1 ($object) must be of type object, null given
why Filament::auth()->user() is null while user actingAs and how to fix this..
11 replies