New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 737168 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Task
Proj-VR
Proj-XR
Proj-XR-VR

Blocked on:
issue 696566


Participants' hotlists:
VR-Automated-Tests


Sign in to add a comment

VR: Test input and navigation to/from Native Pages like the NTP

Project Member Reported by mthiesse@chromium.org, Jun 27 2017

Issue description

In order to prevent regressions like  issue 737167 , we should have some tests for navigation and input while viewing a NativePage like the NTP. We already test these things for normal pages, but NativePages have a number of differences in implementation that should be tested.
 
Description: Show this description
Labels: VR-Test
Cc: leilei@chromium.org
Labels: -M-61 M-64
bsheedy: Please provide an update on this.
The linked issue in the description should be easy to add a regression test for (from what I can tell, it just involves navigating to a native page and tapping on the screen?). What are other specific tests are desired? Just navigating to/from native pages?
Yeah, navigating to/from a native page, tapping, and scrolling should be sufficient.
Scrolling will have to wait ( Issue 696566  and  Issue 749714  imply that scrolling still doesn't work on native pages), but I'll get tests in for the other two cases.
Cc: -bsheedy@chromium.org
Owner: bsheedy@chromium.org
Status: Assigned (was: Available)
Thanks!
Project Member

Comment 8 by bugdroid1@chromium.org, Oct 23 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/355d9bbd8dc073a13b545ab20f77b697a949d378

commit 355d9bbd8dc073a13b545ab20f77b697a949d378
Author: bsheedy <bsheedy@chromium.org>
Date: Mon Oct 23 17:32:29 2017

Add VR native page navigation and interaction test

Adds a VR instrumentation to make sure there aren't any issues
navigating to/from native pages or when the screen is tapped while on
a native page.

Bug:  737168 
Change-Id: I1da8093826af8e86cf68b2235a269bb34f5fd9cf
Reviewed-on: https://chromium-review.googlesource.com/731645
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510835}
[modify] https://crrev.com/355d9bbd8dc073a13b545ab20f77b697a949d378/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellNavigationTest.java

 Issue 737185  has been merged into this issue.
Blockedon: 696566
Labels: -M-64 M-65
Punting to M-65 and blocking on  Issue 696566  since the last remaining part of this bug (scrolling on native pages) can't be done until scrolling actually works on native pages.
Cc: dougman@chromium.org
Labels: -Pri-2 -M-65 M-67 Pri-1
Project Member

Comment 12 by bugdroid1@chromium.org, Mar 13 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f94f82d9da9079df7ed54ccc396549b7a1806fd1

commit f94f82d9da9079df7ed54ccc396549b7a1806fd1
Author: bsheedy <bsheedy@chromium.org>
Date: Tue Mar 13 17:16:59 2018

Add VR NativePage scroll test

Adds VrShellControllerInputTest#testControllerScrollingNative, which
ensures that scrolling via the Daydream controller works on the
chrome://history NativePage.

Bug:  737168 
Change-Id: Idfa83286ee56a4c245634e64dc3d80a3ef0a8d43
Reviewed-on: https://chromium-review.googlesource.com/959609
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Theresa <twellington@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542834}
[modify] https://crrev.com/f94f82d9da9079df7ed54ccc396549b7a1806fd1/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryManager.java
[modify] https://crrev.com/f94f82d9da9079df7ed54ccc396549b7a1806fd1/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/EmulatedVrController.java
[modify] https://crrev.com/f94f82d9da9079df7ed54ccc396549b7a1806fd1/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellControllerInputTest.java

Status: Fixed (was: Assigned)
Labels: Test-Complete

Sign in to add a comment