Don't wait for .loading class, it's sometimes already removed again
This commit is contained in:
parent
62cb1f99ce
commit
c2526c6111
2 changed files with 0 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue