Added to verify the logs tab exists

This commit is contained in:
Wade Alcorn
2012-01-13 23:08:52 +10:00
parent 5024b8a3f8
commit e31d2ae8a6

View File

@@ -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