Skip to content

Commit

Permalink
Skip tests related to issue-ocis-1328 on ocis
Browse files Browse the repository at this point in the history
  • Loading branch information
SwikritiT committed Jul 19, 2022
1 parent 1ad492a commit c690d38
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,31 +99,7 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUIPrivateLinks/accessingPrivateLinks.feature:25](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPrivateLinks/accessingPrivateLinks.feature#L25)
- [webUIPrivateLinks/accessingPrivateLinks.feature:35](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPrivateLinks/accessingPrivateLinks.feature#L35)

### [various sharing settings cannot be set](https://github.com/owncloud/ocis/issues/1328)
- [webUIRestrictSharing/disableSharing.feature:16](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature#L16)
- [webUIRestrictSharing/disableSharing.feature:22](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature#L22)
- [webUIRestrictSharing/disableSharing.feature:32](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature#L32)
- [webUIRestrictSharing/disableSharing.feature:49](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature#L49)
- [webUISharingPublicBasic/publicLinkEdit.feature:30](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L30)
- [webUISharingPublicBasic/publicLinkEdit.feature:31](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L31)
- [webUISharingPublicBasic/publicLinkEdit.feature:32](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L32)
- [webUISharingPublicBasic/publicLinkEdit.feature:33](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L33)
- [webUISharingPublicBasic/publicLinkEdit.feature:57](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L57)
- [webUISharingPublicBasic/publicLinkEdit.feature:58](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L58)
- [webUISharingPublicBasic/publicLinkEdit.feature:59](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L59)
- [webUISharingPublicBasic/publicLinkEdit.feature:60](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L60)
- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:51](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L51)
- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:52](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L52)
- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:71](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L71)
- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:72](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L72)
- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:86](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L86)
- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:106](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L106)
- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:130](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L130)
- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:147](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L147)
- [webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature:276](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature#L276)
- [webUIMoveFilesFolders/moveFiles.feature:97](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature#L97)
- [webUIMoveFilesFolders/moveFolders.feature:72](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIMoveFilesFolders/moveFolders.feature#L72)
- [webUIFilesActionMenu/versions.feature:93](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L93)
### [Share additional info](https://github.com/owncloud/ocis/issues/1253)
- [webUISharingInternalUsersShareWithPage/shareWithUsers.feature:140](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersShareWithPage/shareWithUsers.feature#L140)

### [No occ command in ocis](https://github.com/owncloud/ocis/issues/1317)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Feature: Versions of a file
And the user browses to display the "versions" details of file "lorem.txt"
Then the versions list should contain 1 entries

@issue-ocis-1328 @disablePreviews
@issue-ocis-1328 @disablePreviews @skipOnOCIS
Scenario: sharee can see the versions of a file
Given the setting "shareapi_auto_accept_share" of app "core" has been set to "yes" in the server
And user "user0" has uploaded file with content "lorem content" to "lorem-file.txt" in the server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Feature: move files
And as "Alice" file "simple-folder/simple-empty-folder/data.zip" should exist in the server
But as "Alice" file "simple-folder/data.zip" should not exist in the server

@issue-ocis-1328
@skipOnOCIS
Scenario: move a file into another folder with no change permission
Given user "Brian" has been created with default attributes and without skeleton files in the server
And user "Brian" has created folder "simple-folder" in the server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Feature: move folders
| "question?" | "target-folder-with-question?" |
| "&and#hash" | "target-folder-with-&and#hash" |

@issue-ocis-1328
@skipOnOCIS
Scenario: move a folder into another folder with no change permission
Given user "Brian" has been created with default attributes and without skeleton files in the server
And user "Brian" has created folder "/simple-folder" in the server
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ocis-reva-issue-41
@ocis-reva-issue-41 @skipOnOCIS
Feature: disable sharing
As an admin
I want to be able to disable the sharing function
Expand All @@ -11,17 +11,16 @@ Feature: disable sharing
And user "Alice" has created folder "simple-folder" in the server
And user "Alice" has uploaded file "lorem.txt" to "lorem.txt" in the server
And user "Alice" has uploaded file "lorem.txt" to "simple-folder/lorem.txt" in the server
And the setting "shareapi_enabled" of app "core" has been set to "no" in the server

@smokeTest
Scenario: Users tries to share via WebUI when Sharing is disabled
Given the setting "shareapi_enabled" of app "core" has been set to "no" in the server
When user "Alice" logs in using the webUI
Then it should not be possible to share folder "simple-folder" using the webUI


Scenario: Users tries to share from favorites page when sharing is disabled
Given the setting "shareapi_enabled" of app "core" has been set to "no" in the server
And user "Alice" has favorited element "lorem.txt" in the server
Given user "Alice" has favorited element "lorem.txt" in the server
And user "Alice" has favorited element "simple-folder" in the server
And user "Alice" has logged in using the webUI
When the user browses to the favorites page
Expand All @@ -35,7 +34,6 @@ Feature: disable sharing
And user "Brian" has accepted the share "Shares/lorem.txt" offered by user "Alice" in the server
And user "Alice" has shared folder "simple-folder" with user "Brian" in the server
And user "Brian" has accepted the share "Shares/simple-folder" offered by user "Alice" in the server
And the setting "shareapi_enabled" of app "core" has been set to "no" in the server
When user "Brian" logs in using the webUI
And the user opens folder "Shares" using the webUI
Then file "lorem.txt" should be listed on the webUI
Expand All @@ -50,7 +48,6 @@ Feature: disable sharing
Given user "Brian" has been created with default attributes and without skeleton files in the server
And user "Alice" has shared file "lorem.txt" with user "Brian" in the server
And user "Alice" has shared folder "simple-folder" with user "Brian" in the server
And the setting "shareapi_enabled" of app "core" has been set to "no" in the server
When user "Alice" logs in using the webUI
# Then the link for "shared-with-others" page should not be available in files page menu
And the user browses to the shared-with-others page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Edit public link shares
Background:
Given user "Alice" has been created with default attributes and without skeleton files in the server

@issue-ocis-1328
@issue-ocis-1328 @skipOnOCIS
Scenario Outline: user tries to change the role of an existing public link role without entering share password while enforce password for that role is enforced
Given the setting "<setting-name>" of app "core" has been set to "yes" in the server
And user "Alice" has created folder "simple-folder" in the server
Expand All @@ -34,7 +34,7 @@ Feature: Edit public link shares



@issue-ocis-1328
@issue-ocis-1328 @skipOnOCIS
Scenario Outline: user tries to delete the password of an existing public link role while enforce password for that role is enforced
Given the setting "<setting-name>" of app "core" has been set to "yes" in the server
And user "Alice" has created folder "simple-folder" in the server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ Feature: Share by public link with different roles
And as "Alice" the content of "simple-folder/'single'quotes.txt" in the server should be the same as the content of local file "'single'quotes.txt"
And as "Alice" the content of "simple-folder/new-lorem.txt" in the server should be the same as the content of local file "new-lorem.txt"

@issue-ocis-1328
@issue-ocis-1328 @skipOnOCIS
Scenario: user tries to create a public link with Viewer role without entering share password while enforce password on read only public share is enforced
Given the setting "shareapi_enforce_links_password_read_only" of app "core" has been set to "yes" in the server
And user "Alice" has logged in using the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Feature: Share by public link



@issue-ocis-1328
@issue-ocis-1328 @skipOnOCIS
Scenario Outline: auto set expiration date on public link (with default amount of expiry days)
Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server
And user "Alice" has created <element> "<shared-resource>" in the server
Expand All @@ -51,7 +51,7 @@ Feature: Share by public link
| file | lorem.txt |
| folder | simple-folder |

@issue-ocis-1328
@issue-ocis-1328 @skipOnOCIS
Scenario Outline: auto set expiration date on public link (with set amount expiry days)
Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server
And the setting "shareapi_expire_after_n_days" of app "core" has been set to "42" in the server
Expand Down Expand Up @@ -82,7 +82,7 @@ Feature: Share by public link



@issue-ocis-1328
@issue-ocis-1328 @skipOnOCIS
Scenario: user cannot change the expiry date of an existing public link to a date that is past the enforced max expiry date
Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server
And the setting "shareapi_enforce_expire_date" of app "core" has been set to "yes" in the server
Expand All @@ -102,7 +102,7 @@ Feature: Share by public link
| name | Public link |
| expiration | +6 |

@issue-ocis-1328
@issue-ocis-1328 @skipOnOCIS
Scenario: user cannot change the expiry date on existing public link to a date past the enforced max expiry date once max expiry date is changed
Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server
And the setting "shareapi_expire_after_n_days" of app "core" has been set to "16" in the server
Expand All @@ -126,7 +126,7 @@ Feature: Share by public link



@issue-ocis-1328
@issue-ocis-1328 @skipOnOCIS
Scenario: user can set an expiry date when creating a public link to a date that is before the enforced max expiry date
Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server
And the setting "shareapi_enforce_expire_date" of app "core" has been set to "yes" in the server
Expand All @@ -143,7 +143,7 @@ Feature: Share by public link
| expiration | +7 |


@issue-ocis-1328
@issue-ocis-1328 @skipOnOCIS
Scenario: user can change the expiry date of an existing public link to a date that is before the enforced max expiry date
Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server
And the setting "shareapi_enforce_expire_date" of app "core" has been set to "yes" in the server
Expand Down

0 comments on commit c690d38

Please sign in to comment.