Casting a vote based on what a candidate
pledges to do about certain issues is
called:
prospective issue voting or
retrospective issue voting
Isn't this called prospective issue voting?
yes... you are right.
My experience is it more closely relates to wishful thinking.