Merge ubuntu-manual-tests:calamares_installer-prompt_firmware_types into ubuntu-manual-tests:main

Proposed by ԜаӀtеr Ⅼарсһуnѕkі
Status: Merged
Approved by: Erich Eickmeyer
Approved revision: 727d4d28bcfceabe288c32c4374201690929a06b
Merged at revision: 727d4d28bcfceabe288c32c4374201690929a06b
Proposed branch: ubuntu-manual-tests:calamares_installer-prompt_firmware_types
Merge into: ubuntu-manual-tests:main
Diff against target: 138 lines (+120/-0)
3 files modified
testcases/image/Install using Calamares+installer-prompt (BIOS) (+40/-0)
testcases/image/Install using Calamares+installer-prompt (EFI + Secure Boot) (+40/-0)
testcases/image/Install using Calamares+installer-prompt (EFI) (+40/-0)
Reviewer Review Type Date Requested Status
Erich Eickmeyer Approve
Review via email: mp+465118@code.launchpad.net

Commit message

Update for Calamares+installer-prompt: firmware types

Description of the change

More in a series of continued rewriting of testcases for the Calamares installer and installer-prompt.

This one covers different installer types.

To post a comment you must log in.
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

LGTM, approved

review: Approve
Revision history for this message
Tim Andersson (andersson123) wrote :

This has been updated on the isotracker

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

Tim, just so you're aware, I wrote a whole new test suite across four merges:

 1. different tests for the different partitioning schemes
 2. different tests for the types
 3. different tests for firmware types
 4. miscellany:
    - a test for encryption
    - a test with no internet
    - a test for updates
    - a test in a different language
    - a test of autologin
    - a test for OEM

So those others need to get on the tracker, too.

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

Sorry, five merges. The first one was just a rewrite of the two existing testcases: entire disk and live.

Revision history for this message
Tim Andersson (andersson123) wrote :

Hey! I have already added these to the tracker, but the priorities are probably wrong, given your list above, I'll amend the calamares test suites accordingly

Revision history for this message
Tim Andersson (andersson123) wrote :

Please can you take a look at:
https://iso.qa.ubuntu.com/qatracker/milestones/450/builds/300328/testcases

and

https://iso.qa.ubuntu.com/qatracker/milestones/450/builds/300330/testcases

And confirm with me that this suffices for you?

I can amend as you please

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

Oh there's no priority intended by that list, so it all looks good to me. Although I think Ubuntu Unity needs the same testsuite.

Revision history for this message
Tim Andersson (andersson123) wrote :

Thanks Walter! I've also updated the Ubuntu Unity testsuite.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/testcases/image/Install using Calamares+installer-prompt (BIOS) b/testcases/image/Install using Calamares+installer-prompt (BIOS)
2new file mode 100755
3index 0000000..7d0daf9
4--- /dev/null
5+++ b/testcases/image/Install using Calamares+installer-prompt (BIOS)
6@@ -0,0 +1,40 @@
7+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
8+
9+<dl>
10+ <dt>Before running this test, ensure that you are using a BIOS firmware to boot</dt>
11+ <dt>Boot up the image</dt>
12+ <dd>FAMILY boot screen is displayed</dd>
13+ <dt>When installer-prompt starts select your language in the first prompt</dt>
14+ <dd>Language is selected, all labels are changed to translated versions</dd>
15+ <dd>Current internet connection is shown in the second prompt</dd>
16+ <dt>Press "Install FAMILY" and wait for Calamares installer to start</dt>
17+ <dt>After the "Welcome" pane is shown click "Next"</dt>
18+ <dt>The "Location" pane is shown with a map and options to select region, time zone, language, and number/date locale</dt>
19+ <dt>Select the appropriate locale options and click "Next"</dt>
20+ <dd>The display should reflect your selections</dd>
21+ <dt>In the "Keyboard" pane, select your keyboard layout and click "Next"</dt>
22+ <dd>Test the keyboard layout in the given box, which should be set correctly</dd>
23+ <dt>At the "Customize" pane, click "Next"</dt>
24+ <dd>"Normal Installation" should be selected, but there are also options for "Full Installation" and "Minimal Installation"</dd>
25+ <dd>"Download and install updates following installation" should be unchecked</dd>
26+ <dd>The checkboxes under "Install additional third-party packages" should be unchecked</dd>
27+ <dt>At the "Partions" pane, select the "Erase disk" radio button and click "Next"</dt>
28+ <dd>In the top left corner, "BIOS" is displayed</dd>
29+ <dd>At the top, the correct storage device should be selected</dd>
30+ <dd>Under the radio button, "Swap to file" should be selected from the drop down and "No swap" is the other option</dd>
31+ <dd>Next to the swap drop down, "ext4" is selected from a second drop down and "xfs" and "btrfs" are the other options</dd>
32+ <dd>Above the partition layout, "Encrypt system" should be unchecked</dd>
33+ <dd>At the bottom, a partition layout should be shown which uses all disk space</dd>
34+ <dd>Below the partition layout, the bootloader should show that it's being installed to the correct location</dd>
35+ <dt>At the "Users" pane, enter details about the main system user and click "Next"</dt>
36+ <dd>All details should be correctly filled in</dd>
37+ <dt>At the "Summary" pane, confirm the details you entered throughout the install are accurate and click "Install", then "Install now"</dt>
38+ <dd>All details should match what you entered</dd>
39+ <dd>The slideshow should correctly display</dd>
40+ <dt>At the "Finish" pane, "Restart now" is checked. Click "Done" to restart</dt>
41+ <dt>Remove the media when prompted and hit enter as instructed</dt>
42+ <dt>Allow the machine to reboot</dt>
43+ <dd>The system boots properly and loads into FAMILY showing the username you entered</dd>
44+</dl>
45+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
46+ 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>
47diff --git a/testcases/image/Install using Calamares+installer-prompt (EFI + Secure Boot) b/testcases/image/Install using Calamares+installer-prompt (EFI + Secure Boot)
48new file mode 100755
49index 0000000..20dcd03
50--- /dev/null
51+++ b/testcases/image/Install using Calamares+installer-prompt (EFI + Secure Boot)
52@@ -0,0 +1,40 @@
53+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
54+
55+<dl>
56+ <dt>Before running this test, ensure that you are using an EFI firmware with Secure Boot enabled to boot</dt>
57+ <dt>Boot up the image</dt>
58+ <dd>FAMILY boot screen is displayed</dd>
59+ <dt>When installer-prompt starts select your language in the first prompt</dt>
60+ <dd>Language is selected, all labels are changed to translated versions</dd>
61+ <dd>Current internet connection is shown in the second prompt</dd>
62+ <dt>Press "Install FAMILY" and wait for Calamares installer to start</dt>
63+ <dt>After the "Welcome" pane is shown click "Next"</dt>
64+ <dt>The "Location" pane is shown with a map and options to select region, time zone, language, and number/date locale</dt>
65+ <dt>Select the appropriate locale options and click "Next"</dt>
66+ <dd>The display should reflect your selections</dd>
67+ <dt>In the "Keyboard" pane, select your keyboard layout and click "Next"</dt>
68+ <dd>Test the keyboard layout in the given box, which should be set correctly</dd>
69+ <dt>At the "Customize" pane, click "Next"</dt>
70+ <dd>"Normal Installation" should be selected, but there are also options for "Full Installation" and "Minimal Installation"</dd>
71+ <dd>"Download and install updates following installation" should be unchecked</dd>
72+ <dd>The checkboxes under "Install additional third-party packages" should be unchecked</dd>
73+ <dt>At the "Partions" pane, select the "Erase disk" radio button and click "Next"</dt>
74+ <dd>In the top left corner, "EFI" is displayed</dd>
75+ <dd>At the top, the correct storage device should be selected</dd>
76+ <dd>Under the radio button, "Swap to file" should be selected from the drop down and "No swap" is the other option</dd>
77+ <dd>Next to the swap drop down, "ext4" is selected from a second drop down and "xfs" and "btrfs" are the other options</dd>
78+ <dd>Above the partition layout, "Encrypt system" should be unchecked</dd>
79+ <dd>At the bottom, a partition layout should be shown which uses all disk space</dd>
80+ <dd>Below the partition layout, the bootloader should show that it's being installed to the correct location</dd>
81+ <dt>At the "Users" pane, enter details about the main system user and click "Next"</dt>
82+ <dd>All details should be correctly filled in</dd>
83+ <dt>At the "Summary" pane, confirm the details you entered throughout the install are accurate and click "Install", then "Install now"</dt>
84+ <dd>All details should match what you entered</dd>
85+ <dd>The slideshow should correctly display</dd>
86+ <dt>At the "Finish" pane, "Restart now" is checked. Click "Done" to restart</dt>
87+ <dt>Remove the media when prompted and hit enter as instructed</dt>
88+ <dt>Allow the machine to reboot</dt>
89+ <dd>The system boots properly and loads into FAMILY showing the username you entered</dd>
90+</dl>
91+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
92+ 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>
93diff --git a/testcases/image/Install using Calamares+installer-prompt (EFI) b/testcases/image/Install using Calamares+installer-prompt (EFI)
94new file mode 100755
95index 0000000..5b34cf7
96--- /dev/null
97+++ b/testcases/image/Install using Calamares+installer-prompt (EFI)
98@@ -0,0 +1,40 @@
99+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
100+
101+<dl>
102+ <dt>Before running this test, ensure that you are using an EFI firmware to boot</dt>
103+ <dt>Boot up the image</dt>
104+ <dd>FAMILY boot screen is displayed</dd>
105+ <dt>When installer-prompt starts select your language in the first prompt</dt>
106+ <dd>Language is selected, all labels are changed to translated versions</dd>
107+ <dd>Current internet connection is shown in the second prompt</dd>
108+ <dt>Press "Install FAMILY" and wait for Calamares installer to start</dt>
109+ <dt>After the "Welcome" pane is shown click "Next"</dt>
110+ <dt>The "Location" pane is shown with a map and options to select region, time zone, language, and number/date locale</dt>
111+ <dt>Select the appropriate locale options and click "Next"</dt>
112+ <dd>The display should reflect your selections</dd>
113+ <dt>In the "Keyboard" pane, select your keyboard layout and click "Next"</dt>
114+ <dd>Test the keyboard layout in the given box, which should be set correctly</dd>
115+ <dt>At the "Customize" pane, click "Next"</dt>
116+ <dd>"Normal Installation" should be selected, but there are also options for "Full Installation" and "Minimal Installation"</dd>
117+ <dd>"Download and install updates following installation" should be unchecked</dd>
118+ <dd>The checkboxes under "Install additional third-party packages" should be unchecked</dd>
119+ <dt>At the "Partions" pane, select the "Erase disk" radio button and click "Next"</dt>
120+ <dd>In the top left corner, "EFI" is displayed</dd>
121+ <dd>At the top, the correct storage device should be selected</dd>
122+ <dd>Under the radio button, "Swap to file" should be selected from the drop down and "No swap" is the other option</dd>
123+ <dd>Next to the swap drop down, "ext4" is selected from a second drop down and "xfs" and "btrfs" are the other options</dd>
124+ <dd>Above the partition layout, "Encrypt system" should be unchecked</dd>
125+ <dd>At the bottom, a partition layout should be shown which uses all disk space</dd>
126+ <dd>Below the partition layout, the bootloader should show that it's being installed to the correct location</dd>
127+ <dt>At the "Users" pane, enter details about the main system user and click "Next"</dt>
128+ <dd>All details should be correctly filled in</dd>
129+ <dt>At the "Summary" pane, confirm the details you entered throughout the install are accurate and click "Install", then "Install now"</dt>
130+ <dd>All details should match what you entered</dd>
131+ <dd>The slideshow should correctly display</dd>
132+ <dt>At the "Finish" pane, "Restart now" is checked. Click "Done" to restart</dt>
133+ <dt>Remove the media when prompted and hit enter as instructed</dt>
134+ <dt>Allow the machine to reboot</dt>
135+ <dd>The system boots properly and loads into FAMILY showing the username you entered</dd>
136+</dl>
137+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
138+ 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: