View testing do or do not?

Should you test your view code? What if it gets complex with a lot of JS? What if it’s basic?

Is this something that needs to keep working? If so, test it.

Is it something that you want to be clean and keep working? If so, write the test first.

Personally, I do a little bit of isolated view testing, and also test them through integration tests sometimes.