Пример #1
0
 public function __construct($testCase, $args = array('url' => '/install.php'))
 {
     if (array_key_exists('url', $args)) {
         $this->redirectUrl = $args['url'];
     }
     parent::__construct($testCase);
 }
Пример #2
0
 public function __construct($testCase)
 {
     parent::__construct($testCase);
     $this->pane = $this->test->byXpath('//a[@title="Search"]');
     $this->simpleSearch = $this->test->byId('search-bar-search');
     $this->searchButton = $this->test->byXpath("//form[@id='top-search-form']//div/button[contains(.,'Go')]");
 }
Пример #3
0
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->host = $this->test->byId('oro_installer_configuration_database_oro_installer_database_host');
     $this->port = $this->test->byId('oro_installer_configuration_database_oro_installer_database_port');
     $this->password = $this->test->byId('oro_installer_configuration_database_oro_installer_database_password');
     $this->user = $this->test->byId('oro_installer_configuration_database_oro_installer_database_user');
     $this->database = $this->test->byId('oro_installer_configuration_database_oro_installer_database_name');
 }
Пример #4
0
 public function __construct($testCase, $args = array())
 {
     if (array_key_exists('url', $args)) {
         $this->redirectUrl = $args['url'];
     }
     parent::__construct($testCase);
     $this->tabs = $this->test->byId("main-menu");
     $this->pinbar = $this->test->byXpath("//li[contains(@class, 'dot-menu')]");
 }
Пример #5
0
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->host = $this->test->byXPath("//*[@data-ftid='oro_installer_configuration_database_oro_installer_database_host']");
     $this->port = $this->test->byXPath("//*[@data-ftid='oro_installer_configuration_database_oro_installer_database_port']");
     $this->password = $this->test->byXPath("//*[@data-ftid='oro_installer_configuration_database_oro_installer_database_password']");
     $this->user = $this->test->byXPath("//*[@data-ftid='oro_installer_configuration_database_oro_installer_database_user']");
     $this->database = $this->test->byXPath("//*[@data-ftid='oro_installer_configuration_database_oro_installer_database_name']");
 }
Пример #6
0
 public function __construct($testCase, $args = array('url' => '/'))
 {
     if (array_key_exists('url', $args)) {
         $this->redirectUrl = $args['url'];
     }
     parent::__construct($testCase);
     if (array_key_exists('remember', $args)) {
         $this->test->byId('remember_me')->click();
     }
     $this->username = $this->test->byId('prependedInput');
     $this->password = $this->test->byId('prependedInput2');
 }
Пример #7
0
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->organization = $this->test->byXPath("//*[@data-ftid='oro_installer_setup_organization_name']");
     $this->username = $this->test->byXPath("//*[@data-ftid='oro_installer_setup_username']");
     $this->passwordFirst = $this->test->byXPath("//*[@data-ftid='oro_installer_setup_plainPassword_first']");
     $this->passwordSecond = $this->test->byXPath("//*[@data-ftid='oro_installer_setup_plainPassword_second']");
     $this->email = $this->test->byXPath("//*[@data-ftid='oro_installer_setup_email']");
     $this->firstName = $this->test->byXPath("//*[@data-ftid='oro_installer_setup_firstName']");
     $this->lastName = $this->test->byXPath("//*[@data-ftid='oro_installer_setup_lastName']");
     $this->loadFixtures = $this->test->byXPath("//*[@data-ftid='oro_installer_setup_loadFixtures']");
 }
Пример #8
0
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
     $this->organization = $this->test->byId("oro_installer_setup_organization_name");
     $this->username = $this->test->byId("oro_installer_setup_username");
     $this->passwordFirst = $this->test->byId("oro_installer_setup_plainPassword_first");
     $this->passwordSecond = $this->test->byId("oro_installer_setup_plainPassword_second");
     $this->email = $this->test->byId("oro_installer_setup_email");
     $this->firstName = $this->test->byId("oro_installer_setup_firstName");
     $this->lastName = $this->test->byId("oro_installer_setup_lastName");
     $this->loadFixtures = $this->test->byId("oro_installer_setup_loadFixtures");
 }
Пример #9
0
 public function __construct($testCase, $redirect = true)
 {
     $this->redirectUrl = self::URL;
     parent::__construct($testCase, $redirect);
 }
Пример #10
0
 public function __construct($testCase, $redirect = true)
 {
     parent::__construct($testCase, $redirect);
 }
Пример #11
0
 public function __construct($testCase)
 {
     parent::__construct($testCase);
 }