40 |
|
|
41 |
// |
// |
42 |
$this->clickAndWait("link=attestation"); |
$this->clickAndWait("link=attestation"); |
43 |
|
$this->verifyNoErrors(); |
44 |
$this->verifyTextPresent("imprimer l'attestation d'affichage réglementaire"); |
$this->verifyTextPresent("imprimer l'attestation d'affichage réglementaire"); |
45 |
// |
// |
46 |
$this->type("id=dossier", "PC0130551200002P0"); |
$this->type("id=dossier", "PC0130551200002P0"); |
47 |
$this->clickAndWait("//input[@value='Valider']"); |
$this->clickAndWait("//input[@value='Valider']"); |
48 |
|
$this->verifyNoErrors(); |
49 |
$this->verifyTextPresent("Ce dossier n'a jamais été affiché."); |
$this->verifyTextPresent("Ce dossier n'a jamais été affiché."); |
50 |
|
|
51 |
// |
// |
52 |
$this->clickAndWait("link=registre"); |
$this->clickAndWait("link=registre"); |
53 |
|
$this->verifyNoErrors(); |
54 |
$this->verifyTextPresent("imprimer le registre d'affichage réglementaire"); |
$this->verifyTextPresent("imprimer le registre d'affichage réglementaire"); |
55 |
// |
// |
56 |
$this->click("//input[@value='Valider']"); |
$this->click("//input[@value='Valider']"); |
59 |
$this->waitForPopUp("", "30000"); |
$this->waitForPopUp("", "30000"); |
60 |
$this->selectPopUp(); |
$this->selectPopUp(); |
61 |
sleep(5); |
sleep(5); |
62 |
$this->verifyNoDatabaseError(); |
$this->verifyNoErrors(); |
63 |
$this->verifyTextPresent("Registre des dossiers en cours"); |
$this->verifyTextPresent("Registre des dossiers en cours"); |
64 |
$this->close(); |
$this->close(); |
65 |
// |
// |
66 |
$this->selectWindow(); |
$this->selectWindow(); |
67 |
|
$this->verifyNoErrors(); |
68 |
$this->verifyTextPresent("Traitement terminé. Le registre a été téléchargé."); |
$this->verifyTextPresent("Traitement terminé. Le registre a été téléchargé."); |
69 |
|
|
70 |
// |
// |
71 |
$this->clickAndWait("link=attestation"); |
$this->clickAndWait("link=attestation"); |
72 |
|
$this->verifyNoErrors(); |
73 |
$this->verifyTextPresent("imprimer l'attestation d'affichage réglementaire"); |
$this->verifyTextPresent("imprimer l'attestation d'affichage réglementaire"); |
74 |
// |
// |
75 |
$this->clickAndWait("//input[@value='Valider']"); |
$this->clickAndWait("//input[@value='Valider']"); |
76 |
|
$this->verifyNoErrors(); |
77 |
$this->verifyTextPresent("Veuiller saisir un N° de dossier."); |
$this->verifyTextPresent("Veuiller saisir un N° de dossier."); |
78 |
// |
// |
79 |
$this->type("id=dossier", "123"); |
$this->type("id=dossier", "123"); |
80 |
$this->clickAndWait("//input[@value='Valider']"); |
$this->clickAndWait("//input[@value='Valider']"); |
81 |
|
$this->verifyNoErrors(); |
82 |
$this->verifyTextPresent("Ce dossier n'existe pas."); |
$this->verifyTextPresent("Ce dossier n'existe pas."); |
83 |
// |
// |
84 |
$this->type("id=dossier", "PC0130551200002P0"); |
$this->type("id=dossier", "PC0130551200002P0"); |
85 |
$this->clickAndWait("//input[@value='Valider']"); |
$this->clickAndWait("//input[@value='Valider']"); |
86 |
|
$this->verifyNoErrors(); |
87 |
$this->verifyTextPresent("Cliquez sur le lien ci-dessous pour télécharger votre attestation d'affichage : \n\nAttestation d'affichage"); |
$this->verifyTextPresent("Cliquez sur le lien ci-dessous pour télécharger votre attestation d'affichage : \n\nAttestation d'affichage"); |
88 |
// |
// |
89 |
$this->click("link=Attestation d'affichage"); |
$this->click("link=Attestation d'affichage"); |
90 |
$this->waitForPopUp("", "30000"); |
$this->waitForPopUp("", "30000"); |
91 |
$this->selectPopUp(); |
$this->selectPopUp(); |
92 |
sleep(5); |
sleep(5); |
93 |
$this->verifyNoDatabaseError(); |
$this->verifyNoErrors(); |
94 |
$this->verifyTextPresent("ATTESTATION D'AFFICHAGE REGLEMENTAIRE"); |
$this->verifyTextPresent("ATTESTATION D'AFFICHAGE REGLEMENTAIRE"); |
95 |
$this->close(); |
$this->close(); |
96 |
// |
// |
109 |
|
|
110 |
// |
// |
111 |
$this->clickAndWait("link=récépissé"); |
$this->clickAndWait("link=récépissé"); |
112 |
|
$this->verifyNoErrors(); |
113 |
$this->verifyTextPresent("demande"); |
$this->verifyTextPresent("demande"); |
114 |
// |
// |
115 |
$this->clickAndWait("link=DAT0130551200001P0"); |
$this->clickAndWait("link=DAT0130551200001P0"); |
116 |
|
$this->verifyNoErrors(); |
117 |
$this->verifyTextPresent("Demande d'autorisation de construire, d'aménager ou de modifier un ERP"); |
$this->verifyTextPresent("Demande d'autorisation de construire, d'aménager ou de modifier un ERP"); |
118 |
// |
// |
119 |
$this->click("link=Éditer le récépissé PDF"); |
$this->click("link=Éditer le récépissé PDF"); |
120 |
$this->waitForPopUp("", "30000"); |
$this->waitForPopUp("", "30000"); |
121 |
$this->selectPopUp(); |
$this->selectPopUp(); |
122 |
sleep(5); |
sleep(5); |
123 |
$this->verifyNoDatabaseError(); |
$this->verifyNoErrors(); |
124 |
$this->verifyTextPresent("RECEPISSE DE DEPOT"); |
$this->verifyTextPresent("RECEPISSE DE DEPOT"); |
125 |
$this->close(); |
$this->close(); |
126 |
// |
// |
127 |
$this->selectWindow(); |
$this->selectWindow(); |
128 |
// |
// |
129 |
$this->clickAndWait("link=Retour"); |
$this->clickAndWait("link=Retour"); |
130 |
|
$this->verifyNoErrors(); |
131 |
$this->verifyTextPresent("demande"); |
$this->verifyTextPresent("demande"); |
132 |
|
|
133 |
// |
// |
143 |
|
|
144 |
// |
// |
145 |
$this->clickAndWait("link=nouveau dossier"); |
$this->clickAndWait("link=nouveau dossier"); |
146 |
|
$this->verifyNoErrors(); |
147 |
$this->verifyTextPresent("demande"); |
$this->verifyTextPresent("demande"); |
148 |
// |
// |
149 |
$this->select("id=dossier_autorisation_type_detaille", "label=Permis de construire pour une maison individuelle et / ou ses annexes"); |
$this->select("id=dossier_autorisation_type_detaille", "label=Permis de construire pour une maison individuelle et / ou ses annexes"); |
164 |
|
|
165 |
$this->click("//input[@value=\"Ajouter l'enregistrement de la table : 'demandeur'\"]"); |
$this->click("//input[@value=\"Ajouter l'enregistrement de la table : 'demandeur'\"]"); |
166 |
sleep(1); |
sleep(1); |
167 |
|
$this->verifyNoErrors(); |
168 |
$this->verifyTextPresent("Vos modifications ont bien été enregistrées."); |
$this->verifyTextPresent("Vos modifications ont bien été enregistrées."); |
169 |
$this->click("css=form[name=\"f2\"] > div.formControls > a.retour"); |
$this->click("css=form[name=\"f2\"] > div.formControls > a.retour"); |
170 |
sleep(1); |
sleep(1); |
171 |
// |
// |
172 |
$this->verifyTextPresent("DURAND MICKAEL\n 12 RUE DE LA LOI APPT 12 \n 13012 MARSEILLE \n 0404040404"); |
$this->verifyTextPresent("DURAND MICKAEL\n 12 RUE DE LA LOI APPT 12 \n 13012 MARSEILLE \n 0404040404"); |
173 |
$this->clickAndWait("//input[@value='Ajouter']"); |
$this->clickAndWait("//input[@value='Ajouter']"); |
174 |
|
$this->verifyNoErrors(); |
175 |
$this->verifyTextPresent("Création du dossier d'autorisation n°PC0130551300003"); |
$this->verifyTextPresent("Création du dossier d'autorisation n°PC0130551300003"); |
176 |
// |
// |
177 |
//$this->click("link= Télécharger le récépissé de la demande"); |
//$this->click("link= Télécharger le récépissé de la demande"); |
179 |
$this->waitForPopUp("", "30000"); |
$this->waitForPopUp("", "30000"); |
180 |
$this->selectPopUp(); |
$this->selectPopUp(); |
181 |
sleep(5); |
sleep(5); |
182 |
$this->verifyNoDatabaseError(); |
$this->verifyNoErrors(); |
183 |
$this->verifyTextPresent("RECEPISSE DE DEPOT"); |
$this->verifyTextPresent("RECEPISSE DE DEPOT"); |
184 |
$this->close(); |
$this->close(); |
185 |
// |
// |
186 |
$this->selectWindow(); |
$this->selectWindow(); |
187 |
// |
// |
188 |
$this->clickAndWait("link=Retour"); |
$this->clickAndWait("link=Retour"); |
189 |
|
$this->verifyNoErrors(); |
190 |
// |
// |
191 |
$this->clickAndWait("link=pétitionnaire fréquent"); |
$this->clickAndWait("link=pétitionnaire fréquent"); |
192 |
|
$this->verifyNoErrors(); |
193 |
$this->verifyTextPresent("pétitionnaire fréquent"); |
$this->verifyTextPresent("pétitionnaire fréquent"); |
|
// |
|
194 |
$this->verifyTextPresent("DURAND MICKAEL"); |
$this->verifyTextPresent("DURAND MICKAEL"); |
195 |
// |
// |
196 |
$this->clickAndWait("link=DURAND MICKAEL"); |
$this->clickAndWait("link=DURAND MICKAEL"); |
197 |
|
$this->verifyNoErrors(); |
198 |
$this->verifyTextPresent("RUE DE LA LOI "); |
$this->verifyTextPresent("RUE DE LA LOI "); |
199 |
// |
// |
200 |
$this->clickAndWait("link=Retour"); |
$this->clickAndWait("link=Retour"); |
201 |
|
$this->verifyNoErrors(); |
202 |
$this->verifyTextPresent("pétitionnaire fréquent"); |
$this->verifyTextPresent("pétitionnaire fréquent"); |
203 |
// |
// |
204 |
$this->logout(); |
$this->logout(); |