$this->type('source', 'Event StandaloneAddTest Webtest');
// Select an event fee
- $this->waitForElementPresent("xpath=//div[@id='priceset']/div[2]/div[2]");
+ $this->waitForElementPresent("xpath=//div[@id='priceset']/div[2]/div[2]/input");
$this->type("xpath=//div[@id='priceset']/div[2]/div[2]/input", '5');
$this->fireEvent("xpath=//div[@id='priceset']/div[2]/div[2]/input", 'blur');
$this->waitForElementPresent("xpath=//div[@id='priceset']/div[3]/div[2]/div[1]/span/input");
//check the delete for price field
$this->openCiviPage("admin/price/field", "reset=1&action=browse&sid={$sid}");
+ $this->waitForElementPresent("xpath=//table[@id='options']/tbody/tr/td[9]/span[2]");
$this->click("xpath=//table[@id='options']/tbody/tr/td[9]/span[2]/ul/li[2]/a");
//assert the message
$this->waitForText('price_set_used_by',