Can't find a solution to bitrise not finding elements

Hi, I’m asking here because I’m fighting with it for quite some time. I’m using Bitrise with appium - Android gradle project. On my machine it works with no flaws (Windows + Intellij), on Bitrise though it fails every time. Sometimes more tests passing, sometimes less. Also after the tests are finished I don’t get any screenshots in the build artifacts (Yes I have Deploy to Bitrise step).

Error I’m getting everytime test fails:
org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.
For documentation on this error, please visit: /documentation/webdriver/troubleshooting/errors/
Build info: version: ‘4.9.1’, revision: ‘eb2032df7f’
System info: os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.13.0-1015-gcp’, java.version: ‘17.0.9’
Driver info: io.appium.java_client.android.AndroidDriver

Questions I have

  1. My project isn’t a small one - it’s over 100 test cases. Is Hobby plan enough to work with it or it has some limitations that may cause these errors due to performance issues? Also my build gets aborted when it reaches 1:30 duration - is that a limitation of Hobby plan?
  2. I’ve seen topic that on Linux machines Android Emulators works really slow due to lack of GPU Acceleration. Is there a way to turn it on? Can these emulators work that slow to not find the element after trying for one minute?
  3. What are possible Device profiles on Bitrise? In previous version of the AVD Manager step I could choose from the list of available devices but i can’t do it on newer version (1.2.1). So what devices can i use? Locally I’m using Pixel 6 Pro emulator, can i use it on Bitrise?

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app . : NO
  • Does the issue happen sporadically, or every time? Every time
  • Does upgrading the build Step to the latest version help? : NO

Environment
Stack and machine type:
Ubuntu 20.04 for Android & Docker
Standard

Hey @oskarczestkowski ,

Could you please reach out to support and we will take a look at your build.
https://support.bitrise.io/hc/en-us/requests/new

Also did you try to use remote access to ssh into the machine and try to check things out that way?

Have a nice day!
Balazs

How can remote access with ssh help me and what should i look for when I’m connected?