Four years ago, Wales followed a similar path to the one they are treading now as they qualified for the 2022 World Cup in Qatar via the play-offs.