mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-23 05:59:28 -06:00
Merge pull request #5640 from owncloud/remove-invokecommand-related-steps-from-occContext-master
[full-ci] [tests-only] Remove invokecommand related steps from occ context master
This commit is contained in:
@@ -802,19 +802,19 @@ Not everything needs to be implemented for ocis. While the oc10 testsuite covers
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:100](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L100)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:136](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L136)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:159](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L159)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:322](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L322)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:323](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L323)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:324](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L324)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:325](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L325)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:329](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L329)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:330](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L330)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:331](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L331)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:332](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L332)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:333](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L333)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:334](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L334)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:335](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L335)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:352](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L352)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:372](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L372)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:426](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L426)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:463](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L463)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:351](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L351)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:371](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L371)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:425](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L425)
|
||||
- [coreApiTrashbin/trashbinFilesFolders.feature:462](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L462)
|
||||
|
||||
#### [Default capabilities for normal user and admin user not same as in oC-core](https://github.com/owncloud/ocis/issues/1285)
|
||||
- [coreApiCapabilities/capabilities.feature:8](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiCapabilities/capabilities.feature#L8)
|
||||
|
||||
@@ -543,49 +543,6 @@ class OccContext implements Context {
|
||||
$this->invokingTheCommand('files_external:list --show-password --output=json');
|
||||
}
|
||||
|
||||
/**
|
||||
* @When /^the administrator invokes occ command "([^"]*)"$/
|
||||
*
|
||||
* @param string $cmd
|
||||
*
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function theAdministratorInvokesOccCommand(string $cmd):void {
|
||||
$this->invokingTheCommand($cmd);
|
||||
}
|
||||
|
||||
/**
|
||||
* @When /^the administrator invokes occ command "([^"]*)" for user "([^"]*)"$/
|
||||
*
|
||||
* @param string $cmd
|
||||
* @param string $user
|
||||
*
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function theAdministratorInvokesOccCommandForUser(string $cmd, string $user):void {
|
||||
$user = $this->featureContext->getActualUsername($user);
|
||||
$cmd = $this->featureContext->substituteInLineCodes(
|
||||
$cmd,
|
||||
$user
|
||||
);
|
||||
$this->invokingTheCommand($cmd);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Given /^the administrator has invoked occ command "([^"]*)"$/
|
||||
*
|
||||
* @param string $cmd
|
||||
*
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function theAdministratorHasInvokedOccCommand(string $cmd):void {
|
||||
$this->invokingTheCommand($cmd);
|
||||
$this->theCommandShouldHaveBeenSuccessful();
|
||||
}
|
||||
|
||||
/**
|
||||
* @Given the administrator has selected master key encryption type using the occ command
|
||||
*
|
||||
@@ -634,53 +591,6 @@ class OccContext implements Context {
|
||||
\array_push($this->removedCertificates, $certificate);
|
||||
}
|
||||
|
||||
/**
|
||||
* @When /^the administrator invokes occ command "([^"]*)" with environment variable "([^"]*)" set to "([^"]*)"$/
|
||||
*
|
||||
* @param string $cmd
|
||||
* @param string $envVariableName
|
||||
* @param string $envVariableValue
|
||||
*
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function theAdministratorInvokesOccCommandWithEnvironmentVariable(
|
||||
string $cmd,
|
||||
string $envVariableName,
|
||||
string $envVariableValue
|
||||
):void {
|
||||
$this->featureContext->setOccLastCode(
|
||||
$this->invokingTheCommandWithEnvVariable(
|
||||
$cmd,
|
||||
$envVariableName,
|
||||
$envVariableValue
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Given /^the administrator has invoked occ command "([^"]*)" with environment variable "([^"]*)" set to "([^"]*)"$/
|
||||
*
|
||||
* @param string $cmd
|
||||
* @param string $envVariableName
|
||||
* @param string $envVariableValue
|
||||
*
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function theAdministratorHasInvokedOccCommandWithEnvironmentVariable(
|
||||
string $cmd,
|
||||
string $envVariableName,
|
||||
string $envVariableValue
|
||||
):void {
|
||||
$this->invokingTheCommandWithEnvVariable(
|
||||
$cmd,
|
||||
$envVariableName,
|
||||
$envVariableValue
|
||||
);
|
||||
$this->theCommandShouldHaveBeenSuccessful();
|
||||
}
|
||||
|
||||
/**
|
||||
* @When the administrator runs upgrade routines on local server using the occ command
|
||||
*
|
||||
|
||||
@@ -161,7 +161,6 @@ Feature: files and folders exist in the trashbin after being deleted
|
||||
@local_storage @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 the administrator has invoked occ command "files:scan --all"
|
||||
And user "Alice" has created folder "/local_storage/tmp"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/local_storage/tmp/textfile0.txt"
|
||||
When user "Alice" deletes folder "/local_storage/tmp" using the WebDAV API
|
||||
|
||||
@@ -133,7 +133,6 @@ Feature: Restore deleted files/folders
|
||||
@local_storage @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 the administrator has invoked occ command "files:scan --all"
|
||||
And user "Alice" has created folder "/local_storage/tmp"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/local_storage/tmp/textfile0.txt"
|
||||
And user "Alice" has deleted file "/local_storage/tmp/textfile0.txt"
|
||||
@@ -156,7 +155,6 @@ Feature: Restore deleted files/folders
|
||||
@local_storage @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 the administrator has invoked occ command "files:scan --all"
|
||||
And user "Alice" has created folder "/local_storage/tmp"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/local_storage/tmp/textfile0.txt"
|
||||
And user "Alice" has uploaded chunk file "1" of "1" with "AA" to "/local_storage/tmp/textfile0.txt"
|
||||
|
||||
Reference in New Issue
Block a user