Closed ashikdnd closed 6 years ago
I'm trying to submit a form but the test fails
$this->visit('/') ->fill('john', 'username') ->fill('doe', 'password') ->press('Login');
where Login is the value of Submit button
Login
@Modelizer kindly solve this for me
Are you using Login as text inside the button? If it is anchor tag then please use click method.
click
I'm trying to submit a form but the test fails
where
Login
is the value of Submit button