Merge pull request #8005 from joeyisking/CRM-18270
[civicrm-core.git] / tests / phpunit / WebTest / Event / ChangeParticipantStatus.php
index 53a718c95b1cefa264047d7191658a80f3de6fbf..2ff5b324ae327333f7034f601645d1860bd7a96a 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2016                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -68,7 +68,7 @@ class WebTest_Event_ChangeParticipantStatus extends CiviSeleniumTestCase {
     $this->click($id2);
 
     // Change participant status for selected participants
-    $this->select('task', "label=Change Participant Status");
+    $this->select('task', "label=Participant status - change (emails sent)");
     $this->waitForElementPresent('_qf_ParticipantStatus_next');
 
     $this->select('status_change', "label=Attended");
@@ -161,7 +161,7 @@ class WebTest_Event_ChangeParticipantStatus extends CiviSeleniumTestCase {
         'Event Source' => 'Event StandaloneAddTest Webtest',
       )
     );
-    $this->verifyText("xpath=//td[text()='Selections']/following-sibling::td//div/div", preg_quote('Event Total: $ 800.00'));
+    $this->verifyText("xpath=//td[text()='Selections']/following-sibling::td//div", preg_quote('Event Total: $ 800.00'));
   }
 
 }