Test that view padding is applied on show keyboard (#10190)

Ensure that showing the keyboard applies padding, reducing the view
height.
diff --git a/dev/integration_tests/ui/test_driver/keyboard_resize_test.dart b/dev/integration_tests/ui/test_driver/keyboard_resize_test.dart
index 66ab030..5d624c6 100644
--- a/dev/integration_tests/ui/test_driver/keyboard_resize_test.dart
+++ b/dev/integration_tests/ui/test_driver/keyboard_resize_test.dart
@@ -30,6 +30,10 @@
       await driver.tap(defaultTextField);
       await new Future<Null>.delayed(const Duration(seconds: 1));
 
+      // Measure the height with keyboard displayed.
+      final String heightWithKeyboardShown = await driver.getText(heightText);
+      expect(double.parse(heightWithKeyboardShown) < double.parse(startHeight), isTrue);
+
       // Unfocus the text field to dismiss the keyboard.
       final SerializableFinder unfocusButton = find.byValueKey(keys.kUnfocusButton);
       await driver.waitFor(unfocusButton);