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

Issue 903537 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jan 11
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

[Autotest failure] bluetooth_TurnOnOffUI fails due to " Unhandled ElementNotVisibleException: Message: element not interactable" error

Project Member Reported by pbathini@google.com, Nov 8

Issue description


Failure reason :

Unhandled ElementNotVisibleException: Message: element not interactable

Failure link :

https://stainless.corp.google.com/search?exclude_retried=true&first_date=2018-10-24&master_builder_name=&builder_name_number=&shard=&exclude_acts=true&builder_name=&master_builder_name_number=&owner=&retry=&exclude_cts=true&exclude_non_production=false&hostname=&board=&branch=&test=%5Ebluetooth_TurnOnOffUI%24&suite=bluetooth_qualification%7Cbluetooth_chameleon%7Cbluetooth_sanity%7Cbluetooth_stress&build=%5ER72%5C-11238%5C.0%5C.0%24&status=FAIL&status=ERROR&status=ABORT&reason=&waterfall=&exclude_not_run=false&last_date=2018-11-08&exclude_non_release=true&exclude_au=true&model=&view=list

sample error log:

11/07 23:29:34.923 ERROR|      chromedriver:0231| stderr of Chrome Driver:

11/07 23:29:37.621 ERROR|    graphics_utils:0519| Command <screenshot "/usr/local/autotest/results/default/bluetooth_TurnOnOffUI.UI/debug/chrome-0.png"> failed, rc=1, Command returned non-zero exit status
* Command: 
    screenshot "/usr/local/autotest/results/default/bluetooth_TurnOnOffUI.UI/
    debug/chrome-0.png"
Exit status: 1
Duration: 0.0186250209808

stderr:
[1107/232937:ERROR:main.cc(100)] CRTC not found. Is the screen on?
 
Status: Assigned (was: Untriaged)
Owner: shijinabraham@chromium.org
Status: Started (was: Assigned)
It seems that the button webelement is considered to be invisible even though it is visible in screenshots. The solution is to use javascript to click on the button.
Project Member

Comment 4 by bugdroid1@chromium.org, Jan 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/d2c21be93993c9550b40cb41d656bc1ecb35a224

commit d2c21be93993c9550b40cb41d656bc1ecb35a224
Author: Shijin Abraham <shijinabraham@google.com>
Date: Tue Jan 08 03:40:45 2019

bluetooth test: Fix bluetooth_TurnOnOffUI test

Use javascript to click on the bluetooth enable/disable button instead
of using the webelement.click(). The latter fails with ElementNotVisible
exception even though the element is visible in screenshots.

BUG= chromium:903537 
TEST=Tested locally

Change-Id: Ic70c264c212c17918e7fa8bbac4f0dc443c93743
Reviewed-on: https://chromium-review.googlesource.com/1392528
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Shijin Abraham <shijinabraham@google.com>
Reviewed-by: Shijin Abraham <shijinabraham@google.com>

[modify] https://crrev.com/d2c21be93993c9550b40cb41d656bc1ecb35a224/client/site_tests/bluetooth_TurnOnOffUI/bluetooth_TurnOnOffUI.py

Owner: pbath...@chromium.org
Status: Fixed (was: Started)
The issue is fixed. Please verify and close the bug.

Sign in to add a comment