Commit 28c21fa4 authored by bsheedy's avatar bsheedy Committed by Commit Bot

Re-enable disabled VR tests

Re-enables all the VR tests that were marked as flaky now that the
root cause has been reverted.

TBR=mthiesse@chromium.org

Bug: 894796
Change-Id: I34c4b8e10edec2e682c450b1b18c2428f3e29473
Reviewed-on: https://chromium-review.googlesource.com/c/1305211Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603594}
parent 63debc65
......@@ -22,7 +22,6 @@ import org.chromium.base.test.params.ParameterAnnotations.UseRunnerDelegate;
import org.chromium.base.test.params.ParameterSet;
import org.chromium.base.test.params.ParameterizedRunner;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.FlakyTest;
import org.chromium.base.test.util.MinAndroidSdkLevel;
import org.chromium.base.test.util.Restriction;
import org.chromium.chrome.browser.ChromeSwitches;
......@@ -71,7 +70,6 @@ public class WebXrVrDeviceTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
public void testDeviceCapabilitiesMatchExpectations() throws InterruptedException {
mWebVrTestFramework.loadUrlAndAwaitInitialization(
......@@ -89,7 +87,6 @@ public class WebXrVrDeviceTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@CommandLineFlags.Add("enable-features=WebXROrientationSensorDevice")
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
@Restriction(RESTRICTION_TYPE_SVR)
......@@ -113,7 +110,6 @@ public class WebXrVrDeviceTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@CommandLineFlags
.Remove({"enable-webvr"})
@CommandLineFlags.Add({"enable-features=WebXR"})
......
......@@ -34,7 +34,6 @@ import org.chromium.base.test.params.ParameterizedRunner;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisableIf;
import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.FlakyTest;
import org.chromium.base.test.util.MinAndroidSdkLevel;
import org.chromium.base.test.util.Restriction;
import org.chromium.chrome.browser.ChromeSwitches;
......@@ -97,7 +96,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@DisableIf.
Build(message = "Flaky on K/L crbug.com/762126", sdk_is_less_than = Build.VERSION_CODES.M)
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
......@@ -112,7 +110,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@DisableIf
.Build(message = "Flaky on K/L crbug.com/762126",
sdk_is_less_than = Build.VERSION_CODES.M)
......@@ -261,7 +258,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@Restriction(RESTRICTION_TYPE_VIEWER_NON_DAYDREAM)
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
public void testScreenTapsRegisteredOnCardboard() throws InterruptedException {
......@@ -292,7 +288,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@Restriction(RESTRICTION_TYPE_VIEWER_NON_DAYDREAM)
@CommandLineFlags
.Remove({"enable-webvr"})
......@@ -332,7 +327,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
public void testPresentationLocksFocus() throws InterruptedException {
presentationLocksFocusImpl(
......@@ -346,7 +340,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@CommandLineFlags
.Remove({"enable-webvr"})
@CommandLineFlags.Add({"enable-features=WebXR"})
......@@ -571,7 +564,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@Restriction(RESTRICTION_TYPE_VIEWER_DAYDREAM_OR_STANDALONE)
@CommandLineFlags
.Remove({"enable-webvr"})
......@@ -590,7 +582,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@Restriction(RESTRICTION_TYPE_VIEWER_NON_DAYDREAM)
@CommandLineFlags
.Remove({"enable-webvr"})
......@@ -608,7 +599,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@Restriction(RESTRICTION_TYPE_VIEWER_DAYDREAM_OR_STANDALONE)
@CommandLineFlags
.Remove({"enable-webvr"})
......@@ -625,7 +615,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@Restriction(RESTRICTION_TYPE_VIEWER_NON_DAYDREAM)
@CommandLineFlags
.Remove({"enable-webvr"})
......@@ -644,7 +633,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@Restriction(RESTRICTION_TYPE_VIEWER_DAYDREAM_OR_STANDALONE)
@CommandLineFlags.Remove({"enable-webvr"})
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
......@@ -659,7 +647,6 @@ public class WebXrVrInputTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@Restriction(RESTRICTION_TYPE_VIEWER_NON_DAYDREAM)
@CommandLineFlags.Remove({"enable-webvr"})
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
......
......@@ -37,7 +37,6 @@ import org.chromium.base.test.params.ParameterAnnotations.UseRunnerDelegate;
import org.chromium.base.test.params.ParameterSet;
import org.chromium.base.test.params.ParameterizedRunner;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.FlakyTest;
import org.chromium.base.test.util.MinAndroidSdkLevel;
import org.chromium.base.test.util.Restriction;
import org.chromium.chrome.browser.ChromeActivity;
......@@ -94,7 +93,6 @@ public class WebXrVrTransitionTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
public void testRequestPresentEntersVr() throws InterruptedException {
testPresentationEntryImpl(
......@@ -107,7 +105,6 @@ public class WebXrVrTransitionTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@CommandLineFlags
.Remove({"enable-webvr"})
@CommandLineFlags.Add({"enable-features=WebXR"})
......@@ -165,7 +162,6 @@ public class WebXrVrTransitionTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@CommandLineFlags.Remove({"enable-webvr"})
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
public void testWebVrDisabledWithoutFlagSet() throws InterruptedException {
......@@ -182,7 +178,6 @@ public class WebXrVrTransitionTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@CommandLineFlags.Remove({"enable-webvr"})
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
public void testWebXrDisabledWithoutFlagSet() throws InterruptedException {
......@@ -370,7 +365,6 @@ public class WebXrVrTransitionTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@XrActivityRestriction({XrActivityRestriction.SupportedActivity.ALL})
public void testWindowRafStopsFiringWhilePresenting() throws InterruptedException {
windowRafStopsFiringWhilePresentingImpl(
......@@ -385,7 +379,6 @@ public class WebXrVrTransitionTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@CommandLineFlags
.Remove({"enable-webvr"})
@CommandLineFlags.Add({"enable-features=WebXR"})
......@@ -457,7 +450,6 @@ public class WebXrVrTransitionTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@CommandLineFlags
.Remove({"enable-webvr"})
@CommandLineFlags.Add({"enable-features=WebXR"})
......@@ -477,7 +469,6 @@ public class WebXrVrTransitionTest {
*/
@Test
@MediumTest
@FlakyTest(message = "https://crbug.com/894796")
@CommandLineFlags
.Remove({"enable-webvr"})
@CommandLineFlags.Add({"enable-features=WebXR"})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment