Is it possible to prevent Appium from restarting between specs?
See original GitHub issueThe problem
Not sure how to prevent appium from resetting between specs.
Environment
- Appium version (or git revision) that exhibits the issue: 1.4.16
- Desktop OS/version used to run Appium: OSX 10.11.3 El Capitan
- Node.js version (unless using Appium.app|exe): 4.4.4
- Mobile platform/version under test: iPhone 6
- Real device or emulator/simulator: Simulator
- Appium CLI or Appium.app|exe: CLI
Details
Suppose that in my specs capability, I submit the following:
capabilities: {
noReset: true,
specs: ['a.test.js', 'b.test.js']
//Other capabilities
}
Then , when I run appium with the CLI command of appium -lt 180000 --session-override --no-reset
, I expect both specs to be run without reseting the emulator in between. However, what actually happens is that the emulator is reset after each spec completes (but not between individual tests within the specs). Is there any way to circumvent this, and run all specs consecutively on one instance on the emulator?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How do I prevent the iOS simulator from restarting after each ...
The simulator restarts and re-installs the app for each test that my script runs. I've tried using noReset and fullReset a million times...
Read more >Appium restarts the application before running the test - Support
Hi, I was wondering if there is a way to stop appium from starting the application twice. Every test it starts a test,...
Read more >Reset App - Appium
Reset App; Example Usage; Support; Appium Server; Appium Clients ... Reset the currently running app for this session ... HTTP API Specifications. Endpoint....
Read more >Difference between noReset and fullReset? - Appium Discuss
noReset just clears the app data, such as its cache. fullRest uninstalls the app. fullReset is generally used when you have newer versions...
Read more >Keep appium server running on windows/mac - Support
This can be done by starting the appium server through the appium app/command line but that will mean that there is always a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So I’m using webdriver.io (rather than protractor), and via a CLI call that specifies which files to test, so I can’t set suites that way. I’ll get the test output in a bit.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.