Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider c2526c61 rédigé par Benjamin Neff's avatar Benjamin Neff
Parcourir les fichiers

Don't wait for .loading class, it's sometimes already removed again

parent 62cb1f99
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -177,6 +177,5 @@ Feature: Notifications ...@@ -177,6 +177,5 @@ Feature: Notifications
When I wait for notifications to load When I wait for notifications to load
Then there should be 10 notifications loaded Then there should be 10 notifications loaded
When I scroll down on the notifications dropdown When I scroll down on the notifications dropdown
Then the notification dropdown should load more notifications
When I wait for notifications to load When I wait for notifications to load
Then there should be 15 notifications loaded Then there should be 15 notifications loaded
...@@ -25,10 +25,6 @@ And "I scroll down on the notifications dropdown" do ...@@ -25,10 +25,6 @@ And "I scroll down on the notifications dropdown" do
page.execute_script("$('.notifications').scrollTop(350)") page.execute_script("$('.notifications').scrollTop(350)")
end end
Then "the notification dropdown should load more notifications" do
expect(find("#notification-dropdown")).to have_css(".loading")
end
Then "the notification dropdown should be visible" do Then "the notification dropdown should be visible" do
expect(find(:css, "#notification-dropdown")).to be_visible expect(find(:css, "#notification-dropdown")).to be_visible
end end
......
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