From: jitendrapurohit Date: Thu, 30 Oct 2014 13:07:09 +0000 (+0530) Subject: Fix for webtest WebTest_Contribute_UpdateContributionTest.testDeletePremium X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=022def1dc8d996104a2a4484c56e378911d01328;p=civicrm-core.git Fix for webtest WebTest_Contribute_UpdateContributionTest.testDeletePremium --- diff --git a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php index 13174e51e9..aa429cf37d 100644 --- a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php +++ b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php @@ -2018,7 +2018,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase { * @param $financialType */ function addPremium($name, $sku, $amount, $price, $cost, $financialType) { - $this->waitForElementPresent("_qf_ManagePremiums_next-bottom"); + $this->waitForElementPresent("_qf_ManagePremiums_upload-bottom"); $this->type("name", $name); $this->type("sku", $sku); $this->click("CIVICRM_QFID_noImage_16"); @@ -2028,7 +2028,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase { if ($financialType) { $this->select("financial_type_id", "label={$financialType}"); } - $this->click("_qf_ManagePremiums_next-bottom"); + $this->click("_qf_ManagePremiums_upload-bottom"); $this->waitForPageToLoad($this->getTimeoutMsec()); }