microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
512 stars 285 forks source link

[BUG] EasyRepro tests on Chrome M2 Mac are really slow #1388

Open MichaelDally opened 9 months ago

MichaelDally commented 9 months ago

Bug Report

EasyRepro Version

UCI or Classic Web

Online or On Premise

Browser

Describe the bug
Any interaction using either XrmApp or the provided WebDriver interface runs incredibly slowly on Apple Silicon machines (in my case, I am using Apple M2, Ventura 13.5.2) . I'm using this version of EasyRepro: Dynamics365.UIAutomation.Api 9.1.x

My dotnet version 7.0.401

If I manually try to click on anything in the browser during the test, I have noticed that there's a long delay between clicking the button and anything happening, so I am wondering if EasyRepro does not properly support Arm64 Chrome yet?

Special formatting / display
None

Code to reproduce

Expected behavior
Test runs to not hang after each interaction, regardless of whether or not they're webdriver or XrmApp interactions

MichaelDally commented 9 months ago

I suspect the issue here is the version of ChromeDriver being packaged up with the EasyRepro library - I ran other tests using Selenium, of which the distribution was for Arm64/Apple Silicon and the tests ran much better.