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

Proposed by Elfy
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) Approve
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.
Revision history for this message
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
Revision history for this message
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

Change as per comments

277. By Elfy

and the changes in the second comment

Revision history for this message
Nicholas Skaggs (nskaggs) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'testcases/image/1310_Upgrade'
--- testcases/image/1310_Upgrade 2014-01-29 20:08:27 +0000
+++ testcases/image/1310_Upgrade 2014-03-05 20:00:21 +0000
@@ -20,8 +20,7 @@
2020
21 <dt>Open a terminal and enter the command <code>grep Prompt=21 <dt>Open a terminal and enter the command <code>grep Prompt=
22 /etc/update-manager/release-upgrades</code></dt>22 /etc/update-manager/release-upgrades</code></dt>
23 <dd>If you have upgraded from a normal release to normal release, terminal will show Prompt=normal</dd>23 <dd>Terminal will show Prompt=normal</dd>
24 <dd>If you have upgraded from a lts release to lts release, terminal will show Prompt=lts</dd>
25</dl>24</dl>
2625
27<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.26<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
2827
=== modified file 'testcases/image/1498_Upgrade (image)'
--- testcases/image/1498_Upgrade (image) 2014-02-28 11:58:58 +0000
+++ testcases/image/1498_Upgrade (image) 2014-03-05 20:00:21 +0000
@@ -45,8 +45,7 @@
45 <dd>New version will be shown on the Description line</dd>45 <dd>New version will be shown on the Description line</dd>
46 <dt>Open a terminal and enter the command <code>grep Prompt=46 <dt>Open a terminal and enter the command <code>grep Prompt=
47 /etc/update-manager/release-upgrades</code></dt>47 /etc/update-manager/release-upgrades</code></dt>
48 <dd>If you have upgraded from a normal release to normal release, terminal will show Prompt=normal</dd>48 <dd>Terminal will show Prompt=normal</dd>
49 <dd>If you have upgraded from a lts release to lts release, terminal will show Prompt=lts</dd>
50 <dt>Verify that your pre-upgrade files and installed applications are still present</dt>49 <dt>Verify that your pre-upgrade files and installed applications are still present</dt>
51 </dl>50 </dl>
5251
5352
=== added file 'testcases/image/Upgrade LTS'
--- testcases/image/Upgrade LTS 1970-01-01 00:00:00 +0000
+++ testcases/image/Upgrade LTS 2014-03-05 20:00:21 +0000
@@ -0,0 +1,27 @@
1To execute this test, a pre-existing ubuntu (or derivative) installation is needed
2
3<em>Proceed in your native language if you wish. Instructions will remain in English</em>
4
5<dl>
6 <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>
7 <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>
8 <dt>Run update-manager -d -c from a terminal</dt>
9 <dt>Click the upgrade version button</dt>
10 <dt>Watch it upgrade, noting any errors</dt>
11 <dt>Reboot into your new system:</dt>
12 <dd>
13 <ul>
14 <li>Were any errors encountered during the upgrade?</li>
15 <li>Were any errors encountered after rebooting to new desktop?</li>
16 <li>Does your hardware still work properly?</li>
17 <li>Are you experiencing any application or background service crashes?</li>
18 </ul>
19 </dd>
20
21 <dt>Open a terminal and enter the command <code>grep Prompt=
22 /etc/update-manager/release-upgrades</code></dt>
23 <dd>Terminal will show Prompt=lts</dd>
24</dl>
25
26<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
27 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>
028
=== added file 'testcases/image/Upgrade LTS (Image)'
--- testcases/image/Upgrade LTS (Image) 1970-01-01 00:00:00 +0000
+++ testcases/image/Upgrade LTS (Image) 2014-03-05 20:00:21 +0000
@@ -0,0 +1,53 @@
1To execute this test, a pre-existing ubuntu (or derivative) installation is needed
2
3<strong>Upgrade will only be offered as an alternative when there is 1 installed FAMILY system</strong>
4
5<em>Proceed in your native language if you wish. Instructions will remain in English</em>
6
7<dl>
8 <dt>Boot up the image</dt>
9 <dd>The system boots properly and loads the installer displaying Welcome dialog with language selection and 'Try FAMILY' and 'Install FAMILY' buttons</dd>
10 <dt>Click on the Install FAMILY button </dt>
11 <dd>The 'Preparing to install FAMILY' screen is displayed</dd>
12 <dt>On the screen Preparing to install FAMILY, note the state of each check mark for the following components</dt>
13 <dd>
14 <ul>
15 <li>Your system have at least the amount a space indicated</li>
16 <li>(If on a 'laptop'). Is plugged to a power source</li>
17 <li>Is connected to the Internet</li>
18 </ul>
19 </dd>
20 <dd>Check marks represent the state of your system accurately</dd>
21 <dt>Check the box 'Download updates while installing' if a network is available </dt>
22 <dt>Click on the Continue button</dt>
23 <dd>'Installation type' screen is displayed</dd>
24 <dt>Select the 'Upgrade FAMILY' option </dt>
25 <dt>Click 'Install Now' button </dt>
26 <dd>'Where are you?' screen is displayed</dd>
27 <dt>If connected, verify that your timezone is proposed correctly </dt>
28 <dt>Click on the Continue button</dt>
29 <dd>'Keyboard layout' screen is displayed</dd>
30 <dt>Verify that your keyboard layout is set rightly</dt>
31 <dt>Click on the Continue button</dt>
32 <dd>'Who are you?' screen is displayed</dd>
33 <dt>Insert all the requested fields and choose if you want autologin or encrypted home</dt>
34 <dt>Click on the Continue button</dt>
35 <dd>The 'Welcome to FAMILY' slide is displayed</dd>
36 <dt>Wait for the installer to finish</dt>
37 <dd>An 'Installation Complete' dialog appears</dd>
38 <dt>Click the Restart now button</dt>
39 <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
40 <dt>Remove the disc and press enter</dt>
41 <dd>The machine has been rebooted</dd>
42 <dt>Allow the machine to reboot</dt>
43 <dd>The system boots properly and loads into the new ubuntu (or derivative name)</dd>
44 <dt>Open a Terminal and enter the command <code>lsb_release -a</code></dt>
45 <dd>New version will be shown on the Description line</dd>
46 <dt>Open a terminal and enter the command <code>grep Prompt=
47 /etc/update-manager/release-upgrades</code></dt>
48 <dd>Terminal will show Prompt=lts</dd>
49 <dt>Verify that your pre-upgrade files and installed applications are still present</dt>
50 </dl>
51
52 <strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
53 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