Gestational diabetes is typically diagnosed through a glucose screening test, usually administered between the 24th and 28th weeks of pregnancy. If the initial screening shows elevated blood sugar levels, a more comprehensive glucose tolerance test is conducted to confirm the diagnosis.