Skip to content

Commit 2d07d87

Browse files
authored
[QA] Add test plan for Activity, Network, Settings and Client Log (#924)
* docs: desktop test plan for activity * docs: desktop test plan for network * docs: desktop test plan for settings * docs: test plan for client logs
1 parent 3d36b07 commit 2d07d87

File tree

4 files changed

+337
-0
lines changed

4 files changed

+337
-0
lines changed

Desktop/Test_Plan_Activity.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Activity
2+
3+
## 1. Sync Protocol
4+
5+
### Precondition
6+
7+
1. Open Desktop Client
8+
2. Go to Activity tab
9+
3. Within Activity tab there is Sync protocol tab
10+
11+
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment |
12+
|----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------|
13+
| 1 | Verify Local sync protocol has all required columns | Verify Local sync protocal has the below columns: Time, File, Folder, Action, Size | All columns are available | | |
14+
| 2 | Verify all synced files are present in the protocol | Verify all files are present | Files are present and data are correct | | |
15+
| 3 | Verify data can be sorted by all columns | Verify user can sort by all columns | Data can be sorted by all columns | | |
16+
| 4 | Verify protocol data can be copied to clipboard | Verify protocol can be copied | Protocol has been copied | | |
17+
18+
## 2. Not Synced
19+
20+
### Precondition
21+
22+
1. Open the desktop client
23+
2. Go to Activity tab
24+
3. Switch to Not Synced tab
25+
26+
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment |
27+
|----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------|
28+
| 1 | Verify 'Not Synced' tab has all required columns | Verify the below columns are available: Time, File, Folder, Issue | All columns are present | | |
29+
| 2 | Verify rows in 'Not Synced' tab can be sorted | Verify rows can be sorted by all columns | Rows can be sorted by all columns | | |
30+
| 3 | Verify data shown in 'Not Synced' tab is correct | Verify correctness of data | Data are correct | | |
31+
| 4 | Verify issues from 'Not Synced' tab can be copied | Verify isses can be copied | Issues have been copied | | |
32+
| 5 | Verify warnings are shown when filter is checked | Verify warning are shown when 'Show warnings' is checked (e.g., a conflict) | Warning are shown when 'Show warnings' is checked | | |
33+
| 6 | Verify ignored files are shown when filter is checked | Verify ignored files are shown when 'Show ignored files' is checked | Ignored files are shown when 'Show ignored files' is checked | | |
34+
| 7 | Verify Account filter appears for multi-account setup | Verify if more than one account is added, Account filter is shown | Account filter is available in case of multiaccount | | |
35+
| 8 | Verify Account filter works | Verify user can filter based on the account | user can filter based on the account | | |
36+
37+
## 3. Server Activity
38+
39+
### Precondition
40+
41+
1. Install Activity app on the server from Marketplace
42+
2. Open desktop client
43+
3. Go to Activity tab
44+
4. Go to Server activity tab
45+
46+
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment |
47+
|----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------|
48+
| 1 | Verify Server Activity tab is hidden when Activity app is not installed | Verify that the Server activity tab is not present when the Activity app has not been installed | Server activity tab is missing | | |
49+
| 2 | Verify message appears when Activity app is disabled | 1. Install Activity app <br/> 2. Disable it in server Settings -> App | 'Account $USER does not activities enabled' message shown in Server Activity tab | | |
50+
| 3 | Verify server-side delete action appears in activity tab | 1. Enable Activity app <br/> 2. Delete a file on the server | '$USER deleted $FILE' message shown in Server Activity tab | | |
51+
| 4 | Verify server-side add action appears with correct user format | Add a file on the server | Name: cloud.domain.com (User Name) | | |
52+
| 5 | Verify server-side update action appears with correct user format | Update for Activity | Name: cloud.domain.com (User Name) | | |
53+
54+
## 4. Activity tab - basic
55+
56+
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment |
57+
|----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------|
58+
| 1 | Verify Activity tab contains all main sub-tabs | Verify Activity tab includes the below tabs: Server activity, Sync protocol, Not Synced | Activity tab contains all the necessary information | | |
59+
| 2 | Verify sub-tabs in Activity tab contain content | Verify there is some content in these tabs | There is some content in these tabs | | |
60+
61+
## 5. Filter
62+
63+
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment |
64+
|----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------|
65+
| 1 | Verify filter functionality in Activity tabs | Filter is available in Activity tabs | Filter button shows the number of filters applied. Filter persist also after restarting (not the Account filter) | | |

Desktop/Test_Plan_Client_Logs.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Client Logs
2+
3+
## 1. Client logs on Mac OS
4+
5+
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment |
6+
|----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------|
7+
| 1 | Verify Log Output window opens via F12 | Press F12 | Log Output window has been opened | | |
8+
| 2 | Verify Log Output window opens via Command+L | Press command + L | Log Output window has been opened | | |
9+
| 3 | Verify 'Open Folder' button works | Click Open Folder button | Folder has been opened | | |
10+
| 4 | Verify logs are stored in temporary folder when enabled | 1. Enable logging to temporary folder <br/> 2. Verify logs are stored in a temporary folder | Logs are stored in a temporary folder | | |
11+
| 5 | Verify old logs are automatically deleted | 1. Enable Deleting logs older than 4 hours <br/> 2. Verify logs older than 4 hours are deleted | Logs older than 4 hours are deleted | | |
12+
| 6 | Verify log window can be opened via terminal for a running client | Open client with `--logwindow` in one terminal: `/Applications/owncloud.app/Contents/MacOS/owncloud --logwindow` <br/> Then this in second terminal tab opens log window: `/Applications/owncloud.app/Contents/MacOS/owncloud --logwindow` | Logs can be opened via terminal for already running client <br/> GitHub issue: [#4098](https://github.com/owncloud/client/issues/4098) | | |
13+
14+
## 2. Client logs on Linux
15+
16+
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment |
17+
|----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------|
18+
| 1 | Verify Log Output window opens via F12 | Press F12 | Log Output window has been opened | | |
19+
| 2 | [AUTOMATED] Verify Log Output window opens via Ctrl+L | AUTOMATED - Press Ctrl + L | Log Output window has been opened | | |
20+
| 3 | Verify 'Open Folder' button works | Click Open Folder button | Folder has been opened | | |
21+
| 4 | Verify logs are stored in temporary folder when enabled | 1. Enable logging to temporary folder <br/> 2. Verify logs are stored in a temporary folder | Logs are stored in a temporary folder | | |
22+
| 5 | Verify old logs are automatically deleted | 1. Enable Deleting logs older than 4 hours <br/> 2. Verify logs older than 4 hours are deleted | Logs older than 4 hours are deleted | | |
23+
| 6 | Verify log window can be opened via terminal command | Open Terminal and type: `owncloud --logwindow` | Logs have been opened via terminal | | |
24+
25+
## 3. Client logs on Windows
26+
27+
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment |
28+
|----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------|
29+
| 1 | Verify Log Output window opens via F12 | Press F12 | Log Output window has been opened | | |
30+
| 2 | Verify Log Output window opens via Ctrl+L | Press Ctrl + L | Log Output window has been opened | | |
31+
| 3 | Verify 'Open Folder' button works | Click Open Folder button | Folder has been opened | | |
32+
| 4 | Verify logs are stored in temporary folder when enabled | 1. Enable logging to temporary folder<br/>2. Verify logs are stored in a temporary folder | Logs are stored in a temporary folder | | |
33+
| 5 | Verify old logs are automatically deleted | 1. Enable Deleting logs older than 4 hours<br/>2. Verify logs older than 4 hours are deleted | Logs older than 4 hours are deleted | | |
34+
| 6 | Verify log window can be opened via modified desktop shortcut | 1. Get to “Start > Programs > Owncloud” and right-click on owncloud icon. Select “Send To > Desktop (Create Shortcut)”.<br/>2. Right click on the newly appearing owncloud icon on desktop and select “Properties”.<br/>3. Select “Target” value in appearing dialog and append following text: `--logwindow`<br/>4. Now start owncloud by double clicking new desktop icon[/list] | Logs have been opened | | |
35+
36+
## 4. Open the Log dialog
37+
38+
| ID | Test Case | Steps to reproduce | Expected Result | Result | Related Comment |
39+
|----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------|
40+
| 1 | [AUTOMATED] Verify Log dialog opens via keyboard shortcut | Press Ctrl + L | Log dialog has been opened | | |

0 commit comments

Comments
 (0)