Using test studio when deployed on UAT and PROD on a managed solution
check out following:
Option 1: Use the Power Apps Test Framework (Easy Repro) for robust automated UI testing.
Option 2: Use Power Automate for in-platform testing.
Option 3: Leverage Test Studio for Canvas App or Dataverse-specific tests.
Option 4: Automate testing with Azure DevOps pipelines for CI/CD.