summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket488TestCase.php')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket488TestCase.php82
1 files changed, 41 insertions, 41 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php
index 2a83fac9..d96b92f1 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php
@@ -1,42 +1,42 @@
-<?php
-
-class Ticket488TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('active-controls/index.php?page=CustomValidatorByPass');
- $this->assertTextPresent('Custom Login');
- $this->assertNotVisible('loginBox');
- $this->click("showLogin");
- $this->assertVisible("loginBox");
- $this->assertNotVisible("validator1");
- $this->assertNotVisible("validator2");
-
- $this->click("checkLogin");
- $this->pause(800);
- $this->assertVisible("validator1");
- $this->assertNotVisible("validator2");
-
- $this->type('Username', 'tea');
- $this->type('Password', 'mmama');
-
- $this->click("checkLogin");
- $this->pause(800);
- $this->assertNotVisible("validator1");
- $this->assertVisible("validator2");
-
- $this->type('Password', 'test');
- $this->click("checkLogin");
- $this->pause(800);
- $this->assertNotVisible("validator1");
- $this->assertNotVisible("validator2");
- }
-
- function test_more()
- {
- $this->open('tickets/index.php?page=Ticket488');
- //add test assertions here.
- }
-}
-
+<?php
+
+class Ticket488TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('active-controls/index.php?page=CustomValidatorByPass');
+ $this->assertTextPresent('Custom Login');
+ $this->assertNotVisible('loginBox');
+ $this->click("showLogin");
+ $this->assertVisible("loginBox");
+ $this->assertNotVisible("validator1");
+ $this->assertNotVisible("validator2");
+
+ $this->click("checkLogin");
+ $this->pause(800);
+ $this->assertVisible("validator1");
+ $this->assertNotVisible("validator2");
+
+ $this->type('Username', 'tea');
+ $this->type('Password', 'mmama');
+
+ $this->click("checkLogin");
+ $this->pause(800);
+ $this->assertNotVisible("validator1");
+ $this->assertVisible("validator2");
+
+ $this->type('Password', 'test');
+ $this->click("checkLogin");
+ $this->pause(800);
+ $this->assertNotVisible("validator1");
+ $this->assertNotVisible("validator2");
+ }
+
+ function test_more()
+ {
+ $this->open('tickets/index.php?page=Ticket488');
+ //add test assertions here.
+ }
+}
+
?> \ No newline at end of file