webtestLogin(); $this->open($this->settings->installURL); $this->waitForTextPresent("Thanks for choosing to use CiviCRM! Please follow the instructions below to get CiviCRM installed."); $this->type("mysql_server", $this->settings->civiDBServer); $this->type("mysql_username", $this->settings->civiDBUser); $this->type("mysql_password", $this->settings->civiDBPass); $this->type("mysql_database", $this->settings->civiDBName); $this->type("drupal_server", $this->settings->drupalDBServer); $this->type("drupal_username", $this->settings->drupalDBUser); $this->type("drupal_password", $this->settings->drupalDBPass); $this->type("drupal_database", $this->settings->drupalDBName); $this->click("xpath=//input[@value='Re-check requirements']"); $this->waitForPageToLoad($this->getTimeoutMsec()); $this->click("install_button"); $this->waitForPageToLoad($this->getTimeoutMsec()); // $this->assertTrue($this->isTextPresent("this will take a few minutes")); $this->waitForTextPresent("CiviCRM has been successfully installed"); $this->openCiviPage("dashboard", "reset=1"); $this->assertTrue($this->isTextPresent("CiviCRM Home")); } }