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 14:03:54 +0300
committerGitHub <noreply@github.com>2021-05-10 14:03:54 +0300
commit6c9870abf9293868a45651b7cfba44f815e6a4e4 (patch)
treef416ea87d902643582d9e445c37a643665691069 /test/gui/shared/steps
parent5910860538453056f67f0a5010c8e860966d5073 (diff)
use expected to fail system (#8621)
Diffstat (limited to 'test/gui/shared/steps')
-rw-r--r--test/gui/shared/steps/steps.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py
index b5f30427b..be63ecf86 100644
--- a/test/gui/shared/steps/steps.py
+++ b/test/gui/shared/steps/steps.py
@@ -432,13 +432,17 @@ def step(context):
clickButton(waitForObject(names.oCC_ShareLinkWidget_checkBox_password_QCheckBox))
-@Then('the progress indicator should not be visible in the client-UI')
+@Then('the password progress indicator should not be visible in the client-UI')
def step(context):
- test.compare(
- waitForObjectExists(names.oCC_ShareLinkWidget_checkBox_password_QProgressIndicator).visible,
- False
- )
+ waitFor(lambda: (test.vp(
+ "publicLinkPasswordProgressIndicatorInvisible"
+ )))
+@Then('the password progress indicator should not be visible in the client-UI - expected to fail')
+def step(context):
+ waitFor(lambda: (test.xvp(
+ "publicLinkPasswordProgressIndicatorInvisible"
+ )))
@When('user "|any|" opens the sharing dialog of "|any|" using the client-UI')
def step(context, receiver, resource):