Skip to content

Commit

Permalink
Remove tag skipOnOcis notToImplementOnOCIS oImplementOnOCIS comments-…
Browse files Browse the repository at this point in the history
…app-required federation-app-required notifications-app-required systemtags-app-required local_storage
  • Loading branch information
amrita-shrestha committed May 4, 2023
1 parent bc2a74c commit a34c6c4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/docker/src/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down
29 changes: 0 additions & 29 deletions tests/acceptance/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -3668,20 +3668,6 @@ public function setCapabilities(array $capabilitiesArray): void {
);
}

/**
* 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
Expand Down Expand Up @@ -3817,21 +3803,6 @@ public function getBodyForOCSRequest(string $method, string $property): ?string
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
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit a34c6c4

Please sign in to comment.