adapt spec to changed dom

pull/6827/head
Jens Ulferts 10 years ago
parent 08186b505c
commit a75d39e272
  1. 2
      features/step_definitions/custom_steps.rb

@ -101,7 +101,7 @@ end
Then /^filter "([^\"]*)" should (not )?be visible$/ do |filter, negative| Then /^filter "([^\"]*)" should (not )?be visible$/ do |filter, negative|
bool = negative ? false : true bool = negative ? false : true
page.evaluate_script("$('tr_#{filter}').visible()") =~ /^#{bool}$/ page.evaluate_script("$('filter_#{filter}').visible()") =~ /^#{bool}$/
end end
Then /^(?:|I )should not see "([^\"]*)" in (columns|rows)$/ do |text, axis| Then /^(?:|I )should not see "([^\"]*)" in (columns|rows)$/ do |text, axis|

Loading…
Cancel
Save