← Back to team overview

touch-packages team mailing list archive

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

 

This bug was fixed in the package unity-scope-click -
0.1.1+15.10.20150508-0ubuntu1

---------------
unity-scope-click (0.1.1+15.10.20150508-0ubuntu1) wily; urgency=medium

  [ Alejandro J. Cura ]
  * Move libpay usage from store scope to libclickscope
  * Split CLOSE_PREVIEW into SHOW_UNINSTALLED and SHOW_INSTALLED (LP:
    #1289434)

  [ Brendan Donegan ]
  * Wait for the search button to be available/enabled before trying to
    click it in the enter_search_query AP helper (LP: #1450730)

  [ CI Train Bot ]
  * New rebuild forced.

  [ Kyle Fazzari ]
  * Update to utilize cmake-extras. (LP: #1450811)

  [ Rodney Dawes ]
  * Run scope harness integration tests during build and with
    autopkgtest. removed: tests/scope-harness/run-store-test.sh added:
    tests/scope-harness/CMakeLists.txt tests/scope-harness/tests/
    tests/scope-harness/tests/__init__.py renamed:
    data/clickscope.ini.in.in => scope/clickapps/clickscope.ini.in.in
    data/com.canonical.scopes.clickstore.ini.in.in =>
    scope/clickstore/com.canonical.scopes.clickstore.ini.in.in
    tests/scope-harness/apps-scope-harness.py => tests/scope-
    harness/tests/test_apps.py tests/scope-harness/store-scope-
    harness.py => tests/scope-harness/tests/test_store.py

 -- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx>  Fri, 08 May 2015 14:44:51
+0000

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

-- 
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:
  Fix Released

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