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:
authorTalank <talank@gces.edu.np>2022-05-26 14:07:35 +0300
committerTalank <talank@gces.edu.np>2022-05-26 14:07:35 +0300
commit8f64ee0bd2cd331bed7546dfb325607c879da817 (patch)
treed697c916393b5abebefc7a0e8dc8009fd26f4008
parent6b6d4c19f402fd06da82dc3bc874074ca3227294 (diff)
[Tests-Only]Fixed wrong credentials login testfix-addAccount-test-suite
-rw-r--r--test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py17
-rw-r--r--test/gui/tst_addAccount/test.feature5
2 files changed, 12 insertions, 10 deletions
diff --git a/test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py b/test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py
index 4ddd99179..dfc26814f 100644
--- a/test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py
+++ b/test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py
@@ -11,7 +11,9 @@ class AccountConnectionWizard:
USERNAME_BOX = names.contentWidget_usernameLineEdit_QLineEdit
PASSWORD_BOX = names.contentWidget_passwordLineEdit_QLineEdit
SELECT_LOCAL_FOLDER = names.localDirectoryGroupBox_localDirectoryLineEdit_QLineEdit
- DIRECTORY_NAME_BOX = names.localDirectoryGroupBox_chooseLocalDirectoryButton_QToolButton
+ DIRECTORY_NAME_BOX = (
+ names.localDirectoryGroupBox_chooseLocalDirectoryButton_QToolButton
+ )
CHOOSE_BUTTON = names.qFileDialog_Choose_QPushButton
FINISH_BUTTON = {
"name": "qt_wizard_finish",
@@ -20,22 +22,23 @@ class AccountConnectionWizard:
"window": names.owncloudWizard_OCC_OwncloudWizard,
}
ERROR_LABEL = {
- "name": "errorLabel",
+ "name": "errorMessageLabel",
"type": "QLabel",
"visible": 1,
- "window": names.owncloudWizard_OCC_OwncloudWizard,
+ "window": names.setupWizardWindow_OCC_Wizard_SetupWizardWindow,
}
CREDENTIAL_PAGE = {
- "name": "OwncloudHttpCredsPage",
- "type": "OCC::OwncloudHttpCredsPage",
+ "container": names.setupWizardWindow_contentWidget_QStackedWidget,
+ "name": "BasicCredentialsSetupWizardPage",
+ "type": "OCC::Wizard::BasicCredentialsSetupWizardPage",
"visible": 1,
- "window": names.owncloudWizard_OCC_OwncloudWizard,
}
+
ADVANCE_SETUP_PAGE = {
"name": "OwncloudAdvancedSetupPage",
"type": "OCC::OwncloudAdvancedSetupPage",
"visible": 1,
- "window": names.owncloudWizard_OCC_OwncloudWizard,
+ "container": names.setupWizardWindow_contentWidget_QStackedWidget,
}
MANUAL_SYNC_FOLDER_OPTION = {
"name": "rManualFolder",
diff --git a/test/gui/tst_addAccount/test.feature b/test/gui/tst_addAccount/test.feature
index da5e3c4da..dd1c6455a 100644
--- a/test/gui/tst_addAccount/test.feature
+++ b/test/gui/tst_addAccount/test.feature
@@ -1,4 +1,3 @@
-@skip @issue-9733
Feature: adding accounts
As a user
@@ -36,9 +35,9 @@ Feature: adding accounts
When the user adds the following wrong user credentials:
| user | Alice |
| password | 12345 |
- Then error "The provided credentials are not correct" should be displayed
-
+ Then error "Login failed: username and/or password incorrect" should be displayed
+ @skip @issue-9733
Scenario: Adding account with self signed certificate for the first time
Given the user has started the client
When the user adds the following server address: