aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-11-12 13:13:25 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-11-12 13:13:25 +0100
commit3264067ce3b563c846e1247d71a87c7faaaa93b1 (patch)
treed16af20706db8c84effb1880a6f8d4996d512147
parent6492b6488a6b781361b4eec965deb584080b1eb5 (diff)
downloadwallet-core-3264067ce3b563c846e1247d71a87c7faaaa93b1.tar.xz
selenium: fixing non-clickable element by sleep(). To be improved.
-rwxr-xr-x[-rw-r--r--]manifest.json0
-rw-r--r--selenium/test.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/manifest.json b/manifest.json
index f4681d627..f4681d627 100644..100755
--- a/manifest.json
+++ b/manifest.json
diff --git a/selenium/test.py b/selenium/test.py
index d5cfad1f5..dd1fc8ae5 100644
--- a/selenium/test.py
+++ b/selenium/test.py
@@ -110,7 +110,7 @@ def make_donation(client, amount_menuentry=None):
sys.exit(1)
confirm_taler.click() # Taler as payment option chosen
# explicit get() is needed, it hangs (sometimes) otherwise
- time.sleep(1)
+ time.sleep(3) #FIXME use better way to 'Ok' Taler at checkout page
client.get(client.current_url)
try:
confirm_pay = wait.until(EC.element_to_be_clickable((By.XPATH, "//button[@class='accept']")))