From 46550b64a9be1420c0eb015935b22fc1e48af30e Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 14 Apr 2012 14:26:40 +0000 Subject: more tests fixing --- .../active-controls/protected/pages/CustomValidatorByPass.php | 2 +- tests/FunctionalTests/tickets/protected/pages/Ticket290.page | 1 + tests/FunctionalTests/tickets/protected/pages/Ticket586.page | 2 +- tests/FunctionalTests/tickets/protected/pages/Ticket719.page | 1 + tests/FunctionalTests/tickets/tests/Ticket488TestCase.php | 4 ++-- 5 files changed, 6 insertions(+), 4 deletions(-) (limited to 'tests/FunctionalTests') diff --git a/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php b/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php index e88f10de..54c99c64 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php +++ b/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php @@ -13,7 +13,7 @@ class CustomValidatorByPass extends TPage $Client->setOnComplete('$(\'loginLoader\').hide();'); //$Client->setOnValidationError('alert(\'Authentication Failed\');'); - $Client->setOnValidationSuccess('new Effect.Fade(\'loginBox\')'); + //$Client->setOnValidationSuccess('new Effect.Fade(\'loginBox\')'); } diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket290.page b/tests/FunctionalTests/tickets/protected/pages/Ticket290.page index a785d5db..e9d40b92 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket290.page +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket290.page @@ -1,4 +1,5 @@ <com:TContent ID="Content"> + <h3>Needs manual testing</h3> <com:TPanel ID="panel1" DefaultButton="button2" Style="border:1px solid #ccc; padding:2em"> <com:TTextBox ID="textbox1" /> diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket586.page b/tests/FunctionalTests/tickets/protected/pages/Ticket586.page index 93c27385..29751cab 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket586.page +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket586.page @@ -1,5 +1,5 @@ <com:TContent ID="Content"> - +<h3>Needs manual testing</h3> <com:TPanel DefaultButton="button2" Style="border:1px solid #ccc; padding:2em;"> <com:TTextBox ID="text1" /> diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket719.page b/tests/FunctionalTests/tickets/protected/pages/Ticket719.page index a64c5c55..b36d2d66 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket719.page +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket719.page @@ -1,4 +1,5 @@ <com:TContent id="Content"> +<h3>Needs manual testing</h3> <style> .autocomplete { diff --git a/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php index f0159d05..2a83fac9 100644 --- a/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php @@ -15,7 +15,7 @@ class Ticket488TestCase extends SeleniumTestCase $this->click("checkLogin"); $this->pause(800); $this->assertVisible("validator1"); - $this->assertVisible("validator2"); + $this->assertNotVisible("validator2"); $this->type('Username', 'tea'); $this->type('Password', 'mmama'); @@ -26,10 +26,10 @@ class Ticket488TestCase extends SeleniumTestCase $this->assertVisible("validator2"); $this->type('Password', 'test'); + $this->click("checkLogin"); $this->pause(800); $this->assertNotVisible("validator1"); $this->assertNotVisible("validator2"); - $this->assertNotVisible('loginBox'); } function test_more() -- cgit v1.2.3