Commit d6989685 authored by Chris Lu's avatar Chris Lu Committed by Commit Bot

[ios] Disable flaky ReadingList EGtest

TBR=olivierrobin@chromium.org

Bug: 1036071
Change-Id: I8e6896706e05aa197aa763bba9e7c85d2a01d3b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1976136
Commit-Queue: Chris Lu <thegreenfrog@chromium.org>
Reviewed-by: default avatarChris Lu <thegreenfrog@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726639}
parent bc8346a3
......@@ -638,6 +638,12 @@ void AssertIsShowingDistillablePage(bool online, const GURL& distillable_url) {
// Tests that only the "Cancel", "Delete" and "Mark Unread" buttons are showing
// when not editing.
- (void)testVisibleButtonsOnlyReadEntrySelected {
#if defined(CHROME_EARL_GREY_1)
// TODO(crbug.com/1036071): EG1 Test flaky on iOS 12.
if (!base::ios::IsRunningOnIOS13OrLater()) {
EARL_GREY_TEST_DISABLED(@"EG1 flaky on iOS 12.");
}
#endif
AddEntriesAndEnterEdit();
TapEntry(kReadTitle);
......@@ -651,6 +657,12 @@ void AssertIsShowingDistillablePage(bool online, const GURL& distillable_url) {
// Tests that the "Cancel", "Edit" and "Mark Unread" buttons are not visible
// after delete (using swipe).
- (void)testVisibleButtonsAfterSwipeDeletion {
#if defined(CHROME_EARL_GREY_1)
// TODO(crbug.com/1036071): EG1 Test flaky on iOS 12.
if (!base::ios::IsRunningOnIOS13OrLater()) {
EARL_GREY_TEST_DISABLED(@"EG1 flaky on iOS 12.");
}
#endif
// Reading list's view width is narrower on Ipad Air (iOS 12) than on other
// devices. The grey_swipeSlowInDirection action deletes the element instead
// of displaying the 'Delete' button.
......@@ -696,6 +708,12 @@ void AssertIsShowingDistillablePage(bool online, const GURL& distillable_url) {
// Tests that only the "Cancel", "Delete" and "Mark…" buttons are showing when
// not editing.
- (void)testVisibleButtonsMixedEntriesSelected {
#if defined(CHROME_EARL_GREY_1)
// TODO(crbug.com/1036071): EG1 Test flaky on iOS 12.
if (!base::ios::IsRunningOnIOS13OrLater()) {
EARL_GREY_TEST_DISABLED(@"EG1 flaky on iOS 12.");
}
#endif
AddEntriesAndEnterEdit();
TapEntry(kReadTitle);
TapEntry(kUnreadTitle);
......@@ -838,6 +856,12 @@ void AssertIsShowingDistillablePage(bool online, const GURL& distillable_url) {
// Selects an read entry and mark it as unread.
- (void)testMarkEntriesUnread {
#if defined(CHROME_EARL_GREY_1)
// TODO(crbug.com/1036071): EG1 Test flaky on iOS 12.
if (!base::ios::IsRunningOnIOS13OrLater()) {
EARL_GREY_TEST_DISABLED(@"EG1 flaky on iOS 12.");
}
#endif
AddEntriesAndEnterEdit();
TapEntry(kReadTitle);
......@@ -853,6 +877,12 @@ void AssertIsShowingDistillablePage(bool online, const GURL& distillable_url) {
// Selects read and unread entries and mark them as unread.
- (void)testMarkMixedEntriesUnread {
#if defined(CHROME_EARL_GREY_1)
// TODO(crbug.com/1036071): EG1 Test flaky on iOS 12.
if (!base::ios::IsRunningOnIOS13OrLater()) {
EARL_GREY_TEST_DISABLED(@"EG1 flaky on iOS 12.");
}
#endif
AddEntriesAndEnterEdit();
TapEntry(kReadTitle);
TapEntry(kUnreadTitle);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment