Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-03-14 18:46:27 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2016-03-14 19:16:09 +0300
commit928138f11c2b30174db092dda1fad9d119cef92d (patch)
tree2f01f45b8178e411e5f91561eddc26ffb40be5a8 /build
parente0998c27ff205566db7799dce177192d2b776bc1 (diff)
Deduplicate the existing background
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/sharees.feature58
1 files changed, 14 insertions, 44 deletions
diff --git a/build/integration/features/sharees.feature b/build/integration/features/sharees.feature
index 35a80e72062..996a2b444c9 100644
--- a/build/integration/features/sharees.feature
+++ b/build/integration/features/sharees.feature
@@ -1,12 +1,12 @@
Feature: sharees
Background:
Given using api version "1"
-
- Scenario: Search without exact match
- Given user "test" exists
+ And user "test" exists
And user "Sharee1" exists
And group "ShareeGroup" exists
- And As an "test"
+
+ Scenario: Search without exact match
+ Given As an "test"
When getting sharees for
| search | Sharee |
| itemType | file |
@@ -22,10 +22,7 @@ Feature: sharees
And "remotes" sharees returned is empty
Scenario: Search without exact match not-exact casing
- Given user "test" exists
- And user "Sharee1" exists
- And group "ShareeGroup" exists
- And As an "test"
+ Given As an "test"
When getting sharees for
| search | sharee |
| itemType | file |
@@ -42,10 +39,7 @@ Feature: sharees
# TODO need to move the appconfig setting from Capabilities to Basic/Provisioning
# Scenario: Search without exact match no iteration allowed
-# Given user "test" exists
-# And user "Sharee1" exists
-# And group "ShareeGroup" exists
-# And As an "test"
+# Given As an "test"
# When getting sharees for
# | search | Sharee |
# | itemType | file |
@@ -59,10 +53,7 @@ Feature: sharees
# And "remotes" sharees returned is empty
#
# Scenario: Search with exact match no iteration allowed
-# Given user "test" exists
-# And user "Sharee1" exists
-# And group "ShareeGroup" exists
-# And As an "test"
+# Given As an "test"
# When getting sharees for
# | search | Sharee1 |
# | itemType | file |
@@ -77,10 +68,7 @@ Feature: sharees
# And "remotes" sharees returned is empty
#
# Scenario: Search with exact match group no iteration allowed
-# Given user "test" exists
-# And user "Sharee1" exists
-# And group "ShareeGroup" exists
-# And As an "test"
+# Given As an "test"
# When getting sharees for
# | search | ShareeGroup |
# | itemType | file |
@@ -95,10 +83,7 @@ Feature: sharees
# And "remotes" sharees returned is empty
Scenario: Search with exact match
- Given user "test" exists
- And user "Sharee1" exists
- And group "ShareeGroup" exists
- And As an "test"
+ Given As an "test"
When getting sharees for
| search | Sharee1 |
| itemType | file |
@@ -113,10 +98,7 @@ Feature: sharees
Then "remotes" sharees returned is empty
Scenario: Search with exact match not-exact casing
- Given user "test" exists
- And user "Sharee1" exists
- And group "ShareeGroup" exists
- And As an "test"
+ Given As an "test"
When getting sharees for
| search | sharee1 |
| itemType | file |
@@ -131,10 +113,7 @@ Feature: sharees
Then "remotes" sharees returned is empty
Scenario: Search with exact match not-exact casing group
- Given user "test" exists
- And user "Sharee1" exists
- And group "ShareeGroup" exists
- And As an "test"
+ Given As an "test"
When getting sharees for
| search | shareegroup |
| itemType | file |
@@ -149,10 +128,7 @@ Feature: sharees
Then "remotes" sharees returned is empty
Scenario: Search with "self"
- Given user "test" exists
- And user "Sharee1" exists
- And group "ShareeGroup" exists
- And As an "Sharee1"
+ Given As an "Sharee1"
When getting sharees for
| search | Sharee1 |
| itemType | file |
@@ -167,10 +143,7 @@ Feature: sharees
Then "remotes" sharees returned is empty
Scenario: Remote sharee for files
- Given user "test" exists
- And user "Sharee1" exists
- And group "ShareeGroup" exists
- And As an "test"
+ Given As an "test"
When getting sharees for
| search | test@localhost |
| itemType | file |
@@ -185,10 +158,7 @@ Feature: sharees
Then "remotes" sharees returned is empty
Scenario: Remote sharee for calendars not allowed
- Given user "test" exists
- And user "Sharee1" exists
- And group "ShareeGroup" exists
- And As an "test"
+ Given As an "test"
When getting sharees for
| search | test@localhost |
| itemType | calendar |