Skip to content

Commit

Permalink
remove steps with flaky expiration date
Browse files Browse the repository at this point in the history
  • Loading branch information
ishabaral committed Oct 8, 2024
1 parent 10b0c0b commit 9d782c7
Showing 1 changed file with 0 additions and 67 deletions.
67 changes: 0 additions & 67 deletions test/gui/tst_sharing/test.feature
Original file line number Diff line number Diff line change
Expand Up @@ -506,73 +506,6 @@ Feature: Sharing
Then the expiration date of the last public link of file "textfile.txt" should be "%default%"
And as user "Alice" the file "textfile.txt" should have a public link in the server

@issue-9321 @skipOnWindows @skip
Scenario: simple sharing of file and folder by public link with expiration date
Given user "Alice" has created folder "FOLDER" in the server
And user "Alice" has uploaded file with content "ownCloud test text file" to "/textfile.txt" in the server
And user "Alice" has set up a client with default settings
When the user creates a new public link with following settings using the client-UI:
| path | textfile.txt |
| expireDate | 2031-10-14 |
Then as user "Alice" the file "textfile.txt" should have a public link in the server
And the last public link share response of user "Alice" should include the following fields on the server
| expireDate | 2031-10-14 |
When the user closes the sharing dialog
And the user creates a new public link with following settings using the client-UI:
| path | FOLDER |
| expireDate | 2031-12-30 |
And the user closes the sharing dialog
Then as user "Alice" the folder "FOLDER" should have a public link in the server
And the last public link share response of user "Alice" should include the following fields on the server
| expireDate | 2031-12-30 |

@issue-9321 @skipOnWindows @skip
Scenario: simple sharing of a file by public link with password and expiration date
Given user "Alice" has uploaded file with content "ownCloud test text file" to "/textfile.txt" in the server
And user "Alice" has set up a client with default settings
When the user creates a new public link with following settings using the client-UI:
| path | textfile.txt |
| password | pass123 |
| expireDate | 2031-10-14 |
And the user closes the sharing dialog
Then as user "Alice" the file "textfile.txt" should have a public link in the server
And the last public link share response of user "Alice" should include the following fields on the server
| expireDate | 2031-10-14 |
And the public should be able to download the file "textfile.txt" with password "pass123" from the last created public link by "Alice" in the server

@skip @issue-9321 @skipOnWindows
Scenario: user changes the expiration date of an already existing public link for file using client-UI
Given user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt" in the server
And user "Alice" has created the following public link share in the server
| resource | textfile0.txt |
| permissions | read |
| name | Public link |
| expireDate | 2031-10-14 |
And user "Alice" has set up a client with default settings
When the user opens the public links dialog of "textfile0.txt" using the client-UI
And the user edits the public link named "Public link" of file "textfile0.txt" changing following
| expireDate | 2038-07-21 |
And the user closes the sharing dialog
Then the last public link share response of user "Alice" should include the following fields on the server
| expireDate | 2038-07-21 |

@skip @issue-9321 @skipOnWindows
Scenario: user changes the expiration date of an already existing public link for folder using client-UI
Given user "Alice" has created folder "simple-folder" in the server
And user "Alice" has created the following public link share in the server
| resource | simple-folder |
| permissions | read, update, create, delete |
| name | Public link |
| expireDate | 2031-10-14 |

And user "Alice" has set up a client with default settings
When the user opens the public links dialog of "simple-folder" using the client-UI
And the user edits the public link named "Public link" of file "simple-folder" changing following
| expireDate | 2038-07-21 |
And the user closes the sharing dialog
Then the last public link share response of user "Alice" should include the following fields on the server
| expireDate | 2038-07-21 |


Scenario Outline: simple sharing of folder by public link with different roles
Given user "Alice" has created folder "simple-folder" in the server
Expand Down

0 comments on commit 9d782c7

Please sign in to comment.