I currently work with a boss who is very verbally abusive, aggressive, creates drama and scandals every day, shouts at employees, diminishes the complexity or time it takes to do a certain task (I work in a software-related field, my position is technical, I’ve been with this boss and team for a year now). He is also very disorganized, forgets that he asked me NOT to do X two weeks ago, and now he shouts at me why did I not do X, am I even using my head etc. If I dare to suggest ideas, I am shouted at, told these ideas are a waste of time, I am also told that doing trainings and seminars is a waste of time, that I should not read research papers and instead go for the “low-hanging fruit”, but then I’m criticized about why X isn’t performing perfectly, etc. So I "secretly" implement my ideas, then show ready results. My ideas are then incorporated in our project as improvements, but I'm nevertheless treated very poorly and constantly receive passive aggression or verbal abuse.
Before you ask, I have talked to his boss, and things changed for maybe two weeks, and then my boss went back to his old abusive self. So I think this won’t change. I also tried to switch internally, but I was told the project I am in is too important for the company, therefore they won’t let me switch teams.
As a result, I am looking for a new employment opportunity. However, I am afraid that I might make the same mistake and choose a bad employer. How can I prepare for an interview, in other words - what kind of questions could I ask, or what should I look out for, what can I say or do to get a feeling or understanding about what kind of person is on the other side of the interviewing table? How can I find out during an hour-long interview whether a potential employer is also similar to my current boss?
This is my first job and I am not so experienced with figuring out personalities at a glance. I would be grateful for any opinions and pointers.