From e31d2ae8a676891a3ded3f24867415228ad9f37d Mon Sep 17 00:00:00 2001 From: Wade Alcorn Date: Fri, 13 Jan 2012 23:08:52 +1000 Subject: [PATCH] Added to verify the logs tab exists --- test/integration/tc_login.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/integration/tc_login.rb b/test/integration/tc_login.rb index a7b808604..40dccabe3 100644 --- a/test/integration/tc_login.rb +++ b/test/integration/tc_login.rb @@ -37,4 +37,19 @@ class TC_login < Test::Unit::TestCase BeefTest.save_screenshot(session) end + def test_logs_tab + session = BeefTest.login + session.click_on('Logs') + session.has_content?('logout') + session.has_content?('Hooked Browsers') + session.has_content?('Type') + session.has_content?('Event') + session.has_content?('Date') + session.has_content?('No logs to display') + session.has_content?('Page') + + BeefTest.save_screenshot(session) + session = BeefTest.logout(session) + end + end \ No newline at end of file