Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaw-jan Gurung <saw.jan.grg3e@gmail.com>2021-11-18 07:56:56 +0300
committerGitHub <noreply@github.com>2021-11-18 07:56:56 +0300
commit5431c68c63f2bd4b78fafde56134a5481cfb7ccc (patch)
treed4c60dadff86e273f61e71611f3f0b68f79cda84 /test/gui/shared/steps
parent227f9f8707ba987abb01ccb855db3bf64cfcfa72 (diff)
[gui-tests-only] Fix intermittent test fails (#9207)
* merge similar steps * fix sharing tests
Diffstat (limited to 'test/gui/shared/steps')
-rw-r--r--test/gui/shared/steps/steps.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index d1421b236..9ba1d7173 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -679,13 +679,6 @@ def step(context, resource):
createPublicShareWithRole(context, resource, role)
-@When(
- 'the user creates a new public link for folder "|any|" with "|any|" using the client-UI'
-)
-def step(context, resource, role):
- createPublicShareWithRole(context, resource, role)
-
-
@When('the user logs out of the client-UI')
def step(context):
accountStatus = AccountStatus()
@@ -833,6 +826,7 @@ def step(context, permissions, user, resource):
permissionsList = permissions.split(',')
shareItem = SharingDialog()
+ shareItem.verifyResource(resource)
editChecked, shareChecked = shareItem.getAvailablePermission()
if 'edit' in permissionsList: