President Joe Biden nominated the most diverse Cabinet in history, but the Senate, which gets to offer “advice and consent,” is suddenly full of members — mostly Republicans — who are critical of partisan tweets and are carefully scrutinizing nominees’ job qualifications.