You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# From anywherepage.find('.dashboard_root_link a').click# to a root actionpage.find('[data-model=blog~post] a').click# to any model index# From any collection actionpage.find('.new_collection_link a').click# to another collection action# From any member actionpage.find('.edit_member_link a').click# to another member action# From the dashboardpage.find('.blog_post_links .index_collection_link a').click# to any collection action# From the index page of a modelpage.find('.blog_post_row[1] .show_member_link a').click# to any row's member action
Assert the content
expect(page.find('#blog_post_title')).tohave_content'Blog Post Title'# of an edit/new form inputexpect(page.find('.blog_post_row[1] .title_field').tohave_content'Blog Post Title'# of an index table row cellexpect(page.find('.alert')).tohave_content'Post successfully created'# of a flash message