From a92b28438881081edfce4b5312af501ccbfe5259 Mon Sep 17 00:00:00 2001 From: Andrei Nenashev Date: Tue, 24 Oct 2023 17:34:09 +0200 Subject: [PATCH] tests linter --- .../src/components/shared/elements/AppSelect/AppSelect.tsx | 7 ++++++- tests/ui/pages/catalog/catalog.page.ts | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/odd-platform-ui/src/components/shared/elements/AppSelect/AppSelect.tsx b/odd-platform-ui/src/components/shared/elements/AppSelect/AppSelect.tsx index eb4ffba5f..56934fa98 100644 --- a/odd-platform-ui/src/components/shared/elements/AppSelect/AppSelect.tsx +++ b/odd-platform-ui/src/components/shared/elements/AppSelect/AppSelect.tsx @@ -20,13 +20,18 @@ const AppSelect: React.FC = React.forwardRef( - {label && {label}} + {label && ( + + {label} + + )} `#filter-${filterName.toLowerCase()}:has-text('${filterName}') >> ..`, + filterWithSelect: filterName => + `#filter-${filterName.toLowerCase()}-label:has-text('${filterName}') >> ..`, filterWithInput: filterName => `label:text-is("${filterName}") >> ..`, searchBar: `[placeholder="Search"]`, cleanSearchBarButton: `[data-qa="search_string"] >> .. >> button path[fill-rule="evenodd"]`,