mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-30 10:39:40 +02:00
Start and end balance breakdown in activity view (#2466)
* Initial data objects * Remove trend calculator * Fill in balance reconciliation for entry group * Initial tooltip component * Balance trends in activity view * Lint fixes * trade partial alignment fix * Tweaks to balance calculation to acknowledge holdings value better * More lint fixes * Bump brakeman dep * Test fixes * Remove unused class
This commit is contained in:
parent
ab6fdbbb68
commit
e8eb32d2ae
27 changed files with 1088 additions and 119 deletions
|
@ -124,17 +124,14 @@ class Settings::ApiKeysTest < ApplicationSystemTestCase
|
|||
# Click the revoke button to open the modal
|
||||
click_button "Revoke Key"
|
||||
|
||||
# Wait for the modal to appear and click Confirm
|
||||
# The dialog might take a moment to appear
|
||||
sleep 0.5
|
||||
|
||||
# Wait for the dialog and then confirm
|
||||
assert_selector "#confirm-dialog", visible: true
|
||||
within "#confirm-dialog" do
|
||||
assert_text "Are you sure you want to revoke this API key?"
|
||||
click_button "Confirm"
|
||||
end
|
||||
|
||||
# Wait for the page to update after revoke
|
||||
sleep 0.5
|
||||
# Wait for redirect after revoke
|
||||
assert_no_selector "#confirm-dialog"
|
||||
|
||||
assert_text "Create Your API Key"
|
||||
assert_text "Get programmatic access to your Maybe data"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue