Commit 05f69277 authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[creditmutuel/cic] Added ActionNeeded for CIC when it ask for infos

Added ActionNeeded for CIC when it asks for the personal infos of the

Closes: 13161@zendesk
parent 9f3ff71e
......@@ -134,6 +134,9 @@ class UserSpacePage(LoggedPage, HTMLPage):
def on_load(self):
if self.doc.xpath('//form[@id="GoValider"]'):
raise ActionNeeded("Le site du contrat Banque à Distance a besoin d'informations supplémentaires")
elif 'Afin de compléter vos informations personnelles, renseignez le formulaire ci-dessous' in self.doc.xpath('//form[@class="_devb_act ___Form"]//div[contains(@class, "bloctxt")]/p[1]/text()')[0]:
raise ActionNeeded("Le site nécessite la saisie des informations personnelles de l'utilisateur.")
super(UserSpacePage, self).on_load()
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