From b26ef59b9ffbc9b8dfa15b6456fd0071474b9608 Mon Sep 17 00:00:00 2001 From: knut <> Date: Mon, 18 Aug 2008 23:00:14 +0000 Subject: fixed #876 --- .../tickets/protected/pages/Ticket876.page | 17 ++++++++++++++++ .../tickets/protected/pages/Ticket876.php | 11 +++++++++++ .../tickets/tests/Ticket876TestCase.php | 23 ++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket876.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket876.php create mode 100644 tests/FunctionalTests/tickets/tests/Ticket876TestCase.php (limited to 'tests/FunctionalTests/tickets') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket876.page b/tests/FunctionalTests/tickets/protected/pages/Ticket876.page new file mode 100644 index 00000000..af673461 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket876.page @@ -0,0 +1,17 @@ + + + + + + + content for view 1 + + + content for view 2 + + + content for view 3 + + + + diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket876.php b/tests/FunctionalTests/tickets/protected/pages/Ticket876.php new file mode 100644 index 00000000..e95a677c --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket876.php @@ -0,0 +1,11 @@ +TabPanel->CssUrl = ""; + } + +} + +?> diff --git a/tests/FunctionalTests/tickets/tests/Ticket876TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket876TestCase.php new file mode 100644 index 00000000..0ad9ebfa --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket876TestCase.php @@ -0,0 +1,23 @@ +open('tickets/index.php?page=Ticket876'); + $this->assertTitle("Verifying Ticket 876"); + $base = 'ctl0_Content_'; + + $this->assertElementPresent('xpath=//link[@rel="stylesheet"]'); + $this->clickAndWait($base.'Button'); + $this->assertElementNotPresent('xpath=//link[@rel="stylesheet"]'); + + /*$this->select($base.'Date_month', 10); + $this->select($base.'Date_day', 22); + + $this->clickAndWait($base.'SendButton'); + $this->assertTextPresent('2008-10-22');*/ + } + +} + +?> -- cgit v1.2.3