An unbeaten UK tour is up for grabs for South Africa when they face a struggling Wales in their final Test of 2024.