microsoft / PowerApps-TestEngine

MIT License
100 stars 30 forks source link

[Feature]: Model Driven Application - Consent Dialog #353

Open Grant-Archibald-MS opened 1 month ago

Grant-Archibald-MS commented 1 month ago

Is your feature request related to a problem? Please describe.

When testing a Model Driven Application custom page connections used by the custom page may require consent from the user before the custom page content is shown.

Describe the solution you'd like

Provide Power Fx functions that can be used to either:

Describe alternatives you've considered

No response

Additional context?

No response

Grant-Archibald-MS commented 1 month ago

Implemented as part of Support Model Driven Application.

See sample test for CoE Starter Kit which uses format: TestEngine.ConsentDialog(Table({Text: "Center of Excellence Setup Wizard"}))

Assumes that issue Create Connection has been implemented to create any connection id required for the connection references