I have the wallet and recovery phrase but the coinomi can not connect the testnet bitcoin network so I can not transfer
Coinomi sometimes have some of this related issues as part of the challenges it has, same way you may have received transaction and coinomi may not display anything for you to see, in this case i will only advise that you import your testnet coins on electrum testnet and try to view from their since you already mentioned that you have the recovery phase to having access to these coins, but never forget that testnet have no value in the current market, and you can earn more from other reputable sites that offers for free testnet coins.