diff options
author | Artur Neumann <artur@jankaritech.com> | 2021-05-10 09:48:28 +0300 |
---|---|---|
committer | Artur Neumann <artur@jankaritech.com> | 2021-05-11 06:16:02 +0300 |
commit | 3a0907b55a9f38a68324a3b36d409abc7a469980 (patch) | |
tree | 135980a96b7d024d3b23b3207cd17af67068d917 /test/gui/shared/steps | |
parent | 7dcd51702e967d9654acb93f78dfb93ac28f590b (diff) |
send 'Return' after changing expiry date
Diffstat (limited to 'test/gui/shared/steps')
-rw-r--r-- | test/gui/shared/steps/steps.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py index a8810050c..6bfee9561 100644 --- a/test/gui/shared/steps/steps.py +++ b/test/gui/shared/steps/steps.py @@ -493,12 +493,14 @@ def step(context, publicLinkName, resource): nativeType(expDate.month) nativeType(expDate.day) nativeType(expYear) + nativeType("<Return>") waitFor(lambda: (test.vp("publicLinkExpirationProgressIndicator"))) test.compare( str(waitForObjectExists(names.oCC_ShareLinkWidget_qt_spinbox_lineedit_QLineEdit).displayText), str(expDate.month) + "/" + str(expDate.day) + "/" + str(expYear) ) + @When('the user creates a new public link with permissions "|any|" for folder "|any|" without password using the client-UI') def step(context, permissions, resource): resource = sanitizePath(substituteInLineCodes(context, resource)) |