Global webtest cleanup
[civicrm-core.git] / tests / phpunit / WebTest / Export / ContactTest.php
index c16bf70fad7b518370b2e3f404b9556b85574dcc..f8df1770c6628dd86ab16729b47293a16f7125eb 100644 (file)
@@ -36,13 +36,6 @@ class WebTest_Export_ContactTest extends ExportCiviSeleniumTestCase {
    *  Test Contact Export.
    */
   function testContactExport() {
-    $this->open($this->sboxPath);
-
-    // Logging in. Remember to wait for page to load. In most cases,
-    // you can rely on 30000 as the value that allows your test to pass, however,
-    // sometimes your test might fail because of this. In such cases, it's better to pick one element
-    // somewhere at the end of page and use waitForElementPresent on it - this assures you, that whole
-    // page contents loaded and you can continue your test execution.
     $this->webtestLogin();
 
     // Create new  group
@@ -155,13 +148,6 @@ class WebTest_Export_ContactTest extends ExportCiviSeleniumTestCase {
   }
 
   function testMergeHousehold() {
-    $this->open($this->sboxPath);
-
-    // Logging in. Remember to wait for page to load. In most cases,
-    // you can rely on 30000 as the value that allows your test to pass, however,
-    // sometimes your test might fail because of this. In such cases, it's better to pick one element
-    // somewhere at the end of page and use waitForElementPresent on it - this assures you, that whole
-    // page contents loaded and you can continue your test execution.
     $this->webtestLogin();
 
     // Create new  group
@@ -342,4 +328,4 @@ class WebTest_Export_ContactTest extends ExportCiviSeleniumTestCase {
     // Is status message correct?
     $this->assertElementContainsText('crm-notification-container', "The Group '$groupName' has been saved.");
   }
-}
\ No newline at end of file
+}