Sha256: c9672fb28511aae00e3bd2b6ec91e86d4e3d016e1d001c4b8167118de27d8df8

Contents?: true

Size: 393 Bytes

Versions: 7

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

# A collection of methods to help dealing with processes menu links.
module ProcessesMenuLinksHelpers
  # Clicks a link in the submenu of a participatory process navigation.
  #
  # text - a String with the name of the link that will be clicked
  def click_processes_menu_link(text)
    within ".secondary-nav--subnav" do
      click_link text
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-0.4.2 decidim-admin/spec/support/processes_menu_links_helpers.rb
decidim-0.4.1 decidim-admin/spec/support/processes_menu_links_helpers.rb
decidim-0.4.0 decidim-admin/spec/support/processes_menu_links_helpers.rb
decidim-0.3.2 decidim-admin/spec/support/processes_menu_links_helpers.rb
decidim-0.3.1 decidim-admin/spec/support/processes_menu_links_helpers.rb
decidim-0.3.0 decidim-admin/spec/support/processes_menu_links_helpers.rb
decidim-0.2.0 decidim-admin/spec/support/processes_menu_links_helpers.rb