Skip to content
Joshua Moody edited this page Oct 5, 2018 · 6 revisions

Hot Topics

The topics on this page change regularly. Beware of linking directly to topic headers.

1. App Center Test (formally Xamarin Test Cloud)

The Calabash iOS and Android gems have removed their json and cucumber version restrictions. This allows users to upgrade their ruby stacks. App Center Test (formally Xamarin Test Cloud) users need to continue to use the older json and cucumber versions.

Add these entries to your Gemfile:

gem "json", "1.8.6"
gem "cucumber", "2.99.0"

2. Incorrect coordinates for floating dialogs

When working with dialogs on Android lower than 4.2, be sure to hide the keyboard before opening the dialog and before touching anything. Android < 4.2 has a bug that affects floating dialogs. When the keyboard appears, the dialog will be pushed upwards, but the coordinates of the views will not change. Solution:

Use hide_soft_keyboard before issuing a gesture when working with a dialog.

This can also happen on Android >= 4.2, if the keyboard is showing before a dialog is opened, but immediately closed afterwards. The solution remains the same:

Use hide_soft_keyboard before issuing a gesture that opens the floating dialog.