[Feature]: Remove Preview. prefix from function calls and use preview as a property in settings
@v-raghulraja is already working on this.
Since Aug 5, 2025.
Assessment
This issue has not been assessed yet.
Description
Is your feature request related to a problem? Please describe.
Currently, PowerFx test steps use the Preview. prefix in function calls (e.g., Preview.AssertJavaScript).
We want to refactor this so that the Preview. prefix is removed from all function calls in test steps, and instead, a preview property is used in the test settings/configuration.
The preview context should be determined by this property, not by the function name.
Describe the solution you'd like
Currently, PowerFx test steps use the Preview. prefix in function calls (e.g., Preview.AssertJavaScript).
We want to refactor this so that the Preview. prefix is removed from all function calls in test steps, and instead, a preview property is used in the test settings/configuration.
The preview context should be determined by this property, not by the function name.
Describe alternatives you've considered
No response
Additional context?
No response
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/PowerApps-TestEngine
-
new
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
new
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
new
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
question
Difficulty 5/5 Over a week Newbie friendliness 20/100
All issues in microsoft/PowerApps-TestEngine
Similar issues
-
effort:S P3 refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1532 ·
-
core dependencies
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
C#/.NET Roslyn LSP Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
DotNetNext/SqlSugar#1458 ·