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] Update account cleanup via UI for client 5 and 6 (#11505)
* enabled account cleanup via UI
* handle closing of widgets in the stack
* close sharing dialog at the end
* fix sharing dialog tests
* fix widget stack lookup
* fix step name
Copy file name to clipboardexpand all lines: test/gui/tst_sharing/test.feature
+24
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ Feature: Sharing
83
83
And the user opens the sharing dialog of "SharedFolder" using the client-UI
84
84
And the user searches for collaborator "Brian Murphy" using the client-UI
85
85
Then the error "No results for 'Brian Murphy'" should be displayed
86
+
And the user closes the sharing dialog
86
87
87
88
88
89
Scenario: try to self share a file/folder
@@ -96,6 +97,7 @@ Feature: Sharing
96
97
And the user opens the sharing dialog of "OwnFolder" using the client-UI
97
98
And the user selects "Alice Hansen" as collaborator of resource "OwnFolder" using the client-UI
98
99
Then the error "Can't share with yourself" should be displayed
100
+
And the user closes the sharing dialog
99
101
100
102
101
103
Scenario: search for users with minimum autocomplete characters
@@ -109,6 +111,7 @@ Feature: Sharing
109
111
| user |
110
112
| TestUser1 |
111
113
| TestUser2 |
114
+
And the user closes the sharing dialog
112
115
113
116
Scenario: autocomplete offers a list of users followed by a list of groups
114
117
And user "Alice" has uploaded file with content "ownCloud test text file" to "textfile.txt" in the server
@@ -119,6 +122,7 @@ Feature: Sharing
119
122
| user |
120
123
| admin |
121
124
| admin (group) |
125
+
And the user closes the sharing dialog
122
126
123
127
Scenario: collaborators are listed in chronological order
124
128
Given user "Brian" has been created on the server with default attributes and without skeleton files
@@ -141,6 +145,7 @@ Feature: Sharing
141
145
| TestUser1 |
142
146
| TestUser3 |
143
147
| TestUser2 |
148
+
And the user closes the sharing dialog
144
149
145
150
@issue-7459
146
151
Scenario: Progress indicator should not be visible after unselecting the password protection checkbox while sharing through public link
@@ -150,6 +155,7 @@ Feature: Sharing
150
155
And the user toggles the password protection using the client-UI
151
156
And the user toggles the password protection using the client-UI
152
157
Then the password progress indicator should not be visible in the client-UI - expected to fail
158
+
And the user closes the sharing dialog
153
159
154
160
155
161
Scenario: Collaborator should not see to whom a file/folder is shared.
@@ -164,6 +170,7 @@ Feature: Sharing
164
170
When the user closes the sharing dialog
165
171
And the user opens the sharing dialog of "Folder" using the client-UI
166
172
Then the error text "The item is not shared with any users or groups" should be displayed in the sharing dialog
173
+
And the user closes the sharing dialog
167
174
168
175
169
176
Scenario: share file and folder to a group
@@ -197,6 +204,7 @@ Feature: Sharing
197
204
When the user closes the sharing dialog
198
205
And the user tires to share resource "Folder" with the group "grp1" using the client-UI
199
206
Then the error "Path already shared with this group" should be displayed
207
+
And the user closes the sharing dialog
200
208
201
209
202
210
Scenario: sharee edits content of files shared by sharer
@@ -250,6 +258,7 @@ Feature: Sharing
250
258
And the user removes permissions "edit" for user "Brian Murphy" of resource "textfile.txt" using the client-UI
251
259
And the user closes the sharing dialog
252
260
And the user removes permissions "edit" for user "Brian Murphy" of resource "FOLDER" using the client-UI
261
+
And the user closes the sharing dialog
253
262
And user "Brian" tries to overwrite the file "textfile.txt" with content "overwrite ownCloud test text file"
254
263
And user "Brian" tries to overwrite the file "FOLDER/simple.txt" with content "overwrite some content"
255
264
And user "Brian" waits for file "textfile.txt" to have sync error
@@ -376,8 +385,10 @@ Feature: Sharing
376
385
And user "Brian" has set up a client with default settings
377
386
When the user opens the sharing dialog of "FOLDER" using the client-UI
378
387
Then the error text "The file can not be shared because it was shared without sharing permission." should be displayed in the sharing dialog
388
+
And the user closes the sharing dialog
379
389
When the user opens the sharing dialog of "textfile.txt" using the client-UI
380
390
Then the error text "The file can not be shared because it was shared without sharing permission." should be displayed in the sharing dialog
391
+
And the user closes the sharing dialog
381
392
382
393
383
394
Scenario: unshare a shared file and folder
@@ -393,6 +404,7 @@ Feature: Sharing
393
404
When the user closes the sharing dialog
394
405
And the user unshares the resource "simple-folder" for collaborator "Brian Murphy" using the client-UI
395
406
Then the text "The item is not shared with any users or groups" should be displayed in the sharing dialog
407
+
And the user closes the sharing dialog
396
408
And as "Brian" folder "simple-folder" on the server should not exist
397
409
398
410
@@ -423,6 +435,7 @@ Feature: Sharing
423
435
And user "Brian" has set up a client with default settings
424
436
When the user unshares the resource "textfile.txt" for collaborator "Carol King" using the client-UI
425
437
Then the text "The item is not shared with any users or groups" should be displayed in the sharing dialog
438
+
And the user closes the sharing dialog
426
439
427
440
@smokeTest
428
441
Scenario: simple sharing of file and folder by public link without password
@@ -437,6 +450,7 @@ Feature: Sharing
437
450
When the user creates a new public link with permissions "Download / View" for folder "simple-folder" without password using the client-UI
438
451
Then as user "Alice" the folder "simple-folder" should have a public link in the server
439
452
And the public should be able to download the folder "simple-folder/child" without password from the last created public link by "Alice" on the server
453
+
And the user closes the sharing dialog
440
454
441
455
442
456
Scenario Outline: simple sharing of file and folder by public link with password
@@ -450,6 +464,7 @@ Feature: Sharing
450
464
When the user creates a new public link with permissions "Download / View" for folder "simple-folder" with password "<password>" using the client-UI
451
465
Then as user "Alice" the folder "simple-folder" should have a public link in the server
452
466
And the public should be able to download the folder "simple-folder" with password "<password>" from the last created public link by "Alice" on the server
467
+
And the user closes the sharing dialog
453
468
Examples:
454
469
| password |
455
470
| password1234 |
@@ -463,6 +478,7 @@ Feature: Sharing
463
478
| name | Public-link |
464
479
And user "Alice" has set up a client with default settings
465
480
When the user deletes the public link for file "textfile0.txt"
481
+
And the user closes the sharing dialog
466
482
Then as user "Alice" the file "/textfile0.txt" should not have any public link in the server
467
483
468
484
@@ -477,6 +493,7 @@ Feature: Sharing
477
493
And the user changes the password of public link "Public-link" to "password1234" using the client-UI
478
494
Then as user "Alice" the file "textfile0.txt" should have a public link in the server
479
495
And the public should be able to download the file "textfile0.txt" with password "password1234" from the last created public link by "Alice" on the server
496
+
And the user closes the sharing dialog
480
497
481
498
482
499
Scenario: simple sharing of a file by public link with default expiration date
@@ -504,6 +521,7 @@ Feature: Sharing
504
521
And the user creates a new public link with following settings using the client-UI:
505
522
| path | FOLDER |
506
523
| expireDate | 2031-12-30 |
524
+
And the user closes the sharing dialog
507
525
Then as user "Alice" the folder "FOLDER" should have a public link in the server
508
526
And the last public link share response of user "Alice" should include the following fields on the server
509
527
| expireDate | 2031-12-30 |
@@ -516,6 +534,7 @@ Feature: Sharing
516
534
| path | textfile.txt |
517
535
| password | pass123 |
518
536
| expireDate | 2031-10-14 |
537
+
And the user closes the sharing dialog
519
538
Then as user "Alice" the file "textfile.txt" should have a public link in the server
520
539
And the last public link share response of user "Alice" should include the following fields on the server
521
540
| expireDate | 2031-10-14 |
@@ -532,6 +551,7 @@ Feature: Sharing
532
551
When the user opens the public links dialog of "textfile0.txt" using the client-UI
533
552
And the user edits the public link named "Public link" of file "textfile0.txt" changing following
534
553
| expireDate | 2038-07-21 |
554
+
And the user closes the sharing dialog
535
555
Then the last public link share response of user "Alice" should include the following fields on the server
536
556
| expireDate | 2038-07-21 |
537
557
@@ -547,6 +567,7 @@ Feature: Sharing
547
567
When the user opens the public links dialog of "simple-folder" using the client-UI
548
568
And the user edits the public link named "Public link" of file "simple-folder" changing following
549
569
| expireDate | 2038-07-21 |
570
+
And the user closes the sharing dialog
550
571
Then the last public link share response of user "Alice" should include the following fields on the server
551
572
| expireDate | 2038-07-21 |
552
573
@@ -556,6 +577,7 @@ Feature: Sharing
556
577
And user "Alice" has set up a client with default settings
557
578
When the user creates a new public link for folder "simple-folder" using the client-UI with these details:
558
579
| role | <role> |
580
+
And the user closes the sharing dialog
559
581
Then user "Alice" on the server should have a share with these details:
560
582
| field | value |
561
583
| share_type | public_link |
@@ -576,6 +598,7 @@ Feature: Sharing
576
598
And user "Alice" has set up a client with default settings
577
599
When the user creates a new public link for folder "simple-folder" using the client-UI with these details:
578
600
| role | Contributor |
601
+
And the user closes the sharing dialog
579
602
Then user "Alice" on the server should have a share with these details:
580
603
| field | value |
581
604
| share_type | public_link |
@@ -599,6 +622,7 @@ Feature: Sharing
599
622
When the user closes the sharing dialog
600
623
And the user removes permissions "<permissions>" for user "Brian Murphy" of resource "lorem.txt" using the client-UI
601
624
Then "<permissions>" permissions should not be displayed for user "Brian Murphy" for resource "lorem.txt" on the client-UI
625
+
And the user closes the sharing dialog
602
626
And user "Alice" on the server should have a share with these details:
0 commit comments