Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: ios/chrome/browser/ui/reading_list/reading_list_egtest.mm

Issue 2714933002: Add tests against pressing tab when a view controller is presented
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <EarlGrey/EarlGrey.h> 5 #import <EarlGrey/EarlGrey.h>
6 #import <UIKit/UIKit.h> 6 #import <UIKit/UIKit.h>
7 #import <XCTest/XCTest.h> 7 #import <XCTest/XCTest.h>
8 8
9 #include "base/strings/sys_string_conversions.h" 9 #include "base/strings/sys_string_conversions.h"
10 #include "components/reading_list/ios/reading_list_model.h" 10 #include "components/reading_list/ios/reading_list_model.h"
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 438
439 // Tap the action sheet. 439 // Tap the action sheet.
440 TapButtonWithID(IDS_IOS_READING_LIST_MARK_READ_BUTTON); 440 TapButtonWithID(IDS_IOS_READING_LIST_MARK_READ_BUTTON);
441 441
442 AssertAllEntriesVisible(); 442 AssertAllEntriesVisible();
443 XCTAssertEqual(kNumberReadEntries + 1, ModelReadSize(GetReadingListModel())); 443 XCTAssertEqual(kNumberReadEntries + 1, ModelReadSize(GetReadingListModel()));
444 XCTAssertEqual(kNumberUnreadEntries - 1, 444 XCTAssertEqual(kNumberUnreadEntries - 1,
445 GetReadingListModel()->unread_size()); 445 GetReadingListModel()->unread_size());
446 } 446 }
447 447
448 // Tests that hitting the tab key doesn't trigger the omnibox in the background.
449 // Testing against regressions of the fix for crbug.com/676993.
450 - (void)testTabKeyIsANoOp {
451 TODO
452 }
453
448 @end 454 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/history/history_ui_egtest.mm ('k') | ios/chrome/browser/ui/settings/settings_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698