The Test Drive program that allows smartphone users to try out T-Mobile’s network free for 30 days now supports iPhone’s built-in eSIM.
You previously needed to use a mobile hotspot and a physical T-Mobile SIM card to take advantage of the trial. Now, you simply need to download an app on iPhone XS or later.