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-28 07:30:21 +0300
committerSawjan Gurung <saw.jan.grg3e@gmail.com>2022-11-03 12:09:58 +0300
commitc677c72fb7b4d237ce51738560eb8474048065c0 (patch)
tree0dd34da5f03777f50c1e7ff0ea959866b7b1012c
parentb279d48bf043f39f831824486797b7120f4187d1 (diff)
remove unused steps and functions
-rw-r--r--test/gui/shared/steps/steps.py67
1 files changed, 0 insertions, 67 deletions
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index 3c5a1dbd9..01a33c9f1 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -338,12 +338,6 @@ def waitForFileOrFolderToHaveSyncError(context, resource, resourceType):
)
-def waitForFileOrFolderToBeSyncIgnored(context, resource, resourceType):
- waitForFileOrFolderToHaveSyncStatus(
- context, resource, resourceType, SYNC_STATUS['IGNORE']
- )
-
-
def folderExists(folderPath, timeout=1000):
return waitFor(
lambda: isdir(sanitizePath(folderPath)),
@@ -521,21 +515,6 @@ def step(context, username, type, resource):
waitForFileOrFolderToHaveSyncError(context, resource, type)
-@When(r'the user waits for (file|folder) "([^"]*)" to be sync ignored', regexp=True)
-def step(context, type, resource):
- waitForFileOrFolderToBeSyncIgnored(context, resource, type)
-
-
-@Given('user has waited for the files to be synced')
-def step(context):
- waitForFileOrFolderToSync(context)
-
-
-@Given(r'the user has waited for (file|folder) "([^"]*)" to be synced', regexp=True)
-def step(context, type, resource):
- waitForFileOrFolderToSync(context, resource, type)
-
-
@When(
'user "|any|" creates a file "|any|" with the following content inside the sync folder'
)
@@ -701,18 +680,6 @@ def step(context):
syncWizard.performAction("Resume sync")
-@When('the user triggers force sync on the client')
-def step(context):
- mouseClick(
- waitForObjectItem(names.stack_folderList_QTreeView, "_1"),
- 720,
- 36,
- Qt.NoModifier,
- Qt.LeftButton,
- )
- activateItem(waitForObjectItem(names.settings_QMenu, "Force sync now"))
-
-
@Then(
'a conflict file for "|any|" should exist on the file system with the following content'
)
@@ -1304,28 +1271,6 @@ def step(context):
newAccount.addServer(context)
-@Given('the user has added the following user credentials:')
-def step(context):
- newAccount = AccountConnectionWizard()
- newAccount.addUserCreds(context)
- test.compare(
- waitForObjectExists(newAccount.ADVANCE_SETUP_PAGE).visible,
- True,
- "Assert setup page is visible",
- )
-
-
-@Given('the user has opened chose_what_to_sync dialog')
-def step(context):
- newAccount = AccountConnectionWizard()
- newAccount.openSyncDialog()
- test.compare(
- waitForObjectExists(newAccount.SELECTIVE_SYNC_DIALOG).visible,
- True,
- "Assert selective sync dialog is visible",
- )
-
-
@When('the user opens chose_what_to_sync dialog')
def step(context):
newAccount = AccountConnectionWizard()
@@ -1339,18 +1284,6 @@ def step(context):
clickButton(waitForObject(newAccount.ADD_SYNC_CONNECTION_BUTTON))
-@When('the user selects manual sync folder option')
-def step(context):
- newAccount = AccountConnectionWizard()
- newAccount.selectManualSyncFolder()
-
-
-@When('the user connects the account')
-def step(context):
- newAccount = AccountConnectionWizard()
- newAccount.connectAccount()
-
-
@When('the user sorts the folder list by "|any|"')
def step(context, headerText):
headerText = headerText.capitalize()