This may not be something that can be easily 'fixed', it may just be the way it is. So, a change to the unity autopilot tests to get back into the desired showdesktop state after running a test is here: https://code.launchpad.net/~fginther/unity/autopilot-showdesktop-cleanup/+merge/134756
This isn't a 100% solution as a test can still get into a state where it cannot leave showdesktop active mode.
This may not be something that can be easily 'fixed', it may just be the way it is. So, a change to the unity autopilot tests to get back into the desired showdesktop state after running a test is here: /code.launchpad .net/~fginther/ unity/autopilot -showdesktop- cleanup/ +merge/ 134756
https:/
This isn't a 100% solution as a test can still get into a state where it cannot leave showdesktop active mode.