Enforce that the image is visible prior to poking it.

 Bug 6299115
 The test now requires that the image is visible before poking
 its spot and testing the requestImageRef. This fixes the
 intermittent failures.

Change-Id: I6a59ef43e97fb734e07d803a3264750e535cddfb
1 file changed