Open iepoch opened 2 years ago
@iepoch Thanks for reporting the issue. This is valid a bug from the plugin and it is fixed as part of https://github.com/sudharsan-selvaraj/appium-dashboard-plugin/pull/52
I will merge the PR and make a new release tomorrow that will solve the problem.
@iepoch Fix is now available in v1.0.0-beta.12
. You can update the plugin using appium plugin update appium-dashboard
command. Can you verify and close the issue if it's working as expected.
@sudharsan-selvaraj I did try it this morning however I still have a issue it cleared the stack of sessions. However on 1 test run it kicked up 2 sessions one closed the other did not. I am running appium, webdriverio, and cucumber with page object model for reference. I do have 2 feature test but they do not run in parallel. So just to give you an understanding of what is happening a little bit again not running in parallel. Only 1 device is running not 2.
I did a little check and my max instances was set to 10 when it should have been 1 which also is why I noticed some failures in my test since I only had 1 device spun up and not 2. So in that case it could have been trying to run in parallel on the one device and was causing the issue of seeing 2 test but on 1 device. Which did not allow it to close. I have 3 Scenarios running. So if you wanted a setup like mine to see the issue.
Please let me know if you need a full detailed step by step reproduction. But this should get you there to where I see the issue I hope. And thank you this tool really is awesome.
@iepoch Are you killing the web driver session at the end of each test execution? If the webdriver session is not killed, then appium server thinks that the session id is still active. That's the reason why you are seeing a spinner in the UI.
The Session keeps running even after a reboot/restart of the system and when I run appium with the plugin it restarts these sessions. But with no way to stop them. I have clicked the Pause and checked they did not stop. I tried killing any other connections along with pids and I can't find anything related. Not sure if it's a bug or if someone can tell me how to shut them down so I can delete the runs.![image](https://user-images.githubusercontent.com/7504929/160702748-bd8e44f0-b67a-4159-a595-03141aa235fc.png)