That's where I think things should change. Programmers are in demand and very hard/expensive to hire. We tend to have the advantage in this process.
You can see an example of that with remote work. After covid, most people in tech simply refused to go back to being forced in an office full time, and would simply quit their current job in favor of one that accepts remote.
It's similar here. All you need is for enough programmers to start refusing to do those tests