Wales had to hold on for only the fourth win in Steve Tandy’s 13 games.