Merge lp:~tsimonq2/ubuntu-manual-tests/bugfix1185983 into lp:ubuntu-manual-tests

Proposed by Simon Quigley
Status: Merged
Merged at revision: 332
Proposed branch: lp:~tsimonq2/ubuntu-manual-tests/bugfix1185983
Merge into: lp:ubuntu-manual-tests
Diff against target: 48 lines (+44/-0)
1 file modified
testcases/packages/software-properties-gtk (+44/-0)
To merge this branch: bzr merge lp:~tsimonq2/ubuntu-manual-tests/bugfix1185983
Reviewer Review Type Date Requested Status
Kev Bowring (community) Needs Fixing
Review via email: mp+288873@code.launchpad.net

Description of the change

This adds a testcase for software-properties-gtk, fixing bug 1185983.

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

Thanks Simon - make the changes and I'll merge it as soon as I see it.

review: Needs Fixing
333. By Simon Quigley

Fixed issues as per merge request 288873

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Should be good now

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

thanks

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'testcases/packages/software-properties-gtk'
2--- testcases/packages/software-properties-gtk 1970-01-01 00:00:00 +0000
3+++ testcases/packages/software-properties-gtk 2016-03-14 11:53:14 +0000
4@@ -0,0 +1,44 @@
5+<strong>For this test, you need an active Internet connection</strong>
6+
7+<strong>This will make sure that Software & Updates can properly enable and disable default respositories.</strong>
8+<dl>
9+ <dt>Open Software & Updates</dt>
10+ <dt>Uncheck <code>Community-maintained free and open-source software (universe)</code></dt>
11+ <dd>A dialog box should pop up prompting you for your password</dd>
12+ <dt>Type in your password and click OK</dt>
13+ <dd>The password dialog box should close</dd>
14+ <dt>Open a terminal and type: <code>cat /etc/apt/sources.list | grep "universe"</code></dt>
15+ <dd>There should be no output</dd>
16+ <dt>In Software & Updates, recheck <code>Community-maintained free and open-source software (universe)</code></dt>
17+ <dd>The checkbox should be toggled</dd>
18+ <dt>Open a terminal and type: <code>cat /etc/apt/sources.list | grep "universe"</code></dt>
19+ <dd>It should output several lines with the word <code>universe</code> highlighted</dd>
20+</dl>
21+<strong>This will check the ability to switch servers and revert</strong>
22+<dl>
23+ <dt>Ensure Software & Updates is open</dt>
24+ <dt>Click the dropdown next to <code>Download from:</code>, and note the mirror you are currently on</dt>
25+ <dd>The dropdown should show with several options</dd>
26+ <dt>Select <code>Other...</code></dt>
27+ <dd>A popup should be present titled <code>Choose a Download Server</code></dd>
28+ <dt>Select a mirror of your choice, the protocol of your choice, and click the <code>Choose Server</code> button</dt>
29+ <dd>A dialog box should pop up prompting you for your password</dd>
30+ <dt>Type in your password and click OK</dt>
31+ <dd>The password dialog box should close and the mirror you just selected should be selected in the dropdown menu</dd>
32+ <dt>Click the <code>Revert</code> button</dt>
33+ <dd>The mirror selected in the dropdown menu should be reverted to the one you previously had selected</dd>
34+</dl>
35+<strong>This test will ensure the program closes correctly and the repositories update correctly</strong>
36+<dl>
37+ <dt>Click the <code>Close</code> button</dt>
38+ <dd>A dialog box should pop up titled <code>The information about available software is out-of-date</code></dd>
39+ <dt>Click the <code>Reload</code> button</dt>
40+ <dd>A dialog box should pop up titled <code>Updating cache</code> and it should close successfully</dd>
41+ <dt>Open a terminal and type: <code>sudo apt update</code>, enter your password, and press the Return key</dt>
42+ <dd>This should update the repositories with no error and print "Reading package lists... Done" at the end</dd>
43+</dl>
44+<strong>
45+ 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>.
47+ Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result.
48+</strong>

Subscribers

People subscribed via source and target branches