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> <div class="category-label">{category.name}</div>
{#each category.children as component} {#each category.children as component}
<div <div
data-cy={`component-${component.name}`}
class="component" class="component"
class:selected={selectedIndex === class:selected={selectedIndex ===
orderMap[component.component]} orderMap[component.component]}