Sha256: 5215e22d329d429b7e8b84971adda10ebc284e2310c9943457accbee6fdd379f

Contents?: true

Size: 305 Bytes

Versions: 8

Compression:

Stored size: 305 Bytes

Contents

module Locations
  def go_to_dashboard_files
    visit '/dashboard/files'
    expect(page).to have_selector('li.active', text: "My Files")
  end

  def go_to_user_profile
    first(".dropdown-toggle").click
    click_link "my profile"
  end
end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sufia-6.7.0 spec/support/locations.rb
sufia-6.6.1 spec/support/locations.rb
sufia-6.6.0 spec/support/locations.rb
sufia-6.5.0 spec/support/locations.rb
sufia-6.4.0 spec/support/locations.rb
sufia-6.3.0 spec/support/locations.rb
sufia-6.2.0 spec/support/locations.rb
sufia-6.1.0 spec/support/locations.rb