Skip to content

Commit

Permalink
Remove skipOnOcis tags
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Aug 20, 2020
1 parent 305992a commit 350a598
Showing 1 changed file with 21 additions and 29 deletions.
50 changes: 21 additions & 29 deletions tests/acceptance/features/apiShareManagement/acceptShares.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: accept/decline shares coming from internal users
And user "Brian" has been added to group "grp1"
And user "Carol" has been added to group "grp1"

@smokeTest @skipOnOcis @toImplementOnOCIS
@smokeTest @toImplementOnOCIS
Scenario Outline: share a file & folder with another internal user with different permissions when auto accept is enabled
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
When user "Alice" creates a share using the sharing API with settings
Expand Down Expand Up @@ -46,7 +46,7 @@ Feature: accept/decline shares coming from internal users
| change |
| all |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario Outline: share a file & folder with another internal user when auto accept is enabled and there is a default folder for received shares
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
And the administrator has set the default folder for received shares to "<share_folder>"
Expand All @@ -73,7 +73,7 @@ Feature: accept/decline shares coming from internal users
| ReceivedShares | /ReceivedShares | | PARENT | textfile0.txt |
| /My/Received/Shares | /My/Received/Shares | | PARENT | textfile0.txt |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario Outline: share a file & folder with internal group with different permissions when auto accept is enabled
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
When user "Alice" creates a share using the sharing API with settings
Expand Down Expand Up @@ -114,7 +114,7 @@ Feature: accept/decline shares coming from internal users
| change |
| all |

@smokeTest @skipOnOcis @toImplementOnOCIS
@smokeTest @toImplementOnOCIS
Scenario: decline a share that has been auto-accepted
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
And user "Alice" has shared folder "/PARENT" with user "Brian"
Expand All @@ -132,7 +132,7 @@ Feature: accept/decline shares coming from internal users
| /PARENT/ |
| /textfile0.txt |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: accept a share that has been declined before
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
And user "Alice" has shared folder "/PARENT" with user "Brian"
Expand Down Expand Up @@ -167,7 +167,7 @@ Feature: accept/decline shares coming from internal users
| /PARENT/ |
| /textfile0.txt |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: unshare a share that was shared with a group and auto-accepted
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
And user "Alice" has shared folder "/PARENT" with group "grp1"
Expand All @@ -191,7 +191,7 @@ Feature: accept/decline shares coming from internal users
| /PARENT (2)/ |
| /textfile0 (2).txt |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: rename accepted share, decline it
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
And user "Alice" has shared folder "/PARENT" with user "Brian"
Expand All @@ -206,7 +206,7 @@ Feature: accept/decline shares coming from internal users
| path |
| /PARENT/ |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: rename accepted share, decline it then accept again, name stays
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
And user "Alice" has shared folder "/PARENT" with user "Brian"
Expand All @@ -222,7 +222,7 @@ Feature: accept/decline shares coming from internal users
| path |
| /PARENT-renamed/ |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: move accepted share, decline it, accept again
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
And user "Alice" has created folder "/shared"
Expand All @@ -240,7 +240,7 @@ Feature: accept/decline shares coming from internal users
| path |
| /PARENT/shared/ |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: move accepted share, decline it, delete parent folder, accept again
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
And user "Alice" has created folder "/shared"
Expand All @@ -259,7 +259,7 @@ Feature: accept/decline shares coming from internal users
| path |
| /shared/ |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: receive two shares with identical names from different users
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
And user "Alice" has created folder "/shared"
Expand All @@ -278,7 +278,7 @@ Feature: accept/decline shares coming from internal users
| /shared/ |
| /shared (2)/ |

@smokeTest @skipOnOcis @toImplementOnOCIS
@smokeTest @toImplementOnOCIS
Scenario: share a file & folder with another internal group when auto accept is disabled
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
When user "Alice" shares folder "/PARENT" with group "grp1" using the sharing API
Expand Down Expand Up @@ -329,7 +329,7 @@ Feature: accept/decline shares coming from internal users
| /PARENT/ |
| /textfile0.txt |

@smokeTest @skipOnOcis
@smokeTest
Scenario: accept a pending share
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "Alice" has shared folder "/PARENT" with user "Brian"
Expand Down Expand Up @@ -370,7 +370,6 @@ Feature: accept/decline shares coming from internal users
| /PARENT (2)/ |
| /textfile0 (2).txt |

@skipOnOcis
Scenario Outline: accept a pending share when there is a default folder for received shares
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And the administrator has set the default folder for received shares to "<share_folder>"
Expand Down Expand Up @@ -419,7 +418,6 @@ Feature: accept/decline shares coming from internal users
| ReceivedShares | /ReceivedShares | | PARENT | textfile0.txt |
| /My/Received/Shares | /My/Received/Shares | | PARENT | textfile0.txt |

@skipOnOcis
Scenario: accept an accepted share
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "Alice" has created folder "/shared"
Expand All @@ -434,7 +432,7 @@ Feature: accept/decline shares coming from internal users
| path |
| /shared/ |

@smokeTest @skipOnOcis
@smokeTest
Scenario: declines a pending share
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "Alice" has shared folder "/PARENT" with user "Brian"
Expand All @@ -456,7 +454,7 @@ Feature: accept/decline shares coming from internal users
| /PARENT/ |
| /textfile0.txt |

@smokeTest @skipOnOcis
@smokeTest
Scenario: decline an accepted share
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "Alice" has shared folder "/PARENT" with user "Brian"
Expand All @@ -476,7 +474,6 @@ Feature: accept/decline shares coming from internal users
| /PARENT/ |
| /textfile0.txt |

@skipOnOcis
Scenario: deleting shares in pending state
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "Alice" has shared folder "/PARENT" with user "Brian"
Expand All @@ -485,7 +482,7 @@ Feature: accept/decline shares coming from internal users
And user "Alice" deletes file "/textfile0.txt" using the WebDAV API
Then the sharing API should report that no shares are shared with user "Brian"

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: only one user in a group accepts a share
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "Alice" has shared folder "/PARENT" with group "grp1"
Expand All @@ -511,7 +508,6 @@ Feature: accept/decline shares coming from internal users
| /PARENT (2)/ |
| /textfile0 (2).txt |

@skipOnOcis
Scenario: receive two shares with identical names from different users, accept one by one
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "Alice" has created folder "/shared"
Expand All @@ -532,7 +528,7 @@ Feature: accept/decline shares coming from internal users
| /shared/ |
| /shared (2)/ |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: share with a group that you are part of yourself
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
When user "Alice" shares folder "/PARENT" with group "grp1" using the sharing API
Expand All @@ -543,7 +539,6 @@ Feature: accept/decline shares coming from internal users
| /PARENT/ |
And the sharing API should report that no shares are shared with user "Alice"

@skipOnOcis
Scenario: user accepts file that was initially accepted from another user and then declined
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "Alice" has uploaded file with content "First file" to "/testfile.txt"
Expand All @@ -563,7 +558,6 @@ Feature: accept/decline shares coming from internal users
And the content of file "/testfile (2).txt" for user "Carol" should be "Second file"
And the content of file "/testfile (2) (2).txt" for user "Carol" should be "First file"

@skipOnOcis
Scenario: user accepts shares received from multiple users with the same name when auto-accept share is disabled
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "David" has been created with default attributes and skeleton files
Expand All @@ -585,7 +579,6 @@ Feature: accept/decline shares coming from internal users
| /PARENT (2) (2)/ | Carol |
| /PARENT (2) (2) (2)/ | Brian |

@skipOnOcis
Scenario: user shares folder with matching folder-name for both user involved in sharing
Given user "Alice" uploads file with content "uploaded content" to "/PARENT/abc.txt" using the WebDAV API
And user "Alice" uploads file with content "uploaded content" to "/FOLDER/abc.txt" using the WebDAV API
Expand All @@ -606,7 +599,7 @@ Feature: accept/decline shares coming from internal users
And the content of file "/PARENT (2)/abc.txt" for user "Brian" should be "uploaded content"
And the content of file "/FOLDER (2)/abc.txt" for user "Brian" should be "uploaded content"

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: user shares folder in a group with matching folder-name for every users involved
Given user "Alice" uploads file with content "uploaded content" to "/PARENT/abc.txt" using the WebDAV API
And user "Alice" uploads file with content "uploaded content" to "/FOLDER/abc.txt" using the WebDAV API
Expand Down Expand Up @@ -639,7 +632,7 @@ Feature: accept/decline shares coming from internal users
And the content of file "/PARENT (2)/abc.txt" for user "Carol" should be "uploaded content"
And the content of file "/FOLDER (2)/abc.txt" for user "Carol" should be "uploaded content"

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: user shares files in a group with matching file-names for every users involved in sharing
When user "Alice" shares file "/textfile0.txt" with group "grp1" using the sharing API
And user "Alice" shares file "/textfile1.txt" with group "grp1" using the sharing API
Expand All @@ -656,7 +649,6 @@ Feature: accept/decline shares coming from internal users
| /textfile0%20(2).txt |
| /textfile1%20(2).txt |

@skipOnOcis
Scenario: user shares resource with matching resource-name with another user when auto accept is disabled
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
When user "Alice" shares folder "/PARENT" with user "Brian" using the sharing API
Expand All @@ -677,7 +669,7 @@ Feature: accept/decline shares coming from internal users
| /PARENT%20(2)/ |
| /textfile0%20(2).txt |

@skipOnOcis @toImplementOnOCIS
@toImplementOnOCIS
Scenario: user shares file in a group with matching filename when auto accept is disabled
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
When user "Alice" shares file "/textfile0.txt" with group "grp1" using the sharing API
Expand All @@ -700,7 +692,7 @@ Feature: accept/decline shares coming from internal users
| /textfile0.txt |
| /textfile0%20(2).txt |

@skipOnLDAP @skipOnOcis
@skipOnLDAP
Scenario: user shares folder with matching folder name a user before that user has logged in
Given these users have been created with skeleton files but not initialized:
| username |
Expand Down

0 comments on commit 350a598

Please sign in to comment.