A couple of things
1) I do not know if you are exporting from Dev (assumption here) to Test in a managed or unmanaged. If you are creating a managed, then I would be very careful about creating new connections and references as now you are causing an issue with your solution layering that can be the problem
2) Are you using Environment variables for Power Automate, and when you before you export from Dev, removing the default value, so that it will force you to select them in importing to Test?
For me, personally I would (assuming you might have done managed and now added unmanaged layering), I would clean up test. Delete everything., Uninstall first, then go into the default solution and delete everything you created (connections, references, anything) which will be left over after uninstalling.,
Then start back at Dev, and move forward, making sure to use Solution level connection references and environment variables.
That being said.
Can you share your flow in the old ui (turn off new please for a moment), in Test. Look at it in Edit mode. Does it give any warnings?
Next, please go to your PowerAutomate home page (or power apps if its a solution in power apps with apps) and go to ... More, go to Connections and review themn all make sure there are no issues.
Lastly and I truly do not suggest this, but you could do it as a test, before doing the "cleanup I suggest".
-Go to your Flow
-Delete the trigger
-re-add a stupid trigger. Just trust me on this part change it to manually doesn't matter
-immediately delete that trigger
-add your real trigger back and try to save
-try to start it
This will suffic to see if its a cache issue
If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.
Thank you!
Sincerely, Michael Gernaey