예제 #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
파일: Login.php 프로젝트: xamin123/platform
 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);
 }