New issue
Advanced search Search tips

Issue 732369 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

EarlGrey sometime unable to type on the virtual keyboard

Project Member Reported by sdefresne@chromium.org, Jun 12 2017

Issue description

Some bookmark tests failed with the following error:

Exception Name: NoMatchingElementException
Exception Reason: Cannot find UI element.
Exception with Action: {
  "Action Name" : "Type 'Renamed Folder'",
  "Element Matcher" : "(respondsToSelector(accessibilityIdentifier) && accessibilityID('Title_textField'))",
  "Recovery Suggestion" : "Check if element exists in the UI, modify assert criteria, or adjust the matcher"
}

Exception Details: Error Trace: [
  {
    "Description" : "Failed to type string 'Renamed Folder', because key [K] could not be found on the keyboard.",
    "Description Glossary" :     {
      "K" : "o"
    },
    "Domain" : "com.google.earlgrey.ElementInteractionErrorDomain",
    "Code" : "0",
    "File Name" : "GREYKeyboard.m",
    "Function Name" : "+[GREYKeyboard grey_setErrorForkeyNotFoundWithAccessibilityLabel:forTypingString:error:]",
    "Line" : "465",
    "TestCase Class" : "BookmarksTestCase",
    "TestCase Method" : "testEditFolder"
  }
]

See for the log: https://uberchromegw.corp.google.com/i/internal.bling.main/builders/ipad10-device-x64/builds/5244/steps/ios_chrome_ui_egtests%20%28iPad%20Air%20iOS%2010.0.1%29%20on%20iOS-10.0.1/logs/stdio

Or in logdog: https://luci-logdog.appspot.com/v/?s=chrome%2Fbb%2Finternal.bling.main%2Fipad10-device-x64%2F5244%2F%2B%2Frecipes%2Fsteps%2Fios_chrome_ui_egtests__iPad_Air_iOS_10.0.1__on_iOS-10.0.1%2F0%2Fstdout#

So the error is that EarlGrey is unable to locate the "o" key on the keyboard when asked by the test to type "Renamed Folder". It has successfully typed "Renamed F" before that.

There are other example of failure of typing other sequences in the same log. Before the failure, we can see the following logs:

2017-06-12 01:40:31.367 ios_chrome_ui_egtests[89463:6083125] Attempting to type key .
2017-06-12 01:40:31.368 ios_chrome_ui_egtests[89463:6083125] Tapping on key: delete.
2017-06-12 01:40:31.430 ios_chrome_ui_egtests[89463:6083125] Attempting to type key .
2017-06-12 01:40:31.430 ios_chrome_ui_egtests[89463:6083125] Tapping on key: delete.
2017-06-12 01:40:31.504 ios_chrome_ui_egtests[89463:6083125] Attempting to type key .
2017-06-12 01:40:31.504 ios_chrome_ui_egtests[89463:6083125] Tapping on key: delete.
2017-06-12 01:40:31.609 ios_chrome_ui_egtests[89463:6083125] Attempting to type key .
2017-06-12 01:40:31.609 ios_chrome_ui_egtests[89463:6083125] Tapping on key: delete.
2017-06-12 01:40:31.669 ios_chrome_ui_egtests[89463:6083125] Attempting to type key .
2017-06-12 01:40:31.669 ios_chrome_ui_egtests[89463:6083125] Tapping on key: delete.
2017-06-12 01:40:31.726 ios_chrome_ui_egtests[89463:6083125] Attempting to type key .
2017-06-12 01:40:31.726 ios_chrome_ui_egtests[89463:6083125] Tapping on key: delete.
2017-06-12 01:40:31.781 ios_chrome_ui_egtests[89463:6083125] Attempting to type key .
2017-06-12 01:40:31.782 ios_chrome_ui_egtests[89463:6083125] Tapping on key: delete.
2017-06-12 01:40:31.835 ios_chrome_ui_egtests[89463:6083125] Attempting to type key .
2017-06-12 01:40:31.836 ios_chrome_ui_egtests[89463:6083125] Tapping on key: delete.
2017-06-12 01:40:32.313 ios_chrome_ui_egtests[89463:6083125] Attempting to type key R.
2017-06-12 01:40:32.314 ios_chrome_ui_egtests[89463:6083125] Tapping on key: R.
2017-06-12 01:40:32.348 ios_chrome_ui_egtests[89463:6083125] Attempting to type key e.
2017-06-12 01:40:32.355 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:32.494 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:32.566 ios_chrome_ui_egtests[89463:6083125] Tapping on key: e.
2017-06-12 01:40:32.646 ios_chrome_ui_egtests[89463:6083125] Attempting to type key n.
2017-06-12 01:40:32.649 ios_chrome_ui_egtests[89463:6083125] Tapping on key: n.
2017-06-12 01:40:32.691 ios_chrome_ui_egtests[89463:6083125] Attempting to type key a.
2017-06-12 01:40:32.691 ios_chrome_ui_egtests[89463:6083125] Tapping on key: a.
2017-06-12 01:40:32.737 ios_chrome_ui_egtests[89463:6083125] Attempting to type key m.
2017-06-12 01:40:32.738 ios_chrome_ui_egtests[89463:6083125] Tapping on key: m.
2017-06-12 01:40:32.804 ios_chrome_ui_egtests[89463:6083125] Attempting to type key e.
2017-06-12 01:40:32.805 ios_chrome_ui_egtests[89463:6083125] Tapping on key: e.
2017-06-12 01:40:32.851 ios_chrome_ui_egtests[89463:6083125] Attempting to type key d.
2017-06-12 01:40:32.852 ios_chrome_ui_egtests[89463:6083125] Tapping on key: d.
2017-06-12 01:40:32.952 ios_chrome_ui_egtests[89463:6083125] Attempting to type key  .
2017-06-12 01:40:32.953 ios_chrome_ui_egtests[89463:6083125] Tapping on key: space.
2017-06-12 01:40:33.032 ios_chrome_ui_egtests[89463:6083125] Attempting to type key F.
2017-06-12 01:40:33.036 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:33.138 ios_chrome_ui_egtests[89463:6083125] Tapping on key: F.
2017-06-12 01:40:33.179 ios_chrome_ui_egtests[89463:6083125] Attempting to type key o.
2017-06-12 01:40:33.185 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:33.317 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:33.387 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:33.498 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:33.583 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:33.691 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:33.775 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:33.883 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:33.967 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:34.076 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:34.166 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:34.276 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:34.381 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:34.492 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:34.580 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:34.709 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:34.786 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:34.901 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.013 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.120 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.211 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.318 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.427 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.540 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.644 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.753 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.854 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:35.982 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.
2017-06-12 01:40:36.096 ios_chrome_ui_egtests[89463:6083125] Tapping on key: shift.

So it appears that EarlGrey is typing on the shift key to try to change between uppercase and lowercase but still does not find the "o" key and aborts.

As the failure is in EarlGrey, assigning to Test>iOS component and baxley for triaging.
 

Comment 1 by baxley@chromium.org, Jun 12 2017

Cc: baxley@chromium.org
Owner: huangml@chromium.org
Status: Assigned (was: Untriaged)
This may be fixed in EarlGrey, and we need to roll it.

Menglu (or maybe me) will try to get to this later in the week.
crbug.com/642544
Cc: -baxley@chromium.org
Owner: ----
Status: WontFix (was: Assigned)

Sign in to add a comment