Public bug reported:

It appears that sometimes the enter_search_query AP helper is failing to
click the Search button in the Dash. This means we end up with the
following traceback:

Traceback (most recent call last):
File 
"/tmp/adt-run.CIYj4V/build.vwJ/real-tree/ubuntu_sanity_tests/tests/test_app_store.py",
 line 101, in test_install_free_app
store_scope.enter_search_query('OSMTouch')
File 
"/tmp/adt-run.CIYj4V/deps/usr/lib/python3/dist-packages/autopilot/logging.py", 
line 46, in inner
return f(instance, *args, **kwargs)
File 
"/tmp/adt-run.CIYj4V/deps/usr/lib/python3/dist-packages/unityclickscope/init.py",
 line 95, in enter_search_query
headerContainer.contentY.wait_for(0)
File 
"/tmp/adt-run.CIYj4V/deps/usr/lib/python3/dist-packages/autopilot/introspection/types.py",
 line 180, in wait_for
failure_msg))
AssertionError: After 10.0 seconds test on QQuickFlickable.contentY failed: 0 
!= dbus.Double(91.0, variant_level=1)

Checking the helper it looks like it is doing select_single, not
wait_select_single leaving it open to timing issues.

current build number: 201
device name: krillin
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/vivid-proposed
last update: 2015-04-30 22:23:07
version version: 201
version ubuntu: 20150430
version device: 20150326-f0c5ba5
version custom: 20150430

** Affects: unity-scope-click (Ubuntu)
     Importance: Undecided
     Assignee: Brendan Donegan (brendan-donegan)
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1450730

Title:
  enter_search_query sometimes fails to open the search box

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scope-click/+bug/1450730/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to