If I had a dollar for each frontend test that actually don't actually test anything I would be able to retire by now!
- test that were useless, are still useless and will always be useless
- tests that are currently useless but were used in the "wtf should i write" phase of coding (templating/TDD/ whatever you want to call it).
I'm partial towards the seconds, and i like when they're not removed, because often you understand how the API/algorithm was coded thanks to them (and its often unit tests). But ideally, both should be out of a codebase.
I’ve written plenty of do nothing tests in my time to be sure that management regularly got a report of tests being added.