In the November 3 midterm elections in the United States, Donald Trump will face a test that could shape the remaining two years of his presidency. The ballot will not decide his tenure in the White House, but it could determine whether he governs with congressional support or confronts an emboldened opposition. Losing Congress would be a setback for a president seeking to reshape domestic and foreign policy.