diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-10-29 23:40:40 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-10-29 23:40:40 +0100 |
commit | b4525c567a038ee4b821b1c99b78e672e2ad6e1c (patch) | |
tree | da85b3450dfd136eb5bbe152a122729cd801e894 /selenium/withdraw_buy.py | |
parent | 0f9fef41b069a29b5b25308b34fbb6db51fe2305 (diff) | |
download | wallet-core-b4525c567a038ee4b821b1c99b78e672e2ad6e1c.tar.xz |
increse selenium timeout
Diffstat (limited to 'selenium/withdraw_buy.py')
-rw-r--r-- | selenium/withdraw_buy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selenium/withdraw_buy.py b/selenium/withdraw_buy.py index e782cb905..766cdc772 100644 --- a/selenium/withdraw_buy.py +++ b/selenium/withdraw_buy.py @@ -161,7 +161,7 @@ def buy_article(client, title, fulfillment_url=None): return False client.get(parse.urljoin(taler_baseurl, "shop")) - wait = WebDriverWait(client, 10) + wait = WebDriverWait(client, 20) try: teaser = wait.until(EC.element_to_be_clickable((By.XPATH, "//h3/a[@href=\"/essay/%s\"]" % title))) @@ -178,7 +178,7 @@ def buy_article(client, title, fulfillment_url=None): "//button[@class='pure-button button-success']"))) logger.info("Pay button turned clickable") except TimeoutException: - logger.error('Could not confirm payment on blog') + logger.error('Could not confirm payment on blog (timed out)') print_log(client) abort(client) confirm_pay.click() |