From 49c931fc5b498768af518442c747b89dfdc6da1d Mon Sep 17 00:00:00 2001 From: PRASAD KARMALKAR Date: Mon, 18 May 2026 13:08:49 +0530 Subject: [PATCH] Fix: update missing AI credentials notice from error to warning intent --- routes/ai-home/stage.tsx | 2 +- tests/e2e/specs/admin/settings.spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/ai-home/stage.tsx b/routes/ai-home/stage.tsx index c300a3673..223b82007 100644 --- a/routes/ai-home/stage.tsx +++ b/routes/ai-home/stage.tsx @@ -1025,7 +1025,7 @@ function AISettingsPage() { > { ! PAGE_DATA.hasValidCredentials && ( - + { ! PAGE_DATA.hasCredentials ? __( diff --git a/tests/e2e/specs/admin/settings.spec.js b/tests/e2e/specs/admin/settings.spec.js index 90f4e2dc5..16889b10a 100644 --- a/tests/e2e/specs/admin/settings.spec.js +++ b/tests/e2e/specs/admin/settings.spec.js @@ -37,7 +37,7 @@ test.describe( 'Plugin settings', () => { await seedCredentials( requestUtils ); } ); - test( 'Can visit the settings page and see error message', async ( { + test( 'Can visit the settings page and see warning message', async ( { admin, page, requestUtils, @@ -58,7 +58,7 @@ test.describe( 'Plugin settings', () => { ) ).toBeVisible(); - // Ensure the no AI Connectors error message is displayed. + // Ensure the no AI Connectors warning message is displayed. await expect( page .locator( '#ai-wp-admin-app' )