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

This commit is contained in:
Benjamin Neff 2017-08-11 21:25:00 +02:00
parent 62cb1f99ce
commit c2526c6111
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
2 changed files with 0 additions and 5 deletions

View file

@ -177,6 +177,5 @@ Feature: Notifications
When I wait for notifications to load
Then there should be 10 notifications loaded
When I scroll down on the notifications dropdown
Then the notification dropdown should load more notifications
When I wait for notifications to load
Then there should be 15 notifications loaded

View file

@ -25,10 +25,6 @@ And "I scroll down on the notifications dropdown" do
page.execute_script("$('.notifications').scrollTop(350)")
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
expect(find(:css, "#notification-dropdown")).to be_visible
end