Coder Social home page Coder Social logo

Comments (5)

sudharsan-selvaraj avatar sudharsan-selvaraj commented on August 20, 2024 1

@iepoch Thanks for reporting the issue. This is valid a bug from the plugin and it is fixed as part of #52

I will merge the PR and make a new release tomorrow that will solve the problem.

from appium-dashboard-plugin.

sudharsan-selvaraj avatar sudharsan-selvaraj commented on August 20, 2024

@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.

from appium-dashboard-plugin.

iepoch avatar iepoch commented on August 20, 2024

@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.

image

from appium-dashboard-plugin.

iepoch avatar iepoch commented on August 20, 2024

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.

  1. First uninstall and reinstall the plugin for better clarity and visually see the issue.
  2. Added two Scenarios in one Feature
  3. and add 1 to another feature. I run them in a suite together based on the webdriverIO and cucumber setup. In the config 4. Then set Max instance set to 10 ( accident) and the capabilities is just 1 device iOS 15.2 iPhone Pro from the example above.
    Can be simple test but that should show you the spin up with 2 devices and 1 running continuously.

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.

from appium-dashboard-plugin.

sudharsan-selvaraj avatar sudharsan-selvaraj commented on August 20, 2024

@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.

from appium-dashboard-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.