question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NODE: ANDROID: Sample code is passing false positive, doesn't run all commands, and hangs up

See original GitHub issue

The 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

gist

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:closed
  • Created 7 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
goldyluckscommented, Jan 7, 2017

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?

0reactions
lock[bot]commented, Apr 28, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found