From cb09f6ad38d3578996c48df08bdd0b187ed32cea Mon Sep 17 00:00:00 2001 From: mikl <> Date: Sun, 13 Apr 2008 19:02:20 +0000 Subject: Added testcase for #622 --- .gitattributes | 3 +++ .../tickets/protected/pages/Ticket622.page | 17 +++++++++++++++++ .../tickets/protected/pages/Ticket622.php | 10 ++++++++++ .../tickets/tests/Ticket622TestCase.php | 18 ++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket622.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket622.php create mode 100644 tests/FunctionalTests/tickets/tests/Ticket622TestCase.php diff --git a/.gitattributes b/.gitattributes index 525b294b..ee84a256 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2995,6 +2995,8 @@ tests/FunctionalTests/tickets/protected/pages/Ticket606.page -text tests/FunctionalTests/tickets/protected/pages/Ticket609.page -text tests/FunctionalTests/tickets/protected/pages/Ticket614.page -text tests/FunctionalTests/tickets/protected/pages/Ticket617.page -text +tests/FunctionalTests/tickets/protected/pages/Ticket622.page -text +tests/FunctionalTests/tickets/protected/pages/Ticket622.php -text tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.tpl -text tests/FunctionalTests/tickets/protected/pages/Ticket653/ticket653.page -text tests/FunctionalTests/tickets/protected/pages/Ticket656.page -text @@ -3074,6 +3076,7 @@ tests/FunctionalTests/tickets/tests/Ticket586TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket587TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket592TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket595TestCase.php -text +tests/FunctionalTests/tickets/tests/Ticket622TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket653TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket659TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket700TestCase.php -text diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket622.page b/tests/FunctionalTests/tickets/protected/pages/Ticket622.page new file mode 100644 index 00000000..e6598cd2 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket622.page @@ -0,0 +1,17 @@ + + +

This test only passes only with "Highlight elements" deactivated!

+ +
+ + + +
+
+ + +
+
+ + +
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket622.php b/tests/FunctionalTests/tickets/protected/pages/Ticket622.php new file mode 100644 index 00000000..003b32de --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket622.php @@ -0,0 +1,10 @@ +ALB->setDisplay('Dynamic'); + $this->ACB->setDisplay('Dynamic'); + $this->ARB->setDisplay('Dynamic'); + } +} +?> diff --git a/tests/FunctionalTests/tickets/tests/Ticket622TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket622TestCase.php new file mode 100644 index 00000000..61b7d314 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket622TestCase.php @@ -0,0 +1,18 @@ +open('tickets/index.php?page=Ticket622'); + $this->assertTitle("Verifying Ticket 622"); + + $this->click($base.'ctl0'); + $this->pause(800); + $this->assertAttribute($base.'ALB@style','null'); + $this->assertAttribute('css=span#acb span@style','null'); + $this->assertAttribute('css=span#arb span@style','null'); + } +} +?> -- cgit v1.2.3