Changed login delay for automated tests

This commit is contained in:
Wade Alcorn
2012-01-19 08:48:11 +10:00
parent 105d2c523b
commit a47c1c296c

View File

@@ -16,6 +16,7 @@ class BeefTest
def self.login(session = nil)
session = Capybara::Session.new(:selenium) if session.nil?
session.visit(ATTACK_URL)
sleep 2.0
session.has_content?('BeEF Authentication')
session.fill_in 'user', :with => 'beef'
session.fill_in 'pass', :with => 'beef'