From 5733268f342049cc0e0679a78dde064fa0d80471 Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 12 Aug 2013 15:10:37 +0530 Subject: [PATCH] fixes for WebTest_Activity_ContactContextAddTest::testContactContextActivityAdd --- tests/phpunit/WebTest/Activity/ContactContextAddTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/WebTest/Activity/ContactContextAddTest.php b/tests/phpunit/WebTest/Activity/ContactContextAddTest.php index 88fa27c5fb..738032b9a9 100644 --- a/tests/phpunit/WebTest/Activity/ContactContextAddTest.php +++ b/tests/phpunit/WebTest/Activity/ContactContextAddTest.php @@ -119,10 +119,11 @@ class WebTest_Activity_ContactContextAddTest extends CiviSeleniumTestCase { // Is status message correct? $this->waitForText('crm-notification-container', $subject); - $this->waitForElementPresent("xpath=//div[@id='Activities']//table/tbody/tr[2]/td[9]/span/a[text()='View']"); + $this->waitForElementPresent( + "xpath=//table[@id='contact-activity-selector-activity']//tbody//tr[2]/td[8]/span/a[text()='View']"); // click through to the Activity view screen - $this->click("xpath=//div[@id='Activities']//table/tbody/tr[2]/td[9]/span/a[text()='View']"); + $this->click("xpath=//table[@id='contact-activity-selector-activity']//tbody//tr[2]/td[8]/span/a[text()='View']"); $this->waitForElementPresent('_qf_Activity_cancel-bottom'); // verify Activity created -- 2.25.1