New issue
Advanced search Search tips

Issue 772186 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Showcase test testVerifyToolbarButtonsLabelAndAction failing on device

Project Member Reported by baxley@chromium.org, Oct 5 2017

Issue description

It looks to only fail on iOS 10 devices. It's a little tricky finding failures on the tree, because we skip tests if a system alert is present, which happens quite frequently. So it looks flaky, but I think it is failing 100% on iPhone and iPad iOS 10. I looked and all red builds had it failing, while the green runs were cases where the showcase EG suite did not run.

It failed here (and the 3 prior runs)
https://uberchromegw.corp.google.com/i/internal.bling.main/builders/ipad10-device-x64/builds/7065

It has an error that multiple elements are found in the UI:
Exception Name: MultipleElementsFoundException
Exception Reason: Multiple UI elements matched for the given criteria.
Exception with Action: {
  "Action Name" : "Tap",
  "Element Matcher" : "((respondsToSelector(isAccessibilityElement) && isAccessibilityElement) && accessibilityLabel('Back'))",
  "Recovery Suggestion" : "Create a more specific matcher to uniquely match an element. If that's not possible then use atIndex: to select from one of the matched elements but the order of elements may change."
}

 
Project Member

Comment 1 by bugdroid1@chromium.org, Oct 5 2017

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

commit eee682d4f42eef0a586a356e3d0bc171dde8a325
Author: Mike Baxley <baxley@chromium.org>
Date: Thu Oct 05 23:34:19 2017

Disable testVerifyToolbarButtonsLabelAndAction on device.

This test is failing reliabily on the iOS 10 device bots.

TBR: edchin
Bug:  772186 
Change-Id: If08dcce9410a2d8884fc455f0b33b7ba2f6801c9
Reviewed-on: https://chromium-review.googlesource.com/703999
Commit-Queue: Mike Baxley <baxley@chromium.org>
Reviewed-by: Mike Baxley <baxley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506912}
[modify] https://crrev.com/eee682d4f42eef0a586a356e3d0bc171dde8a325/ios/showcase/toolbar/sc_toolbar_egtest.mm

Project Member

Comment 2 by bugdroid1@chromium.org, Nov 16 2017

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

commit 71fadc89028fa77f71391e64361ea6c37372f53c
Author: Mark Cogan <marq@google.com>
Date: Thu Nov 16 18:35:41 2017

[iOS showcase] Remove dependencies on clean/ from showcase.

This CL removes clean/ view controllers from Showcase.

Bug:  785925 ,  710662 ,  772186 
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: Iebce9f69b7776aa2755e46ec379d7245075a55a7
Reviewed-on: https://chromium-review.googlesource.com/774465
Commit-Queue: Mark Cogan <marq@chromium.org>
Reviewed-by: Louis Romero <lpromero@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517135}
[modify] https://crrev.com/71fadc89028fa77f71391e64361ea6c37372f53c/ios/showcase/BUILD.gn
[modify] https://crrev.com/71fadc89028fa77f71391e64361ea6c37372f53c/ios/showcase/DEPS
[modify] https://crrev.com/71fadc89028fa77f71391e64361ea6c37372f53c/ios/showcase/core/showcase_model.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/ntp/BUILD.gn
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/ntp/sc_ntp_coordinator.h
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/ntp/sc_ntp_coordinator.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/root/BUILD.gn
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/root/sc_root_coordinator.h
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/root/sc_root_coordinator.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/root/sc_root_egtest.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab/BUILD.gn
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab/sc_bottom_toolbar_tab_coordinator.h
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab/sc_bottom_toolbar_tab_coordinator.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab/sc_tab_egtest.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab/sc_top_toolbar_tab_coordinator.h
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab/sc_top_toolbar_tab_coordinator.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab_grid/BUILD.gn
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab_grid/sc_tab_grid_coordinator.h
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab_grid/sc_tab_grid_coordinator.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tab_grid/sc_tab_grid_egtest.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/toolbar/BUILD.gn
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/toolbar/sc_toolbar_coordinator.h
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/toolbar/sc_toolbar_coordinator.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/toolbar/sc_toolbar_egtest.mm
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tools_menu/BUILD.gn
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tools_menu/sc_tools_coordinator.h
[delete] https://crrev.com/4935983c64668fb4a3d0e1eb8a4fcc4d3933113f/ios/showcase/tools_menu/sc_tools_coordinator.mm

Components: Tests>Disabled
Labels: Test-Disabled

Comment 5 by edchin@chromium.org, Jan 24 2018

Status: Fixed (was: Assigned)
This refers to an old test for clean, which has been deleted. It has been fixed by the virtue of being deleted.

Sign in to add a comment