What a lender is really asking
The underlying question is simple: is this income going to keep arriving? Everything a lender asks about your employment is in service of that.
That is why a stable history helps, and it is also why a recent change is not fatal. A change can be perfectly consistent with continued income — a promotion, a move to a similar role, a switch to a better-paying job in the same field.