Assert on page contents while progressing through new_statuses
system spec (#34139)
This commit is contained in:
parent
325b55485e
commit
6d5a1fbe1d
2 changed files with 19 additions and 12 deletions
|
@ -22,7 +22,11 @@ module ProfileStories
|
|||
def as_a_logged_in_user
|
||||
as_a_registered_user
|
||||
visit new_user_session_path
|
||||
expect(page)
|
||||
.to have_title(I18n.t('auth.login'))
|
||||
fill_in_auth_details(email, password)
|
||||
expect(page)
|
||||
.to have_css('.app-holder')
|
||||
end
|
||||
|
||||
def as_a_logged_in_admin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue