diff options
author | Swoichha Adhikari <swoichhaa@gmail.com> | 2021-12-13 13:14:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 13:14:32 +0300 |
commit | f100deb90127fa169b5d25e380569dadbf6fdf07 (patch) | |
tree | 80e3b71134da3e2f6c37a720745dc813039abebf /test/gui/shared/scripts | |
parent | bad73476715612cf316aeab5d3d7f955270677f5 (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.py | 5 |
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)) |