mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-02-21 04:43:34 +00:00

Convert Emails, Knowledge Base, Maps, Opportunities, PDF Templates, Projects, Quotes, Reports, Sports, Surveys, Targets, and Users.
32 lines
855 B
PHP
32 lines
855 B
PHP
<?php
|
|
|
|
namespace Step\Acceptance;
|
|
|
|
class ProjectTemplates extends \AcceptanceTester
|
|
{
|
|
/**
|
|
* Create a project template
|
|
*
|
|
* @param $name
|
|
*/
|
|
public function createProjectTemplate($name)
|
|
{
|
|
$I = new EditView($this->getScenario());
|
|
$DetailView = new DetailView($this->getScenario());
|
|
$Sidebar = new SideBar($this->getScenario());
|
|
|
|
$I->see('Create Project Template', '.actionmenulink');
|
|
$Sidebar->clickSideBarAction('Create');
|
|
$I->waitForEditViewVisible();
|
|
$I->fillField('#name', $name);
|
|
|
|
$I->checkOption('#override_business_hours');
|
|
$I->selectOption('#status', 'Underway');
|
|
$I->selectOption('#priority', 'Low');
|
|
|
|
$I->seeElement('#assigned_user_name');
|
|
|
|
$I->clickSaveButton();
|
|
$DetailView->waitForDetailViewVisible();
|
|
}
|
|
}
|