NODE: ANDROID: Sample code is passing false positive, doesn't run all commands, and hangs up
See original GitHub issueThe problem
I copied the most minimalistic sample code from the example repo:
when I run mocha test/e2e-native/home.spec.js
, I get false positive, only one command is running, and the test hangs up and times out (see attached gists)
Environment
- Appium version (or git revision) that exhibits the issue: 1.6.2
- Last Appium version that did not exhibit the issue (if applicable):
- Desktop OS/version used to run Appium: Ubuntu 16.04
- Node.js version (unless using Appium.app|exe): 6.9.1
- Mobile platform/version under test: android emulator 6.0
- Real device or emulator/simulator: emulator
- Appium CLI or Appium.app|exe: cli
Details
see gists
Link to Appium logs
Code To Reproduce Issue [ Good To Have ]
I cloned the sample repo and ran the node simple-android test case, ran into the same problem
Issue Analytics
- State:
- Created 7 years ago
- Comments:20 (8 by maintainers)
Top Results From Across the Web
Test failures: false positive or false negative - Stack Overflow
I run a bunch of tests in parallel and some tests fail. I run them sequentially and they all pass. All the code...
Read more >Slow rendering - Android Developers
UI Rendering is the act of generating a frame from your app and displaying it on the screen. To ensure that a user's...
Read more >Better Error Handling In NodeJS With Error Classes
This article is for JavaScript and NodeJS developers who want to improve error-handling in their applications.
Read more >Net | Node.js v19.3.0 Documentation
The node:net module provides an asynchronous network API for creating ... when a Node.js API creates a Unix domain socket but the program...
Read more >Documentation - SpiderFoot
About. What is SpiderFoot? SpiderFoot is a reconnaissance tool that automatically queries over 100 public data sources (OSINT) to gather intelligence on IP ......
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
following #6025 , I ended up using this solution.
thanks for the help @jlipps @imurchie !
I’ve seen many people online struggling with RN and appium (and actually, e2e testing in general).
I think it could b very valuable to have an updated sample code. I can prepare a PR for this repo or the sample-code repo.
What do u think?
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.