Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests-Only] Refactor apiShareCreateSpecial1 to use Shares folder #37938

Merged
merged 3 commits into from
Sep 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,15 @@ config = {
'apiProvisioning-v2',
'apiProvisioningGroups-v1',
'apiProvisioningGroups-v2',
'apiShareCreateSpecial1',
'apiShareCreateSpecialRoot2',
'apiShareCreateSpecialShares2',
'apiShareCreateSpecialToRoot1',
'apiShareCreateSpecialToShares1',
'apiShareCreateSpecialToRoot2',
'apiShareCreateSpecialToShares2',
'apiSharees',
'apiShareManagementToRoot',
'apiShareManagementToShares',
'apiShareToRootManagementBasic',
'apiShareToSharesManagementBasic',
'apiShareManagementBasicToRoot',
'apiShareManagementBasicToShares',
'apiShareOperationsToRoot',
'apiShareOperationsToShares',
'apiSharePublicLink1',
Expand Down
31 changes: 21 additions & 10 deletions tests/acceptance/config/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ default:
- OccContext:
- OccUsersGroupsContext:

apiShareCreateSpecial1:
apiShareCreateSpecialToRoot1:
paths:
- '%paths.base%/../features/apiShareCreateSpecial1'
- '%paths.base%/../features/apiShareCreateSpecialToRoot1'
context: *common_ldap_suite_context
contexts:
- FeatureContext: *common_feature_context_params
Expand All @@ -154,9 +154,9 @@ default:
- WebDavPropertiesContext:
- AppConfigurationContext:

apiShareCreateSpecialRoot2:
apiShareCreateSpecialToShares1:
paths:
- '%paths.base%/../features/apiShareCreateSpecialRoot2'
- '%paths.base%/../features/apiShareCreateSpecialToShares1'
context: *common_ldap_suite_context
contexts:
- FeatureContext: *common_feature_context_params
Expand All @@ -165,9 +165,20 @@ default:
- WebDavPropertiesContext:
- AppConfigurationContext:

apiShareCreateSpecialShares2:
apiShareCreateSpecialToRoot2:
paths:
- '%paths.base%/../features/apiShareCreateSpecialShares2'
- '%paths.base%/../features/apiShareCreateSpecialToRoot2'
context: *common_ldap_suite_context
contexts:
- FeatureContext: *common_feature_context_params
- OccContext:
- TrashbinContext:
- WebDavPropertiesContext:
- AppConfigurationContext:

apiShareCreateSpecialToShares2:
paths:
- '%paths.base%/../features/apiShareCreateSpecialToShares2'
context: *common_ldap_suite_context
contexts:
- FeatureContext: *common_feature_context_params
Expand Down Expand Up @@ -209,9 +220,9 @@ default:
- WebDavPropertiesContext:
- AppConfigurationContext:

apiShareToRootManagementBasic:
apiShareManagementBasicToRoot:
paths:
- '%paths.base%/../features/apiShareToRootManagementBasic'
- '%paths.base%/../features/apiShareManagementBasicToRoot'
context: *common_ldap_suite_context
contexts:
- FeatureContext: *common_feature_context_params
Expand All @@ -221,9 +232,9 @@ default:
- WebDavPropertiesContext:
- AuthContext:

apiShareToSharesManagementBasic:
apiShareManagementBasicToShares:
paths:
- '%paths.base%/../features/apiShareToSharesManagementBasic'
- '%paths.base%/../features/apiShareManagementBasicToShares'
context: *common_ldap_suite_context
contexts:
- FeatureContext: *common_feature_context_params
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @files_sharing-app-required @toImplementOnOCIS @issue-ocis-reva-41 @issue-ocis-reva-243 @issue-ocis-reva-333
@api @files_sharing-app-required @notToImplementOnOCIS
Feature: a default expiration date can be specified for shares with users or groups

Background:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @files_sharing-app-required @toImplementOnOCIS @issue-ocis-reva-34
@api @files_sharing-app-required @notToImplementOnOCIS
Feature: share resources where the sharee receives the share in multiple ways

Background:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @files_sharing-app-required @toImplementOnOCIS @issue-ocis-reva-11 @issue-ocis-reva-243
@api @files_sharing-app-required @notToImplementOnOCIS
Feature: resources shared with the same name are received with unique names

Background:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @files_sharing-app-required @toImplementOnOCIS @issue-ocis-reva-41
@api @files_sharing-app-required @notToImplementOnOCIS
Feature: cannot share resources when in a group that is excluded from sharing

Background:
Expand Down
Loading