Hello,
So here is the problem, whenever I try to execute my tests, multiple session IDs will be created and multiple app windows will be open. I wrote my test cases using javascript (mocha and chai), basically I have one test file per screen. For example. one test file for the home page, one test file for the sign in page, one test file for profile page. If I run my test cases, a window will popup (I am using appium with youi engine), it will open one UI for home page, another UI and another session ID will open for sign in page, etc. I tried to set the capabilities in the Appium GUI for noReset(true), but it did not work.
I also tried adding the capabilities in the code directly and it still did not work, it still opened multiple UI for each test files I have. I just organized each screen with a separate file for organization purposes.
Here are the links: http://appium.io/docs/en/writing-running-appium/caps/
Appium with YOUI Engine https://github.com/YOU-i-Labs/appium-youiengine-driver
Thank you.