/[openfoncier]/branches/3.14.x/tests/base.php
ViewVC logotype

Diff of /branches/3.14.x/tests/base.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3497 by vpihour, Thu Mar 19 17:34:18 2015 UTC revision 3498 by nhaye, Tue May 26 11:21:01 2015 UTC
# Line 19  class BaseTestCase extends PHPUnit_Exten Line 19  class BaseTestCase extends PHPUnit_Exten
19      }      }
20    
21      protected function connect($login, $password) {      protected function connect($login, $password) {
22          $this->open("openads/");          $this->open(BASE_PATH_URL);
23          $this->type("id=login", $login);          $this->type("id=login", $login);
24          $this->type("id=password", $password);          $this->type("id=password", $password);
25          $this->click("name=login.action.connect");          $this->click("name=login.action.connect");
# Line 92  class Base2TestCase extends PHPUnit_Exte Line 92  class Base2TestCase extends PHPUnit_Exte
92       * Url de base       * Url de base
93       * @var string       * @var string
94       */       */
95      var $url = "openads/";      var $url = BASE_PATH_URL;
96    
97      /**      /**
98       * Chemin dossier des screenshots       * Chemin dossier des screenshots
99       * @var string       * @var string
100       */       */
101      var $screenshotPath = '/var/www/openads/tests/results/';      var $screenshotPath = '';
102    
103      /**      /**
104       * Option capture d'écran       * Option capture d'écran
# Line 111  class Base2TestCase extends PHPUnit_Exte Line 111  class Base2TestCase extends PHPUnit_Exte
111       * (fonctionnalité).       * (fonctionnalité).
112       */       */
113      protected function setUp() {      protected function setUp() {
114            $this->screenshotPath = '/var/www/'.BASE_PATH_URL.'tests/results/';
115          // On positionne le navigateur          // On positionne le navigateur
116          $this->setBrowser("firefox");          $this->setBrowser("firefox");
117          //$this->setBrowser("chrome");          //$this->setBrowser("chrome");

Legend:
Removed from v.3497  
changed lines
  Added in v.3498

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26