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-04-22 15:01:42 +0300
committerGitHub <noreply@github.com>2021-04-22 15:01:42 +0300
commit119ca3dfebd767697ce52495e6249ad538d2ca5d (patch)
tree6bc96458489348b11f1f5c6623eca782488258d5 /test/gui/shared/steps
parent196c641dbd3a12c441723c6b801cdce7490ca51e (diff)
[tests-only]refactor tests for file sync conflict (#8569)
Diffstat (limited to 'test/gui/shared/steps')
-rw-r--r--test/gui/shared/steps/steps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index a6ed80dbe..e2bc105c5 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -323,7 +323,7 @@ def step(context, filePath):
@Given('the user has paused the file sync')
def step(context):
- mouseClick(waitForObjectItem(names.stack_folderList_QTreeView, "_1"), 718, 39, Qt.NoModifier, Qt.LeftButton)
+ openContextMenu(waitForObjectItem(names.stack_folderList_QTreeView, "_1"), 0, 0, Qt.NoModifier)
activateItem(waitForObjectItem(names.settings_QMenu, "Pause sync"))
@@ -337,7 +337,7 @@ def step(context, filename):
@When('the user resumes the file sync on the client')
def step(context):
- mouseClick(waitForObjectItem(names.stack_folderList_QTreeView, "_1"), 719, 38, Qt.NoModifier, Qt.LeftButton)
+ openContextMenu(waitForObjectItem(names.stack_folderList_QTreeView, "_1"), 0, 0, Qt.NoModifier)
activateItem(waitForObjectItem(names.settings_QMenu, "Resume sync"))