adding data-cy to component list
This commit is contained in:
parent
cd44281b31
commit
11579597dd
|
@ -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]}
|
||||||
|
|
Loading…
Reference in New Issue