Summarize this article:

When the leaves of your potato plants turn yellow or brown, they are ready for harvesting.  If you planted in April or May, the leaves will wilt in mid-summer.

Summary:
Stop watering the potatoes when the leaves wilt.