A Pilot can use their turn to make DEX Tests to pilot the ship.
They roll Initiative (DEX Test, Piloting) for the ship. The Smuggler makes this test with Advantage.
Keep in mind that when piloting a ship, you apply the ship's DEX modifier as -modifier to Pilot rolls.
Evasive maneuvers
DEX Test to gain Advantage on Defense rolls taken until the end of the Pilot's next turn.
Reposition
DEX Test to grant all Gunner attacks Advantage on Attack rolls until the end of the Pilot's next turn.
Escape
DEX Test to increase the range to pursuers. It takes 2 successful consecutive DEX checks to escape.