| Index: ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
|
| diff --git a/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..60b22333e0d35c8a6a19a63793c9d1b6465d2138
|
| --- /dev/null
|
| +++ b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
|
| +#define IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
|
| +
|
| +#import <Foundation/Foundation.h>
|
| +
|
| +// Test methods that perform actions on Chrome. These methods only affect Chrome
|
| +// using the UI with Earl Grey.
|
| +@interface ChromeEarlGreyUI : NSObject
|
| +
|
| +// Makes the toolbar visible by swiping downward, if necessary. Then taps on
|
| +// the Tools menu button. At least one tab needs to be open and visible when
|
| +// calling this method.
|
| ++ (void)openToolsMenu;
|
| +
|
| +// Open a new tab via the tools menu.
|
| ++ (void)openNewTab;
|
| +
|
| +// Open a new incognito tab via the tools menu.
|
| ++ (void)openNewIncognitoTab;
|
| +
|
| +// Reloads the page. Does not wait until reload finishes.
|
| ++ (void)reload;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
|
|
|