From e1326164ad82e665a1ca4e3718554fcee2324c73 Mon Sep 17 00:00:00 2001 From: Ravish Nair Date: Mon, 1 Apr 2013 18:51:18 +0530 Subject: [PATCH] -- webtest fix (due to changes made in CRM-12202) --- tests/phpunit/WebTest/Case/ActivityToCaseTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/phpunit/WebTest/Case/ActivityToCaseTest.php b/tests/phpunit/WebTest/Case/ActivityToCaseTest.php index 2425293b9d..2ce2a43eb2 100644 --- a/tests/phpunit/WebTest/Case/ActivityToCaseTest.php +++ b/tests/phpunit/WebTest/Case/ActivityToCaseTest.php @@ -211,8 +211,7 @@ class WebTest_Case_ActivityToCaseTest extends CiviSeleniumTestCase { // change activity status $this->select('activity_change_status', 'value=2'); - $this->click("xpath=//div[@class='ui-dialog-buttonset']/button/span[text()='Ok']"); - $this->waitForPageToLoad($this->getTimeoutMsec()); + $this->click("xpath=//div[@class='ui-dialog-buttonset']/button[2]/span[text()='Continue']"); $this->openCiviPage('case', 'reset=1'); $this->click("xpath=//table[@class='caseSelector']/tbody//tr/td[2]/a[text()='{$contactName}']/../../td[9]/span/a[text()='Manage']"); $this->waitForElementPresent('_qf_CaseView_cancel-bottom'); -- 2.25.1