Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests-only] test file versions when shares are received in a sub-folder #38047

Merged
merged 1 commit into from
Oct 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions tests/acceptance/features/apiVersions/fileVersions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Feature: dav-versions
Then the version folder of fileId "<<FILEID>>" for user "Brian" should contain "1" element

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharer of a file can see the old version information when the sharee changes the content of the file
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "First content" to "sharefile.txt"
Expand All @@ -150,7 +150,7 @@ Feature: dav-versions
And the version folder of file "/sharefile.txt" for user "Alice" should contain "1" element

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharer of a file can restore the original content of a shared file after the file has been modified by the sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "First content" to "sharefile.txt"
Expand All @@ -162,7 +162,7 @@ Feature: dav-versions
And the content of file "/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharer can restore a file inside a shared folder modified by sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -175,7 +175,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharee can restore a file inside a shared folder modified by sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -188,7 +188,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharer can restore a file inside a shared folder created by sharee and modified by sharer
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -201,7 +201,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharee can restore a file inside a shared folder created by sharee and modified by sharer
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -214,7 +214,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharer can restore a file inside a shared folder created by sharee and modified by sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -227,7 +227,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "old content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharee can restore a file inside a shared folder created by sharer and modified by sharer
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -240,7 +240,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "old content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharee can restore a file inside a shared folder created by sharer and modified by sharer, when the folder has been moved by the sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -255,7 +255,7 @@ Feature: dav-versions
And the content of file "/received/sharingfolder/sharefile.txt" for user "Brian" should be "old content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharee can restore a shared file created and modified by sharer, when the file has been moved by the sharee (file is at the top level of the sharer)
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "old content" to "/sharefile.txt"
Expand All @@ -269,7 +269,7 @@ Feature: dav-versions
And the content of file "/received/sharefile.txt" for user "Brian" should be "old content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243
@notToImplementOnOCIS @issue-ocis-reva-243
Scenario: sharee can restore a shared file created and modified by sharer, when the file has been moved by the sharee (file is inside a folder of the sharer)
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand Down Expand Up @@ -303,7 +303,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Carol" should be "First content"

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243 @issue-ocis-reva-386
@notToImplementOnOCIS @issue-ocis-reva-243 @issue-ocis-reva-386
Scenario Outline: Moving a file (with versions) into a shared folder as the sharee and as the sharer
Given using <dav_version> DAV path
And user "Brian" has been created with default attributes and without skeleton files
Expand Down Expand Up @@ -331,7 +331,7 @@ Feature: dav-versions
| new | Brian |

@files_sharing-app-required
@toImplementOnOCIS @issue-ocis-reva-243 @issue-ocis-reva-386
@notToImplementOnOCIS @issue-ocis-reva-243 @issue-ocis-reva-386
Scenario Outline: Moving a file (with versions) out of a shared folder as the sharee and as the sharer
Given using <dav_version> DAV path
And user "Brian" has been created with default attributes and without skeleton files
Expand Down
Loading