What are some common pitfalls when writing automated tests?

Technical