$this->click("add");
$this->click("_qf_Summary_submit_save");
$this->waitForPageToLoad($this->getTimeoutMsec());
- $this->openCiviPage('logout','reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
$this->open($this->sboxPath);
$this->waitForElementPresent('edit-submit');
$this->type('edit-name', $user2);
$this->openCiviPage('report/instance/1', 'reset=1');
$this->assertElementContainsText('crm-container', 'You do not have permission to access this report.');
$this->openCiviPage('report/list', 'reset=1');
- $this->openCiviPage('logout', 'reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
//delete roles
$this->webtestLogin(TRUE);
);
$this->changePermissions($permissions);
- $this->openCiviPage('logout', 'reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
$this->open($this->sboxPath);
$this->waitForElementPresent('edit-submit');
$this->type('edit-name', $user);
//check if the reserved report field is frozen
$this->assertTrue($this->isElementPresent("xpath=//div[@id='instanceForm']//table[3]/tbody//tr/td[2]/tt[text()='[ ]']"));
- $this->openCiviPage('logout', 'reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
$this->open($this->sboxPath);
$this->webtestLogin(TRUE);
// let's give full CiviReport permissions.
$this->click("_qf_Summary_submit_save");
$this->waitForPageToLoad($this->getTimeoutMsec());
- $this->openCiviPage('logout', 'reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
$this->open($this->sboxPath);
$this->waitForElementPresent('edit-submit');
$this->type('edit-name', $user);
$this->assertTrue($this->isElementPresent("xpath=//form[@id='Summary']//div[@id='instanceForm']/table//input[@id='title']"));
//login as admin and remove reserved permission
- $this->openCiviPage('logout', 'reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
$this->open($this->sboxPath);
$this->webtestLogin(TRUE);
$this->open($this->sboxPath . "admin/people/permissions");
$this->waitForPageToLoad($this->getTimeoutMsec());
//login as user and check for absence of report criteria and settings
- $this->openCiviPage('logout', 'reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
$this->open($this->sboxPath);
$this->waitForElementPresent('edit-submit');
$this->type('edit-name', $user);
$this->assertFalse($this->isElementPresent("xpath=//form[@id='Summary']//div[@id='instanceForm']//input[@id='title']"));
//login as admin and turn the is_reserved flag off for the instance
- $this->openCiviPage('logout', 'reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
$this->open($this->sboxPath);
$this->webtestLogin(TRUE);
$this->openCiviPage('report/instance/1', 'reset=1');
$this->click("_qf_Summary_submit_save");
$this->waitForPageToLoad($this->getTimeoutMsec());
- $this->openCiviPage('logout', 'reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
$this->open($this->sboxPath);
$this->waitForElementPresent('edit-submit');
$this->type('edit-name', $user);
$this->assertTrue($this->isElementPresent("xpath=//form[@id='Summary']//div[@id='instanceForm']//input[@id='title']"));
//login as admin and delete the role
- $this->openCiviPage('logout', 'reset=1');
+ $this->openCiviPage('logout', 'reset=1', NULL);
$this->open($this->sboxPath);
$this->webtestLogin(TRUE);
$this->open($this->sboxPath . "admin/people/permissions/roles");