diff --git a/app/models/transactions_feed_data.rb b/app/models/transactions_feed_data.rb deleted file mode 100644 index c42ea2a3..00000000 --- a/app/models/transactions_feed_data.rb +++ /dev/null @@ -1,11 +0,0 @@ -class TransactionsFeedData - attr_reader :family - - def initialize(family, transactions) - @family = family - @transactions = transactions - end - - private - attr_reader :transactions -end diff --git a/test/system/settings/api_keys_test.rb b/test/system/settings/api_keys_test.rb index 4aaf03e8..d6beeeee 100644 --- a/test/system/settings/api_keys_test.rb +++ b/test/system/settings/api_keys_test.rb @@ -129,7 +129,7 @@ class Settings::ApiKeysTest < ApplicationSystemTestCase within "#confirm-dialog" do click_button "Confirm" end - + # Wait for redirect after revoke assert_no_selector "#confirm-dialog" diff --git a/test/system/transactions_test.rb b/test/system/transactions_test.rb index 5f620d88..be1f9b54 100644 --- a/test/system/transactions_test.rb +++ b/test/system/transactions_test.rb @@ -117,7 +117,7 @@ class TransactionsTest < ApplicationSystemTestCase end assert_text "No entries found" - + # Wait for Turbo to finish updating the DOM sleep 0.5 @@ -129,7 +129,7 @@ class TransactionsTest < ApplicationSystemTestCase # Remove all filters by clicking their X buttons # Get all the filter buttons at once to avoid stale elements filter_count = page.all("ul#transaction-search-filters li button").count - + # Click each one with a small delay to let Turbo update filter_count.times do page.all("ul#transaction-search-filters li button").first.click