"Reflect: No-code test automation for web apps" (HN thread) news.ycombinator.com/item?id=2

I'm glad to see that people are still trying to solve the problem of writing tests for web apps, because it's way too hard right now. Color me a bit skeptical that this approach will work though (or that people will want to pay money for it).

Main issues with writing web app tests:

- CSS selectors may change over time, making tests fragile. Using the accessibility tree is a potential solution (kentcdodds.com/blog/making-you), but introduces other problems, e.g. the accessibility tree is harder to query than the DOM tree.
- Browser tests are slow and flaky. I don't like using Jest, but at least Jest is relatively consistent, so I don't have to put a bunch of sleeps everywhere or restart the test when it fails.

Follow

@nolan What's your opinion of Cypress? I think they address these two issues rather well. Maybe not so much the "slow" part given that they run on a real browser, but the speed is decent, I never feel the drag while developing.

@noeldemartin I tried it out, but it didn't work for Pinafore due to iframe/cross-origin issues. I went with TestCafe and have been generally satisfied.

Sign in to participate in the conversation
Noel's Mastodon

This is an instance-of-one managed by Noel De Martin.