These are chat archives for bvaughn/forms-js

Apr 2015
Brian Vaughn
Apr 07 2015 03:03
Struggling to write Protractor tests that involve hovering.
Or potentially-absent DOM elements
This is not a very forgiving/friendly framework here.
Brian Vaughn
Apr 07 2015 03:34

I think I came up with a pretty elegant solution for testing the 3 different formFor templates.

For example, this Protractor test:

Runs against this view:

Which uses this shared helper to load/initialize the correct formFor templates and supporting libraries:

Not sure any of this directly benefits forms-js, but...maybe if we end up supporting more than one CSS library, it might