*/
require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_ACL_AssignUsersToRolesTest
+ */
class WebTest_ACL_AssignUsersToRolesTest extends CiviSeleniumTestCase {
protected function setUp() {
$label = "TestAclRole" . substr(sha1(rand()), 0, 4);
$this->type("label", $label);
- $this->clickLink("_qf_Options_next-bottom");
+ $this->click("_qf_Options_next-bottom");
- $this->waitForText('crm-notification-container', "The Acl Role '{$label}' has been saved");
+ $this->waitForText('crm-notification-container', "The ACL Role '{$label}' has been saved.");
$this->openCiviPage("acl/entityrole", "action=add&reset=1");