Skip to content

Commit

Permalink
Updated expected failures lines replacing closed issues with open ones
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranparajuli589 committed Jul 9, 2021
1 parent f27d144 commit f12d4fb
Show file tree
Hide file tree
Showing 12 changed files with 141 additions and 88 deletions.
177 changes: 115 additions & 62 deletions tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions tests/acceptance/features/webUIResharing1/reshareUsers.feature
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Feature: Resharing shared files with different permissions
| item_type | folder |
| permissions | read, share |

@skipOnOC10
@skipOnOC10 @issue-ocis-2260
#after fixing the issue delete this scenario and use the one above by deleting the @skipOnOCIS tag there
Scenario: share a folder with another user with share permissions and reshare without share permissions to different user, and check if user is displayed for original sharer (ocis bug demonstration)
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions
Expand Down Expand Up @@ -103,15 +103,15 @@ Feature: Resharing shared files with different permissions
| item_type | folder |
| permissions | read |

@issue-product-270

Scenario: share a folder without share permissions and check if another user can reshare
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read" permissions
And user "Alice" has accepted the share "simple-folder" offered by user "Brian"
When user "Alice" logs in using the webUI
And the user opens folder "Shares" using the webUI
Then the user should not be able to share resource "simple-folder" using the webUI

@issue-product-270

Scenario: share a file without share permissions and check if another user can reshare
Given user "Brian" has created file "lorem.txt"
And user "Brian" has shared file "lorem.txt" with user "Alice" with "read" permissions
Expand All @@ -120,7 +120,7 @@ Feature: Resharing shared files with different permissions
And the user opens folder "Shares" using the webUI
Then the user should not be able to share resource "lorem.txt" using the webUI

@issue-product-270

Scenario: share a received folder without share permissions and check if another user can reshare
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "all" permissions
And user "Alice" has accepted the share "simple-folder" offered by user "Brian"
Expand All @@ -130,7 +130,7 @@ Feature: Resharing shared files with different permissions
And the user opens folder "Shares" using the webUI
Then the user should not be able to share resource "simple-folder" using the webUI

@issue-product-270

Scenario: share a received file without share permissions and check if another user can reshare
Given user "Brian" has created file "lorem.txt"
And user "Brian" has shared file "lorem.txt" with user "Alice" with "all" permissions
Expand All @@ -141,7 +141,7 @@ Feature: Resharing shared files with different permissions
And the user opens folder "Shares" using the webUI
Then the user should not be able to share resource "lorem.txt" using the webUI

@issue-ocis-1743
@issue-5461
Scenario: User is allowed to reshare a file/folder with the equivalent received permissions, and collaborators should not be listed for the receiver
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete" permissions
And user "Alice" has accepted the share "simple-folder" offered by user "Brian"
Expand All @@ -162,7 +162,7 @@ Feature: Resharing shared files with different permissions
| item_type | folder |
| permissions | share, delete, read |

@issue-product-270
@issue-5461
Scenario: User is allowed to reshare a file/folder with the lesser permissions, and check if it is listed for original owner
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete" permissions
And user "Alice" has accepted the share "simple-folder" offered by user "Brian"
Expand All @@ -183,7 +183,7 @@ Feature: Resharing shared files with different permissions
| item_type | folder |
| permissions | delete, read |

@issue-product-270
@issue-5461
Scenario: User is not allowed to reshare a file/folder with the higher permissions
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete" permissions
And user "Alice" has accepted the share "simple-folder" offered by user "Brian"
Expand Down Expand Up @@ -226,7 +226,7 @@ Feature: Resharing shared files with different permissions
Then as "Carol" folder "/Shares/simple-folder" should exist
And as "Carol" file "/Shares/lorem.txt" should exist

@ocis-reva-issue-39
@issue-ocis-1330
Scenario: Reshare a file and folder from favorites page
Given user "Brian" has created file "lorem.txt"
And user "Brian" has shared folder "simple-folder" with user "Alice"
Expand All @@ -244,7 +244,7 @@ Feature: Resharing shared files with different permissions
Then as "Carol" folder "/Shares/simple-folder" should exist
And as "Carol" file "/Shares/lorem.txt" should exist


@issue-product-270
Scenario: Resource owner sees resharer in collaborators list
Given user "Brian" has created file "lorem.txt"
And user "Brian" has shared folder "simple-folder" with user "Alice"
Expand All @@ -256,7 +256,7 @@ Feature: Resharing shared files with different permissions
Then user "Alice Hansen" should be listed as "Editor" in the collaborators list on the webUI
And user "Carol King" should be listed as "Editor" reshared through "Alice Hansen" in the collaborators list on the webUI

@kiran-create-reshare-issue-not-complete-colab-list
@issue-5642
Scenario: Share recipient sees resharer in collaborators list
Given user "David" has been created with default attributes and without skeleton files
And group "Davidgrp" has been created
Expand Down
10 changes: 5 additions & 5 deletions tests/acceptance/features/webUIResharing2/reshareUsers.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Feature: Resharing shared files with different permissions
| Carol |
And user "Brian" has created folder "simple-folder"

@issue-ocis-1743
@issue-ocis-1922
Scenario: Reshare a folder without share permissions using API and check if it is listed on the collaborators list for original owner
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions
And user "Alice" has accepted the share "simple-folder" offered by user "Brian"
Expand All @@ -25,7 +25,7 @@ Feature: Resharing shared files with different permissions
Then user "Carol King" should be listed as "Advanced permissions" in the collaborators list for folder "simple-folder" on the webUI
And no custom permissions should be set for collaborator "Carol King" for folder "simple-folder" on the webUI

@issue-ocis-1743
@issue-ocis-1922
Scenario: Reshare a folder without share permissions using API and check if it is listed on the collaborators list for resharer
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions
And user "Alice" has accepted the share "simple-folder" offered by user "Brian"
Expand All @@ -37,7 +37,7 @@ Feature: Resharing shared files with different permissions
Then user "Carol King" should be listed as "Advanced permissions" in the collaborators list for folder "simple-folder" on the webUI
And no custom permissions should be set for collaborator "Carol King" for folder "simple-folder" on the webUI

@issue-product-270 @issue-ocis-1743

Scenario: Reshare a folder without share permissions using API and check if the receiver can reshare
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions
And user "Alice" has accepted the share "simple-folder" offered by user "Brian"
Expand All @@ -47,7 +47,7 @@ Feature: Resharing shared files with different permissions
And the user opens folder "Shares" using the webUI
Then the user should not be able to share folder "simple-folder" using the webUI

@issue-ocis-1743
@issue-ocis-2260 @issue-ocis-1922
Scenario Outline: share a received folder with another user with same permissions(including share permissions) and check if the user is displayed in collaborators list for resharer
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "<permissions>" permissions
And user "Alice" has accepted the share "simple-folder" offered by user "Brian"
Expand All @@ -72,7 +72,7 @@ Feature: Resharing shared files with different permissions
| Advanced permissions | Advanced permissions | update, share | share, update | read, update, share |
| Advanced permissions | Editor | delete, share, create, update | | read, share, delete, update, create |

@skipOnOC10
@skipOnOC10 @issue-ocis-2260 @issue-ocis-1922
#after fixing the issue delete this scenario and use the one above by deleting the @skipOnOCIS tag there
Scenario Outline: share a received folder with another user with same permissions(including share permissions) and check if the user is displayed in collaborators list for resharer (ocis bug demonstration)
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "<permissions>" permissions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@issue-ocis-1743 @issue-ocis-1277 @issue-ocis-1922
@issue-ocis-1277 @issue-ocis-1922
Feature: Sharing files with internal groups with permissions
As a user
I want to set different permissions on shared files with groups
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Sharing folders with multiple internal users using advanced permissions
| Alice |
| Brian |

@issue-ocis-1743
@issue-ocis-1922
Scenario Outline: share a folder with multiple users using role as advanced permissions role and different extra permissions
Given these users have been created with default attributes and without skeleton files:
| username |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ocis-issue-1743
@issue-ocis-1922
Feature: Sharing folders with internal groups with role as advanced permissions
As a user
I want to set different permissions on shared folders with groups
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Feature: Sharing folders with multiple internal users with different permissions
| Alice |
| Brian |

@issue-ocis-1743
@issue-ocis-1743 @issue-ocis-1227
Scenario Outline: share a folder with multiple users with different roles and permissions
Given these users have been created with default attributes and without skeleton files:
| username |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ocis-reva-issue-34 @ocis-reva-issue-194
@ocis-issue-1277 @ocis-issue-2260
Feature: Sharing folders with internal groups with different roles and permissions
As a user
I want to set different permissions on shared folders with groups
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Feature: Sharing files and folders with internal groups
And the user shares folder "simple-folder" with user "Alice Hansen" as "Viewer" using the webUI
Then the current collaborators list should have order "Carol King,Alice Hansen,Brian Murphy,grp1,grp11"

@issue-ocis-1922 @issue-ocis-1743
@issue-ocis-1922
Scenario Outline: share a file & folder with another internal user
Given user "Carol" has created folder "simple-folder"
And user "Carol" has created file "simple-folder/lorem.txt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ocis-reva-issue-34 @ocis-reva-issue-194
@ocis-reva-issue-194
Feature: Sharing files and folders with internal groups
As a user
I want to share files and folders with groups
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ocis-reva-issue-34 @ocis-reva-issue-194
@ocis-reva-issue-194
Feature: Sharing files and folders with internal groups
As a user
I want to share files and folders with groups
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Feature: Shares in share-with pages
And the user opens folder "simple-folder" using the webUI
Then file "collaborate-on-this.txt" should be listed on the webUI

@issue-ocis-2226
@issue-ocis-2266
Scenario: unsharing an entry on the shared-with-me page unshares from self
Given user "Alice" has created folder "simple-folder"
And user "Alice" has shared folder "simple-folder" with user "Brian"
Expand All @@ -98,7 +98,7 @@ Feature: Shares in share-with pages
And the user browses to the folder "Shares" on the files page
Then folder "simple-folder" should not be listed on the webUI

@issue-4582
@issue-4582 @issue-ocis-2266
Scenario: unsharing multiple entries on the shared-with-me page
Given user "Alice" has created folder "simple-folder"
And user "Alice" has created file "lorem.txt"
Expand Down

0 comments on commit f12d4fb

Please sign in to comment.