mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-15 20:01:28 +00:00
@@ -110,11 +110,11 @@ const TestResults = ({ results, assertionResults, preRequestTestResults, postRes
|
||||
};
|
||||
|
||||
if (!results.length && !assertionResults.length && !preRequestTestResults.length && !postResponseTestResults.length) {
|
||||
return <div className="px-3">No tests found</div>;
|
||||
return <div>No tests found</div>;
|
||||
}
|
||||
|
||||
return (
|
||||
<StyledWrapper className="flex flex-col px-3">
|
||||
<StyledWrapper className="flex flex-col">
|
||||
<TestSection
|
||||
title="Pre-Request Tests"
|
||||
results={preRequestTestResults}
|
||||
|
||||
@@ -97,7 +97,7 @@ const ResponsePane = ({ rightPaneWidth, item, collection }) => {
|
||||
|
||||
return (
|
||||
<StyledWrapper className="flex flex-col h-full relative">
|
||||
<div className="flex items-center px-3 tabs" role="tablist">
|
||||
<div className="flex items-center tabs" role="tablist">
|
||||
<div className={getTabClassname('response')} role="tab" onClick={() => selectTab('response')}>
|
||||
Response
|
||||
</div>
|
||||
|
||||
@@ -165,9 +165,9 @@ export default function RunnerResults({ collection }) {
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
<div className="flex flex-row gap-4">
|
||||
<div className="flex flex-row gap-4 h-[calc(100vh_-_12rem)] max-h-[calc(100vh_-_12rem)]">
|
||||
<div
|
||||
className="flex flex-col flex-1 overflow-y-auto h-[calc(100vh_-_12rem)] max-h-[calc(100vh_-_12rem)] w-full"
|
||||
className="flex flex-col flex-1 overflow-y-auto w-full"
|
||||
ref={runnerBodyRef}
|
||||
>
|
||||
<div className="pb-2 font-medium test-summary">
|
||||
@@ -315,9 +315,9 @@ export default function RunnerResults({ collection }) {
|
||||
) : null}
|
||||
</div>
|
||||
{selectedItem ? (
|
||||
<div className="flex flex-1 w-[50%]">
|
||||
<div className="flex flex-1 w-[50%] overflow-y-auto">
|
||||
<div className="flex flex-col w-full overflow-auto">
|
||||
<div className="flex items-center px-3 mb-4 font-medium">
|
||||
<div className="flex items-center mb-4 font-medium">
|
||||
<span className="mr-2">{selectedItem.displayName}</span>
|
||||
<span>
|
||||
{allTestsPassed(selectedItem) ?
|
||||
|
||||
Reference in New Issue
Block a user