New issue
Advanced search Search tips

Issue 893724 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug
Proj-VR
Proj-XR
Proj-XR-VR



Sign in to add a comment

Add test for GVR install dialog on WebXR page, and WebVR page

Project Member Reported by billorr@chromium.org, Oct 9

Issue description

Want to test several scenarios:
* Go to a WebXR page with GVR uninstalled.  Expect supportsSession(immersive)==true, and UI shows when we requestSession(immersive).  No UI if we requestSession(non-immersive), no UI if we requestSession(ar).
* Go to WebVR page with GVR uninstalled.  Expect that UI shows, and we get orientation device info.  Should device claim to support presentation?
* Go to WebXR page with GVR installed.  Expect no UI.  Expect supportsSession(immersive)==true.  Expect that we don't start GVR until requestSession(immersive).
* Go to WebVR page with GVR installed.  Expect we get display info initially corresponding to GVR device.

I believe we have some similar tests already for VR browsing.  https://cs.chromium.org/chromium/src/chrome/android/javatests/src/org/chromium/chrome/browser/vr/VrInstallUpdateInfoBarTest.java?q=vrinstallupdate&sq=package:chromium&dr=CSs&l=119

Finally, if we install GVR through UI, expect Chrome to restart, then we are in the GVR installed state when we get back.

It would be nice to have tests that cover the DFM and ARCore install flows similar to this, since it should be similar patterns/test cases.  I'm not sure what exists currently for these.
 
Status: Assigned (was: Untriaged)

Sign in to add a comment