Skip to content
Extraits de code Groupes Projets
Valider b085c98b rédigé par Błażej Pankowiak's avatar Błażej Pankowiak
Parcourir les fichiers

Update features to play nice with Bootstrap

parent 7ff0776d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
......
......@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter