예제 #1
0
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->entityName = $this->test->select($this->test->byXpath("//*[@data-ftid='oro_email_emailtemplate_entityName']"));
     $this->name = $this->test->byXpath("//*[@data-ftid='oro_email_emailtemplate_name']");
     $this->type = $this->test->byXpath("//*[@data-ftid='oro_email_emailtemplate_type']");
     $this->subject = $this->test->byXpath("//*[@data-ftid='oro_email_emailtemplate_translations_defaultLocale_en_subject']");
     $this->content = $this->test->byXpath("//*[@data-ftid='oro_email_emailtemplate_translations_defaultLocale_en_content']");
 }
예제 #2
0
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->entityName = $this->test->select($this->test->byXpath("//*[@data-ftid='emailnotification_entityName']"));
     $this->event = $this->test->select($this->test->byXpath("//*[@data-ftid='emailnotification_event']"));
     $this->template = $this->test->byXpath("//div[starts-with(@id,'s2id_emailnotification_template')]/a");
     $this->user = $this->test->byXpath("//div[starts-with(@id,'s2id_emailnotification_recipientList_users')]//input");
     $this->groups = $this->test->byXpath("//*[@data-ftid='emailnotification_recipientList_groups']");
     $this->email = $this->test->byXpath("//*[@data-ftid='emailnotification_recipientList_email']");
 }
예제 #3
0
파일: CaseEntity.php 프로젝트: dairdr/crm
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
 }
예제 #4
0
파일: Group.php 프로젝트: nmallare/platform
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->name = $this->test->byXpath("//*[@data-ftid='oro_user_group_form_name']");
     $this->owner = $this->test->select($this->test->byXpath("//*[@data-ftid='oro_user_group_form_owner']"));
 }
예제 #5
0
파일: Group.php 프로젝트: xamin123/platform
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->name = $this->test->byId('oro_user_group_form_name');
     $this->owner = $this->test->select($this->test->byId('oro_user_group_form_owner'));
 }
예제 #6
0
파일: Role.php 프로젝트: xamin123/platform
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->label = $this->test->byId('oro_user_role_form_label');
 }
예제 #7
0
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->label = $this->test->byId('oro_dashboard_label');
     $this->owner = $this->test->byXpath("//div[starts-with(@id,'s2id_oro_dashboard_owner')]/a");
 }
예제 #8
0
파일: Role.php 프로젝트: nmallare/platform
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->label = $this->test->byXpath("//*[@data-ftid='oro_user_role_form_label']");
 }
예제 #9
0
파일: Tag.php 프로젝트: Maksold/platform
 public function save($button = 'Save')
 {
     return parent::save($button);
 }
예제 #10
0
 /**
  * {@inheritdoc}
  */
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->defaultTitle = $this->test->byXpath("//input[starts-with(@id,'orob2b_catalog_category_titles_values_default')]");
 }