def assert_text_present_in_table(table_id, text, options = {})
      options[:just_plain_text] ||= false
      perform_assertion { assert(the_table_source(table_id, options).include?(text), "the text #{text} not found in table #{table_id}") }
    end
def assert_text_present_in_table(table_id, text, options = {})
      options[:just_plain_text] ||= false
      perform_assertion { assert(the_table_source(table_id, options).include?(text), "the text #{text} not found in table #{table_id}") }
    end
Assert given text appear inside a table (inside <table> tag like below)

 <table id="t1">

 <tbody>
   <tr id="row_1">
     <td id="cell_1_1">A</td>
     <td id="cell_1_2">B</td>
   </tr>
   <tr id="row_2">
     <td id="cell_2_1">a</td>
     <td id="cell_2_2">b</td>
   </tr>
 </tbody>

 </table>

 The plain text view of above table
  A B a b

 Examples
  assert_text_present_in_table("t1", ">A<")  # => true
  assert_text_present_in_table("t1", ">A<", :just_plain_text => true)  # => false