Commit 6e47625b authored by Mei Liang's avatar Mei Liang Committed by Commit Bot

Revert "Disable all failing TabStripTest tests"

This reverts commit 011a35b6.

Reason for revert: These tests should be fixed with https://chromium-review.googlesource.com/c/chromium/src/+/2305374 

Original change's description:
> Disable all failing TabStripTest tests
> 
> Disable the following tests because they are failing on
> L/M Tablet Tester bots:
> 
> TabStripTest#testCloseAllIncognitoTabsFromTabMenu
> TabStripTest#testCloseLastIncognitoTab
> TabStripTest#testCloseTabWithManyTabs
> TabStripTest#testNewIncognitoTabFromMenuAtNormalStrip
> TabStripTest#testSwitchStripStackersWithIncognito
> TabStripTest#testTabSelectionViewDoesNotBreakModelSwitch
> TabStripTest#testToggleIncognitoMode
> 
> Note:
> TabStripTest#testSelectWithManyTabs was disabled in
> crbug.com/1107395.
> 
> BUG=1107543,1107395
> TBR=dtrainor@chromium.org
> 
> Change-Id: I638033bf1f9b12e009dfbd2ff8b2e2128d000373
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2308469
> Reviewed-by: Tim Volodine <timvolodine@chromium.org>
> Commit-Queue: Tim Volodine <timvolodine@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#790095}

TBR=dtrainor@chromium.org,timvolodine@chromium.org

Change-Id: I6ac4a86a451aa839672fed129e95b097ddcc7db9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1107543
Bug: 1107395
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2309750Reviewed-by: default avatarMei Liang <meiliang@chromium.org>
Commit-Queue: Mei Liang <meiliang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790261}
parent 19baf9b1
......@@ -157,7 +157,6 @@ public class TabStripTest {
@LargeTest
@Restriction(UiRestriction.RESTRICTION_TYPE_TABLET)
@Feature({"TabStrip"})
@DisabledTest(message = "crbug.com/1107543")
public void testNewIncognitoTabFromMenuAtNormalStrip() throws Exception {
InstrumentationRegistry.getInstrumentation().waitForIdleSync();
Assert.assertFalse("Expected normal strip to be selected",
......@@ -256,7 +255,6 @@ public class TabStripTest {
@LargeTest
@Restriction(UiRestriction.RESTRICTION_TYPE_TABLET)
@Feature({"TabStrip"})
@DisabledTest(message = "crbug.com/1107543")
public void testCloseTabWithManyTabs() throws Exception {
ChromeTabUtils.newTabsFromMenu(
InstrumentationRegistry.getInstrumentation(), mActivityTestRule.getActivity(), 4);
......@@ -393,7 +391,6 @@ public class TabStripTest {
@LargeTest
@Restriction(UiRestriction.RESTRICTION_TYPE_TABLET)
@Feature({"TabStrip"})
@DisabledTest(message = "crbug.com/1107543")
public void testToggleIncognitoMode() throws Exception {
InstrumentationRegistry.getInstrumentation().waitForIdleSync();
Assert.assertFalse("Expected normal strip to be selected",
......@@ -422,7 +419,6 @@ public class TabStripTest {
@LargeTest
@Feature({"TabStrip"})
@Restriction(UiRestriction.RESTRICTION_TYPE_TABLET)
@DisabledTest(message = "crbug.com/1107543")
public void testCloseLastIncognitoTab() {
InstrumentationRegistry.getInstrumentation().waitForIdleSync();
Assert.assertFalse("Expected normal strip to be selected",
......@@ -452,7 +448,6 @@ public class TabStripTest {
@LargeTest
@Feature({"TabStrip"})
@Restriction(UiRestriction.RESTRICTION_TYPE_TABLET)
@DisabledTest(message = "crbug.com/1107543")
public void testCloseAllIncognitoTabsFromTabMenu() {
//1. Create two incognito tabs
InstrumentationRegistry.getInstrumentation().waitForIdleSync();
......@@ -500,7 +495,6 @@ public class TabStripTest {
@LargeTest
@Restriction(UiRestriction.RESTRICTION_TYPE_TABLET)
@Feature({"TabStrip"})
@DisabledTest(message = "crbug.com/1107543")
public void testTabSelectionViewDoesNotBreakModelSwitch() {
InstrumentationRegistry.getInstrumentation().waitForIdleSync();
Assert.assertFalse("Expected normal strip to be selected",
......@@ -529,7 +523,6 @@ public class TabStripTest {
@LargeTest
@Restriction(UiRestriction.RESTRICTION_TYPE_TABLET)
@Feature({"TabStrip"})
@DisabledTest(message = "crbug.com/1107543")
public void testSwitchStripStackersWithIncognito() throws Exception {
// Open an incognito tab to switch to the incognito model.
mActivityTestRule.newIncognitoTabFromMenu();
......
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