Sha256: 26ac70954c2698f00b4fdfef65e23ecf596c6bd4c0fba127f9d6d830827ac225

Contents?: true

Size: 211 Bytes

Versions: 4

Compression:

Stored size: 211 Bytes

Contents

# frozen_string_literal: true

module FiltersHelpers
  def click_filter_item(text)
    find("label.filter", text:).click
  end
end

RSpec.configure do |config|
  config.include FiltersHelpers, type: :system
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-dev-0.28.1 lib/decidim/dev/test/rspec_support/filters.rb
decidim-dev-0.28.0 lib/decidim/dev/test/rspec_support/filters.rb
decidim-dev-0.28.0.rc5 lib/decidim/dev/test/rspec_support/filters.rb
decidim-dev-0.28.0.rc4 lib/decidim/dev/test/rspec_support/filters.rb