mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-23 05:59:28 -06:00
Remove tag skipOnOcis notToImplementOnOCIS oImplementOnOCIS comments-app-required federation-app-required notifications-app-required systemtags-app-required local_storage
This commit is contained in:
@@ -962,7 +962,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
|
||||
|
||||
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
early_fail = config["apiTests"]["earlyFail"] if "earlyFail" in config["apiTests"] else False
|
||||
filterTags = "~@skipOnGraph&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage&&~@caldav&&~@carddav" % ("OC" if storage == "owncloud" else "OCIS")
|
||||
filterTags = "~@skipOnGraph&&~@skipOnOcis-%s-Storage&&~@caldav&&~@carddav" % ("OC" if storage == "owncloud" else "OCIS")
|
||||
expectedFailuresFile = "%s/tests/acceptance/expected-failures-API-on-%s-storage.md" % (dirs["base"], storage.upper())
|
||||
|
||||
return {
|
||||
|
||||
@@ -12,7 +12,7 @@ then
|
||||
if [ "$STORAGE_DRIVER" = "ocis" ]
|
||||
then
|
||||
export OCIS_REVA_DATA_ROOT=''
|
||||
export BEHAT_FILTER_TAGS='~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-OCIS-Storage'
|
||||
export BEHAT_FILTER_TAGS='~@skipOnOcis-OCIS-Storage'
|
||||
export OCIS_SKELETON_STRATEGY='upload'
|
||||
export EXPECTED_FAILURES_FILE='/drone/src/tests/acceptance/expected-failures-API-on-OCIS-storage.md'
|
||||
elif [ "$STORAGE_DRIVER" = "s3ng" ]
|
||||
|
||||
@@ -3668,20 +3668,6 @@ class FeatureContext extends BehatVariablesContext {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* After Scenario. restore trusted servers
|
||||
*
|
||||
* @AfterScenario @federation-app-required
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function restoreTrustedServersAfterScenario(): void {
|
||||
$this->restoreTrustedServers('LOCAL');
|
||||
if ($this->federatedServerExists()) {
|
||||
$this->restoreTrustedServers('REMOTE');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceUser
|
||||
* @param string $targetUser
|
||||
@@ -3817,21 +3803,6 @@ class FeatureContext extends BehatVariablesContext {
|
||||
return $body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Before Scenario to Save trusted Servers
|
||||
*
|
||||
* @BeforeScenario @federation-app-required
|
||||
*
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function setInitialTrustedServersBeforeScenario(): void {
|
||||
$this->initialTrustedServer = [
|
||||
'LOCAL' => $this->getTrustedServers(),
|
||||
'REMOTE' => $this->getTrustedServers('REMOTE')
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* The method returns userId
|
||||
*
|
||||
|
||||
@@ -158,7 +158,7 @@ Feature: files and folders exist in the trashbin after being deleted
|
||||
| dav-path |
|
||||
| spaces |
|
||||
|
||||
@local_storage @files_external-app-required @skipOnEncryptionType:user-keys @encryption-issue-42 @skip_on_objectstore
|
||||
@files_external-app-required @skipOnEncryptionType:user-keys @encryption-issue-42 @skip_on_objectstore
|
||||
Scenario Outline: Deleting a folder into external storage moves it to the trashbin
|
||||
Given using <dav-path> DAV path
|
||||
And user "Alice" has created folder "/local_storage/tmp"
|
||||
|
||||
@@ -130,7 +130,7 @@ Feature: Restore deleted files/folders
|
||||
| old |
|
||||
| new |
|
||||
|
||||
@local_storage @files_external-app-required @skipOnEncryptionType:user-keys @encryption-issue-42 @skip_on_objectstore
|
||||
@files_external-app-required @skipOnEncryptionType:user-keys @encryption-issue-42 @skip_on_objectstore
|
||||
Scenario Outline: Deleting a file into external storage moves it to the trashbin and can be restored
|
||||
Given using <dav-path> DAV path
|
||||
And user "Alice" has created folder "/local_storage/tmp"
|
||||
@@ -152,7 +152,7 @@ Feature: Restore deleted files/folders
|
||||
| old |
|
||||
| new |
|
||||
|
||||
@local_storage @files_external-app-required @skipOnEncryptionType:user-keys @encryption-issue-42 @skip_on_objectstore
|
||||
@files_external-app-required @skipOnEncryptionType:user-keys @encryption-issue-42 @skip_on_objectstore
|
||||
Scenario: Deleting an updated file into external storage moves it to the trashbin and can be restored
|
||||
Given using old DAV path
|
||||
And user "Alice" has created folder "/local_storage/tmp"
|
||||
|
||||
Reference in New Issue
Block a user