Checkbox : dragonboard410c serial port test

i am able to install this minicom snap and test the rx-tx loopback test.

Could you please suggest how to automate the loopback test[by hardwire shorting Rx and TX in target] and get result in the checkbox job/plan ?

There is only one job serial/rs232-console available for testing uart. In this case we need to login to the client to test the uart.

Anybody could please give some suggestion/inputs?