Webtests fixes
[civicrm-core.git] / tests / phpunit / WebTest / Event / TellAFriendTest.php
index 95636761125c6d5e0da71adac227585dc4e3ca2d..71854be7c99b7da7372f247acc511a793318b19d 100644 (file)
@@ -238,8 +238,8 @@ class WebTest_Event_TellAFriendTest extends CiviSeleniumTestCase {
       $this->assertChecked("is_multiple_registrations");
     }
 
-    $this->click('intro_text');
-    $this->fillRichTextField("intro_text", $registerIntro);
+    $this->click("xpath=//div[@id='registration_screen']/table/tbody/tr[1]/td[2]/div[@class='replace-plain']");
+    $this->fillRichTextField("cke_wysiwyg_frame", $registerIntro);
 
     // enable confirmation email
     $this->click('xpath=//fieldset[@id="mail"]/div/table/tbody/tr/td[2]/label[contains(text(), "Yes")]');