WARNING: This page is about a different car, the 2021 Hyundai Kona. However, it is still accessible from the selected car via links, so may be relevant.
Disconnect the negative (-) battery terminal.
Remove the front door quadrant inner cover (A).
Courtesy of HYUNDAI MOTOR AMERICA
Disconnect the power door mirror connector from the harness.
Courtesy of HYUNDAI MOTOR AMERICA
Apply battery voltage to each terminal as shown in the table and verify that the mirror operates properly.