Sha256: 11290e7fe54148eb99243e6c18c7b73b4423165f722e34b336eac1a0049c195c

Contents?: true

Size: 245 Bytes

Versions: 29

Compression:

Stored size: 245 Bytes

Contents

Capybara.add_selector(:agilibox_clickable) do
  xpath do |locator, **options|
    self.class.all
      .values_at(:link, :button, :label)
      .map { |selector| instance_exec(locator, options, &selector.xpath) }
      .reduce(:union)
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
agilibox-1.9.10 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.9.9 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.9.8 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.9.7 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.9.6 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.9.5 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.9.4 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.9.3 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.9.1 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.9.0 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.8.0 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.7.4 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.7.3 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.7.2 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.7.1 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.7.0 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.6.2 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.6.1 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.6.0 lib/agilibox/cucumber_helpers/capybara_selectors.rb
agilibox-1.5.13 lib/agilibox/cucumber_helpers/capybara_selectors.rb