features/step_definations/span_steps.rb in druid-ts-1.1.1 vs features/step_definations/span_steps.rb in druid-ts-1.1.2
- old
+ new
@@ -15,5 +15,9 @@
end
When(/^I get the text from a span while the script is executing$/) do
@text = @page.span_element(:id => 'span_id').text
end
+
+Then(/^I should see that the span exists$/) do
+ expect(@page.span_id?).to be true
+end