Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experiment: special tracing view for API testing #32689

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
format api requests better
  • Loading branch information
Skn0tt committed Sep 18, 2024
commit 117cf7e2554cf670a9a9430e1e3b98791e9d9fec
3 changes: 2 additions & 1 deletion packages/trace-viewer/src/ui/actionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ export const renderAction = (
time = '-';
return <>
<div className='action-title' title={action.apiName}>
<span>{action.apiName}</span>
{action.class !== 'APIRequestContext' && <span>{action.apiName}</span>}
{action.class === 'APIRequestContext' && <span className='action-selector'>{action.params.method}</span>}
{locator && <div className='action-selector' title={locator}>{locator}</div>}
{action.method === 'goto' && action.params.url && <div className='action-url' title={action.params.url}>{action.params.url}</div>}
{action.class === 'APIRequestContext' && action.params.url && <div className='action-url' title={action.params.url}>{excludeOrigin(action.params.url)}</div>}
Expand Down
Loading