diff options
author | Artur Neumann <artur@jankaritech.com> | 2021-05-10 11:47:03 +0300 |
---|---|---|
committer | Artur Neumann <artur@jankaritech.com> | 2021-05-11 06:16:02 +0300 |
commit | c1d49e56e881e5636fd95883f42260e2c6d8b841 (patch) | |
tree | 0519dd53b629b23bca77ad45c15939e263cb67e0 /test/gui/shared/steps | |
parent | 3a0907b55a9f38a68324a3b36d409abc7a469980 (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.py | 5 |
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) |