I use codeception in my laravel 4.2 project for functional test. I was group some clickable button as Click Button method.
For example, For click new button, i made clickNewButton() method in FunctionalHelper.php and reuse it.
But in that point, some button can clickable and some button are not. So, if somebody know the way to solve this solution, please let me know.
public function clickNewButton()
{
$I = $this->getModule('Laravel4');
$I->click(Lang::get('buttons.new'));
}
Thanks
Aucun commentaire:
Enregistrer un commentaire