just sleep
This commit is contained in:
parent
e78ab14fc5
commit
8d2376b3bf
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ module PostGenerationHelpers
|
||||||
def visit_posts_and_collect_template_names(user)
|
def visit_posts_and_collect_template_names(user)
|
||||||
visit(post_path(user.posts.last))
|
visit(post_path(user.posts.last))
|
||||||
user.posts.map do |post|
|
user.posts.map do |post|
|
||||||
|
sleep 0.25
|
||||||
post = find('.post')
|
post = find('.post')
|
||||||
template_name = post['data-template']
|
template_name = post['data-template']
|
||||||
click_next_button
|
click_next_button
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue