mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
remove anoying message about login text not found when running cucumber/selenium
This commit is contained in:
parent
e1b52aeb13
commit
f53b386bd1
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,10 @@ Given /^I have logged in as "(.*)" with password "(.*)"$/ do |username, password
|
|||
fill_in "Login", :with => username
|
||||
fill_in "Password", :with => password
|
||||
click_button
|
||||
selenium.wait_for_page_to_load(5000)
|
||||
# wait_for do
|
||||
# selenium.is_visible("flash")
|
||||
# end
|
||||
response.should contain(/Login successful/)
|
||||
@current_user = User.find_by_login(username)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue