/[openfoncier]/branches/3.14.x/tests/testInstruction.php
ViewVC logotype

Diff of /branches/3.14.x/tests/testInstruction.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3014 by vpihour, Tue Apr 29 08:06:16 2014 UTC revision 3015 by vpihour, Wed May 7 10:51:04 2014 UTC
# Line 1283  class Instruction extends Base2TestCase Line 1283  class Instruction extends Base2TestCase
1283          // On sélectionne la nature 'Dossier existant'          // On sélectionne la nature 'Dossier existant'
1284          $this->select($this->byId("demande_nature"))->selectOptionByValue("2");          $this->select($this->byId("demande_nature"))->selectOptionByValue("2");
1285          // On sélectionne l'état 'En cours'          // On sélectionne l'état 'En cours'
1286          $this->select($this->byName("etats_dossier_autorisation_autorises[]"))->selectOptionByValue("1");          $this->select($this->byName("etats_autorises[]"))->selectOptionByValue("notifier");
1287          // On sélectionne l'événement 'Defrichement soumis a enquete publique'          // On sélectionne l'événement 'Defrichement soumis a enquete publique'
1288          $this->select($this->byId("evenement"))->selectOptionByValue("15");          $this->select($this->byId("evenement"))->selectOptionByValue("15");
1289          // On sélectionne la contrainte 'Avec récupération demandeur'          // On sélectionne la contrainte 'Avec récupération demandeur'
# Line 1814  class Instruction extends Base2TestCase Line 1814  class Instruction extends Base2TestCase
1814          // On sélectionne Dossier existant          // On sélectionne Dossier existant
1815          $this->select($this->byId("demande_nature"))->selectOptionByValue(2);          $this->select($this->byId("demande_nature"))->selectOptionByValue(2);
1816          // On sélectionne Accordé          // On sélectionne Accordé
1817          $this->select($this->byName("etats_dossier_autorisation_autorises[]"))->selectOptionByValue(2);          $this->select($this->byName("etats_autorises[]"))->selectOptionByValue('accepter');
1818          $this->select($this->byId("dossier_instruction_type"))->selectOptionByLabel("PCI - test_12_recopie_donnees");          $this->select($this->byId("dossier_instruction_type"))->selectOptionByLabel("PCI - test_12_recopie_donnees");
1819          $this->select($this->byId("evenement"))->selectOptionByLabel("test_12_recopie_donnees");          $this->select($this->byId("evenement"))->selectOptionByLabel("test_12_recopie_donnees");
1820          // On clique sur ajouter          // On clique sur ajouter
# Line 2000  class Instruction extends Base2TestCase Line 2000  class Instruction extends Base2TestCase
2000          sleep(1);          sleep(1);
2001          $this->select($this->byId("demande_nature"))->selectOptionByValue(2);          $this->select($this->byId("demande_nature"))->selectOptionByValue(2);
2002          sleep(1);          sleep(1);
2003          $this->select($this->byName("etats_dossier_autorisation_autorises[]"))->selectOptionByValue(2);          $this->select($this->byName("etats_autorises[]"))->selectOptionByValue('accepter');
2004          sleep(1);          sleep(1);
2005          $this->select($this->byId("dossier_instruction_type"))->selectOptionByValue($dossier_instruction_type);          $this->select($this->byId("dossier_instruction_type"))->selectOptionByValue($dossier_instruction_type);
2006          sleep(1);          sleep(1);
# Line 2672  class Instruction extends Base2TestCase Line 2672  class Instruction extends Base2TestCase
2672          $this->select($this->byName("groupe"))->selectOptionByValue('1');          $this->select($this->byName("groupe"))->selectOptionByValue('1');
2673          $this->select($this->byName("dossier_autorisation_type_detaille"))->selectOptionByValue('1');          $this->select($this->byName("dossier_autorisation_type_detaille"))->selectOptionByValue('1');
2674          $this->select($this->byName("demande_nature"))->selectOptionByValue('2');          $this->select($this->byName("demande_nature"))->selectOptionByValue('2');
2675          $this->select($this->byName("etats_dossier_autorisation_autorises[]"))          $this->select($this->byName("etats_autorises[]"))
2676              ->selectOptionByValue("1");              ->selectOptionByValue("notifier");
2677          $this->select($this->byName("contraintes"))->selectOptionByValue('avec_recup');          $this->select($this->byName("contraintes"))->selectOptionByValue('avec_recup');
2678          $this->select($this->byName("dossier_instruction_type"))->selectOptionByValue($idDIAnnul);          $this->select($this->byName("dossier_instruction_type"))->selectOptionByValue($idDIAnnul);
2679          $this->select($this->byName("evenement"))->selectOptionByValue('25');          $this->select($this->byName("evenement"))->selectOptionByValue('25');

Legend:
Removed from v.3014  
changed lines
  Added in v.3015

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26