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-09-17 17:41:35 +0300
committerGitHub <noreply@github.com>2021-09-17 17:41:35 +0300
commit2a758f37edbf6fa0ffc59cd83c8c189fe3775925 (patch)
tree0c0b2278be66c8506f891b441c284ac588ca4a21 /test/gui/shared/steps
parente0d1caf7780b4ad07fe40ed31be2ca99cc8a6856 (diff)
[tests-only] Fix "sync conflict" test scenario (#9032)
* refactor clickTab in Activity * make test step reusable Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
Diffstat (limited to 'test/gui/shared/steps')
-rw-r--r--test/gui/shared/steps/steps.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index 60b94c794..6657825ca 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -413,10 +413,10 @@ def step(context, filename):
activity.checkFileExist(filename)
-@When('the user selects the unsynced files tab')
-def step(context):
+@When('the user selects "|any|" tab in the activity')
+def step(context, tabName):
activity = Activity()
- activity.clickTab("Not Synced")
+ activity.clickTab(tabName)
def openSharingDialog(context, resource, itemType='file'):