Commit 5750ecde authored by Dominic Battre's avatar Dominic Battre Committed by Commit Bot

Enable screenshotting for AutofillInteractiveTests

A bunch of interactive_ui_tests from AutofillInteractiveTests.* are flakily
timing out on the win7 builders. This CL enables pixel outputs. Hopefully that
reveals why the tests time out.

Bug: 967588
Change-Id: Icc6296fbb324fe0e2920807afa6a6ceea121b691
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1632330
Commit-Queue: Fabio Tirelo <ftirelo@chromium.org>
Auto-Submit: Dominic Battré <battre@chromium.org>
Reviewed-by: default avatarFabio Tirelo <ftirelo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#663822}
parent 3a89f919
......@@ -78,6 +78,7 @@
#include "net/url_request/url_request_status.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/compositor_switches.h"
#include "ui/events/base_event_utils.h"
#include "ui/events/keycodes/dom_us_layout_data.h"
#include "ui/events/keycodes/keyboard_code_conversion.h"
......@@ -702,6 +703,10 @@ class AutofillInteractiveTest : public AutofillInteractiveTestBase {
command_line->AppendSwitchASCII(
translate::switches::kTranslateScriptURL,
embedded_test_server()->GetURL("/mock_translate_script.js").spec());
// TODO(crbug.com/966475) This temporary switch enables pixel outputs to
// understand why the tests time out. Check the "shard #xx isolated out"
// links on the try bot site to see the screenshots.
command_line->AppendSwitch(switches::kEnablePixelOutputInTests);
}
};
......
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