Start migrating to use clickLink method
[civicrm-core.git] / tests / phpunit / WebTest / Event / PricesetMaxCountTest.php
index c979bc1660a2c28da201460ab17ac1f243980cf9..fbf33a8749f42605da18460692a8da584127a9fb 100644 (file)
@@ -1020,10 +1020,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase {
     $this->type('help_pre', 'This is test priceset.');
 
     $this->assertChecked('is_active', 'Verify that Is Active checkbox is set.');
-    $this->click('_qf_Set_next-bottom');
-
-    $this->waitForPageToLoad($this->getTimeoutMsec());
-    $this->waitForElementPresent('_qf_Field_next-bottom');
+    $this->clickLink('_qf_Set_next-bottom', '_qf_Field_next-bottom');
   }
 
   function _testAddPriceFields($fields) {