Autopilot tests should properly setup environment

Bug #1316746 reported by Nicholas Skaggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sudoku App
New
Undecided
Unassigned
Ubuntu Calculator App
Fix Released
Undecided
Unassigned
Ubuntu Calendar App
Fix Released
Medium
Unassigned
Ubuntu Clock App
Fix Released
Medium
Unassigned
Ubuntu Document Viewer App
New
Undecided
Unassigned
Ubuntu File Manager App
Fix Released
Medium
Unassigned
Ubuntu Music App
Fix Released
Undecided
Unassigned
Ubuntu Notes app
Fix Released
Medium
Unassigned
Ubuntu Shorts App
Confirmed
Medium
Unassigned
Ubuntu Terminal App
Invalid
Undecided
Unassigned
Ubuntu Weather App
Confirmed
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
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

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
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

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
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

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)
Changed in reminders-app:
status: Fix Committed → Fix Released
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.