コード例 #1
0
ファイル: EmailTemplate.php プロジェクト: ramunasd/platform
 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
ファイル: TransactionEmail.php プロジェクト: Maksold/platform
 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
ファイル: Dashboard.php プロジェクト: xamin123/platform
 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
ファイル: Category.php プロジェクト: hafeez3000/orocommerce
 /**
  * {@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')]");
 }