Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Playwright Power Fx Script Actions #335

Open
Grant-Archibald-MS opened this issue Jun 6, 2024 · 2 comments
Open

[Feature]: Playwright Power Fx Script Actions #335

Grant-Archibald-MS opened this issue Jun 6, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Grant-Archibald-MS
Copy link
Contributor

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

Current Power FX functions allow low code interaction with Playwright web browser actions. There are cases where a code first developer may way to extend a test script using the Playwright Inspector.

Describe the solution you'd like

Provide Test Engine Power Fx MEF Extension that allows recorded Playwright C# scripts to be included in Test Engine scripts.

Ensure that the C# scripts are easily reviewable and not shipped as binary assets so that they can be code reviewed and included as part of source control integration.

Describe alternatives you've considered

Write direct Playwright test using code first C# code.

While Platwright tests allows codes first integration tests and Continuous by including Power FX it allows for the following:

Additional context?

No response

@pvillads
Copy link

Could you sign off on this?

Grant-Archibald-MS added a commit that referenced this issue Nov 22, 2024
… Fx extensions (#380)

* Adding namespace checks and support for Power FX #330

* Adding TestEngine.PlaywrightScript() #335

* Adding TestEngine.PlaywrightAction() #337

* Adding TestEngine.PlaywrightAction docs

* Adding TestEngine.PlaywrightScript docs

* Update TestEngine.PlaywrightScript.md

* Initial portal provider

* Partial PowerApps Portal provider implementation

* WIP Power Apps Portal provider implementation

* Adding TestEngine.GetConnections()

* Test update

* Adding CreateConnection

* Adding TestEngine.CheckConnectionExists

* TestEngine.CreateConnection update

* Review edits

* Add TestEngine.UpdateConnectionReferences()

* Solution update

* Connection list

* Connection and format

* Export connections

* Package update

* NuGet version update

* NuGet Updates

* Playright updates

* Provider update

* Review edits.

* Update TestEngine namespace

* Power Apps Portal update

* Format updates

* Add default certificate provider

* Adding Variables ans Collection support

* Remoding date tets

* Adding TestEngine.SelectSection()

* Adding tests

* Format update

* Adding MDA module and CoE custom page Sample

* Review edit

* Adding browser locale change

* Adding Experimental.SelectControl() for MDA custom pages

* Adding WIP Experimental.SimulateDataverse()

* WIP SimuateDataverse GET list

* Update for $batch and Query

* Basic query use cases

* Update .Net 8.0

* Update to .Net 8

* Additional Context error handling

* Remove legacy player

* Adding SimulateConnector Power Fx function

* Updates for Debug/Trace logging

* Networking monitoring update

* Minior edits

* Simulate update

* WIP record implementation for SimulateDataverse and SimulateConnector

* Sign only Release build record SimulateDataverse and SimulateConnector

* Adding Mouse recording

* Recorder update and Experimental functions

* Review edits

* Reviw edits for .Net 8

* Review edits

* Adding parameter for custom page

* Adding audio recording

* Add audio event tracking

* Asing storage auth provider

* Suppotr for negative test case

* Adding error checks for storage state

* Adding NotificationTitle error detection

* Storage state and permissions example

* Update variable state

* Refactor to common PowerPlatformLogin

* Adding missing common files

* Review changes

* Adding storage state for #389

* Update samples to storagestate

* Adding changes

* Log updates and Test Cases

* Format update and .Net 8.0 build

* Build update

* Pull request review edits

* Review edit

* Review changes

* Update dotnet-format.yml

* Adding docs
@Grant-Archibald-MS
Copy link
Contributor Author

Grant-Archibald-MS commented Nov 22, 2024

Now merged into branch https://github.com/microsoft/PowerApps-TestEngine/tree/integration

This feature has been included in the Experimental namespace. Debug builds include the Experimental namespace, Release builds require Experimental to be added to the test settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants