A sea trial or trial trip is the testing phase of a watercraft. It is also referred to as a "shakedown cruise" by many naval personnel. From Wikipedia
Successful sea trials clear the Mexican Navy’s flagship to resume training voyages.