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:
authorSaw-jan <saw.jan.grg3e@gmail.com>2022-10-31 10:24:53 +0300
committerSaw-jan <saw.jan.grg3e@gmail.com>2022-11-09 08:42:08 +0300
commit0bd0a8ca957725f51c7dff00373368794e78ccce (patch)
tree5fdc904d98709cc976a230ba1e9f7126245fc89e
parent89e2b8845f0d52a71ff54986566981594b1aadb6 (diff)
add missing arguments
-rw-r--r--test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py2
-rw-r--r--test/gui/shared/steps/steps.py10
2 files changed, 6 insertions, 6 deletions
diff --git a/test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py b/test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py
index 76e05dcc7..cac7f5f41 100644
--- a/test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py
+++ b/test/gui/shared/scripts/pageObjects/AccountConnectionWizard.py
@@ -126,7 +126,7 @@ class AccountConnectionWizard:
def selectManualSyncFolderOption(self):
squish.clickButton(squish.waitForObject(self.CONF_SYNC_MANUALLY_RADIO_BUTTON))
- def selectVirtualFileOption(self):
+ def selectVFSOption(self):
squish.clickButton(squish.waitForObject(self.VIRTUAL_FILE_RADIO_BUTTON))
def confirmEnableExperimentalVFSOption(self):
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index 41a45c6ab..01868bd90 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -1315,19 +1315,19 @@ def step(context, headerText):
@Then('the sync all checkbox should be checked')
def step(context):
- newAccount = AccountConnectionWizard()
- state = waitForObject(newAccount.SYNC_DIALOG_ROOT_FOLDER)["checkState"]
+ syncConnection = SyncConnectionWizard()
+ state = waitForObject(syncConnection.SYNC_DIALOG_ROOT_FOLDER)["checkState"]
test.compare("checked", state, "Sync all checkbox is checked")
@Then("the folders should be in the following order:")
def step(context):
- newAccount = AccountConnectionWizard()
+ syncConnection = SyncConnectionWizard()
rowIndex = 0
for row in context.table[1:]:
FOLDER_TREE_ROW = {
"row": rowIndex,
- "container": newAccount.SYNC_DIALOG_ROOT_FOLDER,
+ "container": syncConnection.SYNC_DIALOG_ROOT_FOLDER,
"type": "QModelIndex",
}
expectedFolder = row[0]
@@ -1478,7 +1478,7 @@ def step(context):
@When('the user sets the sync path in sync connection wizard')
def step(context):
syncConnection = SyncConnectionWizard()
- syncConnection.setSyncPathInSyncConnectionWizard()
+ syncConnection.setSyncPathInSyncConnectionWizard(context)
@When('the user selects "|any|" as a remote destination folder')