| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import <XCTest/XCTest.h> | 5 #import <XCTest/XCTest.h> |
| 6 | 6 |
| 7 #import "base/mac/bind_objc_block.h" | 7 #import "base/mac/bind_objc_block.h" |
| 8 #import "ios/chrome/browser/ui/tools_menu/tools_menu_view_controller.h" | 8 #include "ios/chrome/browser/ui/tools_menu/tools_menu_constants.h" |
| 9 #include "ios/chrome/grit/ios_strings.h" | 9 #include "ios/chrome/grit/ios_strings.h" |
| 10 #include "ios/chrome/test/app/web_view_interaction_test_util.h" | 10 #include "ios/chrome/test/app/web_view_interaction_test_util.h" |
| 11 #include "ios/chrome/test/earl_grey/accessibility_util.h" | 11 #include "ios/chrome/test/earl_grey/accessibility_util.h" |
| 12 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" | 12 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" |
| 13 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" | 13 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" |
| 14 #import "ios/chrome/test/earl_grey/chrome_matchers.h" | 14 #import "ios/chrome/test/earl_grey/chrome_matchers.h" |
| 15 #import "ios/chrome/test/earl_grey/chrome_test_case.h" | 15 #import "ios/chrome/test/earl_grey/chrome_test_case.h" |
| 16 #import "ios/web/public/test/http_server.h" | 16 #import "ios/web/public/test/http_server.h" |
| 17 #include "ios/web/public/test/http_server_util.h" | 17 #include "ios/web/public/test/http_server_util.h" |
| 18 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 // Switch on edit mode. | 239 // Switch on edit mode. |
| 240 [[EarlGrey selectElementWithMatcher:ButtonWithAccessibilityLabelId( | 240 [[EarlGrey selectElementWithMatcher:ButtonWithAccessibilityLabelId( |
| 241 IDS_IOS_NAVIGATION_BAR_EDIT_BUTTON)] | 241 IDS_IOS_NAVIGATION_BAR_EDIT_BUTTON)] |
| 242 performAction:grey_tap()]; | 242 performAction:grey_tap()]; |
| 243 chrome_test_util::VerifyAccessibilityForCurrentScreen(); | 243 chrome_test_util::VerifyAccessibilityForCurrentScreen(); |
| 244 | 244 |
| 245 [self exitSettingsMenu]; | 245 [self exitSettingsMenu]; |
| 246 } | 246 } |
| 247 | 247 |
| 248 @end | 248 @end |
| OLD | NEW |