@@ -151,5 +151,16 @@ Item {
151151 // reset to false in case any other test wants to use it
152152 root.helper = false
153153 }
154+
155+ function test_keyboard_present() {
156+ var flick = findChild(preview, "leftFlickable");
157+ var column = findChild(preview, "leftColumn");
158+
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");
164+ }
154165 }
155166}