mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-02-06 23:10:03 +00:00
![Connor Shea](/assets/img/avatar_default.png)
Convert Campaigns, Cases, Documents, Events, Invoices, Leads, Meetings, Notes, Product Categories, Products, and Tasks.
38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace Step\Acceptance;
|
|
|
|
class Meetings extends \AcceptanceTester
|
|
{
|
|
/**
|
|
* Create a meeting
|
|
*
|
|
* @param $name
|
|
*/
|
|
public function createMeeting($name)
|
|
{
|
|
$I = new EditView($this->getScenario());
|
|
$DetailView = new DetailView($this->getScenario());
|
|
$Sidebar = new SideBar($this->getScenario());
|
|
$faker = $this->getFaker();
|
|
|
|
$I->see('Schedule Meeting', '.actionmenulink');
|
|
$Sidebar->clickSideBarAction('Schedule');
|
|
$I->waitForEditViewVisible();
|
|
$I->fillField('#name', $name);
|
|
$I->fillField('#date_start_date', '01/19/2038');
|
|
$I->fillField('#description', $faker->text());
|
|
$I->fillField('#location', $faker->city());
|
|
|
|
$I->waitForElementVisible('#date_start_hours');
|
|
|
|
$I->selectOption('#duration', '15 minutes');
|
|
$I->selectOption('#status', 'Held');
|
|
$I->selectOption('#parent_type', 'Account');
|
|
|
|
$I->seeElement('#assigned_user_name');
|
|
|
|
$I->clickSaveButton();
|
|
$DetailView->waitForDetailViewVisible();
|
|
}
|
|
}
|