mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
parent
f2739b79fb
commit
455257bf51
3 changed files with 5 additions and 4 deletions
|
@ -183,8 +183,10 @@ class TransactionsTest < ApplicationSystemTestCase
|
|||
investment_account.entries.create!(name: "Investment account", date: Date.current, amount: 1000, currency: "USD", entryable: Account::Transaction.new)
|
||||
transfer_date = Date.current
|
||||
visit account_url(investment_account)
|
||||
click_on "New"
|
||||
click_on "New transaction"
|
||||
within "[data-testid='activity-menu']" do
|
||||
click_on "New"
|
||||
click_on "New transaction"
|
||||
end
|
||||
select "Deposit", from: "Type"
|
||||
fill_in "Date", with: transfer_date
|
||||
fill_in "account_entry[amount]", with: 175.25
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue