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

Unified Diff: ios/chrome/browser/ui/reading_list/reading_list_egtest.mm

Issue 2610923010: Test accessibility of Reading List (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/reading_list/reading_list_egtest.mm
diff --git a/ios/chrome/browser/ui/reading_list/reading_list_egtest.mm b/ios/chrome/browser/ui/reading_list/reading_list_egtest.mm
index 0eb5bb7d1af85638116227d89834c064958616d1..f826c78cbf4c0f2a213b99c2e07e7cd754ea3750 100644
--- a/ios/chrome/browser/ui/reading_list/reading_list_egtest.mm
+++ b/ios/chrome/browser/ui/reading_list/reading_list_egtest.mm
@@ -15,6 +15,7 @@
#import "ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.h"
#include "ios/chrome/grit/ios_strings.h"
#import "ios/chrome/test/app/chrome_test_util.h"
+#import "ios/chrome/test/earl_grey/accessibility_util.h"
#import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
#import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
#import "ios/chrome/test/earl_grey/chrome_matchers.h"
@@ -178,6 +179,12 @@ size_t ModelReadSize(ReadingListModel* model) {
model->RemoveEntryByURL(url);
}
+// Tests that the Reading List view is accessible.
+- (void)testAccessibility {
+ AddEntriesAndEnterEdit();
Olivier 2017/01/06 09:44:41 Should we test out of edit mode?
gambard 2017/01/06 09:51:53 Done.
+ chrome_test_util::VerifyAccessibilityForCurrentScreen();
+}
+
// Tests that sharing a web page to the Reading List results in a snackbar
// appearing, and that the Reading List entry is present in the Reading List.
- (void)testSavingToReadingList {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698