Sha256: 3134a19fc33812589bfdd09802f0d9a9897d58bfca00dda6c1958c3c7e502d2f

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

Given /^I should see disabled "([^"]*)" toolbar button$/ do |title|
  page.find(:xpath, "//button[contains(., '#{title}')]/../../../../..[contains(@class, 'x-item-disabled')]")
end

When /^I should see enabled "([^"]*)" toolbar button$/ do |title|
  page.find(:xpath, "//button[contains(., '#{title}')]/../../../../..[not(contains(@class, 'x-item-disabled'))]")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwiki-0.2.5 features/step_definitions/toolbar_steps.rb