diff options
| author | mo <mokha@cisco.com> | 2017-08-31 19:21:16 -0600 |
|---|---|---|
| committer | mo <mokha@cisco.com> | 2017-08-31 19:21:16 -0600 |
| commit | c867e795f28a6225afcbd8eee5f46c43f4fdc56a (patch) | |
| tree | f860485c87672e2664003426685f6a71a3ad68a7 /spec | |
| parent | 71094a8140df7b2992fecced6a32fecc936923f1 (diff) | |
fix login specs.
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/support/pages/login_page.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/pages/login_page.rb b/spec/support/pages/login_page.rb index 90010093..6619ce50 100644 --- a/spec/support/pages/login_page.rb +++ b/spec/support/pages/login_page.rb @@ -6,10 +6,10 @@ class LoginPage < WebPage end def login_with(email:, password: "password") - within(".form-inline") do + within("#new_user_session") do fill_in("session_username", with: email) fill_in("session_password", with: password) end - click_button("Sign In") + click_button(I18n.t('sessions.new.sign_in')) end end |
