1 |
fmichon |
1664 |
<?php |
2 |
|
|
/** |
3 |
|
|
* |
4 |
|
|
* |
5 |
|
|
* @package openfoncier |
6 |
|
|
* @version SVN : $Id$ |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
// |
10 |
fmichon |
1677 |
require_once "base.php"; |
11 |
fmichon |
1664 |
|
12 |
|
|
/** |
13 |
|
|
* |
14 |
|
|
*/ |
15 |
|
|
class Instruction extends BaseTestCase { |
16 |
|
|
|
17 |
|
|
/** |
18 |
|
|
* Ce test vise uniquement à vérifier que les écrans correspondant à chaque |
19 |
|
|
* entrée de menu ne génère pas une erreur de base de données |
20 |
|
|
*/ |
21 |
|
|
public function testGeneral() { |
22 |
|
|
// |
23 |
fmichon |
1727 |
$this->login("instr", "instr"); |
24 |
fmichon |
1664 |
|
25 |
|
|
// |
26 |
|
|
$this->clickAndWait("link=mes encours"); |
27 |
fmichon |
1720 |
$this->verifyNoErrors(); |
28 |
fmichon |
1664 |
$this->verifyTextPresent("DI"); |
29 |
|
|
// |
30 |
|
|
$this->clickAndWait("link=tous les encours"); |
31 |
fmichon |
1720 |
$this->verifyNoErrors(); |
32 |
fmichon |
1664 |
$this->verifyTextPresent("DI"); |
33 |
|
|
// |
34 |
|
|
$this->clickAndWait("link=mes clôturés"); |
35 |
fmichon |
1720 |
$this->verifyNoErrors(); |
36 |
fmichon |
1664 |
$this->verifyTextPresent("DI"); |
37 |
|
|
// |
38 |
|
|
$this->clickAndWait("link=tous les clôturés"); |
39 |
fmichon |
1720 |
$this->verifyNoErrors(); |
40 |
fmichon |
1664 |
$this->verifyTextPresent("DI"); |
41 |
|
|
// |
42 |
|
|
$this->clickAndWait("link=recherche"); |
43 |
fmichon |
1720 |
$this->verifyNoErrors(); |
44 |
fmichon |
1664 |
$this->verifyTextPresent("DI"); |
45 |
|
|
// |
46 |
fmichon |
1681 |
$this->clickAndWait("link=dossiers à qualifier"); |
47 |
fmichon |
1720 |
$this->verifyNoErrors(); |
48 |
fmichon |
1664 |
$this->verifyTextPresent("dossier"); |
49 |
|
|
// |
50 |
|
|
$this->clickAndWait("link=Mes retours"); |
51 |
fmichon |
1720 |
$this->verifyNoErrors(); |
52 |
fmichon |
1664 |
$this->verifyTextPresent("dossier"); |
53 |
|
|
// |
54 |
|
|
$this->clickAndWait("link=Tous les retours"); |
55 |
fmichon |
1720 |
$this->verifyNoErrors(); |
56 |
fmichon |
1664 |
$this->verifyTextPresent("dossier"); |
57 |
|
|
// |
58 |
|
|
$this->clickAndWait("link=Mes messages"); |
59 |
fmichon |
1720 |
$this->verifyNoErrors(); |
60 |
fmichon |
1664 |
$this->verifyTextPresent("dossier"); |
61 |
|
|
// |
62 |
|
|
$this->clickAndWait("link=Tous les messages"); |
63 |
fmichon |
1720 |
$this->verifyNoErrors(); |
64 |
fmichon |
1664 |
$this->verifyTextPresent("dossier"); |
65 |
|
|
// |
66 |
|
|
$this->clickAndWait("css=a.commission_mes_retours-16"); |
67 |
fmichon |
1720 |
$this->verifyNoErrors(); |
68 |
fmichon |
1664 |
$this->verifyTextPresent("dossier"); |
69 |
|
|
// |
70 |
|
|
$this->clickAndWait("css=a.commission_tous_retours-16"); |
71 |
fmichon |
1720 |
$this->verifyNoErrors(); |
72 |
fmichon |
1664 |
$this->verifyTextPresent("dossier"); |
73 |
|
|
|
74 |
|
|
// |
75 |
|
|
$this->logout(); |
76 |
|
|
} |
77 |
|
|
|
78 |
|
|
} |
79 |
|
|
|
80 |
|
|
?> |