You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[gui-tests][full-ci] Added test for checking incremented number with bracket while adding new account and folder (#11710)
* added test to check for incremented number in bracket while adding new account and folder
* test: remove HOME env
* test: do not try to read empty lines
* test: make use of default home dir
* test: extend test assertion
* test: fix python code style
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
Copy file name to clipboardexpand all lines: test/gui/shared/scripts/names.py
+1
Original file line number
Diff line number
Diff line change
@@ -55,3 +55,4 @@
55
55
create_Remote_Folder_Enter_the_name_of_the_new_folder_to_be_created_below_QLabel= {"text": "Enter the name of the new folder to be created below '/':", "type": "QLabel", "unnamed": 1, "visible": 1, "window": create_Remote_Folder_QInputDialog}
Copy file name to clipboardexpand all lines: test/gui/tst_addAccount/test.feature
+32-1
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Feature: adding accounts
47
47
Given the user has started the client
48
48
And the user has entered the following account information:
49
49
| server | %local_server% |
50
-
When the user adds the following wrong user credentials:
50
+
When the user adds the following user credentials:
51
51
| user | Alice |
52
52
| password | 12345 |
53
53
Then the error "Invalid credentials" should be displayed in the account connection wizard
@@ -81,3 +81,34 @@ Feature: adding accounts
81
81
And the user syncs the "Personal" space
82
82
Then the folder "simple-folder" should exist on the file system
83
83
84
+
@skipOnOCIS
85
+
Scenario: Check for incremented number in bracket while adding new account and folder (OC10)
86
+
Given the user has created folder "ownCloud" in the default home path
87
+
And the user has started the client
88
+
And the user has entered the following account information:
89
+
| server | %local_server% |
90
+
When the user adds the following user credentials:
91
+
| user | Alice |
92
+
| password | 1234 |
93
+
And the user opens the advanced configuration
94
+
Then the default local sync path should contain "%home%/ownCloud (2)" in the configuration wizard
95
+
When the user selects download everything option in advanced section
96
+
And the user opens the sync connection wizard
97
+
Then the default local sync path should contain "%home%/ownCloud (2) (2)" in the sync connection wizard
98
+
99
+
@skipOnOC10
100
+
Scenario: Check for incremented number in bracket while adding new account and folder (oCIS)
101
+
Given the user has created folder "ownCloud" in the default home path
102
+
And the user has started the client
103
+
And the user has entered the following account information:
104
+
| server | %local_server% |
105
+
When the user adds the following user credentials:
106
+
| user | Alice |
107
+
| password | 1234 |
108
+
And the user opens the advanced configuration
109
+
Then the default local sync path should contain "%home%/ownCloud (2)" in the configuration wizard
110
+
When the user selects download everything option in advanced section
111
+
And the user opens the sync connection wizard
112
+
And the user selects the "Personal" space to sync
113
+
Then the default local sync path should contain "%home%/ownCloud (2)/Personal" in the sync connection wizard
114
+
And the warning "There is already a sync from the server to this local folder. Please pick another local folder!" should appear in the sync connection wizard
0 commit comments