commit | 52da72f67cb4dd191c5dc209b342d986c04a6698 | [log] [tgz] |
---|---|---|
author | Marcin Kosiba <mkosiba@google.com> | Tue Apr 01 14:16:40 2014 +0100 |
committer | Marcin Kosiba <mkosiba@google.com> | Wed Jun 11 17:17:31 2014 +0000 |
tree | 129d254f16139fcfb791702abcf22bf6bdcdf5c2 | |
parent | 7688df79e86bcd711e53f92c90df0388e9436c8a [diff] |
De-flake WebView zoom/scale change tests [DO NOT MERGE] The tests were attempting to zoom the page in immediately after the loadUrlAndWaitForCompletion method had finished. Because the PictureListener used in that method is racey the test would sometimes attempt to zoom the page in too early. Waiting for canZoomIn to be true fixes the race. BUG: 15544557 Change-Id: I17ebbecebc1ab35d8afe0c0e6cb72841c59e797b (cherry picked from commit c91fe5d75d5973c0f5ddfb9cd209eaeb1fc56615)