- function _testVerifyRegisterPage($contributionPageTitle) {
- $this->openCiviPage('admin/contribute', 'reset=1', '_qf_SearchContribution_refresh');
- $this->type('title', $contributionPageTitle);
- $this->click('_qf_SearchContribution_refresh');
- $this->waitForPageToLoad('50000');
- $id = $this->getAttribute("//div[@id='configure_contribution_page']//div[@class='dataTables_wrapper']/table/tbody/tr@id");
- $id = explode('_', $id);
- $registerUrl = array('url' => 'contribute/transact', 'args' => "reset=1&id=$id[1]");
- return $registerUrl;
- }
-
- function _testSignUpOrRenewMembership($registerUrl, $contactParams, $memTypeTitle1, $memTypeTitle2, $renew = FALSE) {
- $this->openCiviPage('logout', 'reset=1', NULL);
+ function _testSignUpOrRenewMembership($pageId, $contactParams, $memTypeTitle1, $memTypeTitle2, $renew = FALSE) {
+ $this->webtestLogout();