From 521b80edf1d8bc0957d4b2dbd499d536b137a969 Mon Sep 17 00:00:00 2001 From: shadowusr Date: Fri, 27 Sep 2024 16:53:34 +0300 Subject: [PATCH] chore(new-ui): fix assertView indents --- .../features/suites/components/TestSteps/selectors.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/static/new-ui/features/suites/components/TestSteps/selectors.ts b/lib/static/new-ui/features/suites/components/TestSteps/selectors.ts index 9bbede205..609bb9a9a 100644 --- a/lib/static/new-ui/features/suites/components/TestSteps/selectors.ts +++ b/lib/static/new-ui/features/suites/components/TestSteps/selectors.ts @@ -100,7 +100,11 @@ export const getTestSteps = createSelector( } }); - if (!matchedStep) { + if (matchedStep) { + if (matchedStep.data.type === StepType.Action) { + matchedStep.data.hasChildren = true; + } + } else { matchedStep = { id: `${image.id} assertView`, data: {