Replace "execute_script" in spec scrolling down on notifications
This commit is contained in:
parent
b67cf8e983
commit
4548380080
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ And "I wait for notifications to load" do
|
||||||
end
|
end
|
||||||
|
|
||||||
And "I scroll down on the notifications dropdown" do
|
And "I scroll down on the notifications dropdown" do
|
||||||
page.execute_script("$('.notifications').scrollTop(350)")
|
find(".notifications").scroll_to(0, 350)
|
||||||
end
|
end
|
||||||
|
|
||||||
Then "the notification dropdown should be visible" do
|
Then "the notification dropdown should be visible" do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue