diff options
Diffstat (limited to 'spec/support/board_helpers.rb')
-rw-r--r-- | spec/support/board_helpers.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/support/board_helpers.rb b/spec/support/board_helpers.rb deleted file mode 100644 index 507d0432d7f..00000000000 --- a/spec/support/board_helpers.rb +++ /dev/null @@ -1,16 +0,0 @@ -module BoardHelpers - def click_card(card) - within card do - first('.card-number').click - end - - wait_for_sidebar - end - - def wait_for_sidebar - # loop until the CSS transition is complete - Timeout.timeout(0.5) do - loop until evaluate_script('$(".right-sidebar").outerWidth()') == 290 - end - end -end |