hi im working with laravel dusk and i have this code
public function ClientReport(Browser $browser)
{
// client report
$browser
->visit('public/sales')
->pause(1000)
->visit('public/reports/client_report')
->value('#to',1)
->keys('#to', ['{shift}'])
->pause(1500)
->keys('#to', ['{enter}'])
->value('#from_date',date('Y-m-01'))
->value('#to_date',date('Y-m-t'))
->press('عرض')
->pause(5000)
// client report
// debt_age
->visit('public/reports/debt_age')
->value('#from_date',date('Y-m-01'))
->value('#to_date',date('Y-m-28'))
->click('#show')
->pause(5000)
// end debt_age
}
now with // client report its working fine but with // debt_age i gat the error
is not clickable at point (557, 436).
but if i commet the // client report like this
public function ClientReport(Browser $browser)
{
// debt_age
$browser
->visit('public/reports/debt_age')
->value('#from_date',date('Y-m-01'))
->value('#to_date',date('Y-m-28'))
->click('#show')
->pause(5000)
// end debt_age
}
also its working fine but if i have tow pages to visite and do some code everything going ok except click at #show button i gat the error thanks a lot
Aucun commentaire:
Enregistrer un commentaire