Deduplicate the existing background
This commit is contained in:
parent
e0998c27ff
commit
928138f11c
|
@ -1,12 +1,12 @@
|
||||||
Feature: sharees
|
Feature: sharees
|
||||||
Background:
|
Background:
|
||||||
Given using api version "1"
|
Given using api version "1"
|
||||||
|
And user "test" exists
|
||||||
Scenario: Search without exact match
|
|
||||||
Given user "test" exists
|
|
||||||
And user "Sharee1" exists
|
And user "Sharee1" exists
|
||||||
And group "ShareeGroup" exists
|
And group "ShareeGroup" exists
|
||||||
And As an "test"
|
|
||||||
|
Scenario: Search without exact match
|
||||||
|
Given As an "test"
|
||||||
When getting sharees for
|
When getting sharees for
|
||||||
| search | Sharee |
|
| search | Sharee |
|
||||||
| itemType | file |
|
| itemType | file |
|
||||||
|
@ -22,10 +22,7 @@ Feature: sharees
|
||||||
And "remotes" sharees returned is empty
|
And "remotes" sharees returned is empty
|
||||||
|
|
||||||
Scenario: Search without exact match not-exact casing
|
Scenario: Search without exact match not-exact casing
|
||||||
Given user "test" exists
|
Given As an "test"
|
||||||
And user "Sharee1" exists
|
|
||||||
And group "ShareeGroup" exists
|
|
||||||
And As an "test"
|
|
||||||
When getting sharees for
|
When getting sharees for
|
||||||
| search | sharee |
|
| search | sharee |
|
||||||
| itemType | file |
|
| itemType | file |
|
||||||
|
@ -42,10 +39,7 @@ Feature: sharees
|
||||||
|
|
||||||
# TODO need to move the appconfig setting from Capabilities to Basic/Provisioning
|
# TODO need to move the appconfig setting from Capabilities to Basic/Provisioning
|
||||||
# Scenario: Search without exact match no iteration allowed
|
# Scenario: Search without exact match no iteration allowed
|
||||||
# Given user "test" exists
|
# Given As an "test"
|
||||||
# And user "Sharee1" exists
|
|
||||||
# And group "ShareeGroup" exists
|
|
||||||
# And As an "test"
|
|
||||||
# When getting sharees for
|
# When getting sharees for
|
||||||
# | search | Sharee |
|
# | search | Sharee |
|
||||||
# | itemType | file |
|
# | itemType | file |
|
||||||
|
@ -59,10 +53,7 @@ Feature: sharees
|
||||||
# And "remotes" sharees returned is empty
|
# And "remotes" sharees returned is empty
|
||||||
#
|
#
|
||||||
# Scenario: Search with exact match no iteration allowed
|
# Scenario: Search with exact match no iteration allowed
|
||||||
# Given user "test" exists
|
# Given As an "test"
|
||||||
# And user "Sharee1" exists
|
|
||||||
# And group "ShareeGroup" exists
|
|
||||||
# And As an "test"
|
|
||||||
# When getting sharees for
|
# When getting sharees for
|
||||||
# | search | Sharee1 |
|
# | search | Sharee1 |
|
||||||
# | itemType | file |
|
# | itemType | file |
|
||||||
|
@ -77,10 +68,7 @@ Feature: sharees
|
||||||
# And "remotes" sharees returned is empty
|
# And "remotes" sharees returned is empty
|
||||||
#
|
#
|
||||||
# Scenario: Search with exact match group no iteration allowed
|
# Scenario: Search with exact match group no iteration allowed
|
||||||
# Given user "test" exists
|
# Given As an "test"
|
||||||
# And user "Sharee1" exists
|
|
||||||
# And group "ShareeGroup" exists
|
|
||||||
# And As an "test"
|
|
||||||
# When getting sharees for
|
# When getting sharees for
|
||||||
# | search | ShareeGroup |
|
# | search | ShareeGroup |
|
||||||
# | itemType | file |
|
# | itemType | file |
|
||||||
|
@ -95,10 +83,7 @@ Feature: sharees
|
||||||
# And "remotes" sharees returned is empty
|
# And "remotes" sharees returned is empty
|
||||||
|
|
||||||
Scenario: Search with exact match
|
Scenario: Search with exact match
|
||||||
Given user "test" exists
|
Given As an "test"
|
||||||
And user "Sharee1" exists
|
|
||||||
And group "ShareeGroup" exists
|
|
||||||
And As an "test"
|
|
||||||
When getting sharees for
|
When getting sharees for
|
||||||
| search | Sharee1 |
|
| search | Sharee1 |
|
||||||
| itemType | file |
|
| itemType | file |
|
||||||
|
@ -113,10 +98,7 @@ Feature: sharees
|
||||||
Then "remotes" sharees returned is empty
|
Then "remotes" sharees returned is empty
|
||||||
|
|
||||||
Scenario: Search with exact match not-exact casing
|
Scenario: Search with exact match not-exact casing
|
||||||
Given user "test" exists
|
Given As an "test"
|
||||||
And user "Sharee1" exists
|
|
||||||
And group "ShareeGroup" exists
|
|
||||||
And As an "test"
|
|
||||||
When getting sharees for
|
When getting sharees for
|
||||||
| search | sharee1 |
|
| search | sharee1 |
|
||||||
| itemType | file |
|
| itemType | file |
|
||||||
|
@ -131,10 +113,7 @@ Feature: sharees
|
||||||
Then "remotes" sharees returned is empty
|
Then "remotes" sharees returned is empty
|
||||||
|
|
||||||
Scenario: Search with exact match not-exact casing group
|
Scenario: Search with exact match not-exact casing group
|
||||||
Given user "test" exists
|
Given As an "test"
|
||||||
And user "Sharee1" exists
|
|
||||||
And group "ShareeGroup" exists
|
|
||||||
And As an "test"
|
|
||||||
When getting sharees for
|
When getting sharees for
|
||||||
| search | shareegroup |
|
| search | shareegroup |
|
||||||
| itemType | file |
|
| itemType | file |
|
||||||
|
@ -149,10 +128,7 @@ Feature: sharees
|
||||||
Then "remotes" sharees returned is empty
|
Then "remotes" sharees returned is empty
|
||||||
|
|
||||||
Scenario: Search with "self"
|
Scenario: Search with "self"
|
||||||
Given user "test" exists
|
Given As an "Sharee1"
|
||||||
And user "Sharee1" exists
|
|
||||||
And group "ShareeGroup" exists
|
|
||||||
And As an "Sharee1"
|
|
||||||
When getting sharees for
|
When getting sharees for
|
||||||
| search | Sharee1 |
|
| search | Sharee1 |
|
||||||
| itemType | file |
|
| itemType | file |
|
||||||
|
@ -167,10 +143,7 @@ Feature: sharees
|
||||||
Then "remotes" sharees returned is empty
|
Then "remotes" sharees returned is empty
|
||||||
|
|
||||||
Scenario: Remote sharee for files
|
Scenario: Remote sharee for files
|
||||||
Given user "test" exists
|
Given As an "test"
|
||||||
And user "Sharee1" exists
|
|
||||||
And group "ShareeGroup" exists
|
|
||||||
And As an "test"
|
|
||||||
When getting sharees for
|
When getting sharees for
|
||||||
| search | test@localhost |
|
| search | test@localhost |
|
||||||
| itemType | file |
|
| itemType | file |
|
||||||
|
@ -185,10 +158,7 @@ Feature: sharees
|
||||||
Then "remotes" sharees returned is empty
|
Then "remotes" sharees returned is empty
|
||||||
|
|
||||||
Scenario: Remote sharee for calendars not allowed
|
Scenario: Remote sharee for calendars not allowed
|
||||||
Given user "test" exists
|
Given As an "test"
|
||||||
And user "Sharee1" exists
|
|
||||||
And group "ShareeGroup" exists
|
|
||||||
And As an "test"
|
|
||||||
When getting sharees for
|
When getting sharees for
|
||||||
| search | test@localhost |
|
| search | test@localhost |
|
||||||
| itemType | calendar |
|
| itemType | calendar |
|
||||||
|
|
Loading…
Reference in New Issue