Commit 4f276ebe authored by Célande Adrien's avatar Célande Adrien Committed by ntome

[fortuneo] add error message for transfer

The website gives error messages through a new xpath.

Closes: 40073@sibi
parent 1cb074ac
......@@ -193,6 +193,7 @@ class ValidateTransferPage(LoggedPage, HTMLPage):
CleanText('//form[@id="SaisieVirementForm"]/p[has-class("error")]/label')(self.doc), # may be deprecated
CleanText('//div[@id="error" and @class="erreur_texte"]/p[contains(text(), "n\'est pas autorisé")]')(self.doc),
CleanText('//form[@id="SaisieVirementForm"]//label[has-class("error")]')(self.doc),
CleanText('//div[@id="error"]/p[@class="erreur_texte1"]')(self.doc),
)
for error in errors_msg:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment