From 741c916fade1dda50710add2b65719dd226f6860 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Mon, 8 Jan 2024 11:33:08 -0500 Subject: [PATCH] change these meta clicks --- apps/dashboard/test/system/remote_files_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dashboard/test/system/remote_files_test.rb b/apps/dashboard/test/system/remote_files_test.rb index 9a42a6b7c0..d28608ea11 100644 --- a/apps/dashboard/test/system/remote_files_test.rb +++ b/apps/dashboard/test/system/remote_files_test.rb @@ -188,7 +188,7 @@ class RemoteFilesTest < ApplicationSystemTestCase # select dir to move visit files_url('alias_remote', '/bucket') %w(app config manifest.yml).each do |f| - find('a', exact_text: f).ancestor('tr').click(:meta) + find('a', exact_text: f).ancestor('tr').find('input[type="checkbox"]').click end assert_selector '.selected', count: 3 @@ -231,7 +231,7 @@ class RemoteFilesTest < ApplicationSystemTestCase # select dir to move visit files_url('extra_remote', dir) %w(app config manifest.yml).each do |f| - find('a', exact_text: f).ancestor('tr').click(:meta) + find('a', exact_text: f).ancestor('tr').find('input[type="checkbox"]').click end assert_selector '.selected', count: 3 @@ -271,8 +271,8 @@ class RemoteFilesTest < ApplicationSystemTestCase # select dir to move visit files_url('alias_remote', '/bucket') - find('a', exact_text: 'app').ancestor('tr').click(:meta) - find('a', exact_text: 'foo.txt').ancestor('tr').click(:meta) + find('a', exact_text: 'app').ancestor('tr').find('input[type="checkbox"]').click + find('a', exact_text: 'foo.txt').ancestor('tr').find('input[type="checkbox"]').click find('#delete-btn').click find('button.swal2-confirm').click