コード例 #1
0
ファイル: CaseEntity.php プロジェクト: dairdr/crm
 public function setStatus($status)
 {
     $this->status->selectOptionByLabel($status);
     return $this;
 }
コード例 #2
0
ファイル: User.php プロジェクト: woei66/platform
 public function disable()
 {
     $this->enabled->selectOptionByLabel('Inactive');
     return $this;
 }
コード例 #3
0
ファイル: Group.php プロジェクト: nmallare/platform
 public function setOwner($owner)
 {
     $this->owner->selectOptionByLabel($owner);
     return $this;
 }
コード例 #4
0
ファイル: Opportunity.php プロジェクト: CopeX/crm
 public function setCloseReason($closeReason)
 {
     $this->closeReason->selectOptionByLabel($closeReason);
     return $this;
 }
コード例 #5
0
ファイル: TransactionEmail.php プロジェクト: Maksold/platform
 /**
  * @param $event
  * @return $this
  */
 public function setEvent($event)
 {
     $this->event->selectOptionByLabel($event);
     return $this;
 }
コード例 #6
0
ファイル: Dashboard.php プロジェクト: xamin123/platform
 public function setClone($clone)
 {
     $this->clone->selectOptionByLabel($clone);
     return $this;
 }
コード例 #7
0
ファイル: EmailTemplate.php プロジェクト: ramunasd/platform
 /**
  * @param $entityName
  * @return $this
  */
 public function setEntityName($entityName)
 {
     $this->entityName->selectOptionByLabel($entityName);
     return $this;
 }
コード例 #8
0
 /**
  * Set multiple options on a multi-style element
  * @param $element
  * @param $values array
  */
 private function helpersFormSetter_setOptionValues(PHPUnit_Extensions_Selenium2TestCase_Element_Select $element, array $values)
 {
     foreach ($values as $oneValue) {
         $element->selectOptionByLabel($oneValue);
     }
 }