appium: Facebook Auth. Android fails on Linux, on macOS - OK.
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:
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.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (11 by maintainers)
@jlipps problem solved. There is a bug on Android emulator 26.1.4 with --no-window.
@mykola-mokhnach and the main problem on the CI server. When appium started Facebook authorization test, emulator goes through three states:
I want to show you the full Appium Log And the
adb logcat
log