diff --git a/tests/acceptance/bootstrap/SharingNgContext.php b/tests/acceptance/bootstrap/SharingNgContext.php index eb446050d1..2124acfc15 100644 --- a/tests/acceptance/bootstrap/SharingNgContext.php +++ b/tests/acceptance/bootstrap/SharingNgContext.php @@ -27,6 +27,7 @@ use PHPUnit\Framework\Assert; use Psr\Http\Message\ResponseInterface; use TestHelpers\GraphHelper; use TestHelpers\WebDavHelper; +use TestHelpers\WaitHelper; use TestHelpers\HttpRequestHelper; use TestHelpers\BehatHelper; use Behat\Step\Given; @@ -529,6 +530,86 @@ class SharingNgContext implements Context { ); $response = $this->sendShareInvitation($user, $rows); $this->featureContext->theHTTPStatusCodeShouldBe(200, "", $response); + $this->waitUntilShareIsSynced($user, $rows, $response); + } + + /** + * Shares are synced (auto-accepted) asynchronously by the sharing service. + * Waits until the share created with the given response is synced for each + * user it was sent to (the members of a group, for a group share), so that + * the following steps don't race with it, unless a user has auto-sync off. + * + * @param string $sharer + * @param array $shareInfo + * @param ResponseInterface $response + * + * @return void + * @throws Exception + * @throws GuzzleException + */ + private function waitUntilShareIsSynced(string $sharer, array $shareInfo, ResponseInterface $response): void { + if (!isset($shareInfo['sharee'], $shareInfo['shareType'])) { + return; + } + // a share with the role Denied gives no access: it never shows up for the sharee + if (\strcasecmp($shareInfo['permissionsRole'] ?? '', 'Denied') === 0) { + return; + } + $shareIds = \array_column($this->featureContext->getJsonDecodedResponse($response)['value'] ?? [], 'id'); + $sharees = \array_map('trim', \explode(',', $shareInfo['sharee'])); + $shareTypes = \array_map('trim', \explode(',', $shareInfo['shareType'])); + + $users = []; + foreach ($sharees as $index => $sharee) { + $shareType = $shareTypes[$index] ?? ''; + if ($shareType === 'user') { + $users[] = $this->featureContext->getActualUsername($sharee); + } elseif ($shareType === 'group') { + $members = $this->featureContext->graphContext + ->theAdminHasRetrievedMembersListOfGroupUsingTheGraphApi($sharee); + foreach ($members as $member) { + $users[] = $member['onPremisesSamAccountName']; + } + } + } + + $sharer = $this->featureContext->getActualUsername($sharer); + foreach (\array_unique($users) as $user) { + if (\strcasecmp($user, $sharer) === 0 || !$this->featureContext->getUserAutoSyncSetting($user)) { + continue; + } + $synced = WaitHelper::waitUntil( + fn () => $this->isAnyOfSharesSynced($user, $shareIds), + fn (bool $synced) => $synced + ); + Assert::assertTrue($synced, "The share was not synced for user '$user'"); + } + } + + /** + * Whether the item in the shared-with-me list of the user that holds one of + * the given shares reports @client.synchronize. + * + * @param string $user + * @param array $shareIds + * + * @return bool + * @throws GuzzleException + */ + private function isAnyOfSharesSynced(string $user, array $shareIds): bool { + $response = GraphHelper::getSharesSharedWithMe( + $this->featureContext->getBaseUrl(), + $this->featureContext->getStepLineRef(), + $user, + $this->featureContext->getPasswordForUser($user) + ); + foreach ($this->featureContext->getJsonDecodedResponse($response)['value'] ?? [] as $item) { + $itemShareIds = \array_column($item['remoteItem']['permissions'] ?? [], 'id'); + if (\array_intersect($shareIds, $itemShareIds)) { + return $item['@client.synchronize'] === true; + } + } + return false; } /** @@ -2197,6 +2278,7 @@ class SharingNgContext implements Context { ]; $response = $this->sendShareInvitation($sharer, $shareData); $this->featureContext->theHTTPStatusCodeShouldBe(200, "", $response); + $this->waitUntilShareIsSynced($sharer, $shareData, $response); } } } diff --git a/tests/acceptance/expected-failures-decomposed-storage.md b/tests/acceptance/expected-failures-decomposed-storage.md index ce37022155..adf1d83b0f 100644 --- a/tests/acceptance/expected-failures-decomposed-storage.md +++ b/tests/acceptance/expected-failures-decomposed-storage.md @@ -8,14 +8,14 @@ - [apiArchiver/downloadByPath.feature:44](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L44) - [apiArchiver/downloadByPath.feature:47](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L47) - [apiArchiver/downloadByPath.feature:73](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L73) -- [apiArchiver/downloadByPath.feature:171](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L171) -- [apiArchiver/downloadByPath.feature:172](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L172) +- [apiArchiver/downloadByPath.feature:163](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L163) +- [apiArchiver/downloadByPath.feature:164](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L164) #### [PATCH request for TUS upload with wrong checksum gives incorrect response](https://github.com/owncloud/ocis/issues/1755) -- [apiSpacesShares/shareUploadTUS.feature:283](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L283) -- [apiSpacesShares/shareUploadTUS.feature:303](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L303) -- [apiSpacesShares/shareUploadTUS.feature:384](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L384) +- [apiSpacesShares/shareUploadTUS.feature:267](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L267) +- [apiSpacesShares/shareUploadTUS.feature:286](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L286) +- [apiSpacesShares/shareUploadTUS.feature:364](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L364) #### [Settings service user can list other peoples assignments](https://github.com/owncloud/ocis/issues/5032) @@ -58,60 +58,60 @@ #### [Shared file locking is not possible using different path](https://github.com/owncloud/ocis/issues/7599) +- [apiLocks/lockFiles.feature:184](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L184) - [apiLocks/lockFiles.feature:185](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L185) - [apiLocks/lockFiles.feature:186](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L186) -- [apiLocks/lockFiles.feature:187](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L187) -- [apiLocks/lockFiles.feature:309](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L309) -- [apiLocks/lockFiles.feature:310](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L310) -- [apiLocks/lockFiles.feature:311](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L311) -- [apiLocks/lockFiles.feature:364](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L364) -- [apiLocks/lockFiles.feature:365](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L365) -- [apiLocks/lockFiles.feature:366](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L366) -- [apiLocks/lockFiles.feature:367](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L367) -- [apiLocks/lockFiles.feature:368](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L368) -- [apiLocks/lockFiles.feature:369](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L369) -- [apiLocks/lockFiles.feature:399](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L399) -- [apiLocks/lockFiles.feature:400](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L400) -- [apiLocks/lockFiles.feature:401](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L401) -- [apiLocks/lockFiles.feature:402](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L402) -- [apiLocks/lockFiles.feature:403](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L403) -- [apiLocks/lockFiles.feature:404](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L404) +- [apiLocks/lockFiles.feature:303](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L303) +- [apiLocks/lockFiles.feature:304](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L304) +- [apiLocks/lockFiles.feature:305](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L305) +- [apiLocks/lockFiles.feature:356](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L356) +- [apiLocks/lockFiles.feature:357](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L357) +- [apiLocks/lockFiles.feature:358](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L358) +- [apiLocks/lockFiles.feature:359](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L359) +- [apiLocks/lockFiles.feature:360](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L360) +- [apiLocks/lockFiles.feature:361](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L361) +- [apiLocks/lockFiles.feature:389](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L389) +- [apiLocks/lockFiles.feature:390](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L390) +- [apiLocks/lockFiles.feature:391](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L391) +- [apiLocks/lockFiles.feature:392](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L392) +- [apiLocks/lockFiles.feature:393](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L393) +- [apiLocks/lockFiles.feature:394](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L394) - [apiLocks/unlockFiles.feature:62](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L62) - [apiLocks/unlockFiles.feature:63](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L63) - [apiLocks/unlockFiles.feature:64](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L64) +- [apiLocks/unlockFiles.feature:168](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L168) +- [apiLocks/unlockFiles.feature:169](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L169) +- [apiLocks/unlockFiles.feature:170](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L170) - [apiLocks/unlockFiles.feature:171](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L171) - [apiLocks/unlockFiles.feature:172](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L172) - [apiLocks/unlockFiles.feature:173](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L173) -- [apiLocks/unlockFiles.feature:174](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L174) -- [apiLocks/unlockFiles.feature:175](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L175) -- [apiLocks/unlockFiles.feature:176](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L176) +- [apiLocks/unlockFiles.feature:195](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L195) +- [apiLocks/unlockFiles.feature:196](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L196) +- [apiLocks/unlockFiles.feature:197](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L197) +- [apiLocks/unlockFiles.feature:198](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L198) - [apiLocks/unlockFiles.feature:199](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L199) - [apiLocks/unlockFiles.feature:200](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L200) -- [apiLocks/unlockFiles.feature:201](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L201) -- [apiLocks/unlockFiles.feature:202](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L202) -- [apiLocks/unlockFiles.feature:203](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L203) -- [apiLocks/unlockFiles.feature:204](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L204) +- [apiLocks/unlockFiles.feature:222](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L222) +- [apiLocks/unlockFiles.feature:223](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L223) +- [apiLocks/unlockFiles.feature:224](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L224) +- [apiLocks/unlockFiles.feature:225](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L225) +- [apiLocks/unlockFiles.feature:226](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L226) - [apiLocks/unlockFiles.feature:227](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L227) -- [apiLocks/unlockFiles.feature:228](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L228) -- [apiLocks/unlockFiles.feature:229](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L229) -- [apiLocks/unlockFiles.feature:230](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L230) -- [apiLocks/unlockFiles.feature:231](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L231) -- [apiLocks/unlockFiles.feature:232](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L232) #### [Folders can be locked and locking works partially](https://github.com/owncloud/ocis/issues/7641) -- [apiLocks/lockFiles.feature:443](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L443) -- [apiLocks/lockFiles.feature:444](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L444) -- [apiLocks/lockFiles.feature:445](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L445) -- [apiLocks/lockFiles.feature:446](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L446) -- [apiLocks/lockFiles.feature:447](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L447) -- [apiLocks/lockFiles.feature:448](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L448) -- [apiLocks/lockFiles.feature:417](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L417) -- [apiLocks/lockFiles.feature:418](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L418) -- [apiLocks/lockFiles.feature:419](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L419) -- [apiLocks/lockFiles.feature:420](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L420) -- [apiLocks/lockFiles.feature:421](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L421) -- [apiLocks/lockFiles.feature:422](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L422) +- [apiLocks/lockFiles.feature:433](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L433) +- [apiLocks/lockFiles.feature:434](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L434) +- [apiLocks/lockFiles.feature:435](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L435) +- [apiLocks/lockFiles.feature:436](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L436) +- [apiLocks/lockFiles.feature:437](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L437) +- [apiLocks/lockFiles.feature:438](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L438) +- [apiLocks/lockFiles.feature:407](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L407) +- [apiLocks/lockFiles.feature:408](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L408) +- [apiLocks/lockFiles.feature:409](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L409) +- [apiLocks/lockFiles.feature:410](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L410) +- [apiLocks/lockFiles.feature:411](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L411) +- [apiLocks/lockFiles.feature:412](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L412) #### [Anonymous users can unlock a file shared to them through a public link if they get the lock token](https://github.com/owncloud/ocis/issues/7761) @@ -124,45 +124,45 @@ #### [Trying to unlock a shared file with sharer's lock token gives 500](https://github.com/owncloud/ocis/issues/7767) +- [apiLocks/unlockFiles.feature:114](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L114) - [apiLocks/unlockFiles.feature:115](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L115) - [apiLocks/unlockFiles.feature:116](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L116) - [apiLocks/unlockFiles.feature:117](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L117) - [apiLocks/unlockFiles.feature:118](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L118) - [apiLocks/unlockFiles.feature:119](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L119) -- [apiLocks/unlockFiles.feature:120](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L120) +- [apiLocks/unlockFiles.feature:141](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L141) +- [apiLocks/unlockFiles.feature:142](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L142) - [apiLocks/unlockFiles.feature:143](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L143) - [apiLocks/unlockFiles.feature:144](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L144) - [apiLocks/unlockFiles.feature:145](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L145) - [apiLocks/unlockFiles.feature:146](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L146) -- [apiLocks/unlockFiles.feature:147](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L147) -- [apiLocks/unlockFiles.feature:148](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L148) #### [Anonymous user trying lock a file shared to them through a public link gives 405](https://github.com/owncloud/ocis/issues/7790) -- [apiLocks/lockFiles.feature:532](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L532) -- [apiLocks/lockFiles.feature:533](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L533) -- [apiLocks/lockFiles.feature:534](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L534) -- [apiLocks/lockFiles.feature:535](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L535) -- [apiLocks/lockFiles.feature:554](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L554) -- [apiLocks/lockFiles.feature:555](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L555) -- [apiLocks/lockFiles.feature:556](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L556) -- [apiLocks/lockFiles.feature:557](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L557) +- [apiLocks/lockFiles.feature:522](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L522) +- [apiLocks/lockFiles.feature:523](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L523) +- [apiLocks/lockFiles.feature:524](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L524) +- [apiLocks/lockFiles.feature:525](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L525) +- [apiLocks/lockFiles.feature:544](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L544) +- [apiLocks/lockFiles.feature:545](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L545) +- [apiLocks/lockFiles.feature:546](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L546) +- [apiLocks/lockFiles.feature:547](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L547) #### [sharee (editor role) MOVE a file by file-id into shared sub-folder returns 502](https://github.com/owncloud/ocis/issues/7617) -- [apiSpacesDavOperation/moveByFileId.feature:368](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L368) -- [apiSpacesDavOperation/moveByFileId.feature:620](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L620) +- [apiSpacesDavOperation/moveByFileId.feature:366](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L366) +- [apiSpacesDavOperation/moveByFileId.feature:609](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L609) #### [MOVE a file into same folder with same name returns 404 instead of 403](https://github.com/owncloud/ocis/issues/1976) - [apiSpacesShares/moveSpaces.feature:69](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/moveSpaces.feature#L69) - [apiSpacesShares/moveSpaces.feature:70](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/moveSpaces.feature#L70) -- [apiSpacesShares/moveSpaces.feature:419](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/moveSpaces.feature#L419) +- [apiSpacesShares/moveSpaces.feature:408](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/moveSpaces.feature#L408) - [apiSpacesDavOperation/moveByFileId.feature:61](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L61) +- [apiSpacesDavOperation/moveByFileId.feature:173](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L173) - [apiSpacesDavOperation/moveByFileId.feature:174](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L174) - [apiSpacesDavOperation/moveByFileId.feature:175](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L175) -- [apiSpacesDavOperation/moveByFileId.feature:176](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L176) -- [apiSpacesDavOperation/moveByFileId.feature:393](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L393) +- [apiSpacesDavOperation/moveByFileId.feature:390](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L390) #### [OCM. admin cannot get federated users if he hasn't connection with them ](https://github.com/owncloud/ocis/issues/9829) @@ -192,9 +192,9 @@ Basic file management like up and download, move, copy, properties, trash, versi _ocdav: double-check the webdav property parsing when custom namespaces are used_ +- [coreApiWebdavProperties/setFileProperties.feature:127](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature#L127) - [coreApiWebdavProperties/setFileProperties.feature:128](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature#L128) - [coreApiWebdavProperties/setFileProperties.feature:129](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature#L129) -- [coreApiWebdavProperties/setFileProperties.feature:130](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature#L130) ### Sync @@ -202,34 +202,34 @@ Synchronization features like etag propagation, setting mtime and locking files #### [Uploading an old method chunked file with checksum should fail using new DAV path](https://github.com/owncloud/ocis/issues/2323) +- [coreApiMain/checksums.feature:231](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L231) +- [coreApiMain/checksums.feature:232](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L232) - [coreApiMain/checksums.feature:233](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L233) -- [coreApiMain/checksums.feature:234](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L234) -- [coreApiMain/checksums.feature:235](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L235) ### Share #### [d:quota-available-bytes in dprop of PROPFIND give wrong response value](https://github.com/owncloud/ocis/issues/8197) +- [coreApiWebdavProperties/getQuota.feature:56](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L56) - [coreApiWebdavProperties/getQuota.feature:57](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L57) - [coreApiWebdavProperties/getQuota.feature:58](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L58) -- [coreApiWebdavProperties/getQuota.feature:59](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L59) +- [coreApiWebdavProperties/getQuota.feature:72](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L72) - [coreApiWebdavProperties/getQuota.feature:73](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L73) - [coreApiWebdavProperties/getQuota.feature:74](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L74) -- [coreApiWebdavProperties/getQuota.feature:75](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L75) #### [deleting a file inside a received shared folder is moved to the trash-bin of the sharer not the receiver](https://github.com/owncloud/ocis/issues/1124) +- [coreApiTrashbin/trashbinSharingToShares.feature:52](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L52) +- [coreApiTrashbin/trashbinSharingToShares.feature:53](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L53) - [coreApiTrashbin/trashbinSharingToShares.feature:54](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L54) -- [coreApiTrashbin/trashbinSharingToShares.feature:55](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L55) -- [coreApiTrashbin/trashbinSharingToShares.feature:56](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L56) -- [coreApiTrashbin/trashbinSharingToShares.feature:83](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L83) -- [coreApiTrashbin/trashbinSharingToShares.feature:84](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L84) -- [coreApiTrashbin/trashbinSharingToShares.feature:85](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L85) -- [coreApiTrashbin/trashbinSharingToShares.feature:142](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L142) -- [coreApiTrashbin/trashbinSharingToShares.feature:143](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L143) -- [coreApiTrashbin/trashbinSharingToShares.feature:144](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L144) -- [coreApiTrashbin/trashbinSharingToShares.feature:202](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L202) -- [coreApiTrashbin/trashbinSharingToShares.feature:203](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L203) +- [coreApiTrashbin/trashbinSharingToShares.feature:79](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L79) +- [coreApiTrashbin/trashbinSharingToShares.feature:80](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L80) +- [coreApiTrashbin/trashbinSharingToShares.feature:81](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L81) +- [coreApiTrashbin/trashbinSharingToShares.feature:134](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L134) +- [coreApiTrashbin/trashbinSharingToShares.feature:135](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L135) +- [coreApiTrashbin/trashbinSharingToShares.feature:136](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L136) +- [coreApiTrashbin/trashbinSharingToShares.feature:191](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L191) +- [coreApiTrashbin/trashbinSharingToShares.feature:192](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L192) ### Other @@ -275,12 +275,12 @@ _ocdav: api compatibility, return correct status code_ - [coreApiWebdavUploadTUS/checksums.feature:243](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/checksums.feature#L243) - [coreApiWebdavUploadTUS/checksums.feature:244](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/checksums.feature#L244) - [coreApiWebdavUploadTUS/checksums.feature:245](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/checksums.feature#L245) -- [coreApiWebdavUploadTUS/uploadToShare.feature:255](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L255) -- [coreApiWebdavUploadTUS/uploadToShare.feature:256](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L256) -- [coreApiWebdavUploadTUS/uploadToShare.feature:279](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L279) -- [coreApiWebdavUploadTUS/uploadToShare.feature:280](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L280) -- [coreApiWebdavUploadTUS/uploadToShare.feature:376](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L376) -- [coreApiWebdavUploadTUS/uploadToShare.feature:377](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L377) +- [coreApiWebdavUploadTUS/uploadToShare.feature:244](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L244) +- [coreApiWebdavUploadTUS/uploadToShare.feature:245](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L245) +- [coreApiWebdavUploadTUS/uploadToShare.feature:267](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L267) +- [coreApiWebdavUploadTUS/uploadToShare.feature:268](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L268) +- [coreApiWebdavUploadTUS/uploadToShare.feature:361](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L361) +- [coreApiWebdavUploadTUS/uploadToShare.feature:362](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L362) #### [Trying to delete other user's trashbin item returns 409 for spaces path instead of 404](https://github.com/owncloud/ocis/issues/9791) @@ -294,29 +294,29 @@ _ocdav: api compatibility, return correct status code_ - [coreApiWebdavMove/moveFolder.feature:217](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveFolder.feature#L217) - [coreApiWebdavMove/moveFolder.feature:218](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveFolder.feature#L218) - [coreApiWebdavMove/moveFolder.feature:219](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveFolder.feature#L219) -- [coreApiWebdavMove/moveShareOnOpencloud.feature:334](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L334) -- [coreApiWebdavMove/moveShareOnOpencloud.feature:337](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L337) -- [coreApiWebdavMove/moveShareOnOpencloud.feature:340](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L340) +- [coreApiWebdavMove/moveShareOnOpencloud.feature:323](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L323) +- [coreApiWebdavMove/moveShareOnOpencloud.feature:326](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L326) +- [coreApiWebdavMove/moveShareOnOpencloud.feature:329](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L329) #### [COPY file/folder to same name is possible (but 500 code error for folder with spaces path)](https://github.com/owncloud/ocis/issues/8711) - [coreApiSharePublicLink2/copyFromPublicLink.feature:198](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiSharePublicLink2/copyFromPublicLink.feature#L198) -- [coreApiWebdavCopyCreate/copyFile.feature:1094](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1094) -- [coreApiWebdavCopyCreate/copyFile.feature:1095](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1095) -- [coreApiWebdavCopyCreate/copyFile.feature:1096](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1096) +- [coreApiWebdavCopyCreate/copyFile.feature:1064](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1064) +- [coreApiWebdavCopyCreate/copyFile.feature:1065](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1065) +- [coreApiWebdavCopyCreate/copyFile.feature:1066](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1066) #### [Trying to restore personal file to file of share received folder returns 403 but the share file is deleted (new dav path)](https://github.com/owncloud/ocis/issues/10356) -- [coreApiTrashbin/trashbinSharingToShares.feature:277](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L277) +- [coreApiTrashbin/trashbinSharingToShares.feature:263](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L263) #### [Report response doesn't contain ](https://github.com/opencloud-eu/opencloud/issues/3501) -- [apiSearch1/search.feature:459](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L459) -- [apiSearch1/search.feature:460](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L460) -- [apiSearch1/search.feature:461](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L461) -- [apiSearch1/search.feature:483](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L483) -- [apiSearch1/search.feature:484](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L484) -- [apiSearch1/search.feature:485](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L485) +- [apiSearch1/search.feature:452](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L452) +- [apiSearch1/search.feature:453](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L453) +- [apiSearch1/search.feature:454](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L454) +- [apiSearch1/search.feature:476](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L476) +- [apiSearch1/search.feature:477](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L477) +- [apiSearch1/search.feature:478](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L478) ### Won't fix diff --git a/tests/acceptance/expected-failures-posix-storage.md b/tests/acceptance/expected-failures-posix-storage.md index 1c42f60b45..bf1ddbf13f 100644 --- a/tests/acceptance/expected-failures-posix-storage.md +++ b/tests/acceptance/expected-failures-posix-storage.md @@ -8,14 +8,14 @@ - [apiArchiver/downloadByPath.feature:44](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L44) - [apiArchiver/downloadByPath.feature:47](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L47) - [apiArchiver/downloadByPath.feature:73](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L73) -- [apiArchiver/downloadByPath.feature:171](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L171) -- [apiArchiver/downloadByPath.feature:172](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L172) +- [apiArchiver/downloadByPath.feature:163](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L163) +- [apiArchiver/downloadByPath.feature:164](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiArchiver/downloadByPath.feature#L164) #### [PATCH request for TUS upload with wrong checksum gives incorrect response](https://github.com/owncloud/ocis/issues/1755) -- [apiSpacesShares/shareUploadTUS.feature:283](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L283) -- [apiSpacesShares/shareUploadTUS.feature:303](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L303) -- [apiSpacesShares/shareUploadTUS.feature:384](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L384) +- [apiSpacesShares/shareUploadTUS.feature:267](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L267) +- [apiSpacesShares/shareUploadTUS.feature:286](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L286) +- [apiSpacesShares/shareUploadTUS.feature:364](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L364) #### [Settings service user can list other peoples assignments](https://github.com/owncloud/ocis/issues/5032) @@ -58,60 +58,60 @@ #### [Shared file locking is not possible using different path](https://github.com/owncloud/ocis/issues/7599) +- [apiLocks/lockFiles.feature:184](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L184) - [apiLocks/lockFiles.feature:185](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L185) - [apiLocks/lockFiles.feature:186](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L186) -- [apiLocks/lockFiles.feature:187](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L187) -- [apiLocks/lockFiles.feature:309](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L309) -- [apiLocks/lockFiles.feature:310](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L310) -- [apiLocks/lockFiles.feature:311](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L311) -- [apiLocks/lockFiles.feature:364](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L364) -- [apiLocks/lockFiles.feature:365](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L365) -- [apiLocks/lockFiles.feature:366](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L366) -- [apiLocks/lockFiles.feature:367](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L367) -- [apiLocks/lockFiles.feature:368](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L368) -- [apiLocks/lockFiles.feature:369](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L369) -- [apiLocks/lockFiles.feature:399](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L399) -- [apiLocks/lockFiles.feature:400](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L400) -- [apiLocks/lockFiles.feature:401](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L401) -- [apiLocks/lockFiles.feature:402](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L402) -- [apiLocks/lockFiles.feature:403](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L403) -- [apiLocks/lockFiles.feature:404](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L404) +- [apiLocks/lockFiles.feature:303](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L303) +- [apiLocks/lockFiles.feature:304](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L304) +- [apiLocks/lockFiles.feature:305](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L305) +- [apiLocks/lockFiles.feature:356](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L356) +- [apiLocks/lockFiles.feature:357](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L357) +- [apiLocks/lockFiles.feature:358](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L358) +- [apiLocks/lockFiles.feature:359](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L359) +- [apiLocks/lockFiles.feature:360](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L360) +- [apiLocks/lockFiles.feature:361](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L361) +- [apiLocks/lockFiles.feature:389](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L389) +- [apiLocks/lockFiles.feature:390](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L390) +- [apiLocks/lockFiles.feature:391](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L391) +- [apiLocks/lockFiles.feature:392](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L392) +- [apiLocks/lockFiles.feature:393](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L393) +- [apiLocks/lockFiles.feature:394](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L394) - [apiLocks/unlockFiles.feature:62](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L62) - [apiLocks/unlockFiles.feature:63](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L63) - [apiLocks/unlockFiles.feature:64](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L64) +- [apiLocks/unlockFiles.feature:168](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L168) +- [apiLocks/unlockFiles.feature:169](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L169) +- [apiLocks/unlockFiles.feature:170](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L170) - [apiLocks/unlockFiles.feature:171](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L171) - [apiLocks/unlockFiles.feature:172](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L172) - [apiLocks/unlockFiles.feature:173](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L173) -- [apiLocks/unlockFiles.feature:174](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L174) -- [apiLocks/unlockFiles.feature:175](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L175) -- [apiLocks/unlockFiles.feature:176](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L176) +- [apiLocks/unlockFiles.feature:195](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L195) +- [apiLocks/unlockFiles.feature:196](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L196) +- [apiLocks/unlockFiles.feature:197](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L197) +- [apiLocks/unlockFiles.feature:198](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L198) - [apiLocks/unlockFiles.feature:199](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L199) - [apiLocks/unlockFiles.feature:200](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L200) -- [apiLocks/unlockFiles.feature:201](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L201) -- [apiLocks/unlockFiles.feature:202](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L202) -- [apiLocks/unlockFiles.feature:203](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L203) -- [apiLocks/unlockFiles.feature:204](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L204) +- [apiLocks/unlockFiles.feature:222](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L222) +- [apiLocks/unlockFiles.feature:223](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L223) +- [apiLocks/unlockFiles.feature:224](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L224) +- [apiLocks/unlockFiles.feature:225](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L225) +- [apiLocks/unlockFiles.feature:226](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L226) - [apiLocks/unlockFiles.feature:227](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L227) -- [apiLocks/unlockFiles.feature:228](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L228) -- [apiLocks/unlockFiles.feature:229](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L229) -- [apiLocks/unlockFiles.feature:230](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L230) -- [apiLocks/unlockFiles.feature:231](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L231) -- [apiLocks/unlockFiles.feature:232](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L232) #### [Folders can be locked and locking works partially](https://github.com/owncloud/ocis/issues/7641) -- [apiLocks/lockFiles.feature:443](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L443) -- [apiLocks/lockFiles.feature:444](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L444) -- [apiLocks/lockFiles.feature:445](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L445) -- [apiLocks/lockFiles.feature:446](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L446) -- [apiLocks/lockFiles.feature:447](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L447) -- [apiLocks/lockFiles.feature:448](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L448) -- [apiLocks/lockFiles.feature:417](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L417) -- [apiLocks/lockFiles.feature:418](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L418) -- [apiLocks/lockFiles.feature:419](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L419) -- [apiLocks/lockFiles.feature:420](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L420) -- [apiLocks/lockFiles.feature:421](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L421) -- [apiLocks/lockFiles.feature:422](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L422) +- [apiLocks/lockFiles.feature:433](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L433) +- [apiLocks/lockFiles.feature:434](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L434) +- [apiLocks/lockFiles.feature:435](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L435) +- [apiLocks/lockFiles.feature:436](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L436) +- [apiLocks/lockFiles.feature:437](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L437) +- [apiLocks/lockFiles.feature:438](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L438) +- [apiLocks/lockFiles.feature:407](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L407) +- [apiLocks/lockFiles.feature:408](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L408) +- [apiLocks/lockFiles.feature:409](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L409) +- [apiLocks/lockFiles.feature:410](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L410) +- [apiLocks/lockFiles.feature:411](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L411) +- [apiLocks/lockFiles.feature:412](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L412) #### [Anonymous users can unlock a file shared to them through a public link if they get the lock token](https://github.com/owncloud/ocis/issues/7761) @@ -124,45 +124,45 @@ #### [Trying to unlock a shared file with sharer's lock token gives 500](https://github.com/owncloud/ocis/issues/7767) +- [apiLocks/unlockFiles.feature:114](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L114) - [apiLocks/unlockFiles.feature:115](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L115) - [apiLocks/unlockFiles.feature:116](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L116) - [apiLocks/unlockFiles.feature:117](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L117) - [apiLocks/unlockFiles.feature:118](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L118) - [apiLocks/unlockFiles.feature:119](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L119) -- [apiLocks/unlockFiles.feature:120](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L120) +- [apiLocks/unlockFiles.feature:141](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L141) +- [apiLocks/unlockFiles.feature:142](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L142) - [apiLocks/unlockFiles.feature:143](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L143) - [apiLocks/unlockFiles.feature:144](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L144) - [apiLocks/unlockFiles.feature:145](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L145) - [apiLocks/unlockFiles.feature:146](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L146) -- [apiLocks/unlockFiles.feature:147](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L147) -- [apiLocks/unlockFiles.feature:148](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/unlockFiles.feature#L148) #### [Anonymous user trying lock a file shared to them through a public link gives 405](https://github.com/owncloud/ocis/issues/7790) -- [apiLocks/lockFiles.feature:532](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L532) -- [apiLocks/lockFiles.feature:533](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L533) -- [apiLocks/lockFiles.feature:534](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L534) -- [apiLocks/lockFiles.feature:535](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L535) -- [apiLocks/lockFiles.feature:554](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L554) -- [apiLocks/lockFiles.feature:555](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L555) -- [apiLocks/lockFiles.feature:556](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L556) -- [apiLocks/lockFiles.feature:557](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L557) +- [apiLocks/lockFiles.feature:522](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L522) +- [apiLocks/lockFiles.feature:523](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L523) +- [apiLocks/lockFiles.feature:524](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L524) +- [apiLocks/lockFiles.feature:525](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L525) +- [apiLocks/lockFiles.feature:544](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L544) +- [apiLocks/lockFiles.feature:545](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L545) +- [apiLocks/lockFiles.feature:546](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L546) +- [apiLocks/lockFiles.feature:547](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiLocks/lockFiles.feature#L547) #### [sharee (editor role) MOVE a file by file-id into shared sub-folder returns 502](https://github.com/owncloud/ocis/issues/7617) -- [apiSpacesDavOperation/moveByFileId.feature:368](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L368) -- [apiSpacesDavOperation/moveByFileId.feature:620](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L620) +- [apiSpacesDavOperation/moveByFileId.feature:366](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L366) +- [apiSpacesDavOperation/moveByFileId.feature:609](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L609) #### [MOVE a file into same folder with same name returns 404 instead of 403](https://github.com/owncloud/ocis/issues/1976) - [apiSpacesShares/moveSpaces.feature:69](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/moveSpaces.feature#L69) - [apiSpacesShares/moveSpaces.feature:70](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/moveSpaces.feature#L70) -- [apiSpacesShares/moveSpaces.feature:419](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/moveSpaces.feature#L419) +- [apiSpacesShares/moveSpaces.feature:408](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesShares/moveSpaces.feature#L408) - [apiSpacesDavOperation/moveByFileId.feature:61](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L61) +- [apiSpacesDavOperation/moveByFileId.feature:173](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L173) - [apiSpacesDavOperation/moveByFileId.feature:174](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L174) - [apiSpacesDavOperation/moveByFileId.feature:175](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L175) -- [apiSpacesDavOperation/moveByFileId.feature:176](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L176) -- [apiSpacesDavOperation/moveByFileId.feature:393](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L393) +- [apiSpacesDavOperation/moveByFileId.feature:390](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L390) #### [OCM. admin cannot get federated users if he hasn't connection with them ](https://github.com/owncloud/ocis/issues/9829) @@ -192,9 +192,9 @@ Basic file management like up and download, move, copy, properties, trash, versi _ocdav: double-check the webdav property parsing when custom namespaces are used_ +- [coreApiWebdavProperties/setFileProperties.feature:127](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature#L127) - [coreApiWebdavProperties/setFileProperties.feature:128](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature#L128) - [coreApiWebdavProperties/setFileProperties.feature:129](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature#L129) -- [coreApiWebdavProperties/setFileProperties.feature:130](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature#L130) ### Sync @@ -202,34 +202,34 @@ Synchronization features like etag propagation, setting mtime and locking files #### [Uploading an old method chunked file with checksum should fail using new DAV path](https://github.com/owncloud/ocis/issues/2323) +- [coreApiMain/checksums.feature:231](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L231) +- [coreApiMain/checksums.feature:232](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L232) - [coreApiMain/checksums.feature:233](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L233) -- [coreApiMain/checksums.feature:234](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L234) -- [coreApiMain/checksums.feature:235](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiMain/checksums.feature#L235) ### Share #### [d:quota-available-bytes in dprop of PROPFIND give wrong response value](https://github.com/owncloud/ocis/issues/8197) +- [coreApiWebdavProperties/getQuota.feature:56](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L56) - [coreApiWebdavProperties/getQuota.feature:57](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L57) - [coreApiWebdavProperties/getQuota.feature:58](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L58) -- [coreApiWebdavProperties/getQuota.feature:59](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L59) +- [coreApiWebdavProperties/getQuota.feature:72](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L72) - [coreApiWebdavProperties/getQuota.feature:73](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L73) - [coreApiWebdavProperties/getQuota.feature:74](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L74) -- [coreApiWebdavProperties/getQuota.feature:75](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature#L75) #### [deleting a file inside a received shared folder is moved to the trash-bin of the sharer not the receiver](https://github.com/owncloud/ocis/issues/1124) +- [coreApiTrashbin/trashbinSharingToShares.feature:52](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L52) +- [coreApiTrashbin/trashbinSharingToShares.feature:53](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L53) - [coreApiTrashbin/trashbinSharingToShares.feature:54](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L54) -- [coreApiTrashbin/trashbinSharingToShares.feature:55](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L55) -- [coreApiTrashbin/trashbinSharingToShares.feature:56](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L56) -- [coreApiTrashbin/trashbinSharingToShares.feature:83](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L83) -- [coreApiTrashbin/trashbinSharingToShares.feature:84](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L84) -- [coreApiTrashbin/trashbinSharingToShares.feature:85](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L85) -- [coreApiTrashbin/trashbinSharingToShares.feature:142](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L142) -- [coreApiTrashbin/trashbinSharingToShares.feature:143](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L143) -- [coreApiTrashbin/trashbinSharingToShares.feature:144](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L144) -- [coreApiTrashbin/trashbinSharingToShares.feature:202](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L202) -- [coreApiTrashbin/trashbinSharingToShares.feature:203](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L203) +- [coreApiTrashbin/trashbinSharingToShares.feature:79](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L79) +- [coreApiTrashbin/trashbinSharingToShares.feature:80](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L80) +- [coreApiTrashbin/trashbinSharingToShares.feature:81](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L81) +- [coreApiTrashbin/trashbinSharingToShares.feature:134](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L134) +- [coreApiTrashbin/trashbinSharingToShares.feature:135](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L135) +- [coreApiTrashbin/trashbinSharingToShares.feature:136](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L136) +- [coreApiTrashbin/trashbinSharingToShares.feature:191](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L191) +- [coreApiTrashbin/trashbinSharingToShares.feature:192](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L192) ### Other @@ -277,12 +277,12 @@ _ocdav: api compatibility, return correct status code_ - [coreApiWebdavUploadTUS/checksums.feature:243](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/checksums.feature#L243) - [coreApiWebdavUploadTUS/checksums.feature:244](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/checksums.feature#L244) - [coreApiWebdavUploadTUS/checksums.feature:245](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/checksums.feature#L245) -- [coreApiWebdavUploadTUS/uploadToShare.feature:255](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L255) -- [coreApiWebdavUploadTUS/uploadToShare.feature:256](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L256) -- [coreApiWebdavUploadTUS/uploadToShare.feature:279](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L279) -- [coreApiWebdavUploadTUS/uploadToShare.feature:280](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L280) -- [coreApiWebdavUploadTUS/uploadToShare.feature:376](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L376) -- [coreApiWebdavUploadTUS/uploadToShare.feature:377](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L377) +- [coreApiWebdavUploadTUS/uploadToShare.feature:244](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L244) +- [coreApiWebdavUploadTUS/uploadToShare.feature:245](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L245) +- [coreApiWebdavUploadTUS/uploadToShare.feature:267](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L267) +- [coreApiWebdavUploadTUS/uploadToShare.feature:268](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L268) +- [coreApiWebdavUploadTUS/uploadToShare.feature:361](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L361) +- [coreApiWebdavUploadTUS/uploadToShare.feature:362](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L362) #### [Trying to delete other user's trashbin item returns 409 for spaces path instead of 404](https://github.com/owncloud/ocis/issues/9791) @@ -297,29 +297,29 @@ _ocdav: api compatibility, return correct status code_ - [coreApiWebdavMove/moveFolder.feature:217](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveFolder.feature#L217) - [coreApiWebdavMove/moveFolder.feature:218](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveFolder.feature#L218) - [coreApiWebdavMove/moveFolder.feature:219](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveFolder.feature#L219) -- [coreApiWebdavMove/moveShareOnOpencloud.feature:334](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L334) -- [coreApiWebdavMove/moveShareOnOpencloud.feature:337](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L337) -- [coreApiWebdavMove/moveShareOnOpencloud.feature:340](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L340) +- [coreApiWebdavMove/moveShareOnOpencloud.feature:323](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L323) +- [coreApiWebdavMove/moveShareOnOpencloud.feature:326](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L326) +- [coreApiWebdavMove/moveShareOnOpencloud.feature:329](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature#L329) #### [COPY file/folder to same name is possible (but 500 code error for folder with spaces path)](https://github.com/owncloud/ocis/issues/8711) - [coreApiSharePublicLink2/copyFromPublicLink.feature:198](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiSharePublicLink2/copyFromPublicLink.feature#L198) -- [coreApiWebdavCopyCreate/copyFile.feature:1094](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1094) -- [coreApiWebdavCopyCreate/copyFile.feature:1095](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1095) -- [coreApiWebdavCopyCreate/copyFile.feature:1096](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1096) +- [coreApiWebdavCopyCreate/copyFile.feature:1064](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1064) +- [coreApiWebdavCopyCreate/copyFile.feature:1065](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1065) +- [coreApiWebdavCopyCreate/copyFile.feature:1066](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1066) #### [Trying to restore personal file to file of share received folder returns 403 but the share file is deleted (new dav path)](https://github.com/owncloud/ocis/issues/10356) -- [coreApiTrashbin/trashbinSharingToShares.feature:277](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L277) +- [coreApiTrashbin/trashbinSharingToShares.feature:263](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L263) #### [Report response doesn't contain ](https://github.com/opencloud-eu/opencloud/issues/3501) -- [apiSearch1/search.feature:459](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L459) -- [apiSearch1/search.feature:460](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L460) -- [apiSearch1/search.feature:461](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L461) -- [apiSearch1/search.feature:483](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L483) -- [apiSearch1/search.feature:484](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L484) -- [apiSearch1/search.feature:485](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L485) +- [apiSearch1/search.feature:452](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L452) +- [apiSearch1/search.feature:453](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L453) +- [apiSearch1/search.feature:454](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L454) +- [apiSearch1/search.feature:476](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L476) +- [apiSearch1/search.feature:477](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L477) +- [apiSearch1/search.feature:478](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L478) ### Won't fix diff --git a/tests/acceptance/expected-failures-without-remotephp.md b/tests/acceptance/expected-failures-without-remotephp.md index 55c5eb6922..7fb481c7d8 100644 --- a/tests/acceptance/expected-failures-without-remotephp.md +++ b/tests/acceptance/expected-failures-without-remotephp.md @@ -7,8 +7,8 @@ #### [Cannot create new TUS upload resource using /webdav without remote.php - returns html instead](https://github.com/owncloud/ocis/issues/10346) -- [apiSpaces/tusUpload.feature:60](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpaces/tusUpload.feature#L60) -- [apiSpaces/tusUpload.feature:104](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpaces/tusUpload.feature#L104) +- [apiSpaces/tusUpload.feature:59](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpaces/tusUpload.feature#L59) +- [apiSpaces/tusUpload.feature:101](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSpaces/tusUpload.feature#L101) - [coreApiWebdavUploadTUS/creationWithUploadExtension.feature:38](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/creationWithUploadExtension.feature#L38) - [coreApiWebdavUploadTUS/uploadFile.feature:16](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFile.feature#L16) - [coreApiWebdavUploadTUS/uploadFile.feature:17](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFile.feature#L17) @@ -40,23 +40,23 @@ - [coreApiWebdavUploadTUS/uploadFileMtime.feature:51](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtime.feature#L51) - [coreApiWebdavUploadTUS/uploadFileMtime.feature:65](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtime.feature#L65) - [coreApiWebdavUploadTUS/uploadFileMtime.feature:79](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtime.feature#L79) -- [coreApiWebdavUploadTUS/uploadFileMtimeShares.feature:29](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature#L29) -- [coreApiWebdavUploadTUS/uploadFileMtimeShares.feature:48](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature#L48) -- [coreApiWebdavUploadTUS/uploadFileMtimeShares.feature:69](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature#L69) -- [coreApiWebdavUploadTUS/uploadFileMtimeShares.feature:89](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature#L89) +- [coreApiWebdavUploadTUS/uploadFileMtimeShares.feature:28](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature#L28) +- [coreApiWebdavUploadTUS/uploadFileMtimeShares.feature:46](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature#L46) +- [coreApiWebdavUploadTUS/uploadFileMtimeShares.feature:66](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature#L66) +- [coreApiWebdavUploadTUS/uploadFileMtimeShares.feature:85](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature#L85) - [coreApiWebdavUploadTUS/uploadToMoveFolder.feature:20](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToMoveFolder.feature#L20) -- [coreApiWebdavUploadTUS/uploadToShare.feature:29](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L29) -- [coreApiWebdavUploadTUS/uploadToShare.feature:48](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L48) -- [coreApiWebdavUploadTUS/uploadToShare.feature:69](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L69) -- [coreApiWebdavUploadTUS/uploadToShare.feature:89](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L89) +- [coreApiWebdavUploadTUS/uploadToShare.feature:28](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L28) +- [coreApiWebdavUploadTUS/uploadToShare.feature:46](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L46) +- [coreApiWebdavUploadTUS/uploadToShare.feature:66](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L66) +- [coreApiWebdavUploadTUS/uploadToShare.feature:85](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature#L85) #### [PROPFIND to /webdav root (old dav path) without remote.php returns html instead of xml](https://github.com/owncloud/ocis/issues/10334) - [coreApiAuth/webDavAuth.feature:15](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiAuth/webDavAuth.feature#L15) - [coreApiAuth/webDavAuth.feature:25](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiAuth/webDavAuth.feature#L25) -- [coreApiShareManagementToShares/moveReceivedShare.feature:49](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature#L49) -- [coreApiShareManagementToShares/moveReceivedShare.feature:130](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature#L130) -- [coreApiShareManagementToShares/moveReceivedShare.feature:129](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature#L129) +- [coreApiShareManagementToShares/moveReceivedShare.feature:47](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature#L47) +- [coreApiShareManagementToShares/moveReceivedShare.feature:124](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature#L124) +- [coreApiShareManagementToShares/moveReceivedShare.feature:123](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature#L123) - [coreApiWebdavOperations/propfind.feature:25](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavOperations/propfind.feature#L25) - [coreApiWebdavOperations/propfind.feature:26](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavOperations/propfind.feature#L26) - [coreApiWebdavOperations/propfind.feature:36](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavOperations/propfind.feature#L36) diff --git a/tests/acceptance/features/apiActivities/shareActivities.feature b/tests/acceptance/features/apiActivities/shareActivities.feature index 1bab0fc6a4..d755dbaa38 100644 --- a/tests/acceptance/features/apiActivities/shareActivities.feature +++ b/tests/acceptance/features/apiActivities/shareActivities.feature @@ -507,7 +507,6 @@ Feature: check share activity | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Brian" has uploaded file with content "some data" to "Shares/FOLDER/newfile.txt" And user "Brian" has uploaded file with content "edited data" to "Shares/FOLDER/newfile.txt" And user "Brian" has deleted file "Shares/FOLDER/newfile.txt" @@ -1917,7 +1916,6 @@ Feature: check share activity | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "/FOLDER" synced And user "Brian" has uploaded file with content "some data" to "Shares/FOLDER/newfile.txt" And user "Brian" has uploaded file with content "edited data" to "Shares/FOLDER/newfile.txt" And user "Brian" has deleted file "Shares/FOLDER/newfile.txt" @@ -1936,7 +1934,6 @@ Feature: check share activity | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "/FOLDER" synced When user "Brian" lists the activities of folder "FOLDER" from space "Shares" using the Graph API Then the HTTP status code should be "403" diff --git a/tests/acceptance/features/apiAntivirus/antivirus.feature b/tests/acceptance/features/apiAntivirus/antivirus.feature index 044c3a129b..548678998b 100644 --- a/tests/acceptance/features/apiAntivirus/antivirus.feature +++ b/tests/acceptance/features/apiAntivirus/antivirus.feature @@ -155,7 +155,6 @@ Feature: antivirus | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "uploadFolder" synced When user "Brian" uploads file "filesForUpload/filesWithVirus/" to "/Shares/uploadFolder/" using the WebDAV API Then the HTTP status code should be "201" And user "Brian" should get a notification with subject "Virus found" and message: @@ -185,7 +184,6 @@ Feature: antivirus | sharee | group1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "uploadFolder" synced When user "Brian" uploads file "filesForUpload/filesWithVirus/" to "/Shares/uploadFolder/" using the WebDAV API Then the HTTP status code should be "201" And user "Brian" should get a notification with subject "Virus found" and message: @@ -372,7 +370,6 @@ Feature: antivirus | sharee | group1 | | shareType | group | | permissionsRole | File Editor | - And user "Brian" has a share "test.txt" synced When user "Brian" uploads file with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to "Shares/test.txt" using the WebDAV API Then the HTTP status code should be "204" And user "Brian" should get a notification with subject "Virus found" and message: @@ -398,7 +395,6 @@ Feature: antivirus | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "uploadFolder" synced And user "Alice" has uploaded file with content "this is a test file." to "/test.txt" And user "Alice" has sent the following resource share invitation: | resource | test.txt | @@ -406,7 +402,6 @@ Feature: antivirus | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "test.txt" synced When user "Brian" uploads file with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to "Shares/uploadFolder/test.txt" using the WebDAV API Then the HTTP status code should be "204" And user "Brian" should get a notification for resource "test.txt" with subject "Virus found" and message: diff --git a/tests/acceptance/features/apiArchiver/downloadById.feature b/tests/acceptance/features/apiArchiver/downloadById.feature index d03efe75e5..d0593cc583 100644 --- a/tests/acceptance/features/apiArchiver/downloadById.feature +++ b/tests/acceptance/features/apiArchiver/downloadById.feature @@ -86,28 +86,24 @@ Feature: download multiple resources bundled into an archive | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And user "Alice" has sent the following resource share invitation: | resource | textfile1.txt | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile1.txt" synced And user "Alice" has sent the following resource share invitation: | resource | my_data | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "my_data" synced And user "Alice" has sent the following resource share invitation: | resource | more_data | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "more_data" synced When user "Brian" downloads the archive of these items using the resource ids | /Shares/textfile0.txt | | /Shares/textfile1.txt | @@ -136,28 +132,24 @@ Feature: download multiple resources bundled into an archive | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And user "Alice" has sent the following resource share invitation: | resource | textfile1.txt | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile1.txt" synced And user "Alice" has sent the following resource share invitation: | resource | my_data | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "my_data" synced And user "Alice" has sent the following resource share invitation: | resource | more_data | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "more_data" synced When user "Brian" downloads the archive of "/Shares" using the resource id and setting these headers: | header | value | | User-Agent | | diff --git a/tests/acceptance/features/apiArchiver/downloadByPath.feature b/tests/acceptance/features/apiArchiver/downloadByPath.feature index fbb65c816a..c6bb6214c5 100644 --- a/tests/acceptance/features/apiArchiver/downloadByPath.feature +++ b/tests/acceptance/features/apiArchiver/downloadByPath.feature @@ -84,28 +84,24 @@ Feature: download multiple resources bundled into an archive | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And user "Alice" has sent the following resource share invitation: | resource | textfile1.txt | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile1.txt" synced And user "Alice" has sent the following resource share invitation: | resource | my_data | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "my_data" synced And user "Alice" has sent the following resource share invitation: | resource | more_data | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "more_data" synced When user "Brian" downloads the archive of these items using the resource path | /home/Shares/textfile0.txt | | /home/Shares/textfile1.txt | @@ -134,28 +130,24 @@ Feature: download multiple resources bundled into an archive | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And user "Alice" has sent the following resource share invitation: | resource | textfile1.txt | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile1.txt" synced And user "Alice" has sent the following resource share invitation: | resource | my_data | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "my_data" synced And user "Alice" has sent the following resource share invitation: | resource | more_data | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "more_data" synced When user "Brian" downloads the archive of "/home/Shares" using the resource path and setting these headers: | header | value | | User-Agent | | diff --git a/tests/acceptance/features/apiContract/sharesReport.feature b/tests/acceptance/features/apiContract/sharesReport.feature index 30999c2469..8263f70770 100644 --- a/tests/acceptance/features/apiContract/sharesReport.feature +++ b/tests/acceptance/features/apiContract/sharesReport.feature @@ -17,7 +17,6 @@ Feature: REPORT request to Shares space | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folderMain" synced Scenario Outline: check the REPORT response of the found folder @@ -118,7 +117,6 @@ Feature: REPORT request to Shares space | sharee | Brian | | shareType | user | | permissionsRole | Secure Viewer | - And user "Brian" has a share "secureFolder" synced When user "Brian" searches for "secureFolder" using the WebDAV API Then the HTTP status code should be "207" And the following headers should match these regular expressions @@ -161,7 +159,6 @@ Feature: REPORT request to Shares space | sharee | Brian | | shareType | user | | permissionsRole | Secure Viewer | - And user "Brian" has a share "secure.txt" synced When user "Brian" searches for "secure.txt" using the WebDAV API Then the HTTP status code should be "207" And the following headers should match these regular expressions diff --git a/tests/acceptance/features/apiContract/spacesSharesReport.feature b/tests/acceptance/features/apiContract/spacesSharesReport.feature index 1a3ffcd5d9..9681a63c04 100644 --- a/tests/acceptance/features/apiContract/spacesSharesReport.feature +++ b/tests/acceptance/features/apiContract/spacesSharesReport.feature @@ -23,7 +23,6 @@ Feature: Report test | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folderMain" synced When user "Brian" searches for "SubFolder1" using the WebDAV API Then the HTTP status code should be "207" And the following headers should match these regular expressions @@ -54,7 +53,6 @@ Feature: Report test | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folderMain" synced When user "Brian" searches for "insideTheFolder.txt" using the WebDAV API Then the HTTP status code should be "207" And the following headers should match these regular expressions diff --git a/tests/acceptance/features/apiGraph/favorites.feature b/tests/acceptance/features/apiGraph/favorites.feature index 95bbc93d80..79511cec82 100644 --- a/tests/acceptance/features/apiGraph/favorites.feature +++ b/tests/acceptance/features/apiGraph/favorites.feature @@ -179,7 +179,6 @@ Feature: favorites | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile.txt" synced When user "Brian" marks file "textfile.txt" as favorite from space "Shares" using the Graph API Then the HTTP status code should be "201" And the JSON data of the response should match @@ -271,7 +270,6 @@ Feature: favorites | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "parent" synced When user "Brian" marks folder "parent/sub" as favorite from space "Shares" using the Graph API Then the HTTP status code should be "201" And the JSON data of the response should match @@ -545,7 +543,6 @@ Feature: favorites | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile.txt" synced And user "Brian" has marked file "textfile.txt" as favorite from space "Shares" When user "Brian" unmarks file "textfile.txt" as favorite from space "Shares" using the Graph API Then the HTTP status code should be "204" @@ -562,7 +559,6 @@ Feature: favorites | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "parent" synced And user "Brian" has marked folder "parent/sub" as favorite from space "Shares" When user "Brian" unmarks folder "parent/sub" as favorite from space "Shares" using the Graph API Then the HTTP status code should be "204" diff --git a/tests/acceptance/features/apiGraph/userGDPRExport.feature b/tests/acceptance/features/apiGraph/userGDPRExport.feature index 76e572cdce..317c05391a 100644 --- a/tests/acceptance/features/apiGraph/userGDPRExport.feature +++ b/tests/acceptance/features/apiGraph/userGDPRExport.feature @@ -593,7 +593,6 @@ Feature: user GDPR (General Data Protection Regulation) report | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folderMain" synced When user "Alice" exports her GDPR report to "/.personal_data_export.json" using the Graph API And user "Alice" downloads the content of GDPR report ".personal_data_export.json" Then the HTTP status code of responses on each endpoint should be "202, 200" respectively diff --git a/tests/acceptance/features/apiLocks/lockFiles.feature b/tests/acceptance/features/apiLocks/lockFiles.feature index cf79f6245a..845e30a68b 100644 --- a/tests/acceptance/features/apiLocks/lockFiles.feature +++ b/tests/acceptance/features/apiLocks/lockFiles.feature @@ -170,7 +170,6 @@ Feature: lock files | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced When user "Brian" locks file "/Shares/textfile.txt" using the WebDAV API setting the following properties | lockscope | exclusive | Then the HTTP status code should be "200" @@ -197,7 +196,6 @@ Feature: lock files | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced When user "Brian" locks file "textfile.txt" using file-id "<>" using the WebDAV API setting the following properties | lockscope | exclusive | | timeout | Second-3600 | @@ -221,7 +219,6 @@ Feature: lock files | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "textfile.txt" synced When user "Brian" tries to lock file "textfile.txt" using file-id "<>" using the WebDAV API setting the following properties | lockscope | exclusive | Then the HTTP status code should be "403" @@ -241,7 +238,6 @@ Feature: lock files | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced And user "Alice" has locked file "textfile.txt" setting the following properties | lockscope | exclusive | When user "Brian" tries to lock file "textfile.txt" using file-id "<>" using the WebDAV API setting the following properties @@ -266,7 +262,6 @@ Feature: lock files | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced And user "Brian" has locked file "textfile.txt" using file-id "<>" setting the following properties | lockscope | exclusive | When user "Alice" tries to lock file "textfile.txt" using file-id "<>" using the WebDAV API setting the following properties @@ -291,7 +286,6 @@ Feature: lock files | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced And user "Alice" has locked file "textfile0.txt" setting the following properties | lockscope | shared | And user "Brian" has locked file "Shares/textfile0.txt" setting the following properties @@ -346,14 +340,12 @@ Feature: lock files | sharee | Carol | | shareType | user | | permissionsRole | Editor | - And user "Carol" has a share "FromAlice" synced And user "Brian" has sent the following resource share invitation: | resource | FromBrian | | space | Personal | | sharee | Carol | | shareType | user | | permissionsRole | Editor | - And user "Carol" has a share "FromBrian" synced When user "Carol" locks file "/Shares/FromBrian/textfile0.txt" using the WebDAV API setting the following properties | lockscope | | Then the HTTP status code should be "200" @@ -381,14 +373,12 @@ Feature: lock files | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "locked" synced And user "Alice" has sent the following resource share invitation: | resource | notlocked | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "notlocked" synced When user "Brian" locks file "/Shares/locked/textfile0.txt" using the WebDAV API setting the following properties | lockscope | | Then the HTTP status code should be "200" diff --git a/tests/acceptance/features/apiLocks/unlockFiles.feature b/tests/acceptance/features/apiLocks/unlockFiles.feature index 72a1376ea0..be64c14bab 100644 --- a/tests/acceptance/features/apiLocks/unlockFiles.feature +++ b/tests/acceptance/features/apiLocks/unlockFiles.feature @@ -103,7 +103,6 @@ Feature: unlock locked items | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "parent.txt" synced And user "Alice" has locked file "PARENT/parent.txt" setting the following properties | lockscope | | When user "Brian" unlocks file "Shares/parent.txt" with the last created lock of file "PARENT/parent.txt" of user "Alice" using the WebDAV API @@ -133,7 +132,6 @@ Feature: unlock locked items | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "PARENT" synced When user "Brian" unlocks file "Shares/PARENT/parent.txt" with the last created lock of file "PARENT/parent.txt" of user "Alice" using the WebDAV API Then the HTTP status code should be "403" And 1 locks should be reported for file "PARENT/parent.txt" of user "Alice" by the WebDAV API @@ -159,7 +157,6 @@ Feature: unlock locked items | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "parent.txt" synced And user "Brian" has locked file "Shares/parent.txt" setting the following properties | lockscope | | When user "Brian" unlocks the last created lock of file "Shares/parent.txt" using the WebDAV API @@ -187,7 +184,6 @@ Feature: unlock locked items | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "parent.txt" synced And user "Brian" has locked file "Shares/parent.txt" setting the following properties | lockscope | | When user "Alice" unlocks file "PARENT/parent.txt" with the last created lock of file "Shares/parent.txt" of user "Brian" using the WebDAV API @@ -215,7 +211,6 @@ Feature: unlock locked items | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "PARENT" synced And user "Brian" has locked file "Shares/PARENT/parent.txt" setting the following properties | lockscope | | When user "Alice" unlocks file "PARENT/parent.txt" with the last created lock of file "Shares/PARENT/parent.txt" of user "Brian" using the WebDAV API @@ -286,7 +281,6 @@ Feature: unlock locked items | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced And user "Brian" has locked file "textfile.txt" using file-id "<>" setting the following properties | lockscope | exclusive | | timeout | Second-3600 | diff --git a/tests/acceptance/features/apiReshare/resharing.feature b/tests/acceptance/features/apiReshare/resharing.feature index 16efbaf98f..ad37b16cf1 100644 --- a/tests/acceptance/features/apiReshare/resharing.feature +++ b/tests/acceptance/features/apiReshare/resharing.feature @@ -40,7 +40,6 @@ Feature: re-share resources | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "test" synced When user "Brian" creates a share inside of space "Shares" with settings: | path | test | | shareWith | Carol | @@ -67,7 +66,6 @@ Feature: re-share resources | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "textfile1.txt" synced When user "Brian" creates a share inside of space "Shares" with settings: | path | textfile1.txt | | shareWith | Carol | @@ -93,7 +91,6 @@ Feature: re-share resources | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "test" synced When user "Brian" creates a public link share using the sharing API with settings | path | /Shares/test | | permissions | 1 | diff --git a/tests/acceptance/features/apiSearch1/dateSearch.feature b/tests/acceptance/features/apiSearch1/dateSearch.feature index 10213edc6a..bbf9da7a03 100644 --- a/tests/acceptance/features/apiSearch1/dateSearch.feature +++ b/tests/acceptance/features/apiSearch1/dateSearch.feature @@ -61,7 +61,6 @@ Feature: date search | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "sharedFolder" synced When user "Brian" searches for "Mtime:yesterday" using the WebDAV API Then the HTTP status code should be "207" And the search result of user "Brian" should contain these entries: diff --git a/tests/acceptance/features/apiSearch1/favoriteSearch.feature b/tests/acceptance/features/apiSearch1/favoriteSearch.feature index 0befecaacc..fee0a2ef11 100644 --- a/tests/acceptance/features/apiSearch1/favoriteSearch.feature +++ b/tests/acceptance/features/apiSearch1/favoriteSearch.feature @@ -68,8 +68,6 @@ Feature: search for favorites | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile.txt" synced - And user "Brian" has a share "parent" synced And user "Brian" has marked file "textfile.txt" as favorite from space "Shares" And user "Brian" has marked folder "parent/sub" as favorite from space "Shares" When user "Brian" searches for 'is:favorite' using the WebDAV API @@ -157,7 +155,6 @@ Feature: search for favorites | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile.txt" synced And user "Brian" has marked file "textfile.txt" as favorite from space "Shares" And user "Alice" has removed the access of user "Brian" from resource "textfile.txt" of space "Personal" When user "Brian" searches for 'is:favorite' using the WebDAV API diff --git a/tests/acceptance/features/apiSearch1/search.feature b/tests/acceptance/features/apiSearch1/search.feature index 70cef0bf4c..2587ced71c 100644 --- a/tests/acceptance/features/apiSearch1/search.feature +++ b/tests/acceptance/features/apiSearch1/search.feature @@ -27,7 +27,6 @@ Feature: Search | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "BrianPersonal" synced When user "Alice" searches for "*inside*" inside space "project101" using the WebDAV API Then the HTTP status code should be "207" And the search result should contain "1" entries @@ -55,7 +54,6 @@ Feature: Search | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "BrianPersonal" synced When user "Alice" searches for "*inside*" inside space "Personal" using the WebDAV API Then the HTTP status code should be "207" And the search result should contain "1" entries @@ -83,7 +81,6 @@ Feature: Search | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "BrianPersonal" synced When user "Alice" searches for "*inside*" inside space "Shares" using the WebDAV API Then the HTTP status code should be "207" And the search result should contain "0" entries @@ -166,7 +163,6 @@ Feature: Search | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folderMain" synced And user "Brian" has disabled sync of last shared resource When user "Brian" searches for "*folder*" using the WebDAV API Then the HTTP status code should be "207" @@ -229,7 +225,6 @@ Feature: Search | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folderMain" synced When user "Brian" searches for "*folder*" inside folder "/folderMain" in space "Shares" using the WebDAV API Then the HTTP status code should be "207" And the search result of user "Brian" should contain only these entries: @@ -312,7 +307,6 @@ Feature: Search | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "foo" synced When user "Brian" searches for "shared*" using the WebDAV API Then the HTTP status code should be "207" And the search result of user "Brian" should contain these entries: @@ -367,7 +361,6 @@ Feature: Search | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "BrianPersonal" synced When user "Alice" searches for "*inside*" using the WebDAV API Then the HTTP status code should be "207" And the search result should contain "3" entries diff --git a/tests/acceptance/features/apiSearch2/mediaTypeSearch.feature b/tests/acceptance/features/apiSearch2/mediaTypeSearch.feature index 6d7a200ee2..929b061b5b 100644 --- a/tests/acceptance/features/apiSearch2/mediaTypeSearch.feature +++ b/tests/acceptance/features/apiSearch2/mediaTypeSearch.feature @@ -115,7 +115,6 @@ Feature: media type search | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "uploadFolder" synced When user "Brian" searches for "mediatype:" using the WebDAV API Then the HTTP status code should be "207" And the search result should contain "1" entries diff --git a/tests/acceptance/features/apiSearch2/tagSearch.feature b/tests/acceptance/features/apiSearch2/tagSearch.feature index 94fc1306d2..a4c61c70ce 100644 --- a/tests/acceptance/features/apiSearch2/tagSearch.feature +++ b/tests/acceptance/features/apiSearch2/tagSearch.feature @@ -123,7 +123,6 @@ Feature: tag search | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "uploadFolder" synced And user "Brian" has created the following tags for file "uploadFolder/file2.txt" of the space "Shares": | tag1 | When user "Brian" searches for "Tags:tag1" using the WebDAV API diff --git a/tests/acceptance/features/apiSearchContent/contentSearch.feature b/tests/acceptance/features/apiSearchContent/contentSearch.feature index 716d6574f7..2e58f812fd 100644 --- a/tests/acceptance/features/apiSearchContent/contentSearch.feature +++ b/tests/acceptance/features/apiSearchContent/contentSearch.feature @@ -98,7 +98,6 @@ Feature: content search | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "uploadFolder" synced When user "Brian" searches for "Content:hello" using the WebDAV API Then the HTTP status code should be "207" And the search result of user "Brian" should contain only these files: diff --git a/tests/acceptance/features/apiSearchContent/extractedProps.feature b/tests/acceptance/features/apiSearchContent/extractedProps.feature index 393244330c..26561a2f46 100644 --- a/tests/acceptance/features/apiSearchContent/extractedProps.feature +++ b/tests/acceptance/features/apiSearchContent/extractedProps.feature @@ -89,14 +89,12 @@ Feature: propfind extracted props | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "testaudio.mp3" synced And user "Alice" has sent the following resource share invitation: | resource | testavatar.jpg | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "testavatar.jpg" synced When user "Brian" gets the following extracted properties of resource "testaudio.mp3" inside space "Shares" using the WebDAV API | propertyName | | oc:audio | @@ -376,7 +374,6 @@ Feature: propfind extracted props | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "testaudio.mp3" synced When user "Brian" gets the file "testaudio.mp3" from space "Shares" using the Graph API Then the HTTP status code should be "200" And the JSON data of the response should eventually match @@ -432,7 +429,6 @@ Feature: propfind extracted props | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "testavatar.jpg" synced When user "Brian" gets the file "testavatar.jpg" from space "Shares" using the Graph API Then the HTTP status code should be "200" And the JSON data of the response should eventually match diff --git a/tests/acceptance/features/apiSharingNg1/enableDisablePermissionsRole.feature b/tests/acceptance/features/apiSharingNg1/enableDisablePermissionsRole.feature index c561efcfd1..eb195e1ab9 100644 --- a/tests/acceptance/features/apiSharingNg1/enableDisablePermissionsRole.feature +++ b/tests/acceptance/features/apiSharingNg1/enableDisablePermissionsRole.feature @@ -22,7 +22,6 @@ Feature: enable disable permissions role | sharee | Brian | | shareType | user | | permissionsRole | Secure Viewer | - And user "Brian" has a share "" synced And the administrator has disabled the permissions role "Secure Viewer" When user "Alice" lists the shares shared by her using the Graph API Then the HTTP status code should be "200" @@ -232,7 +231,6 @@ Feature: enable disable permissions role | sharee | Brian | | shareType | user | | permissionsRole | Secure Viewer | - And user "Brian" has a share "" synced And the administrator has disabled the permissions role "Secure Viewer" When user "Alice" lists the shares shared by her using the Graph API Then the HTTP status code should be "200" diff --git a/tests/acceptance/features/apiSharingNg1/enableDisableShareSync.feature b/tests/acceptance/features/apiSharingNg1/enableDisableShareSync.feature index 52c475a128..90a548c3da 100644 --- a/tests/acceptance/features/apiSharingNg1/enableDisableShareSync.feature +++ b/tests/acceptance/features/apiSharingNg1/enableDisableShareSync.feature @@ -20,7 +20,6 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced When user "Brian" disables sync of share "" using the Graph API Then the HTTP status code should be "204" When user "Brian" lists the shares shared with him using the Graph API @@ -142,7 +141,6 @@ Feature: enable or disable sync of incoming shares | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Alice" has a share "" synced When user "Alice" disables sync of share "" using the Graph API Then the HTTP status code should be "204" And user "Alice" should have sync disabled for share "" @@ -198,7 +196,6 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced When user "Brian" disables sync of share "" using the Graph API Then the HTTP status code should be "204" When user "Brian" lists the shares shared with him using the Graph API @@ -292,7 +289,6 @@ Feature: enable or disable sync of incoming shares | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Alice" has a share "" synced When user "Alice" disables sync of share "" using the Graph API Then the HTTP status code should be "204" And user "Alice" should have sync disabled for share "" @@ -542,7 +538,6 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And the user "Admin" has deleted a user "Alice" When user "Brian" disables sync of share "textfile0.txt" using the Graph API Then the HTTP status code should be "204" @@ -771,7 +766,6 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced When user "Brian" enables sync of share "" offered by "Alice" from "Personal" space using the Graph API Then the HTTP status code should be "409" And the JSON data of the response should match @@ -821,7 +815,6 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced And user "Brian" has disabled sync of last shared resource When user "Brian" disables sync of share "" using the Graph API Then the HTTP status code should be "409" @@ -874,7 +867,6 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced When user "Brian" enables sync of share "" offered by "Alice" from "NewSpace" space using the Graph API Then the HTTP status code should be "409" And the JSON data of the response should match @@ -926,7 +918,6 @@ Feature: enable or disable sync of incoming shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced And user "Brian" has disabled sync of last shared resource And user "Brian" disables sync of share "" using the Graph API Then the HTTP status code should be "409" diff --git a/tests/acceptance/features/apiSharingNg1/listPermissions.feature b/tests/acceptance/features/apiSharingNg1/listPermissions.feature index f91d0f31f8..08ba662934 100644 --- a/tests/acceptance/features/apiSharingNg1/listPermissions.feature +++ b/tests/acceptance/features/apiSharingNg1/listPermissions.feature @@ -52,7 +52,6 @@ Feature: List a sharing permissions | sharee | Carol | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile.txt" synced When user "Brian" gets permissions list of shared resource "textfile.txt" using the Graph API Then the HTTP status code should be "200" And the permissions list of the response should contain a grant for user "Carol" @@ -1802,7 +1801,6 @@ Feature: List a sharing permissions | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folder" synced And user "Alice" has created the following resource link share: | resource | folder | | space | Personal | @@ -1907,7 +1905,6 @@ Feature: List a sharing permissions | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And user "Alice" has created the following resource link share: | resource | textfile0.txt | | space | Personal | @@ -2011,7 +2008,6 @@ Feature: List a sharing permissions | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folder" synced And user "Alice" has created the following resource link share: | resource | folder | | space | new-space | @@ -2119,7 +2115,6 @@ Feature: List a sharing permissions | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And user "Alice" has created the following resource link share: | resource | textfile0.txt | | space | new-space | diff --git a/tests/acceptance/features/apiSharingNg1/propfindShares.feature b/tests/acceptance/features/apiSharingNg1/propfindShares.feature index c24c3b027e..23b1b1d4f5 100644 --- a/tests/acceptance/features/apiSharingNg1/propfindShares.feature +++ b/tests/acceptance/features/apiSharingNg1/propfindShares.feature @@ -23,14 +23,12 @@ Feature: propfind a shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced And user "Carol" has sent the following resource share invitation: | resource | | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced When user "Brian" sends PROPFIND request from the space "Shares" to the resource "/" using the WebDAV API Then the HTTP status code should be "207" And as user "Brian" the PROPFIND response should contain a space "Shares" with these key and value pairs: @@ -67,14 +65,12 @@ Feature: propfind a shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folderToShare" synced And user "Carol" has sent the following resource share invitation: | resource | folderToShare | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folderToShare (1)" synced When user "Brian" sends PROPFIND request from the space "Shares" to the resource "folderToShare (1)" using the WebDAV API Then the HTTP status code should be "207" And as user "Brian" the PROPFIND response should contain a resource "folderToShare (1)" with these key and value pairs: @@ -99,7 +95,6 @@ Feature: propfind a shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced When user "Brian" sends PROPFIND request to space "Shares" with depth "1" using the WebDAV API Then the HTTP status code should be "207" And as user "Brian" the key "oc:fileid" from PROPFIND response should match with shared-with-me drive-item-id of share "" @@ -119,7 +114,6 @@ Feature: propfind a shares | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folderToShare" synced When user "Brian" sends PROPFIND request from the space "Shares" to the resource "/" using the WebDAV API Then the HTTP status code should be "207" And as user "Brian" the PROPFIND response should contain a resource "folderToShare" with these key and value pairs: diff --git a/tests/acceptance/features/apiSharingNg1/shareFileVersions.feature b/tests/acceptance/features/apiSharingNg1/shareFileVersions.feature index 73f3df8266..75848d61f7 100644 --- a/tests/acceptance/features/apiSharingNg1/shareFileVersions.feature +++ b/tests/acceptance/features/apiSharingNg1/shareFileVersions.feature @@ -24,7 +24,6 @@ Feature: file versions of a shared resource | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "text.txt" synced When user "Brian" gets the number of versions of shared resource "text.txt" Then the HTTP status code should be "207" And the number of versions should be "1" @@ -44,7 +43,6 @@ Feature: file versions of a shared resource | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "text.txt" synced When user "Brian" gets the number of versions of shared resource "text.txt" Then the HTTP status code should be "207" And the number of versions should be "1" diff --git a/tests/acceptance/features/apiSharingNgAdditionalShareRole/listGrantsShareRole.feature b/tests/acceptance/features/apiSharingNgAdditionalShareRole/listGrantsShareRole.feature index 0b9e790ffa..f072ca400f 100644 --- a/tests/acceptance/features/apiSharingNgAdditionalShareRole/listGrantsShareRole.feature +++ b/tests/acceptance/features/apiSharingNgAdditionalShareRole/listGrantsShareRole.feature @@ -1034,7 +1034,6 @@ Feature: ListGrants role | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folder" synced Then for user "Brian" folder "folder" of the space "Shares" should have the following activities: | {user} added {resource} to {folder} | | {user} shared {resource} with {sharee} | diff --git a/tests/acceptance/features/apiSpaces/filePreviews.feature b/tests/acceptance/features/apiSpaces/filePreviews.feature index 20e92a4e86..6a261956f1 100644 --- a/tests/acceptance/features/apiSpaces/filePreviews.feature +++ b/tests/acceptance/features/apiSpaces/filePreviews.feature @@ -49,7 +49,6 @@ Feature: Preview file in project space | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "" synced When user "Brian" downloads the preview of shared resource "/Shares/" with width "32" and height "32" using the WebDAV API Then the HTTP status code should be "200" And the downloaded image should be "32" pixels wide and "32" pixels high @@ -69,7 +68,6 @@ Feature: Preview file in project space | sharee | Brian | | shareType | user | | permissionsRole | Secure Viewer | - And user "Brian" has a share "" synced When user "Brian" downloads the preview of shared resource "/Shares/" with width "32" and height "32" using the WebDAV API Then the HTTP status code should be "403" Examples: @@ -88,7 +86,6 @@ Feature: Preview file in project space | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folder" synced When user "Brian" downloads the preview of shared resource "Shares/folder/lorem.txt" with width "32" and height "32" using the WebDAV API Then the HTTP status code should be "200" And the downloaded image should be "32" pixels wide and "32" pixels high diff --git a/tests/acceptance/features/apiSpaces/listSpaces.feature b/tests/acceptance/features/apiSpaces/listSpaces.feature index 994ec2da62..3828fb013a 100644 --- a/tests/acceptance/features/apiSpaces/listSpaces.feature +++ b/tests/acceptance/features/apiSpaces/listSpaces.feature @@ -83,7 +83,6 @@ Feature: List and create spaces | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "folder" synced When user "Alice" lists all available spaces via the Graph API with query "$filter=driveType eq 'personal'" Then the HTTP status code should be "200" And the JSON response should contain space called "Alice Hansen" and match diff --git a/tests/acceptance/features/apiSpaces/tag.feature b/tests/acceptance/features/apiSpaces/tag.feature index 47199a76fb..f9c6ff04f1 100644 --- a/tests/acceptance/features/apiSpaces/tag.feature +++ b/tests/acceptance/features/apiSpaces/tag.feature @@ -114,7 +114,6 @@ Feature: Tag | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folderMain" synced When user "Brian" lists all available tags via the Graph API Then the HTTP status code should be "200" And the response should contain following tags: @@ -129,7 +128,6 @@ Feature: Tag | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folderMain" synced When user "Brian" creates the following tags for "" of space "Shares": | tag in a shared resource | | second tag | @@ -154,7 +152,6 @@ Feature: Tag | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folderMain" synced And user "Alice" has created the following tags for "" of the space "use-tag": | tag in a shared resource | | second tag | diff --git a/tests/acceptance/features/apiSpaces/tusUpload.feature b/tests/acceptance/features/apiSpaces/tusUpload.feature index 9770dbcc0a..0ed6a9b63d 100644 --- a/tests/acceptance/features/apiSpaces/tusUpload.feature +++ b/tests/acceptance/features/apiSpaces/tusUpload.feature @@ -51,7 +51,6 @@ Feature: upload resources using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "testFolder" synced When user "Brian" uploads file "filesForUpload/zerobyte.txt" to "Shares/testFolder/textfile.txt" using the TUS protocol on the WebDAV API Then the content of file "Shares/testFolder/textfile.txt" for user "Brian" should be "" And the content of file "testFolder/textfile.txt" for user "Alice" should be "" @@ -71,7 +70,6 @@ Feature: upload resources using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "testFolder" synced When user "Brian" uploads a file from "filesForUpload/zerobyte.txt" to "testFolder/textfile.txt" via TUS inside of the space "Shares" using the WebDAV API Then for user "Brian" the content of the file "testFolder/textfile.txt" of the space "Shares" should be "" And for user "Alice" the content of the file "testFolder/textfile.txt" of the space "Personal" should be "" @@ -95,7 +93,6 @@ Feature: upload resources using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced When user "Brian" uploads file "filesForUpload/zerobyte.txt" to "Shares/textfile.txt" using the TUS protocol on the WebDAV API Then the content of file "Shares/textfile.txt" for user "Brian" should be "" And the content of file "textfile.txt" for user "Alice" should be "" @@ -115,7 +112,6 @@ Feature: upload resources using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced When user "Brian" uploads a file from "filesForUpload/zerobyte.txt" to "textfile.txt" via TUS inside of the space "Shares" using the WebDAV API Then for user "Brian" the content of the file "textfile.txt" of the space "Shares" should be "" And for user "Alice" the content of the file "textfile.txt" of the space "Personal" should be "" diff --git a/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature index 7ec03e899f..b7d0effeb7 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/copyByFileId.feature @@ -139,7 +139,6 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folder" synced When user "Brian" copies file with id "<>" as "test.txt" into folder "Shares/folder" inside space "Shares" Then the HTTP status code should be "201" And for user "Brian" folder "folder" of the space "Shares" should contain these files: @@ -161,7 +160,6 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folder" synced And user "Brian" has uploaded file with content "some data" to "/test.txt" And we save it into "FILEID" And user "Brian" has a share "folder" synced @@ -186,7 +184,6 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folder" synced When user "Brian" copies file with id "<>" as "/test.txt" into folder "/" inside space "Personal" Then the HTTP status code should be "201" And for user "Brian" folder "folder" of the space "Shares" should contain these files: @@ -214,7 +211,6 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | Secure Viewer | - And user "Brian" has a share "folder" synced When user "Brian" copies file with id "<>" as "/test.txt" into folder "/" inside space "Personal" Then the HTTP status code should be "403" And for user "Brian" folder "folder" of the space "Shares" should contain these files: @@ -235,7 +231,6 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folder" synced And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has sent the following space share invitation: | space | project-space | @@ -273,7 +268,6 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folder" synced And user "Alice" has created a space "project-space" with the default quota using the Graph API And user "Alice" has sent the following space share invitation: | space | project-space | @@ -310,14 +304,12 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "share1" synced And user "Alice" has sent the following resource share invitation: | resource | share2 | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "share2" synced When user "Brian" copies file with id "<>" as "/test.txt" into folder "share2" inside space "Shares" Then the HTTP status code should be "201" And for user "Brian" folder "share1" of the space "Shares" should contain these files: @@ -351,14 +343,12 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "share1" synced And user "Alice" has sent the following resource share invitation: | resource | share2 | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "share2" synced When user "Brian" copies file with id "<>" as "test.txt" into folder "share2" inside space "Shares" Then the HTTP status code should be "403" And for user "Brian" folder "share1" of the space "Shares" should contain these files: @@ -492,7 +482,6 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "testshare" synced When user "Brian" copies file with id "<>" as "textfile.txt" into folder "testshare" inside space "Shares" Then the HTTP status code should be "201" And for user "Brian" folder "/" of the space "project-space" should contain these files: @@ -530,7 +519,6 @@ Feature: copying file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "testshare" synced When user "Brian" copies file with id "<>" as "textfile.txt" into folder "testshare" inside space "Shares" Then the HTTP status code should be "403" And for user "Brian" folder "/" of the space "project-space" should contain these files: diff --git a/tests/acceptance/features/apiSpacesDavOperation/deleteByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/deleteByFileId.feature index c5da8ae4cb..9d790da46a 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/deleteByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/deleteByFileId.feature @@ -22,7 +22,6 @@ Feature: deleting resources using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folderToShare" synced When user "Brian" deletes folder "folderToShare" from space "Personal" using file-id "<>" Then the HTTP status code should be "403" And as "Alice" folder "folderToShare" should exist diff --git a/tests/acceptance/features/apiSpacesDavOperation/fileVersionByFileID.feature b/tests/acceptance/features/apiSpacesDavOperation/fileVersionByFileID.feature index ebf81670c6..9fbb97f939 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/fileVersionByFileID.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/fileVersionByFileID.feature @@ -39,7 +39,6 @@ Feature: checking file versions using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "text.txt" synced When user "Alice" gets the number of versions of file "/text.txt" using file-id "<>" Then the HTTP status code should be "207" And the number of versions should be "1" @@ -105,7 +104,6 @@ Feature: checking file versions using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folderToShare" synced When user "Brian" gets the number of versions of file "/Shares/folderToShare/insideText.txt" using file-id "<>" Then the HTTP status code should be "207" And the number of versions should be "1" @@ -127,7 +125,6 @@ Feature: checking file versions using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "text.txt" synced And user "Alice" has moved file "text.txt" to "/testFolder/movedText.txt" in space "Project1" When user "Alice" gets the number of versions of file "/testFolder/movedText.txt" using file-id "<>" Then the HTTP status code should be "207" @@ -148,7 +145,6 @@ Feature: checking file versions using file id | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "testFolder" synced And user "Alice" has sent the following space share invitation: | space | Project1 | | sharee | Brian | diff --git a/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature index a2cf37d166..039df46100 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature @@ -54,7 +54,6 @@ Feature: accessing files using file id | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile.txt" synced When user "Brian" sends HTTP method "GET" to URL "" Then the HTTP status code should be "200" And the downloaded content should be "some data" @@ -74,7 +73,6 @@ Feature: accessing files using file id | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "uploadFolder" synced When user "Brian" sends HTTP method "GET" to URL "" Then the HTTP status code should be "200" And the downloaded content should be "some data" diff --git a/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature index 9354312800..9e48eb0766 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature @@ -76,7 +76,6 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folder" synced And user "Brian" has uploaded file with content "some data" to "/test.txt" And we save it into "FILEID" When user "Brian" moves file with id "<>" as "test.txt" into folder "folder" inside space "Shares" @@ -310,7 +309,6 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "testshare" synced When user "Brian" moves file with id "<>" as "textfile.txt" into folder "testshare" inside space "Shares" Then the HTTP status code should be "502" And for user "Brian" folder "/" of the space "project-space" should contain these files: @@ -377,7 +375,6 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folder" synced When user "Brian" moves file with id "<>" as "test.txt" into folder "folder/sub-folder" inside space "Shares" Then the HTTP status code should be "201" And for user "Brian" folder "folder/sub-folder" of the space "Shares" should contain these files: @@ -401,7 +398,6 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "/folder" synced When user "Brian" moves file with id "<>" as "test.txt" into folder "folder" inside space "Shares" Then the HTTP status code should be "403" And as "Alice" file "test.txt" should not exist in the trashbin of the space "Personal" @@ -421,7 +417,6 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folder" synced When user "Brian" moves file with id "<>" as "test.txt" into folder "folder/sub-folder" inside space "Shares" Then the HTTP status code should be "502" And for user "Brian" folder "folder/sub-folder" of the space "Shares" should not contain these files: @@ -446,14 +441,12 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "testshare1" synced And user "Alice" has sent the following resource share invitation: | resource | testshare2 | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "testshare2" synced When user "Brian" moves file with id "<>" as "textfile.txt" into folder "testshare2" inside space "Shares" Then the HTTP status code should be "502" And for user "Brian" folder "testshare1" of the space "Shares" should contain these files: @@ -483,14 +476,12 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "aliceShare" synced And user "Carol" has sent the following resource share invitation: | resource | carolShare | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "carolShare" synced When user "Brian" moves file "aliceFile.txt" from share "aliceShare" to "carolFile.txt" in share "carolShare" using the WebDAV API Then the HTTP status code should be "502" And for user "Carol" the content of the file "carolShare/carolFile.txt" of the space "Personal" should be "from Carol" @@ -508,7 +499,6 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folder" synced When user "Brian" moves file with id "<>" as "test.txt" into folder "/" inside space "Personal" Then the HTTP status code should be "" And for user "Brian" folder "folder" of the space "Shares" should contain these files: @@ -539,7 +529,6 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "testshare" synced When user "Brian" moves file with id "<>" as "textfile.txt" into folder "/" inside space "project-space" Then the HTTP status code should be "" And for user "Brian" folder "testshare" of the space "Shares" should contain these files: @@ -629,7 +618,6 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folder" synced When user "Brian" renames file with id "<>" to "folder/sub-folder/renamed.txt" inside space "Shares" Then the HTTP status code should be "201" And for user "Brian" folder "folder/sub-folder" of the space "Shares" should contain these files: @@ -650,7 +638,6 @@ Feature: moving/renaming file using file id | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "folder" synced When user "Brian" renames file with id "<>" to "folder/sub-folder/renamed.txt" inside space "Shares" Then the HTTP status code should be "502" And for user "Brian" folder "folder" of the space "Shares" should contain these files: diff --git a/tests/acceptance/features/apiSpacesDavOperation/ownerSpaceByDriveId.feature b/tests/acceptance/features/apiSpacesDavOperation/ownerSpaceByDriveId.feature index 9dd05562f7..e365783233 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/ownerSpaceByDriveId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/ownerSpaceByDriveId.feature @@ -18,7 +18,6 @@ Feature: access the space of the share owner using the drive id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folderToShare" synced Scenario: sharee cannot access the space of the owner using its drive id diff --git a/tests/acceptance/features/apiSpacesDavOperation/propfindByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/propfindByFileId.feature index 4f253b7041..62444281c1 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/propfindByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/propfindByFileId.feature @@ -104,7 +104,6 @@ Feature: propfind a file using file id | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced When user "Brian" sends HTTP method "PROPFIND" to URL "" Then the HTTP status code should be "207" And as user "Brian" the PROPFIND response should contain a resource "<>" with these key and value pairs: @@ -125,7 +124,6 @@ Feature: propfind a file using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folder" synced And user "Alice" has uploaded file with content "some data" to "/folder/textfile.txt" And we save it into "FILEID" When user "Brian" sends HTTP method "PROPFIND" to URL "" diff --git a/tests/acceptance/features/apiSpacesDavOperation/updateFileByFileId.feature b/tests/acceptance/features/apiSpacesDavOperation/updateFileByFileId.feature index e91494feae..631a6509bc 100644 --- a/tests/acceptance/features/apiSpacesDavOperation/updateFileByFileId.feature +++ b/tests/acceptance/features/apiSpacesDavOperation/updateFileByFileId.feature @@ -54,7 +54,6 @@ Feature: update files using file id | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced When user "Brian" sends HTTP method "PUT" to URL "" with content "updated content" Then the HTTP status code should be "204" And for user "Alice" the content of the file "/textfile.txt" of the space "Personal" should be "updated content" @@ -75,7 +74,6 @@ Feature: update files using file id | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "uploadFolder" synced When user "Brian" sends HTTP method "PUT" to URL "" with content "updated content" Then the HTTP status code should be "204" And for user "Alice" the content of the file "uploadFolder/textfile.txt" of the space "Personal" should be "updated content" diff --git a/tests/acceptance/features/apiSpacesShares/changingFilesShare.feature b/tests/acceptance/features/apiSpacesShares/changingFilesShare.feature index 4ecd24c995..60a3aeb92a 100644 --- a/tests/acceptance/features/apiSpacesShares/changingFilesShare.feature +++ b/tests/acceptance/features/apiSpacesShares/changingFilesShare.feature @@ -23,14 +23,12 @@ Feature: change shared resource | sharee | Carol | | shareType | user | | permissionsRole | Editor | - And user "Carol" has a share "PARENT" synced And user "Brian" has sent the following resource share invitation: | resource | PARENT | | space | Personal | | sharee | Carol | | shareType | user | | permissionsRole | Editor | - And user "Carol" has a share "PARENT (1)" synced When user "Carol" moves file "PARENT/from_alice.txt" to "PARENT (1)/from_alice.txt" in space "Shares" using the WebDAV API Then the HTTP status code should be "502" And for user "Carol" folder "PARENT" of the space "Shares" should contain these entries: @@ -49,7 +47,6 @@ Feature: change shared resource | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile1.txt" synced When user "Brian" uploads a file inside space "Shares" with content "this is a new content" to "textfile1.txt" using the WebDAV API Then the HTTP status code should be "204" And for user "Brian" the space "Shares" should contain these entries: diff --git a/tests/acceptance/features/apiSpacesShares/checksum.feature b/tests/acceptance/features/apiSpacesShares/checksum.feature index c5bad870f8..44320ac844 100644 --- a/tests/acceptance/features/apiSpacesShares/checksum.feature +++ b/tests/acceptance/features/apiSpacesShares/checksum.feature @@ -17,7 +17,6 @@ Feature: checksums | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "myChecksumFile.txt" synced When user "Brian" requests the checksum of file "/myChecksumFile.txt" in space "Shares" via propfind using the WebDAV API Then the HTTP status code should be "207" And the webdav checksum should match "SHA1:3ee962b839762adb0ad8ba6023a4690be478de6f MD5:d70b40f177b14b470d1756a3c12b963a ADLER32:8ae90960" @@ -31,7 +30,6 @@ Feature: checksums | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "myChecksumFile.txt" synced When user "Brian" uploads file with checksum "SHA1:ce5582148c6f0c1282335b87df5ed4be4b781399" and content "Some Text" to "/myChecksumFile.txt" in space "Shares" using the WebDAV API Then the HTTP status code should be "204" And as user "Alice" the webdav checksum of "/myChecksumFile.txt" via propfind should match "SHA1:ce5582148c6f0c1282335b87df5ed4be4b781399 MD5:56e57920c3c8c727bfe7a5288cdf61c4 ADLER32:1048035a" diff --git a/tests/acceptance/features/apiSpacesShares/copySpaces.feature b/tests/acceptance/features/apiSpacesShares/copySpaces.feature index df1ccb7c9a..628c7d4c2d 100644 --- a/tests/acceptance/features/apiSpacesShares/copySpaces.feature +++ b/tests/acceptance/features/apiSpacesShares/copySpaces.feature @@ -138,7 +138,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/project.txt" from space "Project" to "/testshare/project.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "201" And for user "Alice" folder "testshare" of the space "Shares" should contain these files: @@ -167,7 +166,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/project.txt" from space "Project" to "/testshare/project.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "403" And for user "Alice" folder "testshare" of the space "Shares" should not contain these files: @@ -222,7 +220,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare" synced And user "Alice" has uploaded file with content "personal content" to "personal.txt" When user "Alice" copies file "/personal.txt" from space "Personal" to "/testshare/personal.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "201" @@ -239,7 +236,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "testshare" synced And user "Alice" has uploaded file with content "personal content" to "/personal.txt" When user "Alice" copies file "/personal.txt" from space "Personal" to "/testshare/personal.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "403" @@ -257,7 +253,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/testshare/testshare.txt" from space "Shares" to "/testshare.txt" inside space "Personal" using the WebDAV API Then the HTTP status code should be "201" And for user "Alice" the space "Personal" should contain these entries: @@ -280,7 +275,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Secure Viewer | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/testshare/testshare.txt" from space "Shares" to "/testshare.txt" inside space "Personal" using the WebDAV API Then the HTTP status code should be "403" And for user "Alice" the space "Personal" should not contain these entries: @@ -303,7 +297,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/testshare/testshare.txt" from space "Shares" to "/testshare.txt" inside space "Project" using the WebDAV API Then the HTTP status code should be "201" And for user "Alice" the space "Project" should contain these entries: @@ -360,7 +353,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/testshare/testshare.txt" from space "Shares" to "/testshare.txt" inside space "Project" using the WebDAV API Then the HTTP status code should be "403" And for user "Alice" the space "Project" should not contain these entries: @@ -381,14 +373,12 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare1" synced And user "Brian" has sent the following resource share invitation: | resource | testshare2 | | space | Personal | | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare2" synced When user "Alice" copies file "/testshare1/testshare1.txt" from space "Shares" to "/testshare2/testshare1.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "201" And for user "Alice" folder "testshare2" of the space "Shares" should contain these files: @@ -527,7 +517,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" copies folder "/folder1" from space "Project" to "/testshare/folder1" inside space "Shares" using the WebDAV API Then the HTTP status code should be "" And for user "Alice" folder "" of the space "Shares" contain these files: @@ -571,7 +560,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced And user "Alice" has created folder "folder1" And user "Alice" has uploaded file with content "some content" to "folder1/demo.txt" When user "Alice" copies folder "/folder1" from space "Personal" to "/testshare/folder1" inside space "Shares" using the WebDAV API @@ -594,7 +582,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/testshare/testshare.txt" from space "Shares" to "/testshare.txt" inside space "Personal" using the WebDAV API Then the HTTP status code should be "201" And for user "Alice" the space "Personal" should contain these entries: @@ -623,7 +610,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" copies folder "/testshare/folder1" from space "Shares" to "folder1" inside space "Project" using the WebDAV API Then the HTTP status code should be "201" And for user "Alice" folder "folder1" of the space "Project" should contain these files: @@ -653,7 +639,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" copies folder "/testshare/folder1" from space "Shares" to "folder1" inside space "Project" using the WebDAV API Then the HTTP status code should be "403" And for user "Alice" folder "/" of the space "Project" should not contain these files: @@ -673,7 +658,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "testshare" synced And user "Alice" has uploaded file with content "OpenCloud test text file 0" to "/textfile0.txt" When user "Alice" copies file "/textfile0.txt" from space "Personal" to "/testshare/textfile0.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "403" @@ -691,7 +675,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/textfile0.txt" from space "Personal" to "/testshare/overwritethis.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "403" And for user "Alice" the content of the file "/testshare/overwritethis.txt" of the space "Shares" should be "OpenCloud test text file 1" @@ -708,7 +691,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-Folder" synced When user "Alice" copies file "/textfile1.txt" from space "Personal" to "/BRIAN-Folder" inside space "Shares" using the WebDAV API Then the HTTP status code should be "400" And as "Alice" folder "Shares/BRIAN-Folder/sample-folder" should exist @@ -729,7 +711,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | File Editor | - And user "Alice" has a share "sharedfile1.txt" synced When user "Alice" copies folder "/FOLDER" from space "Personal" to "/sharedfile1.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "400" And for user "Alice" the content of the file "sharedfile1.txt" of the space "Shares" should be "file to share" @@ -750,7 +731,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "/Sample-Folder-A" And user "Alice" has created folder "/Sample-Folder-A/sample-folder-b" And user "Alice" has created folder "/Sample-Folder-A/sample-folder-b/sample-folder-c" @@ -777,7 +757,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "/Sample-Folder-A" And user "Alice" has created folder "/Sample-Folder-A/sample-folder-b" And user "Alice" has uploaded file with content "sample file-c" to "/Sample-Folder-A/sample-folder-b/textfile-c.txt" @@ -805,7 +784,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "/Sample-Folder-A" And user "Alice" has created folder "/Sample-Folder-A/sample-folder-b" And user "Alice" has uploaded file with content "sample file-c" to "/Sample-Folder-A/sample-folder-b/textfile-c.txt" @@ -837,7 +815,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced When user "Alice" copies folder "/FOLDER/second-level-folder" from space "Personal" to "/BRIAN-FOLDER/second-level-folder/third-level-file.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "204" And for user "Alice" folder "BRIAN-FOLDER/second-level-folder/third-level-file.txt" of the space "Shares" should contain these entries: @@ -863,7 +840,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "/Sample-Folder-A" And user "Alice" has created folder "/Sample-Folder-A/sample-folder-b" And user "Alice" has created folder "/Sample-Folder-A/sample-folder-b/sample-folder-c" @@ -891,7 +867,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "/Sample-Folder-A" And user "Alice" has created folder "/Sample-Folder-A/sample-folder-b" And user "Alice" has uploaded file with content "sample file-c" to "/Sample-Folder-A/sample-folder-b/textfile-c.txt" @@ -919,7 +894,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "/Sample-Folder-A" And user "Alice" has created folder "/Sample-Folder-A/sample-folder-b" And user "Alice" has uploaded file with content "sample file-c" to "/Sample-Folder-A/sample-folder-b/textfile-c.txt" @@ -950,7 +924,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "/FOLDER" And user "Alice" has created folder "/FOLDER/second-level-folder" And user "Alice" has created folder "/FOLDER/second-level-folder/third-level-folder" @@ -1011,7 +984,6 @@ Feature: copy file | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "newfolder" synced And user "Brian" has uploaded file with content "new content" to "/personal.txt" When user "Brian" copies file "/personal.txt" from space "Personal" to "/newfolder/personal (1).txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "201" @@ -1036,7 +1008,6 @@ Feature: copy file | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "newfolder" synced And user "Brian" has uploaded file with content "new content" to "/personal.txt" When user "Brian" overwrites file "/personal.txt" from space "Personal" to "/newfolder/personal.txt" inside space "Shares" while copying using the WebDAV API Then the HTTP status code should be "204" diff --git a/tests/acceptance/features/apiSpacesShares/createFileFolderWhenSharesSpaceExist.feature b/tests/acceptance/features/apiSpacesShares/createFileFolderWhenSharesSpaceExist.feature index e7de5ca105..e36e87ba3e 100644 --- a/tests/acceptance/features/apiSpacesShares/createFileFolderWhenSharesSpaceExist.feature +++ b/tests/acceptance/features/apiSpacesShares/createFileFolderWhenSharesSpaceExist.feature @@ -15,7 +15,6 @@ Feature: create file or folder named similar to Shares folder | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "FOLDER" synced Scenario Outline: create a folder with a name similar to Shares diff --git a/tests/acceptance/features/apiSpacesShares/etagPropagation.feature b/tests/acceptance/features/apiSpacesShares/etagPropagation.feature index 78a2dde0d2..923fefb77a 100644 --- a/tests/acceptance/features/apiSpacesShares/etagPropagation.feature +++ b/tests/acceptance/features/apiSpacesShares/etagPropagation.feature @@ -20,7 +20,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/upload/file.txt" inside space "Personal" @@ -53,7 +52,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/upload/file.txt" inside space "Personal" @@ -86,7 +84,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/upload/file.txt" on path "/upload/renamed.txt" inside space "Personal" @@ -115,7 +112,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/upload/file.txt" on path "/upload/renamed.txt" inside space "Personal" @@ -145,14 +141,12 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has sent the following resource share invitation: | resource | dst | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "dst" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/dst" inside space "Personal" @@ -181,14 +175,12 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has sent the following resource share invitation: | resource | dst | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "dst" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/dst" inside space "Personal" @@ -214,7 +206,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Brian" has stored etag of element "/" inside space "Shares" @@ -236,7 +227,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Brian" has stored etag of element "/" inside space "Shares" @@ -258,7 +248,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Brian" has stored etag of element "/" inside space "Shares" @@ -280,7 +269,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Brian" has stored etag of element "/" inside space "Shares" @@ -303,7 +291,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Brian" has stored etag of element "/" inside space "Shares" @@ -326,7 +313,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Brian" has stored etag of element "/" inside space "Shares" @@ -350,7 +336,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/upload/sub" inside space "Personal" @@ -382,7 +367,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/upload/sub" inside space "Personal" @@ -414,7 +398,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/upload/sub" inside space "Personal" @@ -446,7 +429,6 @@ Feature: check etag propagation after different file alterations | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" inside space "Personal" And user "Alice" has stored etag of element "/upload" inside space "Personal" And user "Alice" has stored etag of element "/upload/sub" inside space "Personal" diff --git a/tests/acceptance/features/apiSpacesShares/moveSpaces.feature b/tests/acceptance/features/apiSpacesShares/moveSpaces.feature index af15e0d064..b885dfb9ad 100644 --- a/tests/acceptance/features/apiSpacesShares/moveSpaces.feature +++ b/tests/acceptance/features/apiSpacesShares/moveSpaces.feature @@ -143,7 +143,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves file "project.txt" from space "Project" to "/testshare/project.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "502" And for user "Alice" the space "Project" should contain these entries: @@ -193,7 +192,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced And user "Alice" has uploaded file with content "personal content" to "personal.txt" When user "Alice" moves file "personal.txt" from space "Personal" to "/testshare/personal.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "502" @@ -217,7 +215,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves file "/testshare/testshare.txt" from space "Shares" to "testshare.txt" inside space "Personal" using the WebDAV API Then the HTTP status code should be "502" And for user "Alice" the space "Personal" should not contain these entries: @@ -247,7 +244,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves file "/testshare/testshare.txt" from space "Shares" to "testshare.txt" inside space "Project" using the WebDAV API Then the HTTP status code should be "502" And for user "Alice" the space "Project" should not contain these entries: @@ -277,14 +273,12 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare1" synced And user "Brian" has sent the following resource share invitation: | resource | testshare2 | | space | Personal | | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare2" synced When user "Alice" moves file "/testshare1/testshare1.txt" from space "Shares" to "/testshare2/testshare1.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "502" And for user "Alice" folder "testshare1" of the space "Shares" should contain these entries: @@ -313,7 +307,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Brian" moves file "/testshare/testfile.txt" from space "Personal" to "/testfile.txt" inside space "Personal" using the WebDAV API Then the HTTP status code should be "201" And the content of file "/testfile.txt" for user "Brian" should be "test data" @@ -340,7 +333,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Brian" moves folder "/testshare/testsubfolder" from space "Personal" to "/testsubfolder" inside space "Personal" using the WebDAV API Then the HTTP status code should be "201" And the content of file "/testsubfolder/testfile.txt" for user "Brian" should be "test data" @@ -365,7 +357,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves file "testshare/testfile.txt" from space "Shares" to "testshare/child/testfile.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "201" And for user "Alice" the content of the file "testshare/child/testfile.txt" of the space "Shares" should be "test file content" @@ -386,7 +377,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves file "testshare/testfile.txt" from space "Shares" to "testshare/child/testfile.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "403" And for user "Alice" folder "testshare/child" of the space "Shares" should not contain these entries: @@ -408,7 +398,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves file "testshare/testfile.txt" from space "Shares" to "testshare/testfile.txt" inside space "Shares" using the WebDAV API Then the HTTP status code should be "403" And as "Brian" file "testfile.txt" should not exist in the trashbin of the space "Personal" diff --git a/tests/acceptance/features/apiSpacesShares/shareOperations.feature b/tests/acceptance/features/apiSpacesShares/shareOperations.feature index c664be5b32..57ef2a4612 100644 --- a/tests/acceptance/features/apiSpacesShares/shareOperations.feature +++ b/tests/acceptance/features/apiSpacesShares/shareOperations.feature @@ -20,7 +20,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "tmp.txt" synced When user "Brian" gets the following properties of file "/tmp.txt" inside space "Shares" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -38,7 +37,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | File Editor | - And user "Brian" has a share "tmp.txt" synced When user "Brian" gets the following properties of file "/tmp.txt" inside space "Shares" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -54,7 +52,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "tmp.txt" synced When user "Brian" gets the following properties of file "/tmp.txt" inside space "Shares" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -72,7 +69,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "tmp.txt" synced When user "Brian" gets the following properties of file "/tmp.txt" inside space "Shares" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -88,7 +84,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Brian" gets the following properties of folder "/tmp" inside space "Shares" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -106,7 +101,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Brian" gets the following properties of folder "/tmp" inside space "Shares" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -123,7 +117,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Alice" updates the last share using the sharing API with | permissions | delete,create,read | Then the HTTP status code should be "200" @@ -141,7 +134,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Alice" updates the last share using the sharing API with | permissions | delete,create,read | Then the HTTP status code should be "200" @@ -157,7 +149,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Alice" updates the last share using the sharing API with | permissions | delete,update,read | Then the HTTP status code should be "200" @@ -175,7 +166,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Alice" updates the last share using the sharing API with | permissions | delete,update,read | Then the HTTP status code should be "200" @@ -191,7 +181,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Alice" updates the last share using the sharing API with | permissions | create,update,read | Then the HTTP status code should be "200" @@ -209,7 +198,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Alice" updates the last share using the sharing API with | permissions | create,update,read | Then the HTTP status code should be "200" @@ -224,7 +212,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads a file inside space "Shares" with content "new description" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "403" And as "Alice" file "/FOLDER/textfile.txt" should not exist @@ -240,7 +227,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads a file inside space "Shares" with content "new description" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "403" And as "Alice" file "/FOLDER/textfile.txt" should not exist @@ -254,7 +240,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads a file inside space "Shares" with content "new description" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "201" And the following headers should match these regular expressions for user "Brian" @@ -275,7 +260,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads a file inside space "Shares" with content "new description" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "201" And the following headers should match these regular expressions for user "Brian" @@ -294,7 +278,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads a file inside space "Shares" with content "new description" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "201" And the content of file "/FOLDER/textfile.txt" for user "Alice" should be: @@ -313,7 +296,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads a file inside space "Shares" with content "new description" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "201" And the content of file "/FOLDER/textfile.txt" for user "Alice" should be: @@ -330,7 +312,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Admin" has changed the quota of the personal space of user "Alice" to "1" When user "Brian" uploads a file inside space "Shares" with content "new description" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "507" @@ -347,7 +328,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Admin" has changed the quota of the personal space of user "Alice" to "1" When user "Brian" uploads a file inside space "Shares" with content "new description" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "507" @@ -362,7 +342,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced And user "Admin" has changed the quota of the personal space of user "Alice" to "1" When user "Brian" uploads a file inside space "Shares" with content "new description" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "507" @@ -379,7 +358,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced And user "Admin" has changed the quota of the personal space of user "Alice" to "10" When user "Brian" uploads a file inside space "Shares" with content "new descriptionfgshsywhhh" to "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "507" @@ -394,7 +372,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads a file inside space "Shares" with content "some content" to "/FOLDER/textfile.txt" using the WebDAV API And user "Alice" downloads file "/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "200" @@ -415,7 +392,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Secure Viewer | - And user "Brian" has a share "textfile.txt" synced And user "Brian" downloads file "/Shares/textfile.txt" using the WebDAV API Then the HTTP status code should be "403" @@ -431,7 +407,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Secure Viewer | - And user "Brian" has a share "FolderToShare" synced And user "Brian" downloads file "/Shares/FolderToShare/textfile.txt" using the WebDAV API Then the HTTP status code should be "403" diff --git a/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature b/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature index e17dcc24e8..7e8c62d9c4 100644 --- a/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature +++ b/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature @@ -19,7 +19,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced When user "Brian" uploads a file "filesForUpload/textfile.txt" to "toShare/file.txt" with mtime "Thu, 08 Aug 2012 04:18:13 GMT" via TUS inside of the space "Shares" using the WebDAV API Then for user "Brian" folder "toShare" of the space "Shares" should contain these entries: | file.txt | @@ -35,7 +34,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced When user "Alice" uploads a file "filesForUpload/textfile.txt" to "toShare/file.txt" with mtime "Thu, 08 Aug 2012 04:18:13 GMT" via TUS inside of the space "Personal" using the WebDAV API Then for user "Alice" folder "toShare" of the space "Personal" should contain these entries: | file.txt | @@ -51,7 +49,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced And user "Alice" has uploaded file with content "uploaded content" to "/toShare/file.txt" When user "Brian" uploads a file "filesForUpload/textfile.txt" to "toShare/file.txt" with mtime "Thu, 08 Aug 2012 04:18:13 GMT" via TUS inside of the space "Shares" using the WebDAV API Then for user "Brian" folder "toShare" of the space "Shares" should contain these entries: @@ -68,7 +65,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced And user "Brian" has uploaded a file inside space "Shares" with content "uploaded content" to "toShare/file.txt" When user "Alice" uploads a file "filesForUpload/textfile.txt" to "toShare/file.txt" with mtime "Thu, 08 Aug 2012 04:18:13 GMT" via TUS inside of the space "Personal" using the WebDAV API Then for user "Alice" folder "toShare" of the space "Personal" should contain these entries: @@ -86,7 +82,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced When user "Brian" uploads a file with content "uploaded content" to "/toShare/nonExistentFolder/file.txt" via TUS inside of the space "Shares" using the WebDAV API Then for user "Brian" folder "toShare" of the space "Shares" should not contain these entries: | nonExistentFolder | @@ -101,7 +96,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "toShare" synced When user "Brian" uploads a file with content "uploaded content" to "/toShare/nonExistentFolder/file.txt" via TUS inside of the space "Shares" using the WebDAV API Then for user "Brian" folder "toShare" of the space "Shares" should not contain these entries: | nonExistentFolder | @@ -115,7 +109,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced When user "Brian" uploads a file with content "uploaded content" to "/toShare/file.txt" via TUS inside of the space "Shares" using the WebDAV API Then for user "Alice" folder "toShare" of the space "Personal" should contain these entries: | file.txt | @@ -130,7 +123,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Uploader | - And user "Brian" has a share "toShare" synced When user "Brian" uploads a file with content "uploaded content" to "/toShare/file.txt" via TUS inside of the space "Shares" using the WebDAV API Then for user "Alice" folder "toShare" of the space "Personal" should contain these entries: | file.txt | @@ -147,7 +139,6 @@ Feature: upload resources on share using TUS protocol | sharee | grp1 | | shareType | group | | permissionsRole | Uploader | - And user "Brian" has a share "toShare" synced When user "Brian" uploads a file with content "uploaded content" to "/toShare/file.txt" via TUS inside of the space "Shares" using the WebDAV API Then for user "Alice" folder "toShare" of the space "Personal" should contain these entries: | file.txt | @@ -163,7 +154,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced When user "Brian" uploads a file with content "overwritten content" to "/toShare/file.txt" via TUS inside of the space "Shares" using the WebDAV API Then for user "Alice" folder "toShare" of the space "Personal" should contain these entries: | file.txt | @@ -178,7 +168,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "toShare" synced When user "Brian" uploads a file with content "uploaded content" to "/toShare/file.txt" via TUS inside of the space "Shares" using the WebDAV API Then for user "Brian" folder "toShare" of the space "Shares" should not contain these entries: | file.txt | @@ -192,7 +181,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Alice" has created a new TUS resource in the space "Personal" with the following headers: | Upload-Length | 5 | # L0ZPTERFUi90ZXh0RmlsZS50eHQ= is the base64 encode of /FOLDER/textFile.txt @@ -212,7 +200,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Alice" has created a new TUS resource in the space "Personal" with the following headers: | Upload-Length | 5 | # L0ZPTERFUi90ZXh0RmlsZS50eHQ= is the base64 encode of /FOLDER/textFile.txt @@ -236,7 +223,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textFile.txt" synced When user "Brian" requests the checksum of file "/textFile.txt" in space "Shares" via propfind using the WebDAV API Then the HTTP status code should be "207" And the webdav checksum should match "SHA1:8cb2237d0679ca88db6464eac60da96345513964 MD5:827ccb0eea8a706c4c34a16891f84e7b ADLER32:02f80100" @@ -255,7 +241,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textFile.txt" synced When user "Brian" downloads the file "/textFile.txt" of the space "Shares" using the WebDAV API Then the header checksum should match "SHA1:8cb2237d0679ca88db6464eac60da96345513964" @@ -268,7 +253,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced When user "Brian" creates a new TUS resource for the space "Shares" with content "" using the WebDAV API with these headers: | Upload-Length | 5 | # L0ZPTERFUi90ZXh0RmlsZS50eHQ= is the base64 encode of /FOLDER/textFile.txt @@ -288,7 +272,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced When user "Brian" creates a new TUS resource for the space "Shares" with content "" using the WebDAV API with these headers: | Upload-Length | 5 | # L0ZPTERFUi90ZXh0RmlsZS50eHQ= is the base64 encode of /FOLDER/textFile.txt @@ -308,7 +291,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Alice" has created a new TUS resource in the space "Personal" with the following headers: | Upload-Length | 16 | # L0ZPTERFUi90ZXh0RmlsZS50eHQ= is the base64 encode of /FOLDER/textFile.txt @@ -344,7 +326,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Brian" has created a new TUS resource in the space "Shares" with the following headers: | Upload-Length | 10 | # L0ZPTERFUi90ZXh0RmlsZS50eHQ= is the base64 encode of /FOLDER/textFile.txt @@ -371,7 +352,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textFile.txt" synced When user "Brian" overwrites recently shared file with offset "0" and data "overwritten content" with checksum "SHA1 fe990d2686a0fc86004efc31f5bf2475a45d4905" via TUS inside of the space "Shares" using the WebDAV API with these headers: | Upload-Length | 19 | # dGV4dEZpbGUudHh0 is the base64 encode of textFile.txt @@ -394,7 +374,6 @@ Feature: upload resources on share using TUS protocol | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textFile.txt" synced When user "Brian" overwrites recently shared file with offset "0" and data "overwritten content" with checksum "SHA1 fe990d2686a0fc86004efc31f5bf2475a45d4906" via TUS inside of the space "Shares" using the WebDAV API with these headers: | Upload-Length | 19 | # dGV4dEZpbGUudHh0 is the base64 encode of textFile.txt diff --git a/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature b/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature index 86dc9dc379..09b4353413 100644 --- a/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature +++ b/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature @@ -171,7 +171,6 @@ Feature: create a resources using collaborative posixfs | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile.txt" synced When the administrator renames the file "textfile.txt" to "new-name.txt" for user "Alice" on the POSIX filesystem Then the command should be successful And user "Brian" should have a share "textfile.txt" shared by user "Alice" from space "Personal" diff --git a/tests/acceptance/features/coreApiMain/checksums.feature b/tests/acceptance/features/coreApiMain/checksums.feature index 7478412d79..9f031def2a 100644 --- a/tests/acceptance/features/coreApiMain/checksums.feature +++ b/tests/acceptance/features/coreApiMain/checksums.feature @@ -150,7 +150,6 @@ Feature: checksums | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "myChecksumFile.txt" synced When user "Brian" requests the checksum of "/Shares/myChecksumFile.txt" via propfind Then the HTTP status code should be "207" And the webdav checksum should match "SHA1:3ee962b839762adb0ad8ba6023a4690be478de6f MD5:d70b40f177b14b470d1756a3c12b963a ADLER32:8ae90960" @@ -171,7 +170,6 @@ Feature: checksums | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "myChecksumFile.txt" synced When user "Brian" uploads file with checksum "SHA1:ce5582148c6f0c1282335b87df5ed4be4b781399" and content "Some Text" to "/Shares/myChecksumFile.txt" using the WebDAV API Then the HTTP status code should be "204" And as user "Alice" the webdav checksum of "/myChecksumFile.txt" via propfind should match "SHA1:ce5582148c6f0c1282335b87df5ed4be4b781399 MD5:56e57920c3c8c727bfe7a5288cdf61c4 ADLER32:1048035a" diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareGroupAndUserWithSameName.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareGroupAndUserWithSameName.feature index 68817a9950..0c938cd28a 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareGroupAndUserWithSameName.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareGroupAndUserWithSameName.feature @@ -22,7 +22,6 @@ Feature: sharing works when a username and group name are the same | sharee | Brian | | shareType | group | | permissionsRole | File Editor | - And user "Carol" has a share "randomfile.txt" synced When user "Alice" shares file "randomfile.txt" with user "Brian" using the sharing API Then the HTTP status code should be "200" And the OCS status code should be "100" @@ -48,7 +47,6 @@ Feature: sharing works when a username and group name are the same | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "randomfile.txt" synced When user "Alice" shares file "randomfile.txt" with group "Brian" using the sharing API Then the HTTP status code should be "200" And the OCS status code should be "100" @@ -74,7 +72,6 @@ Feature: sharing works when a username and group name are the same | sharee | brian | | shareType | group | | permissionsRole | File Editor | - And user "Carol" has a share "randomfile.txt" synced When user "Alice" shares file "randomfile.txt" with user "Brian" using the sharing API Then the HTTP status code should be "200" And the OCS status code should be "100" @@ -100,7 +97,6 @@ Feature: sharing works when a username and group name are the same | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "randomfile.txt" synced When user "Alice" shares file "randomfile.txt" with group "brian" using the sharing API Then the HTTP status code should be "200" And the OCS status code should be "100" diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature index 4788d95bcc..0d7b7f7947 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature @@ -191,7 +191,6 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | grp1 | | shareType | group | | permissionsRole | File Editor | - And user "Brian" has a share "lorem.txt" synced When the administrator adds user "Carol" to group "grp1" using the provisioning API Then the HTTP status code should be "204" And user "Carol" should be able to accept pending share "/lorem.txt" offered by user "Alice" @@ -220,15 +219,12 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "parent" synced And user "Carol" has sent the following resource share invitation: | resource | parent/child1 | | space | Personal | | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Alice" has a share "child1" synced - And user "Brian" has a share "child1" synced And user "Brian" should be able to create folder "/Shares/parent/fo1" And user "Brian" should be able to create folder "/Shares/parent/child1/fo2" And user "Alice" should not be able to create folder "/Shares/child1/fo3" @@ -251,15 +247,12 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "parent" synced And user "Carol" has sent the following resource share invitation: | resource | parent/child1 | | space | Personal | | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Alice" has a share "child1" synced - And user "Brian" has a share "child1" synced Then user "Brian" should be able to rename file "/Shares/parent/child1/child2/textfile-2.txt" to "/Shares/parent/child1/child2/rename.txt" And user "Brian" should be able to rename file "/Shares/child1/child2/rename.txt" to "/Shares/child1/child2/rename2.txt" And user "Alice" should not be able to rename file "/Shares/child1/child2/rename2.txt" to "/Shares/child1/child2/rename3.txt" @@ -283,15 +276,12 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "parent" synced And user "Carol" has sent the following resource share invitation: | resource | parent/child1 | | space | Personal | | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Alice" has a share "child1" synced - And user "Brian" has a share "child1" synced And user "Brian" should be able to delete file "/Shares/parent/child1/child2/child3/textfile-2.txt" And user "Brian" should be able to delete folder "/Shares/child1/child2/child3" And user "Alice" should not be able to delete folder "/Shares/child1/child2" @@ -313,15 +303,12 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Alice" has a share "parent" synced - And user "Brian" has a share "parent" synced And user "Carol" has sent the following resource share invitation: | resource | parent/child1 | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "child1" synced Then user "Brian" should be able to create folder "/Shares/child1/fo1" And user "Brian" should be able to create folder "/Shares/child1/child2/fo2" But user "Brian" should not be able to create folder "/Shares/parent/fo3" @@ -346,15 +333,12 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "parent" synced - And user "Alice" has a share "parent" synced And user "Carol" has sent the following resource share invitation: | resource | parent/child1 | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "child1" synced And user "Brian" should be able to rename file "/Shares/child1/child2/textfile-2.txt" to "/Shares/child1/child2/rename.txt" And user "Brian" should be able to rename file "/Shares/parent/child1/child2/rename.txt" to "/Shares/parent/child1/child2/rename2.txt" And user "Alice" should not be able to rename file "/Shares/parent/child1/child2/rename2.txt" to "/Shares/parent/child1/child2/rename3.txt" @@ -377,15 +361,12 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Alice" has a share "parent" synced - And user "Brian" has a share "parent" synced And user "Carol" has sent the following resource share invitation: | resource | parent/child1 | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "child1" synced And user "Brian" should be able to delete file "/Shares/child1/child2/textfile-2.txt" And user "Brian" should be able to delete folder "/Shares/parent/child1/child2" And user "Alice" should not be able to delete folder "/Shares/parent/child1" @@ -412,14 +393,12 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "parent" synced And user "Carol" has sent the following resource share invitation: | resource | parent/child1 | | space | Personal | | sharee | grp2 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "child1" synced Then user "Alice" should be able to create folder "/Shares/parent/child1/fo1" And user "Alice" should be able to create folder "/Shares/parent/child1/child2/fo2" And user "Alice" should be able to delete folder "/Shares/parent/child1/fo1" @@ -446,7 +425,6 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | grp | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "parent" synced And user "Brian" should be able to rename folder "/Shares/parent" to "/Shares/sharedParent" And user "Alice" should be able to share folder "parent" with user "Brian" with permissions "read" using the sharing API # Note: Brian has already accepted the share of this resource as a member of "grp". @@ -472,7 +450,6 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | grp | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "parent" synced And user "Brian" has moved folder "/Shares/parent" to "/Shares/sharedParent" When user "Alice" shares folder "parent" with user "Brian" with permissions "all" using the sharing API # Note: Brian has already accepted the share of this resource as a member of "grp". @@ -501,7 +478,6 @@ Feature: share resources where the sharee receives the share in multiple ways | sharee | grp | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "parent" synced And user "Brian" should be able to rename folder "/Shares/parent" to "/Shares/sharedParent" And user "Alice" should be able to share folder "parent" with user "Brian" with permissions "read" using the sharing API # Note: Brian has already accepted the share of this resource as a member of "grp". diff --git a/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature b/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature index 3b331ac29f..1f741f096a 100644 --- a/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature +++ b/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature @@ -481,8 +481,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced - And user "Carol" has a share "textfile0.txt" synced When user "Alice" sends HTTP method "GET" to OCS API endpoint "/apps/files_sharing/api/v1/shares" Then the OCS status code should be "" And the HTTP status code should be "200" @@ -523,15 +521,12 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "common" synced - And user "Carol" has a share "common" synced And user "Alice" has sent the following resource share invitation: | resource | textfile0.txt | | space | Personal | | sharee | Carol | | shareType | user | | permissionsRole | File Editor | - And user "Carol" has a share "textfile0.txt" synced And user "Alice" has moved file "/textfile0.txt" to "/common/textfile0.txt" And user "Alice" has moved file "/common/textfile0.txt" to "/common/sub/textfile0.txt" When user "Carol" uploads file "filesForUpload/file_to_overwrite.txt" to "/Shares/textfile0.txt" using the WebDAV API diff --git a/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature b/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature index 08b4e55df3..e3e42dd87b 100644 --- a/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature +++ b/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature @@ -23,7 +23,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced And user "Brian" has moved file "/Shares/textfile0.txt" to "/Shares/anotherName.txt" When user "Alice" deletes the last share using the sharing API Then the OCS status code should be "" @@ -90,7 +89,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced When user "Brian" deletes file "/Shares/shared/shared_file.txt" using the WebDAV API Then the HTTP status code should be "204" And as "Brian" file "/Shares/shared/shared_file.txt" should not exist @@ -116,7 +114,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced When user "Brian" deletes folder "/Shares/shared/sub" using the WebDAV API Then the HTTP status code should be "204" And as "Brian" folder "/Shares/shared/sub" should not exist @@ -168,7 +165,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "shared" synced When user "Brian" deletes file "/Shares/shared/shared_file.txt" using the WebDAV API Then the HTTP status code should be "403" And as "Alice" file "/shared/shared_file.txt" should exist @@ -191,7 +187,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Uploader | - And user "Brian" has a share "shared" synced When user "Brian" deletes file "/Shares/shared/shared_file.txt" using the WebDAV API Then the HTTP status code should be "403" And as "Alice" file "/shared/shared_file.txt" should exist @@ -213,7 +208,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Uploader | - And user "Brian" has a share "shared" synced And user "Brian" has uploaded file "filesForUpload/textfile.txt" to "/Shares/shared/textfile.txt" When user "Brian" deletes file "/Shares/shared/textfile.txt" using the WebDAV API Then the HTTP status code should be "403" @@ -243,7 +237,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | | - And user "Brian" has a share "" synced When user "Brian" deletes the last share of user "Alice" using the sharing API Then the OCS status code should be "996" And the HTTP status code should be "" @@ -269,7 +262,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "" synced When user "Brian" deletes the last share of user "Alice" using the sharing API Then the OCS status code should be "996" And the HTTP status code should be "" @@ -292,7 +284,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced When user "Alice" deletes the last share using the sharing API Then the OCS status code should be "" And the HTTP status code should be "200" @@ -313,7 +304,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced When user "Brian" tries to delete the last share of user "Alice" using the sharing API Then the HTTP status code should be "" And the OCS status code should be "996" diff --git a/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature b/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature index ea412ec0f3..5e054567c5 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature @@ -140,7 +140,6 @@ Feature: accept/decline shares coming from internal users | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "shared" synced When user "Brian" accepts the already accepted share "/shared" offered by user "Alice" using the sharing API Then the OCS status code should be "100" And the HTTP status code should be "200" @@ -327,7 +326,6 @@ Feature: accept/decline shares coming from internal users | sharee | Carol | | shareType | user | | permissionsRole | Viewer | - And user "Carol" has a share "testfile.txt" synced And user "Carol" has declined share "/Shares/testfile.txt" offered by user "Alice" And user "Carol" has disabled auto-accepting And user "Brian" has sent the following resource share invitation: diff --git a/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature b/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature index abbdf5f9cc..2a9e5ff059 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature @@ -19,14 +19,12 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "sharefile.txt" synced And user "Alice" has sent the following resource share invitation: | resource | sharefile.txt | | space | Personal | | sharee | Carol | | shareType | user | | permissionsRole | Viewer | - And user "Carol" has a share "sharefile.txt" synced When user "Alice" moves file "sharefile.txt" to "renamedsharefile.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Alice" file "renamedsharefile.txt" should exist @@ -58,14 +56,12 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "sharefile.txt" synced And user "Alice" has sent the following resource share invitation: | resource | sharefile.txt | | space | Personal | | sharee | Carol | | shareType | user | | permissionsRole | Viewer | - And user "Carol" has a share "sharefile.txt" synced When user "Alice" moves file "sharefile.txt" to "renamedsharefile.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Alice" file "renamedsharefile.txt" should exist @@ -99,14 +95,12 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "sharefile.txt" synced And user "Alice" has sent the following resource share invitation: | resource | sharefile.txt | | space | Personal | | sharee | Carol | | shareType | user | | permissionsRole | | - And user "Carol" has a share "sharefile.txt" synced When user "Carol" moves file "Shares/sharefile.txt" to "Shares/renamedsharefile.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Carol" file "Shares/renamedsharefile.txt" should exist @@ -141,14 +135,12 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "sharefile.txt" synced And user "Alice" has sent the following resource share invitation: | resource | sharefile.txt | | space | Personal | | sharee | Carol | | shareType | user | | permissionsRole | | - And user "Carol" has a share "sharefile.txt" synced When user "Carol" moves file "Shares/sharefile.txt" to "Shares/renamedsharefile.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Carol" file "Shares/renamedsharefile.txt" should exist @@ -185,7 +177,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Carol" has a share "/TMP" synced When user "Carol" moves folder "/Shares/TMP" to "/Shares/new" using the WebDAV API And the administrator deletes user "Carol" using the provisioning API Then the HTTP status code of responses on each endpoint should be "201, 204" respectively @@ -207,7 +198,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folderToShare" synced When user "Brian" moves folder "/Shares/folderToShare" to "/Shares/myFolder" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" folder "/Shares/myFolder" should exist @@ -236,7 +226,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "folderToShare" synced When user "Brian" moves folder "/Shares/folderToShare" to "/Shares/myFolder" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" folder "/Shares/myFolder" should exist @@ -268,7 +257,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "PARENT" synced When user "Brian" moves folder "/Shares/PARENT" to "/Shares/myFolder" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" folder "/Shares/myFolder" should exist @@ -289,7 +277,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "fileToShare.txt" synced When user "Brian" moves file "/Shares/fileToShare.txt" to "/Shares/newFile.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" file "/Shares/newFile.txt" should exist @@ -312,7 +299,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | File Editor | - And user "Brian" has a share "fileToShare.txt" synced When user "Brian" moves file "/Shares/fileToShare.txt" to "/Shares/newFile.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" file "/Shares/newFile.txt" should exist @@ -335,7 +321,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "PARENT" synced When user "Brian" moves folder "/Shares/PARENT" to "/Shares/myFolder" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" folder "/Shares/myFolder" should exist @@ -358,7 +343,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | File Editor | - And user "Brian" has a share "fileToShare.txt" synced When user "Brian" moves folder "/Shares/fileToShare.txt" to "/Shares/newFile.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" file "/Shares/newFile.txt" should exist @@ -381,7 +365,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "PARENT" synced When user "Brian" moves folder "/Shares/PARENT" to "/Shares/myFolder" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" folder "/Shares/myFolder" should exist @@ -404,7 +387,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "fileToShare.txt" synced When user "Brian" moves file "/Shares/fileToShare.txt" to "/Shares/newFile.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" file "/Shares/newFile.txt" should exist @@ -427,7 +409,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "PARENT" synced When user "Brian" moves folder "/Shares/PARENT" to "/Shares/myFolder" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" folder "/Shares/myFolder" should exist @@ -451,7 +432,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "" synced When user "Brian" moves folder "/Shares/" to "/Shares/" using the WebDAV API Then the HTTP status code should be "201" And as "Alice" folder "" should not exist @@ -485,7 +465,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "" synced When user "Brian" moves folder "/Shares//fileInside" to "/Shares//" using the WebDAV API Then the HTTP status code should be "201" And as "Alice" file "/" should exist diff --git a/tests/acceptance/features/coreApiShareManagementToShares/moveShareInsideAnotherShare.feature b/tests/acceptance/features/coreApiShareManagementToShares/moveShareInsideAnotherShare.feature index 1a7298d4a7..0fac0dd4f8 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/moveShareInsideAnotherShare.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/moveShareInsideAnotherShare.feature @@ -20,14 +20,12 @@ Feature: moving a share inside another share | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folderA" synced And user "Alice" has sent the following resource share invitation: | resource | folderB | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folderB" synced Scenario Outline: share receiver cannot move a whole share inside another share diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature index 680dc894a1..545ec9885d 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature @@ -21,7 +21,6 @@ Feature: sharing | shareType | user | | permissionsRole | Viewer | And using SharingNG - And user "Brian" has a share "textfile0.txt" synced When user "Brian" gets all the shares shared with him using the sharing API Then the OCS status code should be "" And the HTTP status code should be "200" @@ -48,8 +47,6 @@ Feature: sharing | shareType | user | | permissionsRole | Viewer | And using SharingNG - And user "Brian" has a share "textfile1.txt" synced - And user "Brian" has a share "textfile0.txt" synced When user "Brian" gets all the shares shared with him that are received as file "/Shares/textfile1.txt" using the provisioning API Then the OCS status code should be "" And the HTTP status code should be "200" @@ -76,8 +73,6 @@ Feature: sharing | shareType | user | | permissionsRole | Viewer | And using SharingNG - And user "Brian" has a share "textfile0.txt" synced - And user "Brian" has a share "textfile1.txt" synced When user "Brian" gets all the shares shared with him that are received as file "/Shares/textfile0.txt" using the provisioning API Then the OCS status code should be "" And the HTTP status code should be "200" @@ -99,7 +94,6 @@ Feature: sharing | shareType | group | | permissionsRole | Viewer | And using SharingNG - And user "Brian" has a share "textfile0.txt" synced When user "Brian" gets all the shares shared with him using the sharing API Then the OCS status code should be "" And the HTTP status code should be "200" diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/changingFilesShare.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/changingFilesShare.feature index c4fa3a9283..6c29314f8f 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/changingFilesShare.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/changingFilesShare.feature @@ -23,14 +23,12 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "share1" synced And user "Alice" has sent the following resource share invitation: | resource | /share2 | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "share2" synced When user "Brian" moves file "/Shares/share1/textfile0.txt" to "/Shares/share2/textfile0.txt" using the WebDAV API Then the HTTP status code should be "502" And as "Brian" file "/Shares/share1/textfile0.txt" should exist @@ -53,7 +51,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile1.txt" synced When user "Brian" uploads file with content "this is a new content" to "/Shares/textfile1.txt" using the WebDAV API Then the HTTP status code should be "204" And as "Brian" file "Shares/textfile1.txt" should exist diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature index 913168efba..ca9a355e83 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature @@ -126,7 +126,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And using SharingNG When user "Carol" gets the info of the last share using the sharing API Then the OCS status code should be "404" diff --git a/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature b/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature index d73369587e..5a24c5df3b 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature @@ -36,7 +36,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "tmp.txt" synced When user "Brian" gets the following properties of file "/Shares/tmp.txt" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -60,7 +59,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | File Editor | - And user "Brian" has a share "tmp.txt" synced When user "Brian" gets the following properties of file "/Shares/tmp.txt" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -82,7 +80,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "tmp.txt" synced When user "Brian" gets the following properties of file "/Shares/tmp.txt" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -119,7 +116,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Brian" gets the following properties of folder "/Shares/tmp" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -143,7 +139,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "tmp" synced When user "Brian" gets the following properties of folder "/Shares/tmp" using the WebDAV API | propertyName | | ocs:share-permissions | @@ -164,7 +159,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "tmp" synced And using SharingNG When user "Alice" updates the last share using the sharing API with | permissions | delete,create,read | @@ -183,7 +177,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "tmp" synced When user "Alice" updates the last share using the sharing API with | permissions | delete,create,read | Then the HTTP status code should be "200" @@ -198,7 +191,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "tmp" synced And using SharingNG When user "Alice" updates the last share using the sharing API with | permissions | delete,update,read | @@ -217,7 +209,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "tmp" synced When user "Alice" updates the last share using the sharing API with | permissions | delete,update,read | Then the HTTP status code should be "200" @@ -232,7 +223,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "tmp" synced And using SharingNG When user "Alice" updates the last share using the sharing API with | permissions | create,update,read | @@ -251,7 +241,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "tmp" synced When user "Alice" updates the last share using the sharing API with | permissions | create,update,read | Then the HTTP status code should be "200" diff --git a/tests/acceptance/features/coreApiShareOperationsToShares2/shareAccessByID.feature b/tests/acceptance/features/coreApiShareOperationsToShares2/shareAccessByID.feature index 7cb3d85946..ab027b428d 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares2/shareAccessByID.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares2/shareAccessByID.feature @@ -109,7 +109,6 @@ Feature: share access by ID | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced And using SharingNG When user "Brian" declines share with ID "%last_share_id%" using the sharing API Then the OCS status code should be "" diff --git a/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature b/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature index c139189ab5..06a295d4fa 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature @@ -18,7 +18,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "403" And as "Alice" file "/FOLDER/textfile.txt" should not exist @@ -41,8 +40,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "FOLDER" synced - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "403" And as "Alice" file "/FOLDER/textfile.txt" should not exist @@ -63,7 +60,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "201" And the following headers should match these regular expressions for user "Brian" @@ -93,7 +89,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "201" And the following headers should match these regular expressions for user "Brian" @@ -121,7 +116,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "201" And the content of file "/FOLDER/textfile.txt" for user "Alice" should be: @@ -149,7 +143,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/textfile.txt" using the WebDAV API Then the HTTP status code should be "201" And the content of file "/FOLDER/textfile.txt" for user "Alice" should be: @@ -176,7 +169,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "myfile.txt" synced When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/myfile.txt" using the WebDAV API Then the HTTP status code should be "204" And the following headers should match these regular expressions for user "Brian" @@ -204,7 +196,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Admin" has changed the quota of the personal space of user "Alice" to "1" When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/myfile.txt" using the WebDAV API Then the HTTP status code should be "507" @@ -228,7 +219,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Admin" has changed the quota of the personal space of user "Alice" to "1" When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/myfile.txt" using the WebDAV API Then the HTTP status code should be "507" @@ -250,7 +240,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced And user "Admin" has changed the quota of the personal space of user "Alice" to "1" When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/myfile.txt" using the WebDAV API Then the HTTP status code should be "507" @@ -274,7 +263,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced And user "Admin" has changed the quota of the personal space of user "Alice" to "1" When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/FOLDER/myfile.txt" using the WebDAV API Then the HTTP status code should be "507" @@ -296,7 +284,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file with content "some content" to "/Shares/FOLDER/textFile.txt" using the WebDAV API And user "Alice" downloads file "/FOLDER/textFile.txt" using the WebDAV API Then the HTTP status code should be "200" @@ -321,7 +308,6 @@ Feature: sharing | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "folder-to-share" synced When user "Alice" uploads file "filesForUpload/zerobyte.txt" to "/Shares/folder-to-share/zerobyte.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Alice" file "/Shares/folder-to-share/zerobyte.txt" should exist diff --git a/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature b/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature index 59f1fbd52e..76971a6df2 100644 --- a/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature +++ b/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature @@ -21,7 +21,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced And using SharingNG And user "Brian" has moved file "/Shares/textfile0.txt" to "/Shares/textfile_new.txt" When user "Alice" updates the last share using the sharing API with @@ -79,7 +78,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And using SharingNG When user "Alice" updates the last share using the sharing API with | permissions | | @@ -109,7 +107,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Viewer | - And user "Brian" has a share "textfile0.txt" synced And using SharingNG When user "Alice" updates the last share using the sharing API with | permissions | | @@ -142,14 +139,12 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "Alice-folder" synced And user "Carol" has sent the following resource share invitation: | resource | Carol-folder | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "Carol-folder" synced When user "Brian" moves folder "/Shares/Alice-folder/folder2" to "/Shares/Carol-folder/folder2" using the WebDAV API Then the HTTP status code should be "502" Examples: @@ -169,7 +164,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "Alice-folder" synced And using SharingNG When user "Alice" updates the last share using the sharing API with | permissions | all | @@ -223,7 +217,6 @@ Feature: sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And using SharingNG And user "Carol" has updated the last share with | permissions | read | @@ -248,7 +241,6 @@ Feature: sharing | sharee | Brian | | shareType | user | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced And user "Brian" has uploaded file with content "some content" to "/Shares/FOLDER/textFile.txt" When user "Alice" deletes file "/FOLDER/textFile.txt" using the WebDAV API Then the HTTP status code should be "204" diff --git a/tests/acceptance/features/coreApiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature b/tests/acceptance/features/coreApiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature index 814d9455c3..58440bd09a 100644 --- a/tests/acceptance/features/coreApiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature +++ b/tests/acceptance/features/coreApiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature @@ -24,14 +24,12 @@ Feature: updating shares to users and groups that have the same name | sharee | Brian | | shareType | group | | permissionsRole | Editor | - And user "Carol" has a share "TMP" synced And user "Alice" has sent the following resource share invitation: | resource | TMP | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "TMP" synced And using SharingNG When user "Alice" updates the last share using the sharing API with | permissions | read | @@ -55,14 +53,12 @@ Feature: updating shares to users and groups that have the same name | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "TMP" synced And user "Alice" has sent the following resource share invitation: | resource | TMP | | space | Personal | | sharee | Brian | | shareType | group | | permissionsRole | Editor | - And user "Carol" has a share "TMP" synced And using SharingNG When user "Alice" updates the last share using the sharing API with | permissions | read | diff --git a/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature b/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature index 4df7e633ca..5ab4d59eca 100644 --- a/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature +++ b/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature @@ -59,7 +59,6 @@ Feature: files and folders exist in the trashbin after being deleted | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced When user "Alice" deletes file "/shared/shared_file.txt" using the WebDAV API Then the HTTP status code should be "204" And as "Alice" the file with original path "/shared/shared_file.txt" should exist in the trashbin @@ -82,7 +81,6 @@ Feature: files and folders exist in the trashbin after being deleted | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced When user "Alice" deletes folder "/shared" using the WebDAV API Then the HTTP status code should be "204" And as "Alice" the folder with original path "/shared" should exist in the trashbin diff --git a/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature b/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature index b65f8e5b63..9da5a86209 100644 --- a/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature +++ b/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature @@ -20,7 +20,6 @@ Feature: using trashbin together with sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced And user "Brian" has moved folder "/Shares/shared" to "/Shares/renamed_shared" When user "Brian" deletes folder "/Shares/renamed_shared" using the WebDAV API Then the HTTP status code should be "204" @@ -43,7 +42,6 @@ Feature: using trashbin together with sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced And user "Brian" has moved file "/Shares/shared" to "/Shares/renamed_shared" When user "Brian" deletes file "/Shares/renamed_shared/shared_file.txt" using the WebDAV API Then the HTTP status code should be "204" @@ -71,8 +69,6 @@ Feature: using trashbin together with sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced - And user "Carol" has a share "shared" synced When user "Brian" deletes file "/Shares/shared/shared_file.txt" using the WebDAV API Then the HTTP status code should be "204" And as "Brian" the file with original path "/Shares/shared/shared_file.txt" should exist in the trashbin @@ -100,8 +96,6 @@ Feature: using trashbin together with sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced - And user "Carol" has a share "shared" synced When user "Alice" deletes file "/shared/shared_file.txt" using the WebDAV API Then the HTTP status code should be "204" And as "Alice" the file with original path "/shared/shared_file.txt" should exist in the trashbin @@ -130,8 +124,6 @@ Feature: using trashbin together with sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced - And user "Carol" has a share "shared" synced When user "Brian" deletes folder "/Shares/shared/sub" using the WebDAV API Then the HTTP status code should be "204" And as "Brian" the file with original path "/Shares/shared/sub/shared_file.txt" should exist in the trashbin @@ -160,8 +152,6 @@ Feature: using trashbin together with sharing | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced - And user "Carol" has a share "shared" synced When user "Alice" deletes folder "/shared/sub" using the WebDAV API Then the HTTP status code should be "204" And as "Alice" the file with original path "/shared/sub/shared_file.txt" should exist in the trashbin @@ -185,7 +175,6 @@ Feature: using trashbin together with sharing | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "shared" synced And user "Brian" has moved folder "/Shares/shared" to "/Shares/renamed_shared" And user "Brian" has deleted file "/Shares/renamed_shared/shared_file.txt" When user "Brian" restores the file with original path "/Shares/renamed_shared/shared_file.txt" using the trashbin API @@ -214,7 +203,6 @@ Feature: using trashbin together with sharing | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "shareFolderParent" synced And user "Alice" has deleted file "/textfile0.txt" When user "Alice" restores the file with original path "/textfile0.txt" to "/Shares/shareFolderParent/textfile0.txt" using the trashbin API Then the HTTP status code should be "" @@ -239,7 +227,6 @@ Feature: using trashbin together with sharing | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "shareFolderParent" synced And as "Alice" folder "/Shares/shareFolderParent/shareFolderChild" should exist And user "Alice" has deleted file "/textfile0.txt" When user "Alice" restores the file with original path "/textfile0.txt" to "/Shares/shareFolderParent/shareFolderChild/textfile0.txt" using the trashbin API @@ -264,7 +251,6 @@ Feature: using trashbin together with sharing | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "shareFolderParent" synced And user "Alice" has deleted file "/textfile0.txt" When user "Alice" restores the file with original path "/textfile0.txt" to "/Shares/shareFolderParent/textfile0.txt" using the trashbin API Then the HTTP status code should be "" diff --git a/tests/acceptance/features/coreApiVersions/disableFileVersioning.feature b/tests/acceptance/features/coreApiVersions/disableFileVersioning.feature index 367ffee5fa..38056a91ca 100644 --- a/tests/acceptance/features/coreApiVersions/disableFileVersioning.feature +++ b/tests/acceptance/features/coreApiVersions/disableFileVersioning.feature @@ -44,7 +44,6 @@ Feature: checking file versions | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "text.txt" synced When user "Brian" tries to get the number of versions of file "/text.txt" from space "Shares" Then the HTTP status code should be "403" Examples: @@ -62,7 +61,6 @@ Feature: checking file versions | sharee | Brian | | shareType | user | | permissionsRole | | - And user "Brian" has a share "text.txt" synced When user "Brian" tries to get the number of versions of file "/text.txt" from space "Shares" Then the HTTP status code should be "403" Examples: diff --git a/tests/acceptance/features/coreApiVersions/fileVersions.feature b/tests/acceptance/features/coreApiVersions/fileVersions.feature index c7279351d8..d15aa856ef 100644 --- a/tests/acceptance/features/coreApiVersions/fileVersions.feature +++ b/tests/acceptance/features/coreApiVersions/fileVersions.feature @@ -315,7 +315,6 @@ Feature: dav-versions | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "sharefile.txt" synced When user "Brian" uploads file with content "Second content" to "/Shares/sharefile.txt" using the WebDAV API Then the HTTP status code should be "204" And the version folder of file "/sharefile.txt" for user "Alice" should contain "1" element @@ -332,7 +331,6 @@ Feature: dav-versions | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "sharefile.txt" synced And user "Brian" has uploaded file with content "Second content" to "/Shares/sharefile.txt" When user "Alice" restores version index "1" of file "/sharefile.txt" using the WebDAV API Then the HTTP status code should be "204" @@ -349,7 +347,6 @@ Feature: dav-versions | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "sharingfolder" synced And user "Alice" has uploaded file with content "First content" to "/sharingfolder/sharefile.txt" And user "Brian" has uploaded file with content "Second content" to "/Shares/sharingfolder/sharefile.txt" When user "Alice" restores version index "1" of file "/sharingfolder/sharefile.txt" using the WebDAV API @@ -367,7 +364,6 @@ Feature: dav-versions | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "sharingfolder" synced And user "Alice" has uploaded file with content "First content" to "/sharingfolder/sharefile.txt" When user "Brian" has uploaded file with content "Second content" to "/Shares/sharingfolder/sharefile.txt" And user "Brian" gets the number of versions of file "/Shares/sharingfolder/sharefile.txt" @@ -385,7 +381,6 @@ Feature: dav-versions | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "sharingfolder" synced And user "Brian" has uploaded file with content "First content" to "/Shares/sharingfolder/sharefile.txt" And user "Alice" has uploaded file with content "Second content" to "/sharingfolder/sharefile.txt" When user "Alice" restores version index "1" of file "/sharingfolder/sharefile.txt" using the WebDAV API @@ -403,7 +398,6 @@ Feature: dav-versions | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "sharingfolder" synced And user "Brian" has uploaded file with content "old content" to "/Shares/sharingfolder/sharefile.txt" And user "Brian" has uploaded file with content "new content" to "/Shares/sharingfolder/sharefile.txt" When user "Alice" restores version index "1" of file "/sharingfolder/sharefile.txt" using the WebDAV API @@ -425,8 +419,6 @@ Feature: dav-versions | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "sharingfolder" synced - And user "Carol" has a share "sharingfolder" synced And user "Alice" has uploaded file with content "First content" to "/sharingfolder/sharefile.txt" And user "Brian" has uploaded file with content "Second content" to "/Shares/sharingfolder/sharefile.txt" And user "Carol" has uploaded file with content "Third content" to "/Shares/sharingfolder/sharefile.txt" @@ -447,7 +439,6 @@ Feature: dav-versions | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced And user "Brian" has uploaded file with content "test data 1" to "/testfile.txt" And user "Brian" has uploaded file with content "test data 2" to "/testfile.txt" And user "Brian" has uploaded file with content "test data 3" to "/testfile.txt" @@ -481,7 +472,6 @@ Feature: dav-versions | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced When user "Brian" tries to get versions of file "textfile1.txt" from "Alice" Then the HTTP status code should be "404" And the value of the item "//s:exception" in the response about user "Alice" should be "Sabre\DAV\Exception\NotFound" @@ -499,7 +489,6 @@ Feature: dav-versions | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced When user "Brian" tries to get versions of file "textfile0.txt" from "Alice" Then the HTTP status code should be "403" @@ -515,7 +504,6 @@ Feature: dav-versions | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile0.txt" synced When user "Brian" tries to get versions of file "textfile0.txt" from "Alice" Then the HTTP status code should be "403" And the value of the item "//s:exception" in the response about user "Alice" should be "Sabre\DAV\Exception\Forbidden" diff --git a/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature b/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature index 45720b08d4..e4f85820cc 100644 --- a/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature +++ b/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature @@ -60,7 +60,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/textfile0.txt" to "/Shares/testshare/textfile0.txt" using the WebDAV API Then the HTTP status code should be "403" And user "Alice" should not be able to download file "/Shares/testshare/textfile0.txt" @@ -85,7 +84,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "testshare" synced And user "Brian" has copied file "textfile1.txt" to "/testshare/overwritethis.txt" When user "Alice" copies file "/textfile0.txt" to "/Shares/testshare/overwritethis.txt" using the WebDAV API Then the HTTP status code should be "403" @@ -228,7 +226,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-Folder" synced When user "Alice" copies file "/textfile1.txt" to "/Shares/BRIAN-Folder" using the WebDAV API Then the HTTP status code should be "400" And as "Alice" folder "/Shares/BRIAN-Folder/sample-folder" should exist @@ -253,7 +250,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | File Editor | - And user "Alice" has a share "lorem.txt" synced When user "Alice" copies file "copy.txt" to "Shares/lorem.txt" using the WebDAV API Then the HTTP status code should be "204" And the content of file "Shares/lorem.txt" for user "Alice" should be "file to copy" @@ -276,7 +272,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | File Editor | - And user "Alice" has a share "sharedfile1.txt" synced And user "Alice" has created folder "FOLDER/sample-folder" When user "Alice" copies folder "/FOLDER" to "/Shares/sharedfile1.txt" using the WebDAV API Then the HTTP status code should be "400" @@ -302,7 +297,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-Folder" synced And user "Alice" has created folder "FOLDER/alice-folder" When user "Alice" copies folder "FOLDER" to "Shares/BRIAN-Folder" using the WebDAV API Then the HTTP status code should be "400" @@ -330,7 +324,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "Sample-Folder-A" And user "Alice" has created folder "Sample-Folder-A/sample-folder-b" And user "Alice" has created folder "Sample-Folder-A/sample-folder-b/sample-folder-c" @@ -360,7 +353,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "Sample-Folder-A" And user "Alice" has created folder "Sample-Folder-A/sample-folder-b" And user "Alice" has uploaded file with content "sample file-c" to "Sample-Folder-A/sample-folder-b/textfile-c.txt" @@ -391,7 +383,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "Sample-Folder-A" And user "Alice" has created folder "Sample-Folder-A/sample-folder-b" And user "Alice" has uploaded file with content "sample file-c" to "Sample-Folder-A/sample-folder-b/textfile-c.txt" @@ -423,7 +414,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "FOLDER/second-level-folder" And user "Alice" has created folder "FOLDER/second-level-folder/third-level-folder" When user "Alice" copies folder "FOLDER/second-level-folder" to "/Shares/BRIAN-FOLDER/second-level-folder/third-level-file.txt" using the WebDAV API @@ -455,7 +445,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-Folder" synced When user "Alice" copies file "/textfile1.txt" to "/Shares/BRIAN-Folder" using the WebDAV API Then the HTTP status code should be "400" And as "Alice" folder "/Shares/BRIAN-Folder/sample-folder" should exist @@ -482,7 +471,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | File Editor | - And user "Alice" has a share "sharedfile1.txt" synced And user "Alice" has created folder "FOLDER/sample-folder" When user "Alice" copies folder "/FOLDER" to "/Shares/sharedfile1.txt" using the WebDAV API Then the HTTP status code should be "400" @@ -513,7 +501,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "Sample-Folder-A" And user "Alice" has created folder "Sample-Folder-A/sample-folder-b" And user "Alice" has created folder "Sample-Folder-A/sample-folder-b/sample-folder-c" @@ -546,7 +533,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "Sample-Folder-A" And user "Alice" has created folder "Sample-Folder-A/sample-folder-b" And user "Alice" has uploaded file with content "sample file-c" to "Sample-Folder-A/sample-folder-b/textfile-c.txt" @@ -580,7 +566,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "Sample-Folder-A" And user "Alice" has created folder "Sample-Folder-A/sample-folder-b" And user "Alice" has uploaded file with content "sample file-c" to "Sample-Folder-A/sample-folder-b/textfile-c.txt" @@ -615,7 +600,6 @@ Feature: copy file | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Alice" has a share "BRIAN-FOLDER" synced And user "Alice" has created folder "FOLDER/second-level-folder" And user "Alice" has created folder "FOLDER/second-level-folder/third-level-folder" When user "Alice" copies folder "FOLDER/second-level-folder" to "Shares/BRIAN-FOLDER/second-level-folder/third-level-file.txt" using the WebDAV API @@ -697,7 +681,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/textfile0.txt" to "/Shares/testshare/textfile0.txt" using the WebDAV API Then the HTTP status code should be "201" And the content of file "/Shares/testshare/textfile0.txt" for user "Alice" should be "OpenCloud test text file 0" @@ -719,7 +702,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare" synced And user "Brian" has uploaded file with content "OpenCloud test text file 0" to "/textfile0.txt" When user "Brian" copies file "/textfile0.txt" to "/testshare/textfile0.txt" using the WebDAV API Then the HTTP status code should be "201" @@ -742,7 +724,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare" synced And user "Alice" has uploaded file with content "OpenCloud test text file inside share" to "/Shares/testshare/fileInsideShare.txt" When user "Alice" copies file "/Shares/testshare/fileInsideShare.txt" to "/fileInsideShare.txt" using the WebDAV API Then the HTTP status code should be "201" @@ -767,7 +748,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Viewer | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/Shares/testshare/fileInsideShare.txt" to "/fileInsideShare.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Alice" file "/fileInsideShare.txt" should exist @@ -790,7 +770,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Secure Viewer | - And user "Alice" has a share "testshare" synced When user "Alice" copies file "/Shares/testshare/fileInsideShare.txt" to "/fileInsideShare.txt" using the WebDAV API Then the HTTP status code should be "403" And as "Alice" file "/fileInsideShare.txt" should not exist @@ -812,7 +791,6 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare" synced When user "Brian" copies file "testshare/fileInsideShare.txt" to "/fileInsideShare.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" file "/fileInsideShare.txt" should exist @@ -861,14 +839,12 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare0" synced And user "Carol" has sent the following resource share invitation: | resource | testshare1 | | space | Personal | | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare1" synced When user "Alice" copies file "/Shares/testshare0/testshare0.txt" to "/Shares/testshare1/testshare0.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Carol" file "testshare1/testshare0.txt" should exist @@ -897,14 +873,12 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare0" synced And user "Carol" has sent the following resource share invitation: | resource | testshare1 | | space | Personal | | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare1" synced When user "Alice" copies folder "/Shares/testshare0/folder_to_copy/" to "/Shares/testshare1/folder_to_copy/" using the WebDAV API Then the HTTP status code should be "403" And as "Alice" folder "/Shares/testshare1/folder_to_copy/" should not exist @@ -942,14 +916,12 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare0" synced And user "Carol" has sent the following resource share invitation: | resource | testshare1 | | space | Personal | | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testshare1" synced When user "Alice" copies file "/Shares/testshare0/folder_to_copy/" to "/Shares/testshare1/folder_to_copy/" using the WebDAV API Then the HTTP status code should be "201" And as "Carol" file "testshare1/folder_to_copy/testshare0.txt" should exist @@ -974,14 +946,12 @@ Feature: copy file | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "testshare" synced And user "Alice" has sent the following resource share invitation: | resource | testshare | | space | Personal | | sharee | Carol | | shareType | user | | permissionsRole | Editor | - And user "Carol" has a share "testshare" synced When user "Alice" copies file "/textfile0.txt" to "/testshare/textfile0.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Brian" file "/Shares/testshare/textfile0.txt" should exist diff --git a/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolderWhenSharesExist.feature b/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolderWhenSharesExist.feature index da61e95d6e..499f739f7e 100644 --- a/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolderWhenSharesExist.feature +++ b/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolderWhenSharesExist.feature @@ -16,7 +16,6 @@ Feature: create file or folder named similar to Shares folder | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "FOLDER" synced Scenario Outline: create a folder with a name similar to Shares diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation1/deleteFileFolder.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation1/deleteFileFolder.feature index 8a039547bf..e2a4b03beb 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation1/deleteFileFolder.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation1/deleteFileFolder.feature @@ -83,7 +83,6 @@ Feature: propagation of etags when deleting a file or folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/sub" @@ -119,7 +118,6 @@ Feature: propagation of etags when deleting a file or folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/sub" @@ -155,7 +153,6 @@ Feature: propagation of etags when deleting a file or folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/sub" @@ -191,7 +188,6 @@ Feature: propagation of etags when deleting a file or folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/sub" diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation1/moveFileFolder.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation1/moveFileFolder.feature index b0052d7260..64d3eaa7b2 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation1/moveFileFolder.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation1/moveFileFolder.feature @@ -144,7 +144,6 @@ Feature: propagation of etags when moving files or folders | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Brian" has stored etag of element "/" @@ -176,7 +175,6 @@ Feature: propagation of etags when moving files or folders | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Brian" has stored etag of element "/" @@ -209,14 +207,12 @@ Feature: propagation of etags when moving files or folders | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "src" synced And user "Alice" has sent the following resource share invitation: | resource | dst | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "dst" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/src" And user "Alice" has stored etag of element "/dst" @@ -253,14 +249,12 @@ Feature: propagation of etags when moving files or folders | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "src" synced And user "Alice" has sent the following resource share invitation: | resource | dst | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "dst" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/src" And user "Alice" has stored etag of element "/dst" diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation2/copyFileFolder.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation2/copyFileFolder.feature index 5a91c481e3..9c2b9833d6 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation2/copyFileFolder.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation2/copyFileFolder.feature @@ -148,7 +148,6 @@ Feature: propagation of etags when copying files or folders | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/file.txt" @@ -190,7 +189,6 @@ Feature: propagation of etags when copying files or folders | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/file.txt" diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation2/createFolder.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation2/createFolder.feature index 3c92cf0e8c..9354f99ebb 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation2/createFolder.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation2/createFolder.feature @@ -56,7 +56,6 @@ Feature: propagation of etags when creating folders | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folder" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/folder" And user "Brian" has stored etag of element "/" @@ -87,7 +86,6 @@ Feature: propagation of etags when creating folders | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "folder" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/folder" And user "Brian" has stored etag of element "/" diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation2/upload.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation2/upload.feature index a42075e630..d8f22f6b93 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation2/upload.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation2/upload.feature @@ -54,7 +54,6 @@ Feature: propagation of etags when uploading data | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Brian" has stored etag of element "/" @@ -84,7 +83,6 @@ Feature: propagation of etags when uploading data | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Brian" has stored etag of element "/" @@ -115,7 +113,6 @@ Feature: propagation of etags when uploading data | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Brian" has stored etag of element "/" @@ -146,7 +143,6 @@ Feature: propagation of etags when uploading data | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "upload" synced And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" And user "Brian" has stored etag of element "/" diff --git a/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature b/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature index 8ae73a508f..7917462d84 100644 --- a/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature +++ b/tests/acceptance/features/coreApiWebdavMove/moveShareOnOpencloud.feature @@ -19,7 +19,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced And user "Brian" has uploaded file with content "test data" to "/testfile.txt" When user "Brian" moves file "/testfile.txt" to "testshare/testfile.txt" using the WebDAV API Then the HTTP status code should be "201" @@ -49,7 +48,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced And user "Alice" has uploaded file with content "test data" to "/testfile.txt" When user "Alice" moves file "/testfile.txt" to "Shares/testshare/testfile.txt" using the WebDAV API Then the HTTP status code should be "502" @@ -80,7 +78,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Brian" moves file "/testshare/testfile.txt" to "/testfile.txt" using the WebDAV API Then the HTTP status code should be "201" And the content of file "/testfile.txt" for user "Brian" should be "test data" @@ -110,7 +107,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves file "/Shares/testshare/testfile.txt" to "/testfile.txt" using the WebDAV API Then the HTTP status code should be "502" And as "Alice" file "/Shares/testshare/testfile.txt" should exist @@ -138,7 +134,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced And user "Brian" has created folder "/testsubfolder" And user "Brian" has uploaded file with content "test data" to "/testsubfolder/testfile.txt" When user "Brian" moves folder "/testsubfolder" to "testshare/testsubfolder" using the WebDAV API @@ -169,7 +164,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced And user "Alice" has created folder "/testsubfolder" And user "Alice" has uploaded file with content "test data" to "/testsubfolder/testfile.txt" When user "Alice" moves folder "/testsubfolder" to "Shares/testshare/testsubfolder" using the WebDAV API @@ -204,7 +198,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Brian" moves folder "/testshare/testsubfolder" to "/testsubfolder" using the WebDAV API Then the HTTP status code should be "201" And the content of file "/testsubfolder/testfile.txt" for user "Brian" should be "test data" @@ -237,7 +230,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves folder "/Shares/testshare/testsubfolder" to "/testsubfolder" using the WebDAV API Then the HTTP status code should be "502" And as "Alice" folder "/Shares/testshare/testsubfolder" should exist @@ -267,7 +259,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves folder "Shares/testshare/testfile.txt" to "Shares/testshare/child/testfile.txt" using the WebDAV API Then the HTTP status code should be "201" And as "Alice" file "/Shares/testshare/child/testfile.txt" should exist @@ -293,7 +284,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves folder "Shares/testshare/testfile.txt" to "Shares/testshare/child/testfile.txt" using the WebDAV API Then the HTTP status code should be "403" And as "Alice" file "/Shares/testshare/child/testfile.txt" should not exist @@ -321,7 +311,6 @@ Feature: move (rename) file | sharee | Alice | | shareType | user | | permissionsRole | | - And user "Alice" has a share "testshare" synced When user "Alice" moves folder "Shares/testshare/testfile.txt" to "Shares/testshare/testfile.txt" using the WebDAV API Then the HTTP status code should be "403" And as "Brian" the file with original path "testshare/testfile.txt" should not exist in the trashbin diff --git a/tests/acceptance/features/coreApiWebdavPreviews/previews.feature b/tests/acceptance/features/coreApiWebdavPreviews/previews.feature index d545bd020d..15dd33bc1e 100644 --- a/tests/acceptance/features/coreApiWebdavPreviews/previews.feature +++ b/tests/acceptance/features/coreApiWebdavPreviews/previews.feature @@ -145,7 +145,6 @@ Feature: previews of files downloaded through the webdav API | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "" synced When user "Brian" downloads the preview of shared resource "/Shares/" with width "32" and height "32" using the WebDAV API Then the HTTP status code should be "200" And the downloaded image should be "32" pixels wide and "32" pixels high @@ -225,7 +224,6 @@ Feature: previews of files downloaded through the webdav API | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "parent.txt" synced And user "Brian" has downloaded the preview of shared resource "/Shares/parent.txt" with width "32" and height "32" When user "Alice" uploads file with content "this is a file to upload" to "/parent.txt" using the WebDAV API Then the HTTP status code should be "204" @@ -276,7 +274,6 @@ Feature: previews of files downloaded through the webdav API | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Alice" has downloaded the preview of "/FOLDER/lorem.txt" with width "32" and height "32" And user "Brian" has downloaded the preview of shared resource "Shares/FOLDER/lorem.txt" with width "32" and height "32" When user "Alice" uploads file "filesForUpload/lorem.txt" to "/FOLDER/lorem.txt" using the WebDAV API @@ -309,8 +306,6 @@ Feature: previews of files downloaded through the webdav API | sharee | grp1 | | shareType | group | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced - And user "Carol" has a share "FOLDER" synced And user "Alice" has downloaded the preview of "/FOLDER/lorem.txt" with width "32" and height "32" And user "Brian" has downloaded the preview of shared resource "Shares/FOLDER/lorem.txt" with width "32" and height "32" And user "Carol" has downloaded the preview of shared resource "Shares/FOLDER/lorem.txt" with width "32" and height "32" diff --git a/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature b/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature index 3d67e6a932..1c4fa26169 100644 --- a/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature +++ b/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature @@ -46,7 +46,6 @@ Feature: get quota | sharee | Alice | | shareType | user | | permissionsRole | Editor | - And user "Alice" has a share "testquota" synced When user "Alice" gets the following properties of folder "" inside space "Shares" using the WebDAV API | propertyName | | d:quota-available-bytes | @@ -86,7 +85,6 @@ Feature: get quota | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "Alice.txt" synced When user "Brian" gets the following properties of folder "/" using the WebDAV API | propertyName | | d:quota-available-bytes | diff --git a/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature b/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature index 8eea744c0d..4fdc96d541 100644 --- a/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature +++ b/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature @@ -72,7 +72,6 @@ Feature: set file properties | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "testcustompropshared.txt" synced When user "Alice" sets property "very-custom-prop" of file "testcustompropshared.txt" to "valueForSharetest" Then the HTTP status code should be "207" And the xml response should contain a property "very-custom-prop" diff --git a/tests/acceptance/features/coreApiWebdavUpload/uploadFile.feature b/tests/acceptance/features/coreApiWebdavUpload/uploadFile.feature index 4765b90fc0..e8c2b8e630 100644 --- a/tests/acceptance/features/coreApiWebdavUpload/uploadFile.feature +++ b/tests/acceptance/features/coreApiWebdavUpload/uploadFile.feature @@ -334,7 +334,6 @@ Feature: upload file | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textfile.txt" synced When user "Brian" uploads file with content "" to shared resource "Shares/textfile.txt" using the WebDAV API Then the HTTP status code should be "204" And for user "Brian" the content of the file "/test.txt" of the space "Shares" should be "" diff --git a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature index b6f07682b1..5775c8e095 100644 --- a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature +++ b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature @@ -20,7 +20,6 @@ Feature: upload file | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/toShare/file.txt" with mtime "Thu, 08 Aug 2012 04:18:13 GMT" using the TUS protocol on the WebDAV API Then as "Alice" the mtime of the file "/toShare/file.txt" should be "Thu, 08 Aug 2012 04:18:13 GMT" And as "Brian" the mtime of the file "/Shares/toShare/file.txt" should be "Thu, 08 Aug 2012 04:18:13 GMT" @@ -39,7 +38,6 @@ Feature: upload file | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced When user "Alice" uploads file "filesForUpload/textfile.txt" to "/toShare/file.txt" with mtime "Thu, 08 Aug 2012 04:18:13 GMT" using the TUS protocol on the WebDAV API Then as "Alice" the mtime of the file "/toShare/file.txt" should be "Thu, 08 Aug 2012 04:18:13 GMT" And as "Brian" the mtime of the file "/Shares/toShare/file.txt" should be "Thu, 08 Aug 2012 04:18:13 GMT" @@ -59,7 +57,6 @@ Feature: upload file | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced And user "Alice" has uploaded file with content "uploaded content" to "/toShare/file.txt" When user "Brian" uploads file "filesForUpload/textfile.txt" to "/Shares/toShare/file.txt" with mtime "Thu, 08 Aug 2012 04:18:13 GMT" using the TUS protocol on the WebDAV API Then as "Alice" the mtime of the file "/toShare/file.txt" should be "Thu, 08 Aug 2012 04:18:13 GMT" @@ -79,7 +76,6 @@ Feature: upload file | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "toShare" synced And user "Brian" has uploaded file with content "uploaded content" to "/Shares/toShare/file.txt" When user "Alice" uploads file "filesForUpload/textfile.txt" to "/toShare/file.txt" with mtime "Thu, 08 Aug 2012 04:18:13 GMT" using the TUS protocol on the WebDAV API Then as "Alice" the mtime of the file "/toShare/file.txt" should be "Thu, 08 Aug 2012 04:18:13 GMT" diff --git a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToNonExistingFolder.feature b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToNonExistingFolder.feature index 495f60482b..dd22fc5e9b 100644 --- a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToNonExistingFolder.feature +++ b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToNonExistingFolder.feature @@ -50,7 +50,6 @@ Feature: upload file | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file with content "uploaded content" to "/Shares/FOLDER/nonExistentFolder/textfile.txt" using the TUS protocol on the WebDAV API Then as "Brian" folder "/Shares/FOLDER/nonExistentFolder" should not exist And as "Brian" file "/Shares/FOLDER/nonExistentFolder/textfile.txt" should not exist @@ -71,7 +70,6 @@ Feature: upload file | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file with content "uploaded content" to "/Shares/FOLDER/nonExistentFolder/textfile.txt" using the TUS protocol on the WebDAV API Then as "Brian" folder "/Shares/FOLDER/nonExistentFolder" should not exist And as "Brian" file "/Shares/FOLDER/nonExistentFolder/textfile.txt" should not exist diff --git a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature index 9951daf88e..08ea428bfe 100644 --- a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature +++ b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature @@ -20,7 +20,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file with content "uploaded content" to "/Shares/FOLDER/textfile.txt" using the TUS protocol on the WebDAV API Then as "Alice" file "/FOLDER/textfile.txt" should exist And the content of file "/FOLDER/textfile.txt" for user "Alice" should be "uploaded content" @@ -39,7 +38,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file with content "uploaded content" to "/Shares/FOLDER/textfile.txt" using the TUS protocol on the WebDAV API Then as "Alice" file "/FOLDER/textfile.txt" should exist And the content of file "/FOLDER/textfile.txt" for user "Alice" should be "uploaded content" @@ -60,7 +58,6 @@ Feature: upload file to shared folder | sharee | grp1 | | shareType | group | | permissionsRole | Uploader | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file with content "uploaded content" to "/Shares/FOLDER/textfile.txt" using the TUS protocol on the WebDAV API Then as "Alice" file "/FOLDER/textfile.txt" should exist And the content of file "/FOLDER/textfile.txt" for user "Alice" should be "uploaded content" @@ -80,7 +77,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file with content "overwritten content" to "/Shares/FOLDER/textfile.txt" using the TUS protocol on the WebDAV API Then as "Alice" file "/FOLDER/textfile.txt" should exist And the content of file "/FOLDER/textfile.txt" for user "Alice" should be "overwritten content" @@ -99,7 +95,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Viewer | - And user "Brian" has a share "FOLDER" synced When user "Brian" uploads file with content "uploaded content" to "/Shares/FOLDER/textfile.txt" using the TUS protocol on the WebDAV API Then as "Brian" file "/Shares/FOLDER/textfile.txt" should not exist Examples: @@ -118,7 +113,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Alice" has created a new TUS resource on the WebDAV API with these headers: | Upload-Length | 5 | # L0ZPTERFUi90ZXh0RmlsZS50eHQ= is the base64 encode of /FOLDER/textFile.txt @@ -143,7 +137,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Alice" has created a new TUS resource on the WebDAV API with these headers: | Upload-Length | 5 | # L0ZPTERFUi90ZXh0RmlsZS50eHQ= is the base64 encode of /FOLDER/textFile.txt @@ -172,7 +165,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textFile.txt" synced When user "Brian" requests the checksum of "/Shares/textFile.txt" via propfind Then the HTTP status code should be "207" And the webdav checksum should match "SHA1:8cb2237d0679ca88db6464eac60da96345513964 MD5:827ccb0eea8a706c4c34a16891f84e7b ADLER32:02f80100" @@ -196,7 +188,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textFile.txt" synced When user "Brian" downloads file "/Shares/textFile.txt" using the WebDAV API Then the HTTP status code should be "200" And the header checksum should match "SHA1:8cb2237d0679ca88db6464eac60da96345513964" @@ -216,7 +207,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Brian" has created a new TUS resource on the WebDAV API with these headers: | Tus-Resumable | 1.0.0 | | Upload-Length | 16 | @@ -241,7 +231,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Brian" has created a new TUS resource on the WebDAV API with these headers: | Tus-Resumable | 1.0.0 | | Upload-Length | 16 | @@ -265,7 +254,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Alice" has created a new TUS resource on the WebDAV API with these headers: | Upload-Length | 16 | # L0ZPTERFUi90ZXh0RmlsZS50eHQ= is the base64 encode of /FOLDER/textFile.txt @@ -308,7 +296,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | Editor | - And user "Brian" has a share "FOLDER" synced And user "Brian" has created a new TUS resource on the WebDAV API with these headers: | Tus-Resumable | 1.0.0 | | Upload-Length | 10 | @@ -338,7 +325,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textFile.txt" synced When user "Brian" overwrites recently shared file with offset "0" and data "overwritten content" with checksum "SHA1 fe990d2686a0fc86004efc31f5bf2475a45d4905" using the TUS protocol on the WebDAV API with these headers: | Upload-Length | 19 | # dGV4dEZpbGUudHh0 is the base64 encode of /Shares/textFile.txt @@ -364,7 +350,6 @@ Feature: upload file to shared folder | sharee | Brian | | shareType | user | | permissionsRole | File Editor | - And user "Brian" has a share "textFile.txt" synced When user "Brian" overwrites recently shared file with offset "0" and data "overwritten content" with checksum "SHA1 fe990d2686a0fc86004efc31f5bf2475a45d4906" using the TUS protocol on the WebDAV API with these headers: | Upload-Length | 19 | # dGV4dEZpbGUudHh0 is the base64 encode of /Shares/textFile.txt