- When you generalize a solution that hasn't even been used by customers yet.
- When you write tests for a feature that hasn't even been proven to solve the problem once.
You made something overly complicated. But if you revisited later it’s going to be harder to maintain than if you did it less clever/simpler/hackier.
Making anything more complex than needed is IMO the basic definition of over-engineering.