From 5282fd0c5c29df2940da8eb8516f098c3c8678e2 Mon Sep 17 00:00:00 2001 From: varodv <72568818+alvarodE@users.noreply.github.com> Date: Wed, 1 May 2024 15:47:32 +0200 Subject: [PATCH] Fix SortPickerList unit tests --- .../src/x-modules/search/components/sort-picker-list.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/x-components/src/x-modules/search/components/sort-picker-list.vue b/packages/x-components/src/x-modules/search/components/sort-picker-list.vue index 8ce38d1b50..25abd48145 100644 --- a/packages/x-components/src/x-modules/search/components/sort-picker-list.vue +++ b/packages/x-components/src/x-modules/search/components/sort-picker-list.vue @@ -12,7 +12,7 @@ :class="[cssClasses, buttonClass]" data-test="sort-picker-button" :events="event" - :aria-pressed="(item === selectedSort).toString()" + :aria-pressed="item === selectedSort || null" role="listitem" >