mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-28 15:14:06 +00:00
add: error indicator in test tab
This commit is contained in:
committed by
Maintainer Bruno
parent
47bedec590
commit
cb880840a2
@@ -164,7 +164,11 @@ const HttpRequestPane = ({ item, collection }) => {
|
||||
</div>
|
||||
<div className={getTabClassname('tests')} role="tab" onClick={() => selectTab('tests')}>
|
||||
Tests
|
||||
{tests && tests.length > 0 && <ContentIndicator />}
|
||||
{tests && tests.length > 0 && (
|
||||
item.testScriptErrorMessage ?
|
||||
<ErrorIndicator /> :
|
||||
<ContentIndicator />
|
||||
)}
|
||||
</div>
|
||||
<div className={getTabClassname('docs')} role="tab" onClick={() => selectTab('docs')}>
|
||||
Docs
|
||||
|
||||
Reference in New Issue
Block a user