Autopilot tests should properly setup environment

Bug #1316746 reported by Nicholas Skaggs on 2014-05-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sudoku App
Undecided
Unassigned
Ubuntu Calculator App
Undecided
Unassigned
Ubuntu Calendar App
Medium
Unassigned
Ubuntu Clock App
Medium
Unassigned
Ubuntu Document Viewer App
Undecided
Unassigned
Ubuntu File Manager App
Medium
Unassigned
Ubuntu Music App
Undecided
Unassigned
Ubuntu Notes app
Medium
Unassigned
Ubuntu Shorts App
Medium
Unassigned
Ubuntu Terminal App
Undecided
Unassigned
Ubuntu Weather App
Medium
Unassigned

Bug Description

Autopilot tests shouldn't be performing invasive actions on the fileystem such as adding and removing files in /home. Instead, as needed, files / folders and the environment for running tests should be isolated from the user data.

Using initctl env vars and mock for the desktop should allow this to occur.

Related branches

Changed in ubuntu-calendar-app:
status: New → Confirmed
importance: Undecided → Medium
Changed in ubuntu-weather-app:
status: New → Confirmed
Changed in ubuntu-rssreader-app:
status: New → Confirmed
Changed in ubuntu-clock-app:
status: New → Confirmed
importance: Undecided → Medium
Changed in ubuntu-weather-app:
importance: Undecided → Medium
Changed in ubuntu-rssreader-app:
importance: Undecided → Medium
Changed in ubuntu-filemanager-app:
status: New → Confirmed
importance: Undecided → Medium
Changed in reminders-app:
status: New → Confirmed
importance: Undecided → Medium
summary: - Autopilot tests should properly setup enviroment
+ Autopilot tests should properly setup environment

Fix committed into lp:ubuntu-calendar-app at revision 267, scheduled for release in ubuntu-calendar-app, milestone alpha-1

Changed in ubuntu-calendar-app:
status: Confirmed → Fix Committed

Fix committed into lp:reminders-app at revision 128, scheduled for release in reminders-app, milestone 0.4

Changed in reminders-app:
status: Confirmed → Fix Committed

Fix committed into lp:ubuntu-filemanager-app at revision 173, scheduled for release in ubuntu-filemanager-app, milestone alpha-1

Changed in ubuntu-filemanager-app:
status: Confirmed → Fix Committed
David Planella (dpm) on 2014-05-12
Changed in reminders-app:
status: Fix Committed → Fix Released
Nicholas Skaggs (nskaggs) wrote :

Note, there is a bug to put this code into the sdk helper. I would hold off doing conversions and utilize the sdk helper method instead if the need is not pressing.

Changed in ubuntu-filemanager-app:
status: Fix Committed → Fix Released
Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
Changed in music-app:
status: New → Confirmed
Changed in music-app:
status: Confirmed → Fix Released
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-calculator-app at revision 323, scheduled for release in ubuntu-calculator-app, milestone 1.6

Changed in ubuntu-calculator-app:
status: New → Fix Committed
Changed in ubuntu-calculator-app:
status: Fix Committed → Fix Released
tags: added: needs-autopilot-test
Changed in ubuntu-clock-app:
status: Confirmed → Fix Released
Changed in ubuntu-terminal-app:
status: New → Confirmed
Changed in ubuntu-terminal-app:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers