[Feature]: Model Driven Application Multi Page Support

Open
#576 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
testing-qa

Research direction

Start by tracing ModelDrivenApplicationProvider and the TestState_BeforeTestStepExecuted and TestState_AfterTestStepExecuted event hooks. Check how query string changes are detected and how BuildObjectModel is currently used. Done means multi-page tests refresh the Power Fx object model after URL changes without requiring a full page reload.

Written by the indexing model from the issue text.

Description

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

Currently, there is a limitation in testing capabilities for model-driven applications that span across multiple pages. This restriction makes it challenging to perform comprehensive end-to-end testing and ensure the seamless functionality of multi-page applications.

Having the ability to test across multiple pages of a model-driven application would greatly enhance the testing process and help identify issues that may arise from navigation and interactions between different pages.

Describe the solution you'd like

I would like the ability for the query string changes in a model-driven application to trigger a reload of the Power Fx Object model. This feature would facilitate the reloading and updating of the object model based on the query string parameters, enabling more dynamic and flexible testing scenarios. It would improve the testing process by allowing tests to simulate different states and configurations of the application without requiring a full page reload.

Describe alternatives you've considered

No response

Additional context?

I would like the ability for the query string changes in a model-driven application to trigger a reload of the Power Fx Object model.

This feature would facilitate the reloading and updating of the object model based on the query string parameters, enabling more dynamic and flexible testing scenarios. Specifically, it would be beneficial if the ModelDrivenApplicationProvider could be updated to monitor changes in the URL during the TestState_BeforeTestStepExecuted and TestState_AfterTestStepExecuted events, and subsequently call the BuildObjectModel method.

This enhancement will improve the testing process by allowing tests to simulate different states and configurations of the application without requiring a full page reload.

Dominant language
C#
Stars
150
Forks
55
Avg merge
5d 23h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/PowerApps-TestEngine

All issues in microsoft/PowerApps-TestEngine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.