Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
(Deprecated) Execution of automated tests for a Power App.
The Power Apps Test Engine was deprecated in favor of Power Platform Playwright samples. Learn more about this deprecation
Commands
| Command | Description |
|---|---|
| pac test run | (Preview) Execute tests defined in a Test Plan file |
pac test run
(Preview) Execute tests defined in a Test Plan file
Required Parameters for test run
--environment-id -env
Environment ID for the app to be tested.
--tenant -t
Tenant ID for the app being tested
--test-plan-file -test
Path to the Test Plan file
Optional Parameters for test run
--auth -a
The certificate provider for the user authentication for app being tested
Use one of these values:
NoneCertenvCertstore
--domain -d
The player domain for the app being tested for Canvas provider or endpoint for other provider types.
--log-level -l
Log detail level
Use one of these values:
TraceDebugInformationWarningErrorCriticalNone
--output-directory -o
Path to save test output and logs
--provider -p
The application type being tested
Use one of these values:
CanvasMdaPortalPowerfx
--queryparams -q
Query parameters for the app being tested
--use-static-context -c
Enable use of static context for Playwright browser
This parameter requires no value. It's a switch.
--user-auth -u
The user authentication type for app being tested
Use one of these values:
StoragestateDataverse
See also
Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview