New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 747622 link

Starred by 1 user

Issue metadata

Status: ExternalDependency
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug

Blocking:
issue 747430
issue 747441
issue 747443



Sign in to add a comment

EarlGrey cannot interact with share menu on Xcode9/iOS 11

Project Member Reported by liaoyuke@chromium.org, Jul 21 2017

Issue description

There are actually two separate problems:

1. EG fails to synchronize the UI, EG tries to tap the button in share menu even way before the animation finishes. So this is probably EG's bug.

2. Even if I added a 10 seconds delay before tapping the buttons, the test still fails because EG fails to find the UI element. When I use accessibility inspector to inspect the share menu buttons, the inspector couldn't correctly locate positions of the buttons in the share menu, so maybe we're doing something weird here, and I'll dig deeper into this.
 
Labels: -Pri-3 Pri-1
I just reproduced this issue on EarlGrey's sample app, and Aditya is working on investigating this, so I'm disabling affected tests right now, and I will re-enable them once earl grey works with share menu.
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 26 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e00ade872357a75a492a3fd74b00fe4be38b223d

commit e00ade872357a75a492a3fd74b00fe4be38b223d
Author: Yuke Liao <liaoyuke@chromium.org>
Date: Wed Jul 26 21:09:04 2017

Disable tests that interact with the share menu on iOS 11.

EarlGrey cannot interact with the share menu (activity view) on iOS 11,
This CL disables all the tests that rely on share menu to unblock
putting more tests onto the bots, and will re-enable them once EarlGrey
fixes the bug.

Bug: 747622
Change-Id: I1ac2f8e847b05a5edfc9faa2b35d3e4164d9e0f8
Reviewed-on: https://chromium-review.googlesource.com/587251
Reviewed-by: Eugene But <eugenebut@chromium.org>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489756}
[modify] https://crrev.com/e00ade872357a75a492a3fd74b00fe4be38b223d/ios/chrome/browser/ui/activity_services/activity_service_controller_egtest.mm
[modify] https://crrev.com/e00ade872357a75a492a3fd74b00fe4be38b223d/ios/chrome/browser/ui/print/print_controller_egtest.mm
[modify] https://crrev.com/e00ade872357a75a492a3fd74b00fe4be38b223d/ios/chrome/browser/ui/reading_list/reading_list_egtest.mm

Project Member

Comment 3 by bugdroid1@chromium.org, Jul 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/454889b31fd1189dd0ad0f03ab2f9192e7838c46

commit 454889b31fd1189dd0ad0f03ab2f9192e7838c46
Author: Yuke Liao <liaoyuke@chromium.org>
Date: Thu Jul 27 23:50:04 2017

Disable testShowJavaScriptAfterShareMenu on iOS11.

EarlGrey cannot interact with the share menu (activity view) on iOS 11,
This CL disables testShowJavaScriptAfterShareMenu to unblock putting
more tests onto the bots, and will re-enable them once EarlGrey fixes
the bug.

Bug: 747622
Change-Id: Ib24027c67a85882030e9bbcc046e7c405351d6e2
Reviewed-on: https://chromium-review.googlesource.com/589769
Reviewed-by: Eugene But <eugenebut@chromium.org>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490134}
[modify] https://crrev.com/454889b31fd1189dd0ad0f03ab2f9192e7838c46/ios/chrome/browser/ui/dialogs/javascript_dialog_egtest.mm

Project Member

Comment 4 by bugdroid1@chromium.org, Jul 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b42345b1389ae8d6d6d08bd5804ec2ed56865a57

commit b42345b1389ae8d6d6d08bd5804ec2ed56865a57
Author: Yuke Liao <liaoyuke@chromium.org>
Date: Fri Jul 28 01:22:35 2017

Disable testCopyPasteURL on iOS 11.

EarlGrey cannot interact with the share menu (activity view) on iOS 11,
This CL disables all the tests that rely on share menu to unblock
putting more tests onto the bots, and will re-enable them once EarlGrey
fixes the bug.

Bug: 747622
Change-Id: Icbe5d27f8892e78e201c2e587744c9eb55cb7c41
Reviewed-on: https://chromium-review.googlesource.com/590105
Reviewed-by: Mark Cogan <marq@chromium.org>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490180}
[modify] https://crrev.com/b42345b1389ae8d6d6d08bd5804ec2ed56865a57/ios/chrome/browser/ui/toolbar/toolbar_egtest.mm

Status: WontFix (was: Started)
Unfortunately, EG1 cannot interact with the share menu anymore, and we need to re-factor our tests.
Status: ExternalDependency (was: WontFix)
Owner: ----

Sign in to add a comment