Skip to content
Extraits de code Groupes Projets
Valider 24ece551 rédigé par Raphael Sofaer's avatar Raphael Sofaer
Parcourir les fichiers

Do one step def in capybara rather than JS

parent 7aefe37d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -174,7 +174,7 @@ Then /^the "([^"]*)" field(?: within "([^"]*)")? should be filled with "([^"]*)"
end
Then /^I should see (\d+) posts$/ do |n_posts|
evaluate_script("$('#main_stream .stream_element').length").should == n_posts.to_i
all("#main_stream .stream_element").length.should == n_posts.to_i
end
And /^I scroll down$/ do
......
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