Пример #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
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
 }
Пример #4
0
 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
 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
 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
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->label = $this->test->byXpath("//*[@data-ftid='oro_user_role_form_label']");
 }
Пример #9
0
 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')]");
 }