-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tests-Only] update test scenarios to work with ocis
- Loading branch information
Showing
8 changed files
with
120 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
tests/acceptance/features/apiMain/checksums-TestOc10Issue38835.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@api @notToImplementOnOCIS | ||
Feature: checksums | ||
|
||
Background: | ||
Given user "Alice" has been created with default attributes and without skeleton files | ||
|
||
# this is a bug demo scenario for https://github.com/owncloud/core/issues/38835 | ||
# Once this scenario is fixed Delete this file and remove @skipOnOcV10 tag from tests/acceptance/features/apiMain/checksums.feature:132 | ||
@files_sharing-app-required | ||
Scenario: Sharing and modifying a file should return correct checksum in the propfind using new DAV path | ||
Given the administrator has set the default folder for received shares to "Shares" | ||
And auto-accept shares has been disabled | ||
And using new DAV path | ||
And user "Brian" has been created with default attributes and without skeleton files | ||
And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myChecksumFile.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a" | ||
When user "Alice" shares file "/myChecksumFile.txt" with user "Brian" using the sharing API | ||
And user "Brian" accepts share "/myChecksumFile.txt" offered by user "Alice" using the sharing API | ||
And user "Brian" uploads file with checksum "SHA1:ce5582148c6f0c1282335b87df5ed4be4b781399" and content "Some Text" to "/Shares/myChecksumFile.txt" using the WebDAV API | ||
And user "Brian" requests the checksum of "/Shares/myChecksumFile.txt" via propfind | ||
Then the webdav checksum should be empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.