prashant-ramcharan / courgette-jvm

Multiprocess | Parallel Cucumber-JVM | Parallelize your Java Cucumber tests on a feature level or on a scenario level.
MIT License
130 stars 38 forks source link

Parallel execution is not working running test on real devices (Android or iOS), it works fine on emulator and simulator #392

Closed vsan6545 closed 5 months ago

vsan6545 commented 5 months ago

Hi @prashant-ramcharan We were using your library last 3 years and everything was working fine without any issue but recently we have started running test on real devices as per the new requirement and noticed parallel execution is not working on real devices. I just lunch an apps on one device and it don't run any test on another device.

Can you please help here because of this issue we had to park our automation on the side until it resolved.

Here is the below caps we have in hooks class

Screenshot 2024-02-03 at 3 16 50 PM

here is below mobileDevice object in CourgetteOptions we have

Screenshot 2024-02-03 at 4 49 52 PM

Thanks for your help Vinit

vsan6545 commented 5 months ago

When i have upgraded appium from 1.22 to 2.4.1 parallel execution was not working but i have again downgraded to 1.22.3 so for now i will close this issue but after upgrading to 2.4.1 and if parallel execution doesn't work i will re open this issue.