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
path: root/test
diff options
context:
space:
mode:
authorArtur Neumann <artur@jankaritech.com>2021-04-23 12:13:23 +0300
committerGitHub <noreply@github.com>2021-04-23 12:13:23 +0300
commitf77a043b8cb8de578d228b7c485b659705af44dd (patch)
tree2b6c52579f25127cabe48be6686a6001cbdf32f4 /test
parent65f3967cba525f4544542672976a351772ff7c3c (diff)
start the client with correct language setting (#8572)
Diffstat (limited to 'test')
-rw-r--r--test/gui/envvars1
-rw-r--r--test/gui/shared/steps/steps.py11
2 files changed, 7 insertions, 5 deletions
diff --git a/test/gui/envvars b/test/gui/envvars
deleted file mode 100644
index d03452eac..000000000
--- a/test/gui/envvars
+++ /dev/null
@@ -1 +0,0 @@
-LC_TIME=en_US.utf8
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index e2bc105c5..8d6fba914 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -71,6 +71,10 @@ def step(context, displayname, host):
), displayname + "\n" + host
)
+def startClient():
+ startApplication("owncloud -s --logfile - --language en_US.utf8 --confdir " + confdir)
+ snooze(1)
+
def setUpClient(context, username, password, pollingInterval):
userSetting = '''
[Accounts]
@@ -102,8 +106,8 @@ def setUpClient(context, username, password, pollingInterval):
configFile.write(userSetting)
configFile.close()
- startApplication("owncloud -s --logfile - --confdir " + confdir)
- snooze(1)
+ startClient()
+
try:
waitForObject(names.enter_Password_Field, 10000)
type(waitForObject(names.enter_Password_Field), password)
@@ -133,8 +137,7 @@ def step(context, username, password):
@Given('the user has started the client')
def step(context):
- startApplication("owncloud -s --logfile - --confdir " + confdir)
- snooze(1)
+ startClient()
@When('the user adds an account with')
def step(context):