| 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 // Switch on edit mode. | 237 // Switch on edit mode. |
| 238 [[EarlGrey selectElementWithMatcher:ButtonWithAccessibilityLabelId( | 238 [[EarlGrey selectElementWithMatcher:ButtonWithAccessibilityLabelId( |
| 239 IDS_IOS_NAVIGATION_BAR_EDIT_BUTTON)] | 239 IDS_IOS_NAVIGATION_BAR_EDIT_BUTTON)] |
| 240 performAction:grey_tap()]; | 240 performAction:grey_tap()]; |
| 241 chrome_test_util::VerifyAccessibilityForCurrentScreen(); | 241 chrome_test_util::VerifyAccessibilityForCurrentScreen(); |
| 242 | 242 |
| 243 [self exitSettingsMenu]; | 243 [self exitSettingsMenu]; |
| 244 } | 244 } |
| 245 | 245 |
| 246 @end | 246 @end |
| OLD | NEW |