From b65e4d376ef1fb61b3e3caf7ef73d8aa6b9c1f75 Mon Sep 17 00:00:00 2001 From: Josh Pigford Date: Tue, 17 Jun 2025 16:22:09 -0500 Subject: [PATCH] Fix trailing whitespace in API keys system test --- test/system/settings/api_keys_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/system/settings/api_keys_test.rb b/test/system/settings/api_keys_test.rb index 0c761377..839068bb 100644 --- a/test/system/settings/api_keys_test.rb +++ b/test/system/settings/api_keys_test.rb @@ -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