Sha256: 4efb17696775bb64ea0366dabd8d13cdc59f92f7951737959816c21d8a1f2487

Contents?: true

Size: 381 Bytes

Versions: 9

Compression:

Stored size: 381 Bytes

Contents

module ProxiesHelper
  def create_proxy_using_partial(*users)
    users.each do |user|
      sleep(1)
      first('a.select2-choice').click
      find(".select2-input").set(user.user_key)
      expect(page).to have_css("div.select2-result-label")
      first("div.select2-result-label").click
    end
  end

  RSpec.configure do |config|
    config.include ProxiesHelper
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sufia-7.2.0 spec/support/proxies.rb
sufia-7.1.0 spec/support/proxies.rb
sufia-7.0.0 spec/support/proxies.rb
sufia-7.0.0.rc2 spec/support/proxies.rb
sufia-7.0.0.rc1 spec/support/proxies.rb
sufia-7.0.0.beta4 spec/support/proxies.rb
sufia-7.0.0.beta3 spec/support/proxies.rb
sufia-7.0.0.beta2 spec/support/proxies.rb
sufia-7.0.0.beta1 spec/support/proxies.rb