Earlier quoted context omitted.
In theory we don't need testers for program testing, we just need an AI to do it. But it is easier to say it, than to implement it.
I suspect it is easier to automate the programmer than the person doing/defining the tests. I would argue that "programming" in essence is first and foremost the task of defining a set of actions or functions you want a computer to perform. This can be highly detailed (like assembly) or quite abstract (like SQL), and with AI you may even end up being able to just use English. You will still need to check that the out…
Additionally when you point out to AI what is wrong, how can you be sure, that AI has fixed the root cause or just made some fixes about that specific appearance of the bug, but it means that bug will pop up somewhere else?