← Back to team overview

kubuntu-council team mailing list archive

[Merge] ubuntu-manual-tests:calamares_installer-prompt_initial_fix into ubuntu-manual-tests:main

 

ԜаӀtеr Ⅼарсһуnѕkі has proposed merging ubuntu-manual-tests:calamares_installer-prompt_initial_fix into ubuntu-manual-tests:main.

Commit message:
Initial rewrite for Calamares+installer-prompt

Requested reviews:
  Ubuntu Testcase Admins (ubuntu-testcase)

For more details, see:
https://code.launchpad.net/~ubuntu-testcase/ubuntu-manual-tests/+git/ubuntu-manual-tests/+merge/465025

Lubuntu has been using the Calamares installer for a long time now and testcases haven't really been perfectly adapted to the current state of the installer. Additionally, installer-prompt has been added to improve the user experience by providing a simple "Try/Install" option instead of dropping users into the live environment. As of Noble, both Kubuntu and Unity are using these, as well, so it's imperative that we get a full testcase suite. It's long overdue.

This initial commit is for a rewrite of the two testcases currently employed by Lubuntu:
 1. Entire disk
 2. Live session

I did not edit the current files but instead copied them. To some degree the existing testcases would be appropriate for older versions of Lubuntu that used Calamares without installer-prompt. 

Following this will be a wider breadth of different variations on this basic theme, so this is a crucial step in moving us forward.
-- 
Your team Ubuntu Testcase Admins is requested to review the proposed merge of ubuntu-manual-tests:calamares_installer-prompt_initial_fix into ubuntu-manual-tests:main.
diff --git a/testcases/image/Install using Calamares+installer-prompt (entire disk) b/testcases/image/Install using Calamares+installer-prompt (entire disk)
new file mode 100755
index 0000000..82e5513
--- /dev/null
+++ b/testcases/image/Install using Calamares+installer-prompt (entire disk)
@@ -0,0 +1,38 @@
+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
+
+<dl>
+    <dt>Boot up the image</dt>
+        <dd>FAMILY boot screen is displayed</dd>
+    <dt>When installer-prompt starts select your language in the first prompt</dt>
+        <dd>Language is selected, all labels are changed to translated versions</dd>
+	<dd>Current internet connection is shown in the second prompt</dd>
+    <dt>Press "Install FAMILY" and wait for Calamares installer to start</dt>
+    <dt>After the "Welcome" pane is shown click "Next"</dt>
+    <dt>The "Location" pane is shown with a map and options to select region, time zone, language, and number/date locale</dt>
+    <dt>Select the appropriate locale options and click "Next"</dt>
+        <dd>The display should reflect your selections</dd>    
+    <dt>In the "Keyboard" pane, select your keyboard layout and click "Next"</dt>
+        <dd>Test the keyboard layout in the given box, which should be set correctly</dd>
+    <dt>At the "Customize" pane, click "Next"</dt>
+        <dd>"Normal Installation" should be selected, but there are also options for "Full Installation" and "Minimal Installation"</dd>
+        <dd>"Download and install updates following installation" should be unchecked</dd>
+        <dd>The checkboxes under "Install additional third-party packages" should be unchecked</dd>
+    <dt>At the "Partions" pane, select the "Erase disk" radio button and click "Next"</dt>
+        <dd>At the top, the correct storage device should be selected</dd>
+        <dd>Under the radio button, "Swap to file" should be selected from the drop down and "No swap" is the other option</dd>
+        <dd>Next to the swap drop down, "ext4" is selected from a second drop down and "xfs" and "btrfs" are the other options</dd>
+	<dd>Above the partition layout, "Encrypt system" should be unchecked</dd>
+        <dd>At the bottom, a partition layout should be shown which uses all disk space</dd>
+	<dd>Below the partition layout, the bootloader should show that it's being installed to the correct location</dd>
+    <dt>At the "Users" pane, enter details about the main system user and click "Next"</dt>
+        <dd>All details should be correctly filled in</dd>
+    <dt>At the "Summary" pane, confirm the details you entered throughout the install are accurate and click "Install", then "Install now"</dt>
+        <dd>All details should match what you entered</dd>
+        <dd>The slideshow should correctly display</dd>
+    <dt>At the "Finish" pane, "Restart now" is checked. Click "Done" to restart</dt>
+    <dt>Remove the media when prompted and hit enter as instructed</dt>
+    <dt>Allow the machine to reboot</dt>
+        <dd>The system boots properly and loads into FAMILY showing the username you entered</dd>
+</dl>
+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
+    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>
diff --git a/testcases/image/Live Session using Calamares+installer-prompt b/testcases/image/Live Session using Calamares+installer-prompt
new file mode 100644
index 0000000..dd0d23c
--- /dev/null
+++ b/testcases/image/Live Session using Calamares+installer-prompt
@@ -0,0 +1,24 @@
+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
+
+Test-case Live Session Start
+<dl>
+    <dt>Boot up the image</dt>
+        <dd>FAMILY boot screen is displayed</dd>
+    <dt>When installer-prompt starts select your language in the first prompt</dt>
+        <dd>Language is selected, all labels are changed to translated versions</dd>
+        <dd>Current internet connection is shown in the second prompt</dd>
+    <dt>Press "Try FAMILY" and wait for the Live session to start</dt>
+        <dd>The default desktop is displayed</dd>
+</dl>
+
+Test-case Live Session Usage
+<dl>
+    <dt>Use and execute the default applications found for the desktop enviroment being run</dt>
+        <dd>All applications should function without error</dd>
+    <dt>Use the "Install FAMILY XX.YY" icon on the Desktop</dt>
+        <dd>Calamares installer should start without error</dd>
+</dl>
+
+<strong>
+    If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
+    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>

Follow ups