Commit 8f242490 authored by Greg Thompson's avatar Greg Thompson Committed by Commit Bot

Re-enable various interactive_ui_tests on Windows.

These were disabled due to problems with the overall text harness which
have since been fixed.

This is a partial revert of https://crrev.com/647051.

BUG=711256,945630

Change-Id: Ifbda4d517d759b5648d5b51236523bb0d666e6ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1612910Reviewed-by: default avatarRebekah Potter <rbpotter@chromium.org>
Commit-Queue: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#660048}
parent df8d82c9
......@@ -27,13 +27,7 @@ BookmarksFocusTest.prototype = {
],
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('BookmarksFocusTest', 'MAYBE_All', function() {
TEST_F('BookmarksFocusTest', 'All', function() {
suite('<bookmarks-folder-node>', function() {
let rootNode;
let store;
......
......@@ -28,13 +28,7 @@ CrElementsActionMenuTest.prototype = {
]),
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('CrElementsActionMenuTest', 'MAYBE_All', function() {
TEST_F('CrElementsActionMenuTest', 'All', function() {
mocha.run();
});
......@@ -52,13 +46,7 @@ CrElementsProfileAvatarSelectorFocusTest.prototype = {
]),
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('CrElementsProfileAvatarSelectorFocusTest', 'MAYBE_All', function() {
TEST_F('CrElementsProfileAvatarSelectorFocusTest', 'All', function() {
cr_profile_avatar_selector.registerTests();
mocha.grep(cr_profile_avatar_selector.TestNames.Focus).run();
});
......@@ -82,13 +70,7 @@ CrElementsToggleTest.prototype = {
]),
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('CrElementsToggleTest', 'MAYBE_All', function() {
TEST_F('CrElementsToggleTest', 'All', function() {
mocha.run();
});
......@@ -112,13 +94,7 @@ CrElementsCheckboxTest.prototype = {
]),
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('CrElementsCheckboxTest', 'MAYBE_All', function() {
TEST_F('CrElementsCheckboxTest', 'All', function() {
mocha.run();
});
......@@ -141,13 +117,7 @@ CrElementsInputTest.prototype = {
]),
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('CrElementsInputTest', 'MAYBE_All', function() {
TEST_F('CrElementsInputTest', 'All', function() {
mocha.run();
});
......@@ -170,13 +140,7 @@ CrElementsIconButtonFocusTest.prototype = {
]),
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('CrElementsIconButtonFocusTest', 'MAYBE_All', function() {
TEST_F('CrElementsIconButtonFocusTest', 'All', function() {
mocha.run();
});
......@@ -202,12 +166,6 @@ CrElementsExpandButtonTest.prototype = {
]),
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('CrElementsExpandButtonTest', 'MAYBE_All', function() {
TEST_F('CrElementsExpandButtonTest', 'All', function() {
mocha.run();
});
......@@ -34,12 +34,6 @@ CrFocusRowBehaviorTest.prototype = {
},
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_FocusTest DISABLED_FocusTest');
GEN('#else');
GEN('#define MAYBE_FocusTest FocusTest');
GEN('#endif');
TEST_F('CrFocusRowBehaviorTest', 'MAYBE_FocusTest', function() {
TEST_F('CrFocusRowBehaviorTest', 'FocusTest', function() {
mocha.run();
});
......@@ -35,13 +35,7 @@ HistoryFocusTest.prototype = {
},
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('HistoryFocusTest', 'MAYBE_All', function() {
TEST_F('HistoryFocusTest', 'All', function() {
suite('<history-toolbar>', function() {
let app;
let toolbar;
......
......@@ -66,15 +66,8 @@ PrintPreviewPrintHeaderInteractiveTest =
}
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_FocusPrintOnReady DISABLED_FocusPrintOnReady');
GEN('#else');
GEN('#define MAYBE_FocusPrintOnReady FocusPrintOnReady');
GEN('#endif');
TEST_F(
'PrintPreviewPrintHeaderInteractiveTest', 'MAYBE_FocusPrintOnReady',
function() {
'PrintPreviewPrintHeaderInteractiveTest', 'FocusPrintOnReady', function() {
this.runMochaTest(
print_header_interactive_test.TestNames.FocusPrintOnReady);
});
......@@ -138,27 +131,15 @@ PrintPreviewDestinationDialogInteractiveTest =
}
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_FocusSearchBox DISABLED_FocusSearchBox');
GEN('#else');
GEN('#define MAYBE_FocusSearchBox FocusSearchBox');
GEN('#endif');
TEST_F(
'PrintPreviewDestinationDialogInteractiveTest', 'MAYBE_FocusSearchBox',
'PrintPreviewDestinationDialogInteractiveTest', 'FocusSearchBox',
function() {
this.runMochaTest(
destination_dialog_interactive_test.TestNames.FocusSearchBox);
});
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_EscapeSearchBox DISABLED_EscapeSearchBox');
GEN('#else');
GEN('#define MAYBE_EscapeSearchBox EscapeSearchBox');
GEN('#endif');
TEST_F(
'PrintPreviewDestinationDialogInteractiveTest', 'MAYBE_EscapeSearchBox',
'PrintPreviewDestinationDialogInteractiveTest', 'EscapeSearchBox',
function() {
this.runMochaTest(
destination_dialog_interactive_test.TestNames.EscapeSearchBox);
......@@ -185,38 +166,19 @@ PrintPreviewPagesSettingsTest = class extends PrintPreviewInteractiveUITest {
}
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_ClearInput DISABLED_ClearInput');
GEN('#else');
GEN('#define MAYBE_ClearInput ClearInput');
GEN('#endif');
TEST_F('PrintPreviewPagesSettingsTest', 'MAYBE_ClearInput', function() {
TEST_F('PrintPreviewPagesSettingsTest', 'ClearInput', function() {
this.runMochaTest(pages_settings_test.TestNames.ClearInput);
});
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_InputNotDisabledOnValidityChange DISABLED_InputNotDisabledOnValidityChange');
GEN('#else');
GEN('#define MAYBE_InputNotDisabledOnValidityChange InputNotDisabledOnValidityChange');
GEN('#endif');
TEST_F(
'PrintPreviewPagesSettingsTest', 'MAYBE_InputNotDisabledOnValidityChange',
'PrintPreviewPagesSettingsTest', 'InputNotDisabledOnValidityChange',
function() {
this.runMochaTest(
pages_settings_test.TestNames.InputNotDisabledOnValidityChange);
});
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_EnterOnInputTriggersPrint DISABLED_EnterOnInputTriggersPrint');
GEN('#else');
GEN('#define MAYBE_EnterOnInputTriggersPrint EnterOnInputTriggersPrint');
GEN('#endif');
TEST_F(
'PrintPreviewPagesSettingsTest', 'MAYBE_EnterOnInputTriggersPrint',
function() {
'PrintPreviewPagesSettingsTest', 'EnterOnInputTriggersPrint', function() {
this.runMochaTest(
pages_settings_test.TestNames.EnterOnInputTriggersPrint);
});
......@@ -243,15 +205,9 @@ PrintPreviewNumberSettingsSectionInteractiveTest =
}
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_BlurResetsEmptyInput DISABLED_BlurResetsEmptyInput');
GEN('#else');
GEN('#define MAYBE_BlurResetsEmptyInput BlurResetsEmptyInput');
GEN('#endif');
TEST_F(
'PrintPreviewNumberSettingsSectionInteractiveTest',
'MAYBE_BlurResetsEmptyInput', function() {
'PrintPreviewNumberSettingsSectionInteractiveTest', 'BlurResetsEmptyInput',
function() {
this.runMochaTest(number_settings_section_interactive_test.TestNames
.BlurResetsEmptyInput);
});
......
......@@ -50,13 +50,7 @@ CrSettingsSyncPageTest.prototype = {
]),
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('CrSettingsSyncPageTest', 'MAYBE_All', function() {
TEST_F('CrSettingsSyncPageTest', 'All', function() {
mocha.run();
});
......@@ -78,12 +72,6 @@ CrSettingsAnimatedPagesTest.prototype = {
]),
};
// Web UI interactive tests are flaky on Win10, see https://crbug.com/711256
GEN('#if defined(OS_WIN)');
GEN('#define MAYBE_All DISABLED_All');
GEN('#else');
GEN('#define MAYBE_All All');
GEN('#endif');
TEST_F('CrSettingsAnimatedPagesTest', 'MAYBE_All', function() {
TEST_F('CrSettingsAnimatedPagesTest', 'All', function() {
mocha.run();
});
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