Skip to content
Extraits de code Groupes Projets
Valider 00d89b02 rédigé par Sarah Mei's avatar Sarah Mei
Parcourir les fichiers

Small updates to infinite scroll feature

parent 7e6cae9f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -72,7 +72,7 @@ Feature: infinite scroll ...@@ -72,7 +72,7 @@ Feature: infinite scroll
Then I should see "No more" Then I should see "No more"
Scenario: On a tag page Scenario: On a tag page
And I am on the tag page for "seeded" When I go to the tag page for "seeded"
Then I should see 15 posts Then I should see 15 posts
And I should see "alice - 15 - #seeded" And I should see "alice - 15 - #seeded"
......
...@@ -198,3 +198,7 @@ And /^I scroll down$/ do ...@@ -198,3 +198,7 @@ And /^I scroll down$/ do
sleep 1 sleep 1
wait_until(10) { evaluate_script('$("#infscr-loading:visible").length') == 0 } wait_until(10) { evaluate_script('$("#infscr-loading:visible").length') == 0 }
end end
When /^I wait for (\d+) seconds$/ do |seconds|
sleep seconds.to_i
end
\ No newline at end of file
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