diff options
author | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 05:04:00 +0000 |
---|---|---|
committer | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 05:04:00 +0000 |
commit | 22bd67815bf2fb991e42357f574bcf94097e6084 (patch) | |
tree | ab77f2487fb2c3b370875c8e51a3fb11fb15e356 | |
parent | cee6312f189d2cbdeaf4888170919422b6c65cdd (diff) | |
download | chromium_src-22bd67815bf2fb991e42357f574bcf94097e6084.zip chromium_src-22bd67815bf2fb991e42357f574bcf94097e6084.tar.gz chromium_src-22bd67815bf2fb991e42357f574bcf94097e6084.tar.bz2 |
Remove test which works on local Win machines but fails the Win bots (suspect test harness issues).
TBR=arv
Review URL: http://codereview.chromium.org/3040009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53003 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/dom_ui/new_tab_ui_uitest.cc | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui_uitest.cc b/chrome/browser/dom_ui/new_tab_ui_uitest.cc index 67dd4b5..1265cbe 100644 --- a/chrome/browser/dom_ui/new_tab_ui_uitest.cc +++ b/chrome/browser/dom_ui/new_tab_ui_uitest.cc @@ -165,38 +165,3 @@ TEST_F(NewTabUITest, HomePageLink) { ASSERT_TRUE(is_home_page); } -TEST_F(NewTabUITest, PromoLink) { -#if defined(OS_WIN) - scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0)); - ASSERT_TRUE(browser.get()); - - // Bring up a new tab page. - ASSERT_TRUE(browser->RunCommand(IDC_NEW_TAB)); - int load_time; - ASSERT_TRUE(automation()->WaitForInitialNewTabUILoad(&load_time)); - - scoped_refptr<TabProxy> tab = browser->GetActiveTab(); - ASSERT_TRUE(tab.get()); - - // Test "import bookmarks" promo. - bool result; - ASSERT_TRUE(tab->ExecuteAndExtractBool(L"", - L"window.domAutomationController.send(" - L"(function() {" - L" tipCache = [{\"set_promo_tip\":" - L"\"<button class='link'>Import</button> bookmarks\"}];" - L" renderTip();" - L" var e = document.createEvent('Event');" - L" e.initEvent('click', true, true);" - L" var el = document.querySelector('#tip-line button');" - L" el.dispatchEvent(e);" - L" return true;" - L"})()" - L")", - &result)); - - ASSERT_TRUE(result); -#endif - // TODO(mirandac): Ensure that we showed the import bookmarks dialog. - // Remove check for OS_WIN after implemented in Mac and Linux. -} |