<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->assertEquals(1, $this->getText("xpath=//li[@id='tab_rel']/a/em"));
// Edit Contact but do not change any field
- $this->clickLink("css=a.edit.button");
+ $this->waitForElementPresent("xpath=//ul[@id='actions']/li[2]/a/span");
+ $this->clickLink("xpath=//ul[@id='actions']/li[2]/a/span");
$this->waitForElementPresent('_qf_Contact_cancel-bottom');
$this->clickLink("_qf_Contact_upload_view-top");