Global webtest cleanup
[civicrm-core.git] / tests / phpunit / WebTest / Contact / MultipleContactSubTypes.php
index 458cbe49ff3a5baa2cb147b327cb50feefceae43..4f384aeaaae07b5d01d6ca675a6e232056a1f897 100644 (file)
@@ -33,16 +33,6 @@ class WebTest_Contact_MultipleContactSubTypes extends CiviSeleniumTestCase {
   }
 
   function testIndividualAdd() {
-    // This is the path where our testing install resides.
-    // The rest of URL is defined in CiviSeleniumTestCase base class, in
-    // class attributes.
-    $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();
 
     $selection1 = 'Student';
@@ -54,7 +44,6 @@ class WebTest_Contact_MultipleContactSubTypes extends CiviSeleniumTestCase {
     list($groupTitleForParent, $customGroupIdForParent) = $this->_addCustomData($selection2);
     list($groupTitleForStaff, $customGroupIdForStaff) = $this->_addCustomData($selection3);
 
-    // Go directly to the URL of the screen that you will be testing (New Individual).
     $this->open($this->sboxPath . "civicrm/contact/add?reset=1&ct=Individual");
 
     //contact details section
@@ -281,7 +270,7 @@ class WebTest_Contact_MultipleContactSubTypes extends CiviSeleniumTestCase {
   }
 
   function _addCustomData($contactSubType) {
-    // Go directly to the URL of the screen that you will be testing (New Custom Group).
+
     $this->open($this->sboxPath . "civicrm/admin/custom/group?reset=1");
 
     //add new custom data