public function testCreateConsultationOk()
 {
     $consultPage = new ConsultationsPage($this);
     $consultPage->createPlageConsultation($this->chir_id, $this->datePlage);
     $this->dpPage = $consultPage->goToDossierPatient();
     $this->dpPage->searchPatientByName("notYetAPatient");
     $this->dpPage->createPatient($this->patientFirstname, $this->patientLastname, $this->patientGender, $this->patientBirthDate);
     $consultPage = $this->dpPage->goToConsultations();
     $consultPage->createConsultation($this->chir_id, $this->datePlage, $this->patientLastname);
     $this->screenshot($this->getTestId() . "_" . $this->getBrowser() . ".jpg");
 }
 public function tearDown()
 {
     $this->consultationPage->removePlageConsultation($this->chir_id, $this->datePlage);
     $this->closeWindow();
 }