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:
authorArtur Neumann <artur@jankaritech.com>2021-05-10 11:47:03 +0300
committerArtur Neumann <artur@jankaritech.com>2021-05-11 06:16:02 +0300
commitc1d49e56e881e5636fd95883f42260e2c6d8b841 (patch)
tree0519dd53b629b23bca77ad45c15939e263cb67e0 /test/gui/shared/steps
parent3a0907b55a9f38a68324a3b36d409abc7a469980 (diff)
check first if the indicator is visible and then that it disappears
Diffstat (limited to 'test/gui/shared/steps')
-rw-r--r--test/gui/shared/steps/steps.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index 6bfee9561..675911dfa 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -494,7 +494,10 @@ def step(context, publicLinkName, resource):
nativeType(expDate.day)
nativeType(expYear)
nativeType("<Return>")
- waitFor(lambda: (test.vp("publicLinkExpirationProgressIndicator")))
+ testSettings.silentVerifications=True
+ waitFor(lambda: (test.xvp("publicLinkExpirationProgressIndicatorInvisible")))
+ waitFor(lambda: (test.vp("publicLinkExpirationProgressIndicatorInvisible")))
+ testSettings.silentVerifications=False
test.compare(
str(waitForObjectExists(names.oCC_ShareLinkWidget_qt_spinbox_lineedit_QLineEdit).displayText),
str(expDate.month) + "/" + str(expDate.day) + "/" + str(expYear)