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:
authorSwoichha Adhikari <swoichhaa@gmail.com>2021-12-13 13:14:32 +0300
committerGitHub <noreply@github.com>2021-12-13 13:14:32 +0300
commitf100deb90127fa169b5d25e380569dadbf6fdf07 (patch)
tree80e3b71134da3e2f6c37a720745dc813039abebf /test/gui/shared/scripts
parentbad73476715612cf316aeab5d3d7f955270677f5 (diff)
[tests-only]add test for sharing file to multiple users (#9188)
Diffstat (limited to 'test/gui/shared/scripts')
-rw-r--r--test/gui/shared/scripts/pageObjects/SharingDialog.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/gui/shared/scripts/pageObjects/SharingDialog.py b/test/gui/shared/scripts/pageObjects/SharingDialog.py
index a8a4f1ea5..79388926f 100644
--- a/test/gui/shared/scripts/pageObjects/SharingDialog.py
+++ b/test/gui/shared/scripts/pageObjects/SharingDialog.py
@@ -74,8 +74,6 @@ class SharingDialog:
):
squish.clickButton(squish.waitForObject(self.SHARE_PERMISSIONS_CHECKBOX))
- squish.clickButton(squish.waitForObject(self.SHARING_DIALOG_CLOSE_BUTTON))
-
def getSharingDialogMessage(self):
return str(squish.waitForObjectExists(self.SHARING_DIALOG).text)
@@ -130,3 +128,6 @@ class SharingDialog:
str(squish.waitForObjectExists(self.ITEM_TO_SHARE).text),
resource,
)
+
+ def closeSharingDialog(self):
+ squish.clickButton(squish.waitForObject(self.SHARING_DIALOG_CLOSE_BUTTON))