AP Tests mangle /home when run on phablet devices

Bug #1292044 reported by Nicholas Skaggs
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Fix Released
Medium
Unassigned

Bug Description

The autopilot test suite doesn't properly mock an environment before running tests leaving your /home/Music folder mangled on phablet devices are running. The tests should setup a temporary environment and not touch your /home or /home/Music folders.

Related branches

Changed in music-app:
status: New → Confirmed
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

I'll note the code to do this is already present but has been skipped when running on phablet devices (anything running with click). Work needs to be done to support phablet devices and have them use the same process.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

This is quite frustrating in that every time I run autopilot tests on my device I lose my entire music collection and have to put it all back again. We shouldn't do that.

Changed in music-app:
importance: Undecided → Medium
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:music-app at revision None, scheduled for release in music-app, milestone 1.0

Changed in music-app:
status: Confirmed → Fix Committed
Changed in music-app:
status: Fix Committed → Fix Released
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.