commit | bc288f4389ba798aa9c3ad2f593a2b008d0b1a6a | [log] [tgz] |
---|---|---|
author | bsheedy <bsheedy@chromium.org> | Thu Mar 30 01:58:15 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu Mar 30 01:58:15 2017 |
tree | 4665f0df7f2f0502a4d78320e92f178e606f42ec | |
parent | b9058f285cf483b7c49fe46e554f55f54ffeb956 [diff] |
Make VR screen tap tests more stable The single tap sent during the VR screen tap tests wasn't always getting registered since device response can be a bit slow during the VR transition. For the Cardboard case, wait on Javascript to say it received another click event. For the Daydream case, wait on VrShell saying its parent has consumed the event before checking. BUG= Review-Url: https://codereview.chromium.org/2768583002 Cr-Original-Commit-Position: refs/heads/master@{#460452} Committed: https://chromium.googlesource.com/chromium/src/+/3e2ce51e88f19f0cc5196284f580583ddd4dbd9a Review-Url: https://codereview.chromium.org/2768583002 Cr-Commit-Position: refs/heads/master@{#460623}