In the ubuntu-system-tests project we have recently added some autopilot 
helpers for doing exactly this using the right-edge task manager:
http://bazaar.launchpad.net/~canonical-platform-qa/ubuntu-system-tests/trunk/view/head:/ubuntu_system_tests/helpers/unity8/phone_stage.py

This helper allows tests to switch tasks and close them exactly as a user would 
do, example tests here:
http://bazaar.launchpad.net/~canonical-platform-qa/ubuntu-system-tests/trunk/view/head:/ubuntu_system_tests/tests/test_app_switcher.py

These helpers could be re-used for this task.

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

Title:
  unity8-autopilot is missing an emulator for app management

Status in unity8 package in Ubuntu:
  Triaged

Bug description:
  Currently there is no way in an autopilot test to request to the shell
  to close an application cleanly (i.e. in the same way that the user
  would close it).

  It would be useful to add an emulator allowing to perform such an
  action that could be imported by other tests, in the same spirit as
  the emulator already existing in the UITK to do things like bringing
  up a toolbar.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1261720/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to