mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 02:54:10 +00: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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user