TIL 1: New versions of Appium and Windows, Gradle fail fast feature

Aliaksandr Rasolka
2 min readMay 4, 2018

--

  1. New version 1.8.0 of Appium
  2. Windows 10 April 2018 Update
  3. Gradle test execution features.
Photo by Ben Kolde on Unsplash

Gradle introduce failFast feature in 4.6 version and it’s super useful if you don’t want to wait a lot for tests complete and fail build as fast as possible if something going wrong.

On my project I’m applying this option to test and check for Pull and Merge Requests during CI builds where I don’t care about all failures and where even one failed test fail request.

Just bypass extra parameter: ./gradlew check test --fail-fast

Or you can use it on regular base by tuning test task:

test {
failFast = true
}

14 days after release I’m decide to update automation stack with new Xcode to 9.3 version and transitive iOS Simulator to 11.3 verison.

As claimed in release notes 1.8.0 version bring Support for iOS 11.3/Xcode 9.3

So, update all things, run tests… and catch fast exception:

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error Domain=com.facebook.WebDriverAgent Code=1 “Keyboard is not present” UserInfo={NSLocalizedDescription=Keyboard is not present}

Research a lot… and research… and research… There are no solution for now :(

Solution from issues won’t work.

Issue references:

  1. Appium github #8412
  2. Github Facebook WebDriverAgent #574

So, decide to downgrade Appium to 1.7.2 version — and it’s work! Even with latest version of iOS/Xcode.

Waiting to next releases.

Update: Work well now… *magic*

Windows 10 April 2018 update. Last but not least.

If your microphone won’t work just check enabled option under Settings > Privacy > Microphone > Allow apps to access your microphone to save you time and nerves.

I don’t know why, but this option was disabled after update :C

--

--