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-05-10 12:27:39 +0300
committerGitHub <noreply@github.com>2021-05-10 12:27:39 +0300
commit55f5856589eff2218c9a4654bbce65cef8cd32ec (patch)
tree1b48d6598d055c7298e69753174adbd738c039e8 /test/gui/shared/steps
parent864907d89d0501bdb95e0c3685ea7954f1370924 (diff)
[tests-only] repair file sync failing test (#8616)
* [tests-only]repair file sync failing test * add new object to names.py * remove comment line
Diffstat (limited to 'test/gui/shared/steps')
-rw-r--r--test/gui/shared/steps/steps.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index 83e4319f9..fa3626e95 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -402,18 +402,18 @@ def step(context, filename):
waitForObject(names.settings_OCC_SettingsDialog)
waitForObjectExists({
"column": 1,
- "container": names.oCC_IssuesWidget_treeWidget_QTreeWidget,
+ "container": names.oCC_IssuesWidget_tableView_QTableView,
"text": RegularExpression(buildConflictedRegex(filename)),
"type": "QModelIndex"
})
+
-
-@When('the user selects the unsynced files tab with |integer| unsynced files')
-def step(context, number):
+@When('the user selects the unsynced files tab')
+def step(context):
# TODO: find some way to dynamically select the tab name
# It might take some time for all files to sync except the expected number of unsynced files
snooze(10)
- clickTab(waitForObject(names.stack_QTabWidget), "Not Synced ({})".format(number))
+ clickTab(waitForObject(names.stack_QTabWidget), "Not Synced")
def openPublicLinkDialog(context, resource):