From b72d5254d0c8046794353da324cbaece4c21a973 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 18 Feb 2010 15:58:23 +0000 Subject: [PATCH] more blotter testing --- contrib/blotter/test.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/contrib/blotter/test.php b/contrib/blotter/test.php index 69554bb3..ef45023d 100644 --- a/contrib/blotter/test.php +++ b/contrib/blotter/test.php @@ -1,20 +1,27 @@ log_in_as_admin(); $this->assert_text("Blotter Editor"); $this->click("Blotter Editor"); $this->log_out(); } - function testAdd() { + function testAddViewRemove() { $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->get_page("blotter"); + $this->assert_text("blotter testing"); + + $this->get_page("blotter/editor"); $this->clock("Remove"); $this->assert_no_text("blotter testing"); + $this->log_out(); } }