Famara Diedhiou has scored a hat-trick to propel Senegal into the final phase of African World Cup qualifying while Morocco followed suit later in the day as they guaranteed top spot in their group.
Diedhiou headed Senegal ahead after 22 minutes against Namibia in Johannesburg and added two more goals in the second half for a 3-1 victory.
The win gave Senegal an unassailable lead in Group H, with a 100 per cent record after four games and two to play in November.
The match was played in South Africa due to refurbishment work at Namibia's home stadium.
Morocco then beat Guinea 4-1 in Rabat to ensure they finish top of Group I and will be one of the 10 group winners competing in the playoffs in March for five African places at the World Cup finals in Qatar.
Selim Amallah scored twice for Morocco after Ayoub El Kaabi gave them an early lead as they also kept up a 100 per cent record.
Sofiane Boufal scored the fourth for the north African side in the last minute.
An 11th-minute own goal handed South Africa a narrow 1-0 home win over Ethiopia in Group G, where they have a one-point lead over Ghana, who earlier won 1-0 away in Zimbabwe courtesy of a thunderous free kick from Thomas Partey.
Ethiopia captain Getaneh Kebede miscued an attempted clearance at a corner and sliced the ball into his own net at Soccer City in Johannesburg, where 2,000 spectators were allowed to watch the game.
They were the first fans at any South African sporting event since the start of the COVID-19 pandemic last year.
South Africa travel to Ghana for their last qualifier next month.
Riyad Mahrez opened the scoring as Algeria reclaimed top place in Group A by beating Niger 4-0 away in Niamey.
The African champions lead Burkina Faso on goal difference, with the two countries set for a showdown next month.
Mahrez's 20th-minute strike was followed by goals from Aissa Mandi, Ismael Bennacer and Baghdad Bounedjah.
The last two rounds of the group phase of African qualifiers will be played between November 10-16.