Test must wait until IME is shown

Currently the test uses a fixed sleep duration. For faster and more stable tests it is better to wait for IME elements, instead of relying on a fixed timeout.

Test: atest FlickerTests
Change-Id: I62888659b5bac843466c7af40221a22bbbee8010
3 files changed