Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Commit 70cddfe

Browse files
authored
Merge pull request #149 from dknauss/claude/whats-next-dc6xeq
test(e2e): use WP_BASE_URL in CHAL-04 return_url instead of hardcoded port
2 parents ecb621a + e0823ae commit 70cddfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/specs/challenge.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ test.describe( 'Challenge flow', () => {
734734

735735
await page.goto(
736736
'/wp-admin/admin.php?page=wp-sudo-challenge&stash_key=expired-key&return_url=' +
737-
encodeURIComponent( 'http://localhost:8889/wp-admin/plugins.php' )
737+
encodeURIComponent( `${ WP_BASE_URL }/wp-admin/plugins.php` )
738738
);
739739

740740
await page.waitForURL( /plugins\.php/, { timeout: 15_000 } );

0 commit comments

Comments
 (0)