Sha256: 0a321fa0455e5c64b179501dd0007e992bed42eb93c21e5975f470fa7f57d034

Contents?: true

Size: 350 Bytes

Versions: 16

Compression:

Stored size: 350 Bytes

Contents

module Locations
  def go_to_dashboard_works
    visit '/dashboard/works'
    expect(page).to have_selector('li.active', text: "My Works")
  end

  def go_to_user_profile
    within '#user_utility_links' do
      first(".dropdown a").click
      click_link "View Profile"
    end
  end
end

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sufia-7.4.1 spec/support/locations.rb
sufia-7.4.0 spec/support/locations.rb
sufia-7.3.1 spec/support/locations.rb
sufia-7.3.0 spec/support/locations.rb
sufia-7.3.0.rc3 spec/support/locations.rb
sufia-7.3.0.rc2 spec/support/locations.rb
sufia-7.3.0.rc1 spec/support/locations.rb
sufia-7.2.0 spec/support/locations.rb
sufia-7.1.0 spec/support/locations.rb
sufia-7.0.0 spec/support/locations.rb
sufia-7.0.0.rc2 spec/support/locations.rb
sufia-7.0.0.rc1 spec/support/locations.rb
sufia-7.0.0.beta4 spec/support/locations.rb
sufia-7.0.0.beta3 spec/support/locations.rb
sufia-7.0.0.beta2 spec/support/locations.rb
sufia-7.0.0.beta1 spec/support/locations.rb