mercredi 7 janvier 2015

Using Codeception with form input array

So I am trying to use Codeception on a form where I have multiple inputs that have a name like such.



<input type="text" name="flavours[]" >


I have tried



$I->fillField('flavors[]', 'Blue Razberry');


However Codeception returns



Couldn't fill field "flavors[]","Blue Razberry":
InvalidArgumentException: Unreachable field "" unable to find a field with that name.


Is it possible in Codeception? If not, is there another way?


Thanks in advance!


Aucun commentaire:

Enregistrer un commentaire