Failing test with --enable-features=SlimNavigationManager flag:
testTapPrerenderSuggestions
Stacktrace:
../../ios/chrome/browser/prerender/prerender_egtest.mm:107: error: -[PrerenderTestCase testTapPrerenderSuggestions] : Exception: NoMatchingElementException
Exception Name: NoMatchingElementException
Exception Reason: Cannot find UI Element.
Exception with Assertion: {
"Assertion Criteria": "assertWithMatcher:matcherForSufficientlyVisible(>=0.750000)",
"Element Matcher": "(((respondsToSelector(isAccessibilityElement) && isAccessibilityElement) && accessibilityLabel('127.0.0.1:49467/test-page.html')) && ((kindOfClass('UIView') || respondsToSelector(accessibilityContainer)) && ancestorThatMatches(kindOfClass('OmniboxTextFieldIOS'))))",
"Recovery Suggestion": "Check if the element exists in the UI hierarchy printed below. If it exists, adjust the matcher so that it accurately matches element."
}
Exception Details: Error Trace: [
{
"Description": "Interaction cannot continue because the desired element was not found.",
"Error Domain": "com.google.earlgrey.ElementInteractionErrorDomain",
"Error Code": "0",
"File Name": "GREYElementInteraction.m",
"Function Name": "-[GREYElementInteraction matchedElementsWithTimeout:error:]",
"Line": "124",
"TestCase Class": "PrerenderTestCase",
"TestCase Method": "testTapPrerenderSuggestions"
}
Comment 1 by danyao@chromium.org
, Sep 10