Merge lp:~elfy/ubuntu-manual-tests/upgrades into lp:ubuntu-manual-tests

Proposed by Elfy on 2014-03-05
Status: Merged
Merged at revision: 277
Proposed branch: lp:~elfy/ubuntu-manual-tests/upgrades
Merge into: lp:ubuntu-manual-tests
Diff against target: 117 lines (+82/-4)
4 files modified
testcases/image/1310_Upgrade (+1/-2)
testcases/image/1498_Upgrade (image) (+1/-2)
testcases/image/Upgrade LTS (+27/-0)
testcases/image/Upgrade LTS (Image) (+53/-0)
To merge this branch: bzr merge lp:~elfy/ubuntu-manual-tests/upgrades
Reviewer Review Type Date Requested Status
Nicholas Skaggs (community) 2014-03-05 Approve on 2014-03-05
Review via email: mp+209514@code.launchpad.net

Description of the change

New testcases to allow us to seperate LTS upgrade testing from normal cycle to cycle upgrades

To post a comment you must log in.
Nicholas Skaggs (nskaggs) wrote :

I would support changing these tests to expect LTS, and the current upgrade tests to expect normal only. By that I mean changing the following lines for the LTS tests:

25 + <dt>Open a terminal and enter the command <code>grep Prompt=
26 + /etc/update-manager/release-upgrades</code></dt>
27 + <dd>If you have upgraded from a normal release to normal release, terminal will show Prompt=normal</dd>
28 + <dd>If you have upgraded from a lts release to lts release, terminal will show Prompt=lts</dd>
29 +</dl>

to

25 + <dt>Open a terminal and enter the command <code>grep Prompt=
26 + /etc/update-manager/release-upgrades</code></dt>
28 + <dd>If you have upgraded from a lts release to lts release, terminal will show Prompt=lts</dd>
29 +</dl>

And conversely, the normal upgrade tests should then look like

25 + <dt>Open a terminal and enter the command <code>grep Prompt=
26 + /etc/update-manager/release-upgrades</code></dt>
27 + <dd>If you have upgraded from a normal release to normal release, terminal will show Prompt=normal</dd>
29 +</dl>

review: Needs Fixing
Nicholas Skaggs (nskaggs) wrote :

<dd>If you have upgraded from a normal release to normal release, terminal will show Prompt=normal</dd>

We could probably refactor the language to look more like

<dd>Terminal will show Prompt=normal</dd>

and

<dd>Terminal will show Prompt=lts</dd>

Depending on which is should show of course :-)

276. By Elfy on 2014-03-05

Change as per comments

277. By Elfy on 2014-03-05

and the changes in the second comment

Nicholas Skaggs (nskaggs) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'testcases/image/1310_Upgrade'
2--- testcases/image/1310_Upgrade 2014-01-29 20:08:27 +0000
3+++ testcases/image/1310_Upgrade 2014-03-05 20:00:21 +0000
4@@ -20,8 +20,7 @@
5
6 <dt>Open a terminal and enter the command <code>grep Prompt=
7 /etc/update-manager/release-upgrades</code></dt>
8- <dd>If you have upgraded from a normal release to normal release, terminal will show Prompt=normal</dd>
9- <dd>If you have upgraded from a lts release to lts release, terminal will show Prompt=lts</dd>
10+ <dd>Terminal will show Prompt=normal</dd>
11 </dl>
12
13 <strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
14
15=== modified file 'testcases/image/1498_Upgrade (image)'
16--- testcases/image/1498_Upgrade (image) 2014-02-28 11:58:58 +0000
17+++ testcases/image/1498_Upgrade (image) 2014-03-05 20:00:21 +0000
18@@ -45,8 +45,7 @@
19 <dd>New version will be shown on the Description line</dd>
20 <dt>Open a terminal and enter the command <code>grep Prompt=
21 /etc/update-manager/release-upgrades</code></dt>
22- <dd>If you have upgraded from a normal release to normal release, terminal will show Prompt=normal</dd>
23- <dd>If you have upgraded from a lts release to lts release, terminal will show Prompt=lts</dd>
24+ <dd>Terminal will show Prompt=normal</dd>
25 <dt>Verify that your pre-upgrade files and installed applications are still present</dt>
26 </dl>
27
28
29=== added file 'testcases/image/Upgrade LTS'
30--- testcases/image/Upgrade LTS 1970-01-01 00:00:00 +0000
31+++ testcases/image/Upgrade LTS 2014-03-05 20:00:21 +0000
32@@ -0,0 +1,27 @@
33+To execute this test, a pre-existing ubuntu (or derivative) installation is needed
34+
35+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
36+
37+<dl>
38+ <dt>Install all updates available for the release you want to upgrade by running update-manager. Click Check if any update is available, and click Install to install them</dt>
39+ <dt>Ensure FAMILY is looking from all new versions by running 'software sources'. Select the updates tab, and make sure the 'Notify me of a new FAMILY version' option has the 'For any new version' selection</dt>
40+ <dt>Run update-manager -d -c from a terminal</dt>
41+ <dt>Click the upgrade version button</dt>
42+ <dt>Watch it upgrade, noting any errors</dt>
43+ <dt>Reboot into your new system:</dt>
44+ <dd>
45+ <ul>
46+ <li>Were any errors encountered during the upgrade?</li>
47+ <li>Were any errors encountered after rebooting to new desktop?</li>
48+ <li>Does your hardware still work properly?</li>
49+ <li>Are you experiencing any application or background service crashes?</li>
50+ </ul>
51+ </dd>
52+
53+ <dt>Open a terminal and enter the command <code>grep Prompt=
54+ /etc/update-manager/release-upgrades</code></dt>
55+ <dd>Terminal will show Prompt=lts</dd>
56+</dl>
57+
58+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
59+ If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result.</strong>
60
61=== added file 'testcases/image/Upgrade LTS (Image)'
62--- testcases/image/Upgrade LTS (Image) 1970-01-01 00:00:00 +0000
63+++ testcases/image/Upgrade LTS (Image) 2014-03-05 20:00:21 +0000
64@@ -0,0 +1,53 @@
65+To execute this test, a pre-existing ubuntu (or derivative) installation is needed
66+
67+<strong>Upgrade will only be offered as an alternative when there is 1 installed FAMILY system</strong>
68+
69+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
70+
71+<dl>
72+ <dt>Boot up the image</dt>
73+ <dd>The system boots properly and loads the installer displaying Welcome dialog with language selection and 'Try FAMILY' and 'Install FAMILY' buttons</dd>
74+ <dt>Click on the Install FAMILY button </dt>
75+ <dd>The 'Preparing to install FAMILY' screen is displayed</dd>
76+ <dt>On the screen Preparing to install FAMILY, note the state of each check mark for the following components</dt>
77+ <dd>
78+ <ul>
79+ <li>Your system have at least the amount a space indicated</li>
80+ <li>(If on a 'laptop'). Is plugged to a power source</li>
81+ <li>Is connected to the Internet</li>
82+ </ul>
83+ </dd>
84+ <dd>Check marks represent the state of your system accurately</dd>
85+ <dt>Check the box 'Download updates while installing' if a network is available </dt>
86+ <dt>Click on the Continue button</dt>
87+ <dd>'Installation type' screen is displayed</dd>
88+ <dt>Select the 'Upgrade FAMILY' option </dt>
89+ <dt>Click 'Install Now' button </dt>
90+ <dd>'Where are you?' screen is displayed</dd>
91+ <dt>If connected, verify that your timezone is proposed correctly </dt>
92+ <dt>Click on the Continue button</dt>
93+ <dd>'Keyboard layout' screen is displayed</dd>
94+ <dt>Verify that your keyboard layout is set rightly</dt>
95+ <dt>Click on the Continue button</dt>
96+ <dd>'Who are you?' screen is displayed</dd>
97+ <dt>Insert all the requested fields and choose if you want autologin or encrypted home</dt>
98+ <dt>Click on the Continue button</dt>
99+ <dd>The 'Welcome to FAMILY' slide is displayed</dd>
100+ <dt>Wait for the installer to finish</dt>
101+ <dd>An 'Installation Complete' dialog appears</dd>
102+ <dt>Click the Restart now button</dt>
103+ <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
104+ <dt>Remove the disc and press enter</dt>
105+ <dd>The machine has been rebooted</dd>
106+ <dt>Allow the machine to reboot</dt>
107+ <dd>The system boots properly and loads into the new ubuntu (or derivative name)</dd>
108+ <dt>Open a Terminal and enter the command <code>lsb_release -a</code></dt>
109+ <dd>New version will be shown on the Description line</dd>
110+ <dt>Open a terminal and enter the command <code>grep Prompt=
111+ /etc/update-manager/release-upgrades</code></dt>
112+ <dd>Terminal will show Prompt=lts</dd>
113+ <dt>Verify that your pre-upgrade files and installed applications are still present</dt>
114+ </dl>
115+
116+ <strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
117+ If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result.</strong>

Subscribers

People subscribed via source and target branches

to all changes: