shez1983's avatar

dusk - tests failing

$browser ->fillForm($post, [$field]) ->screenshot('debug 1') ->press('@submit') ->waitFor('@' . $field . '-error', 10); ;

so notice i have screenshot() there.. if i remove that this test will fail. it leads me to think that the delay is needed somehow.. funny thing is delay should be added AFTER i press submit to give it time to process and show error..

in other tests - i have also had to manually add sleep() to pass the test.

is there any solution?

1 like
1 reply
vincent15000's avatar

I have the same problem : my dusk tests worked fine first time and then failed all for no appearent reason.

I don't have found any solution for the moment.

Please or to participate in this conversation.