Add a wait_for_object_destroyed to the DBusIntrospectionObject

Bug #1248782 reported by Leo Arias
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Autopilot
Fix Released
Critical
Unassigned
autopilot (Ubuntu)
Fix Released
Undecided
rosa maria

Bug Description

I'm trying to make sure that the emulators wait until they finish all their transitions so the apps using them don't have to wait for anything else after calling a method.

For example, right now on the ComposerSheet, after clicking the confirm button, it will be destroyed. It would be great if the confirm method of the emulator waits until it's no longer visible and the test can proceed safely with the next step of the tests.

Currently this is not possible to do on a nice way, but if we add a wait_for_object_destroyed method to the introspection object, it would be easy to do, and it will look nicely on the emulators code.

Related branches

Changed in autopilot:
importance: Undecided → Critical
assignee: nobody → Thomi Richards (thomir)
milestone: none → 1.4
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:autopilot at revision None, scheduled for release in autopilot, milestone 1.4

Changed in autopilot:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopilot - 1.4+14.04.20131125-0ubuntu1

---------------
autopilot (1.4+14.04.20131125-0ubuntu1) trusty; urgency=low

  [ Leo Arias ]
  * On the log_action decorator, do not duplicate the ending period.
    (LP: #1248751)

  [ Robert Bruce Park ]
  * Rename autopilot-py3 to more conventional autopilot3.
  * Drop dependency on python-ubuntu-platform-api, since it does not
    support python3.

  [ Christopher Lee ]
  * Update the osk keyboard backend. . (LP: #1243477)

  [ Thomi Richards ]
  * Add more documentation around object ordering. (LP: #1248336)
  * Add method to wait for a proxy object to be destroyed. (LP:
    #1248782)
  * Fix a bug in the autopilot type system, and add missing unit tests
    for that issue. (LP: #1249096)
  * Add a mockable sleep, so we can run autopilot unit tests quickly.

  [ Martin Pitt ]
  * Add print_tree() introspection method for writing a textual
    representation of the object and all of its children to stdout, a
    file object, or a file name. (LP: #1241323)

  [ Corey Goldberg ]
  * added failfast (-ff|--failfast) command line option to autopilot
    run. (LP: #1248634)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 368
 -- Ubuntu daily release <email address hidden> Mon, 25 Nov 2013 06:30:17 +0000

Changed in autopilot (Ubuntu):
status: New → Fix Released
Changed in autopilot (Ubuntu):
assignee: nobody → rosa maria (rprosamaria383)
assignee: rosa maria (rprosamaria383) → nobody
Changed in autopilot:
status: Fix Committed → Fix Released
rosa maria (ceryscloe)
Changed in autopilot (Ubuntu):
assignee: nobody → rosa maria (ceryscloe)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.