@@ -151,5 +151,16 @@ Item {
151 // reset to false in case any other test wants to use it
151 // reset to false in case any other test wants to use it
152 root.helper = false
152 root.helper = false
155+ function test_keyboard_present() {
156+ var flick = findChild(preview, "leftFlickable");
157+ var column = findChild(preview, "leftColumn");
159+ compare(flick.contentHeight, column.height, "Column and Flickable area don't match");
160+ var defaultValue = flick.contentHeight;
161+ // Simulate that the keyboard is visible
162+ preview.keyboardSize = 500;
163+ compare(flick.contentHeight, defaultValue + 500, "Flickable wasn't expanded on keyboard shown");