Commit f1623afd authored by David Jean's avatar David Jean Committed by Commit Bot

[ios] disable failing find in page eg2 tests

All three tests are flaky and have been tagged as so in eg2.

TBR=stkhapugin@chromium.org

Bug: 1026579
Change-Id: I08b9baed297b695b733ea020aaeed036b425a47d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1925064Reviewed-by: default avatarDavid Jean <djean@chromium.org>
Commit-Queue: David Jean <djean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#716978}
parent d4251d6b
...@@ -101,7 +101,13 @@ const std::string kFindInPageResponse = "Find in page. Find in page."; ...@@ -101,7 +101,13 @@ const std::string kFindInPageResponse = "Find in page. Find in page.";
// Tests that find in page allows iteration between search results and displays // Tests that find in page allows iteration between search results and displays
// correct number of results. // correct number of results.
#if defined(CHROME_EARL_GREY_2)
// TODO(crbug.com/1026579): Enable the tests once the bug is fixed
- (void)FLAKY_testFindInPage {
#else
- (void)testFindInPage { - (void)testFindInPage {
#endif
// Type "find". // Type "find".
[self typeFindInPageText:@"find"]; [self typeFindInPageText:@"find"];
// Should be highlighting result 1 of 2. // Should be highlighting result 1 of 2.
...@@ -118,7 +124,12 @@ const std::string kFindInPageResponse = "Find in page. Find in page."; ...@@ -118,7 +124,12 @@ const std::string kFindInPageResponse = "Find in page. Find in page.";
// Tests that Find In Page search term retention is working as expected, e.g. // Tests that Find In Page search term retention is working as expected, e.g.
// the search term is persisted between FIP runs, but in incognito search term // the search term is persisted between FIP runs, but in incognito search term
// is not retained and not autofilled. // is not retained and not autofilled.
#if defined(CHROME_EARL_GREY_2)
// TODO(crbug.com/1026579): Enable the tests once the bug is fixed
- (void)FLAKY_testFindInPageRetainsSearchTerm {
#else
- (void)testFindInPageRetainsSearchTerm { - (void)testFindInPageRetainsSearchTerm {
#endif
// Type "find". // Type "find".
[self typeFindInPageText:@"find"]; [self typeFindInPageText:@"find"];
[self assertResultStringIsResult:1 outOfTotal:2]; [self assertResultStringIsResult:1 outOfTotal:2];
...@@ -158,7 +169,12 @@ const std::string kFindInPageResponse = "Find in page. Find in page."; ...@@ -158,7 +169,12 @@ const std::string kFindInPageResponse = "Find in page. Find in page.";
} }
// Tests accessibility of the Find in Page screen. // Tests accessibility of the Find in Page screen.
#if defined(CHROME_EARL_GREY_2)
// TODO(crbug.com/1026579): Enable the tests once the bug is fixed
- (void)FLAKY_testAccessibilityOnFindInPage {
#else
- (void)testAccessibilityOnFindInPage { - (void)testAccessibilityOnFindInPage {
#endif
[self typeFindInPageText:@"find"]; [self typeFindInPageText:@"find"];
// Wait for UI to finish loading screen, before programatically verifying // Wait for UI to finish loading screen, before programatically verifying
......
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