Merge lp:~wxl/ubuntu-manual-tests/uefi-and-bios into lp:ubuntu-manual-tests

Proposed by ԜаӀtеr Ⅼарсһуnѕkі
Status: Merged
Merged at revision: 372
Proposed branch: lp:~wxl/ubuntu-manual-tests/uefi-and-bios
Merge into: lp:ubuntu-manual-tests
Diff against target: 117 lines (+108/-0)
2 files modified
testcases/image/Install_BIOS (+54/-0)
testcases/image/Install_UEFI (+54/-0)
To merge this branch: bzr merge lp:~wxl/ubuntu-manual-tests/uefi-and-bios
Reviewer Review Type Date Requested Status
Kev Bowring (community) Approve
Review via email: mp+335574@code.launchpad.net

Description of the change

Added two testcases specifically targeted at testing that images and installations successfully boot in both BIOS and UEFI modes, especially when offline.

There are similar testcases for subiquity (see https://bazaar.launchpad.net/~ubuntu-testcase/ubuntu-manual-tests/trunk/revision/370) but as they are written specifically for server, this was generalized based on the standard entire disk install.

To post a comment you must log in.
Revision history for this message
Kev Bowring (flocculant) wrote :

one thing needs fixing
another needs discussion

review: Needs Fixing
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

The networking thing is no problem. Regarding the disk type, maybe I should just make it general?

Revision history for this message
Kev Bowring (flocculant) wrote :

Works for me - give people the choice.

If necessary in future we can easily enough create new testcases.

373. By ԜаӀtеr Ⅼарсһуnѕkі

spelling fix

374. By ԜаӀtеr Ⅼарсһуnѕkі

don't be too specific about installation type on BIOS/UEFI

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Updated per your request.

Revision history for this message
Kev Bowring (flocculant) :
review: Needs Fixing
375. By ԜаӀtеr Ⅼарсһуnѕkі

removed all-too-specific disk stuff

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

…and again ☺

Revision history for this message
Kev Bowring (flocculant) wrote :

Thanks Walter :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'testcases/image/Install_BIOS'
2--- testcases/image/Install_BIOS 1970-01-01 00:00:00 +0000
3+++ testcases/image/Install_BIOS 2017-12-25 01:27:20 +0000
4@@ -0,0 +1,54 @@
5+The scope of this test is to ensure that the image boots in BIOS and that the resulting installation can boot in BIOS as well, regardless of network availability.
6+
7+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
8+
9+<dl>
10+ <dt>Unplug network cable</dt>
11+ <dd>No networking should be available to the system</dd>
12+ <dt>Boot up the image in BIOS mode</dt>
13+ <dd>The system boots properly and loads the installer displaying the Welcome dialog with language selection and 'Try FAMILY' and 'Install FAMILY' buttons</dd>
14+ <dt>Click on the Install FAMILY icon</dt>
15+ <dd>The 'Preparing to install FAMILY' screen is displayed</dd>
16+ <dt>On the screen Preparing to install FAMILY, note the availability of the following components</dt>
17+ <dd>Available options should represent the state of your system accurately</dd>
18+ <dd>
19+ <ul>
20+ <li>Download updates while installing FAMILY should be blank</li>
21+ <li>(If on a 'laptop') Is plugged to a power source</li>
22+ <li>Install third-party software ... option available</li>
23+ </ul>
24+ </dd>
25+ <dt>Click on the continue button</dt>
26+ <dd>The 'Installation type' screen is displayed</dd>
27+ <dt>Select any installation type and click ont he continue button</dt>
28+ <dd>Write changes dialogue appears</dd>
29+ <dt>Click continue</dt>
30+ <dd>If there is only one hard disk, the installer skips to the "Where are you?' screen. Otherwise, the 'Installation type' screen is displayed</dd>
31+ <dt>If there is only one hard disk, skip to step 10 (On the 'Where are you?' screen...). Otherwise, on the 'Installation type' screen verify that the drive selected on the Select drive list corresponds to the drive on the chart (e.g /dev/sda)</dt>
32+ <dd>Selected drive is displayed on the chart</dd>
33+ <dt>Verify that the full drive space is allocated</dt>
34+ <dd>Full drive space is allocated for installation</dd>
35+ <dt>Click on the Install Now button</dt>
36+ <dd>The 'Where are you?' screen is displayed, which should not necessarily match your timezone.</dd>
37+ <dt>Select your timezone, and click on the continue button</dt>
38+ <dd>The 'Keyboard Layout' screen appears</dd>
39+ <dd>The proposed keyboard corresponds with your keyboard</dd>
40+ <dt>Select your keyboard layout and click on continue</dt>
41+ <dd>The 'Who are you?' screen appears</dd>
42+ <dt>Input your initial user details and password <em>admin can not be used - it is a dedicated Linux User</em></dt>
43+ <dd>Name, username and password are accepted. Login options and home folder encryption choices shown</dd>
44+ <dd>Continue button becomes available</dd>
45+ <dt>Press continue</dt>
46+ <dd>The 'Welcome to FAMILY ' slide is displayed</dd>
47+ <dd>The slideshow is entirely in your language</dd>
48+ <dt>Wait for the installer to finish</dt>
49+ <dd>An 'Installation Complete' dialog appears</dd>
50+ <dt>Click the Restart now button</dt>
51+ <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
52+ <dt>Remove the disc and press enter</dt>
53+ <dd>The machine is rebooted</dd>
54+ <dt>Allow the machine to reboot</dt>
55+ <dd>The system boots properly and loads into FAMILY showing username selected at step 14</dd>
56+</dl>
57+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
58+ 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>
59
60=== added file 'testcases/image/Install_UEFI'
61--- testcases/image/Install_UEFI 1970-01-01 00:00:00 +0000
62+++ testcases/image/Install_UEFI 2017-12-25 01:27:20 +0000
63@@ -0,0 +1,54 @@
64+The scope of this test is to ensure that the image boots in UEFI and that the resulting installation can boot in UEFI as well, regardless of network availability.
65+
66+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
67+
68+<dl>
69+ <dt>Unplug network cable</dt>
70+ <dd>No networking should be available to the system</dd>
71+ <dt>Boot up the image in UEFI mode</dt>
72+ <dd>The system boots properly and loads the installer displaying the Welcome dialog with language selection and 'Try FAMILY' and 'Install FAMILY' buttons</dd>
73+ <dt>Click on the Install FAMILY icon</dt>
74+ <dd>The 'Preparing to install FAMILY' screen is displayed</dd>
75+ <dt>On the screen Preparing to install FAMILY, note the availability of the following components</dt>
76+ <dd>Available options should represent the state of your system accurately</dd>
77+ <dd>
78+ <ul>
79+ <li>Download updates while installing FAMILY should be blank</li>
80+ <li>(If on a 'laptop') Is plugged to a power source</li>
81+ <li>Install third-party software ... option available</li>
82+ </ul>
83+ </dd>
84+ <dt>Click on the continue button</dt>
85+ <dd>The 'Installation type' screen is displayed</dd>
86+ <dt>Select any installation type and click on the continue button</dt>
87+ <dd>Write changes dialogue appears</dd>
88+ <dt>Click continue</dt>
89+ <dd>If there is only one hard disk, the installer skips to the "Where are you?' screen. Otherwise, the 'Installation type' screen is displayed</dd>
90+ <dt>If there is only one hard disk, skip to step 10 (On the 'Where are you?' screen...). Otherwise, on the 'Installation type' screen verify that the drive selected on the Select drive list corresponds to the drive on the chart (e.g /dev/sda)</dt>
91+ <dd>Selected drive is displayed on the chart</dd>
92+ <dt>Verify that the full drive space is allocated</dt>
93+ <dd>Full drive space is allocated for installation</dd>
94+ <dt>Click on the Install Now button</dt>
95+ <dd>The 'Where are you?' screen is displayed, which should not necessarily match your timezone.</dd>
96+ <dt>Select your timezone, and click on the continue button</dt>
97+ <dd>The 'Keyboard Layout' screen appears</dd>
98+ <dd>The proposed keyboard corresponds with your keyboard</dd>
99+ <dt>Select your keyboard layout and click on continue</dt>
100+ <dd>The 'Who are you?' screen appears</dd>
101+ <dt>Input your initial user details and password <em>admin can not be used - it is a dedicated Linux User</em></dt>
102+ <dd>Name, username and password are accepted. Login options and home folder encryption choices shown</dd>
103+ <dd>Continue button becomes available</dd>
104+ <dt>Press continue</dt>
105+ <dd>The 'Welcome to FAMILY ' slide is displayed</dd>
106+ <dd>The slideshow is entirely in your language</dd>
107+ <dt>Wait for the installer to finish</dt>
108+ <dd>An 'Installation Complete' dialog appears</dd>
109+ <dt>Click the Restart now button</dt>
110+ <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
111+ <dt>Remove the disc and press enter</dt>
112+ <dd>The machine is rebooted</dd>
113+ <dt>Allow the machine to reboot</dt>
114+ <dd>The system boots properly and loads into FAMILY showing username selected at step 14</dd>
115+</dl>
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