Skip to content

Commit

Permalink
do not test directories with symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Apr 11, 2024
1 parent 7dc0a66 commit 6b2d06b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/dashboard/test/system/remote_files_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,11 @@ class RemoteFilesTest < ApplicationSystemTestCase
find('#clipboard-copy-to-dir').click

# files are copying but it takes a little while
find('tbody a', exact_text: 'app', wait: MAX_WAIT)
find('tbody a', exact_text: 'config', wait: MAX_WAIT)
find('tbody a', exact_text: 'manifest.yml', wait: MAX_WAIT)

# with copying done, let's assert on the UI and the file system
assert_selector 'span', text: '100% copy files', count: 1
assert_equal '', `diff -rq #{File.join(dir, 'app')} #{Rails.root.join('app')}`.strip, 'failed to recursively copy app dir'
assert_equal '', `diff -rq #{File.join(dir, 'config')} #{Rails.root.join('config')}`.strip, 'failed to recursively copy config dir'
assert_equal '', `diff -q #{File.join(dir, 'manifest.yml')} #{Rails.root.join('manifest.yml')}`.strip, 'failed to copy manifest.yml'

Expand Down

0 comments on commit 6b2d06b

Please sign in to comment.