← Back to team overview

touch-packages team mailing list archive

[Bug 1450730] Re: enter_search_query sometimes fails to open the search box

 

** Changed in: unity-scope-click (Ubuntu)
       Status: New => In Progress

** Changed in: unity-scope-click (Ubuntu)
     Assignee: (unassigned) => Brendan Donegan (brendan-donegan)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scope-click in
Ubuntu.
https://bugs.launchpad.net/bugs/1450730

Title:
  enter_search_query sometimes fails to open the search box

Status in unity-scope-click package in Ubuntu:
  In Progress

Bug description:
  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

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


References