diff options
author | Artur Neumann <artur@jankaritech.com> | 2021-05-11 08:33:43 +0300 |
---|---|---|
committer | Artur Neumann <artur@jankaritech.com> | 2021-05-11 10:11:08 +0300 |
commit | e7c06959e638f40a3157c33121104b8b9a805572 (patch) | |
tree | e440cb14acff29037d27565f612ff6fd5f021ba1 /test/gui/shared | |
parent | 63d2dcf74a676b3fb3643392473ed788a23c87e3 (diff) |
wait for all files to be synced before pause the file sync
Diffstat (limited to 'test/gui/shared')
-rw-r--r-- | test/gui/shared/steps/steps.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py index d7c6fd92f..6b687f83e 100644 --- a/test/gui/shared/steps/steps.py +++ b/test/gui/shared/steps/steps.py @@ -327,6 +327,7 @@ def step(context, filePath): @Given('the user has paused the file sync') def step(context): + waitFor(lambda: isFolderSynced(context.userData['clientSyncPath']), context.userData['clientSyncTimeout'] * 1000) openContextMenu(waitForObjectItem(names.stack_folderList_QTreeView, "_1"), 0, 0, Qt.NoModifier) activateItem(waitForObjectItem(names.settings_QMenu, "Pause sync")) |