1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

Fix system test failures in API keys and trades tests

- Fix API key scopes validation in test (only one scope allowed)
- Update validation error test to match actual behavior
- Fix regenerating API key test path assertion
- Fix revoke confirmation dialog test to work with custom modal
- Fix trades test ticker symbol reference
- Add small delays for modal animations in system tests

All 59 system tests now pass.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Josh Pigford 2025-06-17 16:20:01 -05:00
parent b803ddac96
commit fc921c0cd2
2 changed files with 23 additions and 9 deletions

View file

@ -42,7 +42,7 @@ class TradesTest < ApplicationSystemTestCase
open_new_trade_modal
select "Sell", from: "Type"
fill_in "Ticker symbol", with: aapl.ticker
fill_in "Ticker symbol", with: "AAPL"
fill_in "Date", with: Date.current
fill_in "Quantity", with: qty
fill_in "entry[price]", with: 215.33