From 73bd670dc8cdefbc4ab6cae56848bd14bdfb04c4 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 26 May 2006 06:32:38 +0000 Subject: Test case for #28 --- .../FunctionalTests/tickets/protected/pages/Ticket28.page | 5 +++++ .../FunctionalTests/tickets/protected/pages/Ticket28.php | 12 ++++++++++++ tests/FunctionalTests/tickets/tests/Ticket28TestCase.php | 15 +++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket28.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket28.php create mode 100644 tests/FunctionalTests/tickets/tests/Ticket28TestCase.php (limited to 'tests') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket28.page b/tests/FunctionalTests/tickets/protected/pages/Ticket28.page new file mode 100644 index 00000000..1d0002bb --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket28.page @@ -0,0 +1,5 @@ + +

Safari LinkButton Test

+ + +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket28.php b/tests/FunctionalTests/tickets/protected/pages/Ticket28.php new file mode 100644 index 00000000..7980119e --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket28.php @@ -0,0 +1,12 @@ +label1->setText("Link Button 1 Clicked!"); + } +} + + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/tests/Ticket28TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket28TestCase.php new file mode 100644 index 00000000..960dd2d8 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket28TestCase.php @@ -0,0 +1,15 @@ +open('tickets/index.php?page=Ticket28'); + $this->assertTextPresent('Label 1'); + $this->clickAndWait('link=Click Me'); + $this->assertTextPresent('Link Button 1 Clicked!'); + } +} + +?> \ No newline at end of file -- cgit v1.2.3