<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
*/
require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_ACL_AssignUsersToRolesTest
+ */
class WebTest_ACL_AssignUsersToRolesTest extends CiviSeleniumTestCase {
protected function setUp() {
$this->waitForText('crm-notification-container', "The Group '{$groupTitle}' has been saved.");
- $this->openCiviPage("admin/options/acl_role", "group=acl_role&action=add&reset=1", "_qf_Options_cancel-bottom");
+ $this->openCiviPage("admin/options/acl_role", "action=add&reset=1", "_qf_Options_cancel-bottom");
$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");