Skip to content

Commit

Permalink
Merge pull request #35185 from bhawanaprasain/publiclink
Browse files Browse the repository at this point in the history
Acceptance test for renaming subfolders with same name  shared by pub…
  • Loading branch information
individual-it authored May 10, 2019
2 parents df7d93d + 7958acb commit 318470d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/acceptance/features/lib/SharedByLinkPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* Shared By Link page.
*/
class SharedByLinkPage extends FilesPageBasic {
class SharedByLinkPage extends FilesPageCRUD {

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,24 @@ Feature: Share by public link
And file "lorem.txt" should be listed on the webUI
And the content of "lorem.txt" should not have changed
And file "lorem (2).txt" should not be listed on the webUI

@issue-35177
Scenario: User renames a subfolder among subfolders with same names which are shared by public links
Given user "user1" has created folder "nf1"
And user "user1" has created folder "nf1/newfolder"
And user "user1" has created folder "nf2"
And user "user1" has created folder "nf2/newfolder"
And user "user1" has created folder "test"
And user "user1" has created folder "test/test"
And user "user1" has created a public link share with settings
| path | nf1/newfolder |
And user "user1" has created a public link share with settings
| path | nf2/newfolder |
And user "user1" has created a public link share with settings
| path | test/test |
And the user has browsed to the shared-by-link page
When the user renames folder "newfolder" to "newfolder1" using the webUI
Then folder "newfolder1" should be listed on the webUI
And folder "newfolder" should not be listed on the webUI
#And folder "newfolder" should be listed on the webUI
And folder "test" should be listed on the webUI

0 comments on commit 318470d

Please sign in to comment.