Commit bb9a9696 authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Move TabHistory EarlGrey test to PopupMenu

This CL moves the EarlGrey test for the TabHistory to the PopupMenu as
the TabHistory has been replaced by the Popup Menu in UIRefresh.

Bug: 800266
Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
Change-Id: Ida2bf76b73ef65e5670a3a443d55be685b7d78e7
Reviewed-on: https://chromium-review.googlesource.com/1233742
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarSergio Collazos <sczs@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#592737}
parent c298489d
......@@ -68,20 +68,3 @@ source_set("unit_tests") {
"//ui/gfx",
]
}
source_set("eg_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"tab_history_popup_controller_egtest.mm",
]
deps = [
":history_popup",
"//base",
"//components/strings",
"//ios/chrome/test/app:test_support",
"//ios/chrome/test/earl_grey:test_support",
"//ios/web/public/test",
"//ios/web/public/test/http_server",
]
}
......@@ -144,3 +144,19 @@ source_set("unit_tests") {
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("eg_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"popup_menu_egtest.mm",
]
deps = [
"//base",
"//components/strings",
"//ios/chrome/test/app:test_support",
"//ios/chrome/test/earl_grey:test_support",
"//ios/web/public/test",
"//ios/web/public/test/http_server",
]
}
......@@ -16,11 +16,11 @@
#error "This file requires ARC support."
#endif
// Tests for tab history popup.
@interface TabHistoryPopupControllerTestCase : ChromeTestCase
// Tests for the popup menus.
@interface PopupMenuTestCase : ChromeTestCase
@end
@implementation TabHistoryPopupControllerTestCase
@implementation PopupMenuTestCase
// Test that the tab history back and forward menus contain the expected entries
// for a series of navigations, and that tapping entries performs the
......
......@@ -105,10 +105,10 @@ chrome_ios_eg_test("ios_chrome_ui_egtests") {
"//ios/chrome/browser/ui/first_run:eg_tests",
"//ios/chrome/browser/ui/fullscreen:eg_tests",
"//ios/chrome/browser/ui/history:eg_tests",
"//ios/chrome/browser/ui/history_popup:eg_tests",
"//ios/chrome/browser/ui/infobars:eg_tests",
"//ios/chrome/browser/ui/ntp:eg_tests",
"//ios/chrome/browser/ui/ntp/recent_tabs:eg_tests",
"//ios/chrome/browser/ui/popup_menu:eg_tests",
"//ios/chrome/browser/ui/print:eg_tests",
"//ios/chrome/browser/ui/qr_scanner:eg_tests",
"//ios/chrome/browser/ui/sad_tab:eg_tests",
......
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