Skip to content

Commit

Permalink
add sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed May 23, 2022
1 parent 092ec9f commit a1f1b61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/features/avo/belongs_to_polymorphic_spec.rb
Expand Up @@ -257,6 +257,7 @@
write_in_search "A"

wait_for_search_loaded
sleep 0.1

expect(find(".aa-Panel")).to have_content "Avocados"
expect(find(".aa-Panel")).to have_content "Artichokes"
Expand All @@ -265,6 +266,7 @@
write_in_search "Avocado"

wait_for_search_loaded
sleep 0.1

select_first_result_in_search
wait_for_search_to_dissapear
Expand Down

0 comments on commit a1f1b61

Please sign in to comment.