← Back to team overview

touch-packages team mailing list archive

[Bug 1381187] [NEW] Autopilot tests make back ups for existing data in the user directory

 

You have been subscribed to a public bug:

Some autopilot suites are run on the current user session. So if they
are run on the developer machine, they can be affected by and can affect
the existing data in the user home folder. For this reason, this suites
make back ups of existing data.

We have found that this is a bad solution for the problem. It makes the
set up code too complex and it needs to be updated every time somebody
makes changes on the way the application stores and handles its data
files. We end up with an unclear patched set up that not always works
and makes the failures harder to diagnose.

Form now on, we have decided that the tests must assume that they are
run in a clean environment. If there are data files in the home
directory that will affect the run, it will fail.

Bug #1376423 was reported to get an easy way to get a clean environment
to run the tests in the dev machine, phone or emulator.

** Affects: gallery-app (Ubuntu)
     Importance: Undecided
     Assignee: Leo Arias (elopio)
         Status: In Progress

-- 
Autopilot tests make back ups for existing data in the user directory
https://bugs.launchpad.net/bugs/1381187
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gallery-app in Ubuntu.