feat(TestSubstep): put some space between info and test output

This commit is contained in:
Ali BARIN
2022-12-08 22:19:00 +01:00
parent ba1e1ef20c
commit 6382325280
2 changed files with 8 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ function TestSubstep(props: TestSubstepProps): React.ReactElement {
{!!error?.graphQLErrors?.length && (
<Alert
severity="error"
sx={{ mb: 1, fontWeight: 500, width: '100%' }}
sx={{ mb: 2, fontWeight: 500, width: '100%' }}
>
{serializeErrors(error.graphQLErrors).map((error: any) => (
<div>{error.message}</div>
@@ -116,7 +116,9 @@ function TestSubstep(props: TestSubstepProps): React.ReactElement {
</Alert>
)}
{step.webhookUrl && <WebhookUrlInfo webhookUrl={step.webhookUrl} />}
{step.webhookUrl && (
<WebhookUrlInfo webhookUrl={step.webhookUrl} sx={{ mb: 2 }} />
)}
{hasNoOutput && (
<Alert severity="warning" sx={{ mb: 1, width: '100%' }}>