features/step_definations/table_steps.rb in druid-ts-1.1.5 vs features/step_definations/table_steps.rb in druid-ts-1.1.6

- old
+ new

@@ -73,5 +73,9 @@ end When(/^I retrieve a table with thead element$/) do @element = @page.table_with_thead_id_element end + +Then(/^I should see the text includes "([^"]*)" when I retrieve it by "([^"]*)"$/) do |text, how| + expect(@page.send("table_#{how}")).to include text +end