Description
- Please attach the test suite YAML & .msapp which demonstrates the issue you are experiencing and any logs written to the specified outputDirectory. (Please do not attach any file which may contain sensitive personal or company data.)
Describe the bug
Error when launching Edge browser with Button Clicker Sample test YAML
To Reproduce
Steps to reproduce the behavior:
- open sample\buttonclicker
- run the
testRun.fx.yaml
file usingpac test run
withchannel: msedge
set in thetestSettings.yaml
Expected Behavior: test cases run and pass
Actual Behavior: received Playwright error when trying to open msedge browser:
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Playwright.Transport.Connection.d__401.MoveNext() in /_/src/Playwright/Transport/Connection.cs:line 206 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Playwright.Transport.Connection.<WrapApiCallAsync>d__52
1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Playwright.Core.BrowserType.d__10.MoveNext() in /_/src/Playwright/Core/BrowserType.cs:line 56
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerApps.TestEngine.TestInfra.PlaywrightTestInfraFunctions.d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerApps.TestEngine.SingleTestRunner.d__29.MoveNext()
Additional context
Was able to get the test cases to run and pass when commenting out channel: msedge, as they ran on the chrome browser.