+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$label = "TestAclRole" . substr(sha1(rand()), 0, 4);
$this->waitForElementPresent("label");
$this->type("label", $label);
- $this->type("value", "Acl value" . $label);
$this->click("_qf_Options_next-bottom");
$this->waitForText('crm-notification-container', "The ACL Role '{$label}' has been saved.");
$this->clickLink("_qf_EntityRole_next-botttom", 'newACL', FALSE);
//Create ACL granting 'Edit' access on smart group to the role
+ $this->waitForAjaxContent();
$this->openCiviPage("acl", "reset=1");
$this->click('newACL');
$this->waitForElementPresent("group_id");
$this->clickLink("_qf_ACL_next-bottom", 'newACL', FALSE);
//ACL granting edit permission on events.
+ $this->waitForAjaxContent();
$this->click('newACL');
$this->waitForElementPresent('name');
$this->type("name", "Edit All Events $label");