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/Reports.php
Connor Shea 144bed0237 Convert most of the remaining gotoModule functions.
Convert Emails, Knowledge Base, Maps, Opportunities, PDF Templates,
Projects, Quotes, Reports, Sports, Surveys, Targets, and Users.
2019-06-26 12:39:07 -06:00

29 lines
592 B
PHP

<?php
namespace Step\Acceptance;
class Reports extends \AcceptanceTester
{
/**
* Go to user profile
*/
public function gotoProfile()
{
$I = new NavigationBar($this->getScenario());
$I->clickUserMenuItem('Profile');
}
/**
* Create a report
*
* @param $name
* @param $module
*/
public function createReport($name, $module)
{
$I = new EditView($this->getScenario());
$I->waitForEditViewVisible();
$I->fillField('#name', $name);
$I->selectOption('#report_module', $module);
}
}