Skip to content
Snippets Groups Projects
Commit 90a71586 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #1723 from monishdeb/WebTestFixes

Webtest Fixes
parents 2881300c 83739141
Branches
Tags
No related merge requests found
......@@ -209,7 +209,7 @@ class WebTest_Campaign_MailingTest extends CiviSeleniumTestCase {
//----------end New Mailing-------------
//check redirected page to Scheduled and Sent Mailings and verify for mailing name
$this->assertElementContainsText('page-title', "Scheduled and Sent Mailings");
$this->assertElementContainsText('page-title', "Find Mailings");
$this->assertElementContainsText('Search', "Mailing $mailingName Webtest");
//--------- mail delivery verification---------
......
......@@ -364,7 +364,7 @@ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase {
$profilefield = array(
'middle_name' => 'middle_name',
'gender' => 'gender',
'gender_id' => 'gender_id',
);
$location = 0;
$type = "Individual";
......@@ -627,7 +627,7 @@ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase {
$this->type("custom_" . $customId[2], "lname_custom1");
$this->type("middle_name", "xyz");
$this->click("name=gender value=2");
$this->click("name=gender_id value=2");
$this->select("participant_role", "value=2");
$this->click("_qf_Register_upload-bottom");
......@@ -705,7 +705,7 @@ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase {
$this->type("custom_" . $customId[2], "lname_custom1");
$this->type("middle_name", "xyz");
$this->click("name=gender value=2");
$this->click("name=gender_id value=2");
$this->select("participant_role", "value=2");
$this->click("_qf_Register_upload-bottom");
......
......@@ -167,7 +167,7 @@ class WebTest_Mailing_MailingTest extends CiviSeleniumTestCase {
//----------end New Mailing-------------
//check redirected page to Scheduled and Sent Mailings and verify for mailing name
$this->assertElementContainsText('page-title', "Scheduled and Sent Mailings");
$this->assertElementContainsText('page-title', "Find Mailings");
$this->assertElementContainsText("xpath=//table[@class='selector']/tbody//tr//td", "Mailing $mailingName Webtest");
//--------- mail delivery verification---------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment