Skip to content

Commit 4240122

Browse files
committed
fix: set object name on browse button of advanced settings page
1 parent 1288518 commit 4240122

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/gui/newaccountwizard/advancedsettingspagecontroller.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ void AdvancedSettingsPageController::buildPage()
136136
connect(_rootDirEdit, &QLineEdit::editingFinished, this, &AdvancedSettingsPageController::onRootDirFieldEdited);
137137

138138
_folderButton = new QPushButton(tr("Browse..."), _page);
139+
_folderButton->setObjectName("BrowseButton");
139140
_folderButton->setFocusPolicy(Qt::StrongFocus);
140141
_folderButton->setAccessibleDescription(tr("Browse for a download location"));
141142
connect(_folderButton, &QPushButton::clicked, this, &AdvancedSettingsPageController::showFolderPicker);

test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class AccountConnectionWizard:
7171
"window": names.welcome_to_ownCloud_OCC_NewAccountWizard,
7272
}
7373
DIRECTORY_NAME_BOX = {
74+
"name": "BrowseButton",
7475
# "text": "Browse...",
7576
"type": "QPushButton",
7677
"unnamed": 1,

0 commit comments

Comments
 (0)