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-06-18 13:52:45 +0300
committerGitHub <noreply@github.com>2021-06-18 13:52:45 +0300
commitf282e371beef2116c5aaf405e12671c5b5bbd3bf (patch)
tree78c5d106b8ac62fd8c278f256f6eff3395f9c89c /test/gui/shared
parent93e42bec1a9922776e2bbe1d4b3e567bf16d8369 (diff)
[Tests-Only] Visually check all tabs (#8725)
Diffstat (limited to 'test/gui/shared')
-rw-r--r--test/gui/shared/scripts/names.py2
-rw-r--r--test/gui/shared/steps/steps.py6
2 files changed, 8 insertions, 0 deletions
diff --git a/test/gui/shared/scripts/names.py b/test/gui/shared/scripts/names.py
index ec3fabf4d..7188f72f9 100644
--- a/test/gui/shared/scripts/names.py
+++ b/test/gui/shared/scripts/names.py
@@ -96,3 +96,5 @@ oCC_ShareLinkWidget_checkBox_expire_QCheckBox = {"container": qt_tabwidget_stack
oCC_ShareLinkWidget_checkBox_expire_QProgressIndicator = {"aboveWidget": oCC_ShareLinkWidget_lineEdit_password_QLineEdit, "container": qt_tabwidget_stackedwidget_OCC_ShareLinkWidget_OCC_ShareLinkWidget, "leftWidget": oCC_ShareLinkWidget_checkBox_expire_QCheckBox, "type": "QProgressIndicator", "unnamed": 1, "visible": 1}
oCC_IssuesWidget_tableView_QTableView = {"container": qt_tabwidget_stackedwidget_OCC_IssuesWidget_OCC_IssuesWidget, "name": "_tableView", "type": "QTableView", "visible": 1}
o_tableView_0_1_QModelIndex = {"column": 1, "container": oCC_IssuesWidget_tableView_QTableView, "row": 0, "type": "QModelIndex"}
+settings_settingsdialog_toolbutton_Add_account_QToolButton = {"name": "settingsdialog_toolbutton_Add account", "type": "QToolButton", "visible": 1, "window": settings_OCC_SettingsDialog}
+settings_settingsdialog_toolbutton_Activity_QToolButton = {"name": "settingsdialog_toolbutton_Activity", "type": "QToolButton", "visible": 1, "window": settings_OCC_SettingsDialog}
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index 79b802c66..674d464f8 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -640,3 +640,9 @@ def step(context):
'Ser&ver Address',
)
waitForObject(AccountConnectionWizard.SERVER_ADDRESS_BOX)
+
+
+@Then("the following tabs in the toolbar should match the default baseline")
+def step(context):
+ for tabName in context.table:
+ test.vp(tabName[0])