lundi 9 novembre 2015

Force a value for a select field in codeception acceptance test

I have a dynamic Select-field in my form, which is filled with javascript. When i want to test some values that do not exist in the select i get the error:

[InvalidArgumentException] Input "aSelect" cannot take "1762" as a value (possible values: [empty]).

Is there a way to ignore this error and force the value to be sent with the formular ?

This would also be needed for security tests.

Aucun commentaire:

Enregistrer un commentaire