diff --git a/features/desktop/manages_aspects.feature b/features/desktop/manages_aspects.feature index 68021fcaf..768149470 100644 --- a/features/desktop/manages_aspects.feature +++ b/features/desktop/manages_aspects.feature @@ -82,7 +82,7 @@ Feature: User manages contacts And I click on my name in the header When I follow "Contacts" - Then I should see "Community Spotlight" within ".span-18" + Then I should see "Community Spotlight" within ".span9" Scenario: clicking on the contacts link in the header with contacts does not send a user to the featured users page Given I am signed in diff --git a/features/step_definitions/aspects_steps.rb b/features/step_definitions/aspects_steps.rb index 3636a8da3..83539e80f 100644 --- a/features/step_definitions/aspects_steps.rb +++ b/features/step_definitions/aspects_steps.rb @@ -42,14 +42,14 @@ When /^I select "([^"]*)" aspect as well$/ do |aspect_name| end When /^I check the first contact list button$/ do - find(".contact_list .button", match: :first).tap do |button| + find(".contact_list .btn", match: :first).tap do |button| button.click button.parent.should have_css ".added" end end When /^I uncheck the first contact list button$/ do - find(".contact_list .button", match: :first).tap do |button| + find(".contact_list .btn", match: :first).tap do |button| button.click button.parent.should have_css ".add" sleep 1 # The expectation above should wait for the request to finsh, but that doesn't work for some reason