From 022def1dc8d996104a2a4484c56e378911d01328 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Thu, 30 Oct 2014 18:37:09 +0530 Subject: [PATCH] Fix for webtest WebTest_Contribute_UpdateContributionTest.testDeletePremium --- tests/phpunit/CiviTest/CiviSeleniumTestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } -- 2.25.1