[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-wallet-webex] branch master updated: selenium wrong
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-wallet-webex] branch master updated: selenium wrong class attribute |
Date: |
Tue, 17 Oct 2017 13:31:37 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository wallet-webex.
The following commit(s) were added to refs/heads/master by this push:
new d951a87b selenium wrong class attribute
d951a87b is described below
commit d951a87bc4ba36933a13dadf6ffc2a5a89543086
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Oct 17 13:30:55 2017 +0200
selenium wrong class attribute
---
selenium/withdraw_buy.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/selenium/withdraw_buy.py b/selenium/withdraw_buy.py
index 4a014782..bc543143 100644
--- a/selenium/withdraw_buy.py
+++ b/selenium/withdraw_buy.py
@@ -127,7 +127,8 @@ def make_donation(client, amount_menuentry=None):
abort(client)
confirm_taler.click() # Taler as payment option chosen
try:
- confirm_pay = wait.until(EC.element_to_be_clickable((By.XPATH,
"//address@hidden'accept']")))
+ confirm_pay = wait.until(EC.element_to_be_clickable((By.XPATH,
+ "//address@hidden'pure-button button-success']")))
except TimeoutException:
logger.error('Could not confirm payment on donation shop')
abort(client)
@@ -167,7 +168,8 @@ def buy_article(client, title, fulfillment_url=None):
abort(client)
time.sleep(1)
try:
- confirm_pay = wait.until(EC.element_to_be_clickable((By.XPATH,
"//address@hidden'accept']")))
+ confirm_pay = wait.until(EC.element_to_be_clickable((By.XPATH,
+ "//address@hidden'pure-button button-success']")))
logger.info("Pay button turned clickable")
except TimeoutException:
logger.error('Could not confirm payment on blog')
@@ -308,7 +310,8 @@ client.delete_all_cookies()
ret = buy_article(client, "25._The_Danger_of_Software_Patents",
fulfillment_url_25)
logger.info("Donating..")
make_donation(client, "1.0 TESTKUDOS")
-logger.info("Bookmarked purchase: '%s'" % ret)
+# FIXME: better clearing the cache before replaying the payment
+logger.info("Payment replayed: '%s'" % ret)
logger.info("Test passed")
client.quit()
if hasattr(display, "old_display_var"):
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-wallet-webex] branch master updated: selenium wrong class attribute,
gnunet <=