vendredi 16 septembre 2016

How can I test a Scala Template that contains a Bootstrap3/Angularjs1 form?

I am trying to use karma and jasmine to test form validation, and I am getting "Cannot read property '$valid' of undefined" errors. When I extract the html of the the template and put it in a regular .html file and run tests on just that, the value of the form is no longer undefined. I don't want to do this for all of the forms of the application, because then the tests won't really be testing the actual forms, and the .html files will have to be updated every time a change is made.

Does anyone know of a certain framework that is better for my particular situation?

Aucun commentaire:

Enregistrer un commentaire