// configure default mail-box
$this->openCiviPage("admin/mailSettings", "action=update&id=1&reset=1", '_qf_MailSettings_cancel-bottom');
+ $this->waitForElementPresent('name');
$this->type('name', 'Test Domain');
$this->type('domain', 'example.com');
$this->select('protocol', 'value=1');
$this->waitForTextPresent("~1 recipient");
// fill subject for mailing
+ $this->waitForElementPresent("xpath=//input[@name='subject']");
$this->type("xpath=//input[@name='subject']", "Test subject {$mailingName} for Webtest");
// HTML format message
$summaryInfoLinks = array(
'Intended Recipients',
'Successful Deliveries',
- 'Tracked Opens',
+ 'Unique Opens', //as per CRM-16506- Fixed and improve mailing stats changes
+ 'Total Opens',
'Click-throughs',
'Forwards',
'Replies',
'Mailing Delivery -' => "Successful",
),
),
- 'Tracked Opens' => array(
+ 'Unique Opens' => array(
'report' => array('report_name' => 'Mail Opened', 'Mailing' => "Mailing $mailingName Webtest"),
'search' => array(
'Mailing Name IN' => "\"Mailing {$mailingName} Webtest",