Merge ~seb128/ubuntu-manual-tests:desktop-login-wizard into ubuntu-manual-tests:main

Proposed by Sebastien Bacher
Status: Merged
Merged at revision: 988b65dad2d22d5651a413d8da89c8ab98baf8b0
Proposed branch: ~seb128/ubuntu-manual-tests:desktop-login-wizard
Merge into: ubuntu-manual-tests:main
Diff against target: 148 lines (+118/-0)
3 files modified
definitions/basic_installation.xml (+46/-0)
testcases/image/1775_First login wizard (+53/-0)
testcases/image/1776_Install (Minimal) (+19/-0)
Reviewer Review Type Date Requested Status
Brian Murray Approve
Review via email: mp+431913@code.launchpad.net

Description of the change

Note that's I've already pushed to the website to reserve the number and review the layout. Unsure if basic_installation is the read definition to add it and wording/english fixes are welcome (in review or just fix in the vcs once it's merged)

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

I've added another revision with a 'minimal installation' trivial testcase, easier to bundle in that MP that submit another one

Revision history for this message
Brian Murray (brian-murray) wrote :

This looks good thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/definitions/basic_installation.xml b/definitions/basic_installation.xml
2index 988362f..2bef32b 100644
3--- a/definitions/basic_installation.xml
4+++ b/definitions/basic_installation.xml
5@@ -193,6 +193,43 @@
6 <dd>Previously installed system boots and operates as expected</dd>
7 </ut:test>
8
9+ <ut:test id="desktop-login-wizard">
10+ <dt>Start the session</dt>
11+ <dd>The initial setup should autostart and the 'Online Accounts' screen display and the following account types should be displayed</dd>
12+ <dd>
13+ <li>Google</li>
14+ <li>Nextcloud</li>
15+ <li>Microsoft</li>
16+ </dd>
17+ <dt>Select one of the accounts and go through the steps to configure it. If you are not connected to the Internet skip this test.</dt>
18+ <dd>The accounts list should be displayed again but with the configure account ID displayed on the corresponding entry</dd>
19+ <dt>Click 'Next'</dt>
20+ <dd>The 'Help Improve Ubuntu' screen is displayed and the 'Yes, send system info to Canonical' option is selected</dd>
21+ <dt>Click 'Show the First Report'</dt>
22+ <dd>A new dialog opens showing the collect information</dd>
23+ <dt>Verify that the report informations make sense and that it doesn't include anything private or that shouldn't be collected</dt>
24+ <dt>Close the dialog and click 'Legal notice'</dt>
25+ <dd>The default webbrowser opens and display the 'Legal Notice – System Information' page from the Canonical website</dd>
26+ <dt>Close the browser, go back to the wizard and click 'Next'</dt>
27+ <dd>The 'privacy' screen is displayed, the location services toggle is off</dd>
28+ <dt>Go to settings->privacy screen and check that the status</dt>
29+ <dd>It should reflect the wizard status</dd>
30+ <dt>Go back to the wizard and change the toggle status</dt>
31+ <dd>The settings screen show reflect the status change</dd>
32+ <dt>Click 'Next'</dt>
33+ <dd>The 'Ready to go' screen is displayed including a grid of icons representing popular software</dd>
34+ <dt>If you are connected to the internet click on one of the software</dt>
35+ <dd>'Ubuntu Software' is started and show the page corresponding to the selected software</dd>
36+ <dt>Click 'Install'</dt>
37+ <dd>The software should get installed and be available once it's finished</dd>
38+ <dt>Close the store, go back to the wizard and click 'Open Ubuntu Software now'</dt>
39+ <dd>'Ubuntu Software' is started and displays the frontpage</dd>
40+ <dt>Close the store, go back to the wizard and click 'Done'</dt>
41+ <dd>The wizard close, you have a working desktop session</dd>
42+ <dt>Start '$ ubuntu-report send yes'</dt>
43+ <dd>If you are connected to the Internet it should tell you that the report for that machine has already been sent. If you are not connected it should retry later or on next login.</dd>
44+ </ut:test>
45+
46 <ut:case id="1300_Install (entire disk)">
47 <ut:include ref="start" />
48 <ut:include ref="entire-disk" />
49@@ -227,4 +264,13 @@
50 <ut:include ref="finish" />
51 <ut:include ref="reboot-ubuntu" />
52 </ut:case>
53+
54+ <ut:case id="1775_First login wizard">
55+ <ut:include ref="desktop-login-wizard" />
56+ </ut:case>
57+
58+ <ut:case id="1776_Install (Minimal)">
59+ <dt>Go through an installation picking your preferred partitioning method, in the 'Updates and other software' select 'Minimal installation'</dt>
60+ <dd>On the installed system check that none of the libreoffice, rhythmbox, totem, thunderbird, cheese, shotwell software are installed </dd>
61+ </ut:case>
62 </ut:configuration>
63diff --git a/testcases/image/1775_First login wizard b/testcases/image/1775_First login wizard
64new file mode 100644
65index 0000000..0a3a7d2
66--- /dev/null
67+++ b/testcases/image/1775_First login wizard
68@@ -0,0 +1,53 @@
69+<!-- Please do not edit this file directly; it was generated with the
70+ tools/test_case_gen script using the following configuration as input:
71+ definitions/basic_installation.xml
72+-->
73+
74+ <p><em>Proceed in your native language if you wish. Instructions will remain in English.</em></p>
75+ <dl>
76+
77+
78+ <dt>Start the session</dt>
79+ <dd>The initial setup should autostart and the 'Online Accounts' screen display and the following account types should be displayed</dd>
80+ <dd>
81+ <li>Google</li>
82+ <li>Nextcloud</li>
83+ <li>Microsoft</li>
84+ </dd>
85+ <dt>Select one of the accounts and go through the steps to configure it. If you are not connected to the Internet skip this test.</dt>
86+ <dd>The accounts list should be displayed again but with the configure account ID displayed on the corresponding entry</dd>
87+ <dt>Click 'Next'</dt>
88+ <dd>The 'Help Improve Ubuntu' screen is displayed and the 'Yes, send system info to Canonical' option is selected</dd>
89+ <dt>Click 'Show the First Report'</dt>
90+ <dd>A new dialog opens showing the collect information</dd>
91+ <dt>Verify that the report informations make sense and that it doesn't include anything private or that shouldn't be collected</dt>
92+ <dt>Close the dialog and click 'Legal notice'</dt>
93+ <dd>The default webbrowser opens and display the 'Legal Notice – System Information' page from the Canonical website</dd>
94+ <dt>Close the browser, go back to the wizard and click 'Next'</dt>
95+ <dd>The 'privacy' screen is displayed, the location services toggle is off</dd>
96+ <dt>Go to settings-&gt;privacy screen and check that the status</dt>
97+ <dd>It should reflect the wizard status</dd>
98+ <dt>Go back to the wizard and change the toggle status</dt>
99+ <dd>The settings screen show reflect the status change</dd>
100+ <dt>Click 'Next'</dt>
101+ <dd>The 'Ready to go' screen is displayed including a grid of icons representing popular software</dd>
102+ <dt>If you are connected to the internet click on one of the software</dt>
103+ <dd>'Ubuntu Software' is started and show the page corresponding to the selected software</dd>
104+ <dt>Click 'Install'</dt>
105+ <dd>The software should get installed and be available once it's finished</dd>
106+ <dt>Close the store, go back to the wizard and click 'Open Ubuntu Software now'</dt>
107+ <dd>'Ubuntu Software' is started and displays the frontpage</dd>
108+ <dt>Close the store, go back to the wizard and click 'Done'</dt>
109+ <dd>The wizard close, you have a working desktop session</dd>
110+ <dt>Start '$ ubuntu-report send yes'</dt>
111+ <dd>If you are connected to the Internet it should tell you that the report for that machine has already been sent. If you are not connected it should retry later or on next login.</dd>
112+
113+
114+ </dl>
115+ <p>If <strong>all</strong> actions produce the expected results described,
116+ please <a href="results#add_result">submit</a> a 'passed' result.</p>
117+ <p>If <strong>any</strong> action fails, or produces an unexpected result,
118+ please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include
119+ the bug number when you <a href="results#add_result">submit</a> your
120+ result.</p>
121+
122\ No newline at end of file
123diff --git a/testcases/image/1776_Install (Minimal) b/testcases/image/1776_Install (Minimal)
124new file mode 100644
125index 0000000..a3b8f10
126--- /dev/null
127+++ b/testcases/image/1776_Install (Minimal)
128@@ -0,0 +1,19 @@
129+<!-- Please do not edit this file directly; it was generated with the
130+ tools/test_case_gen script using the following configuration as input:
131+ definitions/basic_installation.xml
132+-->
133+
134+ <p><em>Proceed in your native language if you wish. Instructions will remain in English.</em></p>
135+ <dl>
136+
137+ <dt>Go through an installation picking your preferred partitioning method, in the 'Updates and other software' select 'Minimal installation'</dt>
138+ <dd>On the installed system check that none of the libreoffice, rhythmbox, totem, thunderbird, cheese, shotwell software are installed </dd>
139+
140+ </dl>
141+ <p>If <strong>all</strong> actions produce the expected results described,
142+ please <a href="results#add_result">submit</a> a 'passed' result.</p>
143+ <p>If <strong>any</strong> action fails, or produces an unexpected result,
144+ please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include
145+ the bug number when you <a href="results#add_result">submit</a> your
146+ result.</p>
147+
148\ No newline at end of file

Subscribers

People subscribed via source and target branches