1 |
nhaye |
1714 |
<?php |
2 |
|
|
/** |
3 |
|
|
* |
4 |
|
|
* |
5 |
|
|
* @package openfoncier |
6 |
|
|
* @version SVN : $Id$ |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
// |
10 |
|
|
require_once "base.php"; |
11 |
|
|
|
12 |
|
|
/** |
13 |
|
|
* |
14 |
|
|
*/ |
15 |
|
|
class ServiceConsulte extends BaseTestCase { |
16 |
|
|
|
17 |
|
|
/** |
18 |
|
|
* |
19 |
|
|
*/ |
20 |
nhaye |
1715 |
public function testDemandesAvisPassees() { |
21 |
|
|
// |
22 |
fmichon |
1727 |
$this->login("consu", "consu"); |
23 |
nhaye |
1715 |
|
24 |
fmichon |
1720 |
// |
25 |
nhaye |
1715 |
$this->clickAndWait("link=Demandes passées"); |
26 |
fmichon |
1720 |
$this->verifyNoErrors(); |
27 |
|
|
|
28 |
|
|
// |
29 |
nhaye |
1715 |
$this->clickAndWait("link=AZ0130551200001P0"); |
30 |
fmichon |
1719 |
$this->verifyNoErrors(); |
31 |
nhaye |
1715 |
$this->verifyTextPresent("Demandes d'avis > passées"); |
32 |
|
|
// $this->click("//div[@id='portlet-actions']/ul/li/a/span"); |
33 |
|
|
// $this->waitForPopUp("", "30000"); |
34 |
|
|
// $this->selectPopUp(); |
35 |
|
|
// sleep(5); |
36 |
fmichon |
1719 |
// $this->verifyNoErrors(); |
37 |
nhaye |
1715 |
// $this->verifyTextPresent("Avis solicité pour conformité"); |
38 |
|
|
// $this->verifyTextPresent("Direction de l'Eau et de l'Assainissement"); |
39 |
|
|
// $this->close(); |
40 |
|
|
// $this->selectWindow(); |
41 |
|
|
// |
42 |
|
|
$this->logout(); |
43 |
|
|
} |
44 |
|
|
|
45 |
nhaye |
1714 |
} |
46 |
|
|
?> |