OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/features/support/login_steps.rb

13 lines
270 B

#-- encoding: UTF-8
module LoginSteps
def login(login, password)
# visit '/logout' # uncomment me if needed
visit '/login'
fill_in 'Login:', :with => login
fill_in 'Password:', :with => password
click_button 'Login »'
end
end
World(LoginSteps)