modules/boards/spec/features/support/board_page.rb
def expect_card(list_name, card_title, present: true)
      within_list(list_name) do
        expect(page).to have_conditional_selector(present, '.wp-card--subject', text: card_title)
      end
    end
##
# Expect the given titled card in the list name to be present (expect=true) or not (expect=false)
Expect the given titled card in the list name to be present (expect=true) or not (expect=false)
Expect the given titled card in the list name to be present ( expect = true ) or not ( expect = false )
def expect_card(list_name, card_title, present: true)
      within_list(list_name) do
        expect(page).to have_conditional_selector(present, '.wp-card--subject', text: card_title)
      end
    end
def expect_card ( list_name , card_title , present : true ) within_list ( list_name ) do expect ( page ) . to have_conditional_selector ( present , '.wp-card--subject' , text : card_title ) end end
Expect the given titled card in the list name to be present (expect=true) or not (expect=false)
Expect the given titled card in the list name to be present ( expect = true ) or not ( expect = false )
list_name
card_title
present