0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-21 04:43:34 +00:00
salesagility_SuiteCRM/tests/_support/Step/Acceptance/InboundEmailTester.php
Connor Shea 45e33d27fc Misc improvements to the acceptance tests.
Mostly PHPDocs and formatting improvements.
2019-10-11 12:16:13 -06:00

37 lines
1 KiB
PHP

<?php
namespace Step\Acceptance;
class InboundEmailTester extends \AcceptanceTester
{
/**
* Go to inbound email
*/
public function gotoEmailSettings()
{
$I = new NavigationBar($this->getScenario());
$I->clickUserMenuItem('#admin_link');
$I->click('#mailboxes');
}
/**
* Populate bounce email account
*/
public function createBounceEmail()
{
$I = new NavigationBar($this->getScenario());
$EditView = new EditView($this->getScenario());
$sideBar = new SideBar($this->getScenario());
$faker = $this->getFaker();
$I->clickUserMenuItem('#admin_link');
$I->click('#mailboxes');
$sideBar->clickSideBarAction('New Bounce Handling Account');
$I->click('#prefill_gmail_defaults_link');
$I->fillField('#name', 'Test_BounceHandling');
$I->fillField('#email_user', $faker->name);
$I->fillField('#email_password', $faker->name);
$EditView->clickSaveButton();
}
}