microsoft / PowerApps-TestEngine

MIT License
101 stars 29 forks source link

Adding TestEngine.PlaywrightScript() #336

Open Grant-Archibald-MS opened 3 months ago

Grant-Archibald-MS commented 3 months ago

Pull Request Template

Description

Extend the TestEngine Power Fx functions with the ability to call a CSharp Script (csx) file passing ILogger and Playwright IPage context

Checklist

github-actions[bot] commented 3 months ago

Code Coverage

Package Line Rate Branch Rate Complexity Health
Microsoft.PowerApps.TestEngine 0% 0% 1162
Microsoft.PowerApps.TestEngine.Tests 0% 0% 645
testengine.user.browser 58% 50% 15
Microsoft.PowerApps.TestEngine 1% 0% 1162
Microsoft.PowerApps.TestEngine.Tests 0% 1% 645
testengine.user.environment 95% 91% 31
Microsoft.PowerApps.TestEngine 90% 87% 1166
Microsoft.PowerApps.TestEngine 5% 3% 1162
Microsoft.PowerApps.TestEngine.Tests 1% 2% 645
testengine.provider.canvas 81% 87% 93
Microsoft.PowerApps.TestEngine 90% 87% 1166
Microsoft.PowerApps.TestEngine 1% 0% 1162
testengine.module.pause 100% 100% 6
Microsoft.PowerApps.TestEngine 0% 0% 1162
Microsoft.PowerApps.TestEngine.Tests 0% 0% 645
testengine.user.browser 58% 50% 15
Microsoft.PowerApps.TestEngine 1% 0% 1162
testengine.module.playwrightscript 86% 62% 20
Microsoft.PowerApps.TestEngine 1% 0% 1162
Microsoft.PowerApps.TestEngine.Tests 0% 1% 645
testengine.user.environment 95% 91% 31
Microsoft.PowerApps.TestEngine 5% 3% 1162
Microsoft.PowerApps.TestEngine.Tests 1% 2% 645
testengine.provider.canvas 81% 87% 93
Microsoft.PowerApps.TestEngine 1% 0% 1162
testengine.module.pause 100% 100% 6
Microsoft.PowerApps.TestEngine 1% 0% 1162
testengine.module.playwrightscript 86% 62% 20
Summary 17% (4786 / 52280) 16% (1714 / 12372) 18152

Minimum allowed line rate is 15%