diff --git a/apps/dashboard/test/system/remote_files_test.rb b/apps/dashboard/test/system/remote_files_test.rb index b2bf617c5..399021af7 100644 --- a/apps/dashboard/test/system/remote_files_test.rb +++ b/apps/dashboard/test/system/remote_files_test.rb @@ -279,6 +279,9 @@ def setup find('#delete-btn').click find('button.swal2-confirm').click + # Allow time for file to be removed + sleep 1 + # verify app dir deleted according to UI assert_no_selector 'tbody a', exact_text: 'app', wait: 10 assert_no_selector 'tbody a', exact_text: 'foo.txt', wait: 10