Testing call wizard next step fails
I am unable to get my Pest test function to actually call the form wizard next step.
CreateUserTest.php This test fails with "Component has no errors" but the name field is required. Following the test source code and injecting "ray()" debug calls, it appears the next step action is not called. CreateUser.php I referenced the following this link https://filamentphp.com/docs/3.x/panels/resources/creating-records#using-a-wizard in the docs. Does anyone know the correct way to test the next step action in a form wizard?
CreateUserTest.php This test fails with "Component has no errors" but the name field is required. Following the test source code and injecting "ray()" debug calls, it appears the next step action is not called. CreateUser.php I referenced the following this link https://filamentphp.com/docs/3.x/panels/resources/creating-records#using-a-wizard in the docs. Does anyone know the correct way to test the next step action in a form wizard?
0 Replies