Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,16 @@ CORE OPTIONS
|
||||
running test. Uses backdoor authentication that only works in
|
||||
development environments.
|
||||
|
||||
--portal
|
||||
Enable portal mode for testing client portal routes. When set, the URL
|
||||
is automatically prefixed with /_portal/ (if not already present).
|
||||
Use with --portal-user to authenticate as a portal user.
|
||||
|
||||
--portal-user=<id|email>
|
||||
Test as a specific portal user, bypassing portal authentication.
|
||||
Accepts either a numeric portal user ID or email address. Requires
|
||||
--portal flag. Validates portal user exists before running test.
|
||||
|
||||
--no-body
|
||||
Suppress HTTP response body output. Useful when you only want to see
|
||||
headers, status code, console errors, or other diagnostic information.
|
||||
@@ -281,6 +291,17 @@ Test a protected route as user ID 1:
|
||||
Test a protected route by email:
|
||||
php artisan rsx:debug /admin/users --user=admin@example.com
|
||||
|
||||
Test a portal route as portal user ID 1:
|
||||
php artisan rsx:debug /dashboard --portal --portal-user=1
|
||||
|
||||
Test a portal route by email:
|
||||
php artisan rsx:debug /mail --portal --portal-user=client@example.com
|
||||
|
||||
Test a portal route (URL with or without /_portal/ prefix):
|
||||
php artisan rsx:debug /_portal/dashboard --portal --portal-user=1
|
||||
php artisan rsx:debug /dashboard --portal --portal-user=1
|
||||
# Both are equivalent - prefix is normalized
|
||||
|
||||
Check if JavaScript errors occur:
|
||||
php artisan rsx:debug /page
|
||||
# Console errors are always shown
|
||||
|
||||
Reference in New Issue
Block a user