From 6e34edc1e8a6ceb567f58c7c42f5439417ffd49b Mon Sep 17 00:00:00 2001 From: ArkaPrabhaChowdhury Date: Fri, 20 Nov 2026 14:30:32 +0530 Subject: [PATCH] Add application password authorization guidance --- src/wp-admin/authorize-application.php | 4 ++-- .../e2e/specs/profile/applications-passwords.test.js | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/authorize-application.php b/src/wp-admin/authorize-application.php index 8d931f46666a2..dcefb715bd9cd 100644 --- a/src/wp-admin/authorize-application.php +++ b/src/wp-admin/authorize-application.php @@ -155,13 +155,13 @@ ' . esc_html( $app_name ) . '' ); ?>

-

+

{ ); } ); + test( 'explains the access granted on the application authorization screen', async ( { + page, + applicationPasswords, + } ) => { + await applicationPasswords.get(); + await page.goto( '/wp-admin/authorize-application.php?app_name=Test+Application' ); + + await expect( page.getByText( 'It will have the same capabilities as your account.' ) ).toBeVisible(); + await expect( page.getByText( 'Only approve this request if you initiated it from an application you trust.' ) ).toBeVisible(); + } ); + test( 'should correctly revoke a single application password', async ( { page, applicationPasswords