Sha256: 47d2fbc365beabe9e1a3dd72d8434012fe55335557b9501308dca84a1f468b63
Contents?: true
Size: 422 Bytes
Versions: 10
Compression:
Stored size: 422 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(:xpath, ".//li[contains(@class, 'dropdown') and not(contains(@class, 'nav-item'))]/a").click click_link 'View Profile' end end end RSpec.configure do |config| config.include Locations end
Version data entries
10 entries across 10 versions & 2 rubygems