Argentina was denied just a second victory over the Springboks in South Africa when Lucas Mensa's try with three minutes to go was disallowed in their rugby test on Saturday.

Instead, South Africa flyhalf Elton Jantjies kicked over the resultant penalty to see a second-string Springboks team home 24-18 in a Rugby World Cup warmup game at Loftus Versfeld.

More Images
Argentina's captain Pablo Matera, right, is tackled by South Africa's Siya Kolisi during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina was denied just a second victory over the Springboks in South Africa when Lucas Mensa's try with three minutes to go was disallowed in their rugby test on Saturday.

Argentina's Guido Petti, right, runs to score a try during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina appeared to be struggling in the first half but an intercept try by lock Guido Petti right on halftime gave the Pumas hope. Captain Pablo Matera scored in the second half to make it 18-18 before Jantjies kicked two late penalties.

South Africa's Rynhardt Elstadt, top center, wins the ball against Argentina's Guido Petti, top right, during aline-out for the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

South Africa's Rynhardt Elstadt, top center, wins the ball against Argentina's Guido Petti, top right, during aline-out for the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's Guido Petti scores a try during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's Guido Petti scores a try during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

South Africa's Cobus Reinach, left, passes the ball as he avoids a tackle from Argentina's Julian Montoya, bottom, during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

South Africa's Cobus Reinach, left, passes the ball as he avoids a tackle from Argentina's Julian Montoya, bottom, during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's Joaquin Diaz Bonilla, left, kicks a penalty during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's Joaquin Diaz Bonilla, left, kicks a penalty during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Jantjies scored 14 points off the kicking tee to go with a brace of tries by wing S'busiso Nkosi, keeping the Springboks unbeaten this season.

Argentina's captain Pablo Matera, right, is tackled by South Africa's Siya Kolisi during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's captain Pablo Matera, right, is tackled by South Africa's Siya Kolisi during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina appeared to be struggling in the first half but an intercept try by lock Guido Petti right on halftime gave the Pumas hope. Captain Pablo Matera scored in the second half to make it 18-18 before Jantjies kicked two late penalties.

More AP sports: https://apnews.com/apf-sports and https://twitter.com/AP_Sports

Argentina's Guido Petti, right, runs to score a try during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's Guido Petti, right, runs to score a try during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

South Africa's Rynhardt Elstadt, top center, wins the ball against Argentina's Guido Petti, top right, during aline-out for the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

South Africa's Rynhardt Elstadt, top center, wins the ball against Argentina's Guido Petti, top right, during aline-out for the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's Guido Petti scores a try during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's Guido Petti scores a try during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

South Africa's Cobus Reinach, left, passes the ball as he avoids a tackle from Argentina's Julian Montoya, bottom, during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

South Africa's Cobus Reinach, left, passes the ball as he avoids a tackle from Argentina's Julian Montoya, bottom, during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's Joaquin Diaz Bonilla, left, kicks a penalty during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)

Argentina's Joaquin Diaz Bonilla, left, kicks a penalty during the Rugby Championship match between South Africa and Argentina at Loftus Versfeld in Pretoria, South Africa, Saturday, Aug. 17, 2019. (AP PhotoThemba Hadebe)