// Enter Event Title, Summary and Description
$this->select("event_type_id", "value=4");
$this->select("default_role_id", "value=1");
+ $this->waitForAjaxContent();
$this->type("title", "Test Event");
$this->type("summary", "This is a great conference. Sign up now!");
$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',
- "it is currently in use by one or more active events or contribution pages or contributions or event templates.");
+ $this->waitForText('price_set_used_by', "Unable to delete the 'Test Field' Price Field - it is currently in use by one or more active events or contribution pages or contributions or event templates. If you no longer want to use this price set, click the event title below, and modify the fees for that event.");
//check the delete for priceset
$this->openCiviPage("admin/price", "reset=1");