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.

Facebook Auth. Android fails on Linux, on macOS - OK.

See original GitHub issue

The problem

Hi, get ready for a cool story. Between 11th and 12th of August I’ve updated node version from 4.2.6 (default for Ubuntu 16.4 now) to 8.3.0. The same day I’ve experienced problems with tests for Android on Linux. Not sure that a newer version of node broke my tests and it’s only a coincidence. But, my tests are successful on Android on macOS and fails on Android on Ubuntu. Does anyone know what’s wrong? Why doesn’t appium find an element via accessibilityId?

Environment

  • Appium version (or git revision) that exhibits the issue: 1.6.4 (Linux)
  • Last Appium version that did not exhibit the issue (if applicable): 1.6.4 (macOS)
  • Desktop OS/version used to run Appium: macOS/Ubuntu 16.4
  • Node.js version (unless using Appium.app|exe): 8.3.0
  • Mobile platform/version under test: Android
  • Real device or emulator/simulator: Emulator
  • Appium CLI or Appium.app|exe: CLI

Link to Appium logs

https://gist.github.com/paynd/0aaeeb7f82ac48d749e8656ea9e2fa5c

Successful macOS tests: face

Failed Linux tests: https://youtu.be/CRJdPvI36xA?t=1m03s

P.S. I saw issues about accessibilityId on WebViews that does not work, but it’s working on macOS.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
isnifercommented, Sep 8, 2017

@jlipps problem solved. There is a bug on Android emulator 26.1.4 with --no-window.

1reaction
isnifercommented, Sep 1, 2017

@mykola-mokhnach and the main problem on the CI server. When appium started Facebook authorization test, emulator goes through three states:

  1. Open login page
  2. Click on Facebook button and loading Facebook WebView
  3. Strange crash of the application image

I want to show you the full Appium Log And the adb logcat log

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Facebook Login - Meta for Developers
Troubleshoot. The following are commonly encountered problems and solutions for the Facebook Login for Android. I get a login dialog error.
Read more >
Why Facebook Login Not Working In Signed Release APK In ...
I'm developing an android application that provide to users login with Facebook with firebase help, my problem is when i generate signed ...
Read more >
OAuth 2.0 for Mobile & Desktop Apps - Google Developers
Select the Android application type. · Enter a name for the OAuth client. This name is displayed on your project's Credentials page to...
Read more >
Why Is Facebook Not Working? 9 Fixes for Common Issues
Restart Your Device. When your computer, Android, or iOS device is on for too long, mysterious things start happening. The apps, ...
Read more >
Installation | Watchman - Meta Open Source
Linux systems with inotify; macOS (uses FSEvents on 10.7+, kqueue(2) on earlier versions) ... The core of the code should be OK, but...
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