0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-12-22 20:38:31 +00:00
salesagility_SuiteCRM/tests/_support/Step/Acceptance/Reports.php
2023-07-18 15:53:47 +01:00

31 lines
625 B
PHP

<?php
namespace Step\Acceptance;
#[\AllowDynamicProperties]
class Reports extends \AcceptanceTester
{
/**
* Go to user profile
*/
public function gotoProfile()
{
$I = new NavigationBarTester($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);
}
}