From 86f80f2b9c1b838dfea8ec0cb7635f01adf6165f Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 18 Feb 2010 14:34:44 +0000 Subject: [PATCH] blotter test --- contrib/blotter/test.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 contrib/blotter/test.php diff --git a/contrib/blotter/test.php b/contrib/blotter/test.php new file mode 100644 index 00000000..69554bb3 --- /dev/null +++ b/contrib/blotter/test.php @@ -0,0 +1,21 @@ +log_in_as_admin(); + $this->assert_text("Blotter Editor"); + $this->click("Blotter Editor"); + $this->log_out(); + } + + function testAdd() { + $this->log_in_as_admin(); + $this->get_page("blotter/editor"); + $this->set_field("entry_text", "blotter testing"); + $this->click("Add"); + $this->assert_text("blotter testing"); + $this->clock("Remove"); + $this->assert_no_text("blotter testing"); + $this->log_out(); + } +} +?>