adding data-cy to component list

This commit is contained in:
Martin McKeaveney 2022-08-01 17:55:30 +01:00
parent cd44281b31
commit 11579597dd
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@
<div class="category-label">{category.name}</div>
{#each category.children as component}
<div
data-cy={`component-${component.name}`}
class="component"
class:selected={selectedIndex ===
orderMap[component.component]}