From dfaac8885fbf46cfab07f1dccb303dde43687ed0 Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Thu, 14 Dec 2017 11:33:14 +0545 Subject: [PATCH] skip known to fail tests on 10.0.3 --- .../ui/features/other/managingGroups.feature | 39 +++++++++++++++---- .../other/managingingUserQuota.feature | 8 +++- .../shareByPublicLink.feature | 2 + 3 files changed, 40 insertions(+), 9 deletions(-) diff --git a/tests/ui/features/other/managingGroups.feature b/tests/ui/features/other/managingGroups.feature index e069fb26d622..d353a826e4bc 100644 --- a/tests/ui/features/other/managingGroups.feature +++ b/tests/ui/features/other/managingGroups.feature @@ -8,13 +8,42 @@ So that access to resources can be controlled more effectively And I am logged in as admin And I am on the users page - Scenario: delete groups + @skipOnOcV10.0.3 + Scenario: delete group called "0" and "false" And these groups exist: |groupname | |do-not-delete | - |grp1 | |0 | |false | + |do-not-delete2| + And I am on the users page + When I delete these groups: + |groupname| + |0 | + |false | + And the users page is reloaded + Then these groups should be listed: + |groupname | + |do-not-delete | + |do-not-delete2| + But these groups should not be listed: + |groupname| + |0 | + |false | + And these groups should exist: + |groupname | + |do-not-delete | + |do-not-delete2| + But these groups should not exist: + |groupname| + |0 | + |false | + + Scenario: delete groups with problematic names + And these groups exist: + |groupname | + |do-not-delete | + |grp1 | |quotes' | |quotes" | |do-not-delete2| @@ -22,8 +51,6 @@ So that access to resources can be controlled more effectively When I delete these groups: |groupname| |grp1 | - |0 | - |false | |quotes' | |quotes" | And the users page is reloaded @@ -34,8 +61,6 @@ So that access to resources can be controlled more effectively But these groups should not be listed: |groupname| |grp1 | - |0 | - |false | |quotes' | |quotes" | And these groups should exist: @@ -45,7 +70,5 @@ So that access to resources can be controlled more effectively But these groups should not exist: |groupname| |grp1 | - |0 | - |false | |quotes' | |quotes" | diff --git a/tests/ui/features/other/managingingUserQuota.feature b/tests/ui/features/other/managingingUserQuota.feature index d9d19aba779b..ee6a969eebce 100644 --- a/tests/ui/features/other/managingingUserQuota.feature +++ b/tests/ui/features/other/managingingUserQuota.feature @@ -25,7 +25,13 @@ So that users can only take up a certain amount of storage space |Unlimited |5B |5 B | |Unlimited |55kB |55 KB | |Unlimited |45Kb |45 KB | - |Unlimited |0 Kb |0 B | + + @skipOnOcV10.0.3 + Scenario: change quota to a valid value that do not work on 10.0.3 + And quota of user "%regularuser%" is set to "Unlimited" + When quota of user "%regularuser%" is changed to "0 Kb" + And the users page is reloaded + Then quota of user "%regularuser%" should be set to "0 B" Scenario Outline: change quota to an invalid value When quota of user "%regularuser%" is changed to "" diff --git a/tests/ui/features/sharingExternalOther/shareByPublicLink.feature b/tests/ui/features/sharingExternalOther/shareByPublicLink.feature index cadf65fdc30d..a09510abb859 100644 --- a/tests/ui/features/sharingExternalOther/shareByPublicLink.feature +++ b/tests/ui/features/sharingExternalOther/shareByPublicLink.feature @@ -20,6 +20,7 @@ So that public sharing is limited according to organization policy And I access the last created public link Then the file "lorem.txt" should be listed + @skipOnOcV10.0.3 @feature_was_changed_in_10.0.4 Scenario: creating a public link with read & write permissions makes it possible to delete files via the link When I create a new public link for the folder "simple-folder" with | permission | Read & Write | @@ -33,6 +34,7 @@ So that public sharing is limited according to organization policy Then the deleted elements should not be listed And the deleted elements should not be listed after a page reload + @skipOnOcV10.0.3 @feature_was_changed_in_10.0.4 Scenario: creating a public link with read permissions only makes it impossible to delete files via the link When I create a new public link for the folder "simple-folder" with | permission | Read |