Ask HN: How should we unit test web UI? Do mocks ever work? | Hacker News Reader