Webtest fixes
[civicrm-core.git] / tests / phpunit / WebTest / Contribute / AddPricesetTest.php
index 5aafe757b77a060176b8ded1c1c08a818ebc6e67..f53a0d92af4789ee1dc978e89c45d0572437a5e5 100644 (file)
@@ -180,7 +180,7 @@ class WebTest_Contribute_AddPricesetTest extends CiviSeleniumTestCase {
     $this->openCiviPage("admin/price", "reset=1");
 
     // Use the price set id ($sid) to pick the correct row
-    $this->clickLink("css=tr#row_{$sid} a[title='View and Edit Price Fields']", 'Link=Add Price Field');
+    $this->clickLink("//*[@id='price_set-{$sid}']/td[4]/span[1]/a[1]", 'Link=Add Price Field');
     // Check for expected price set field strings
     $this->assertStringsPresent($validateStrings);
   }