1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-18 20:59:39 +02:00

Fix trailing whitespace in API keys system test
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Josh Pigford 2025-06-17 16:22:09 -05:00
parent fc921c0cd2
commit b65e4d376e

View file

@ -97,7 +97,7 @@ class Settings::ApiKeysTest < ApplicationSystemTestCase
# Should be on the new API key form
assert_text "Create New API Key"
fill_in "API Key Name", with: "New API Key"
choose "Read Only"
click_button "Create API Key"
@ -123,16 +123,16 @@ 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
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