[Autotest failure] bluetooth_TurnOnOffUI fails due to " Unhandled ElementNotVisibleException: Message: element not interactable" error |
||||
Issue descriptionFailure 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?
,
Dec 29
,
Dec 29
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.
,
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
,
Jan 11
The issue is fixed. Please verify and close the bug.
,
Jan 11
Test started passing from R73-11546.0.0 build. https://stainless.corp.google.com/search?view=matrix&row=test&col=build&first_date=2019-01-01&last_date=2019-01-11&suite=bluetooth_qualification%7Cbluetooth_chameleon%7Cbluetooth_sanity%7Cbluetooth_stress&exclude_cts=true&exclude_not_run=false&exclude_non_release=true&exclude_au=true&exclude_acts=true&exclude_retried=true&exclude_non_production=false |
||||
►
Sign in to add a comment |
||||
Comment 1 by pbathini@google.com
, Nov 8