Skip to content

Commit c518a45

Browse files
Added missing testid
1 parent 5d89ac0 commit c518a45

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

shell/pages/c/_cluster/explorer/workload-dashboard/ByStateSection.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ function toCardRows(rows: typeof props.layout.cards[0]['rows']) {
4141
<WorkloadCard
4242
v-if="layout.subHero"
4343
class="state-card bento-sub-hero"
44+
data-testid="workload-dashboard-state-card"
4445
:class="'state-card--' + layout.subHero.color"
4546
:rows="toCardRows(layout.subHero.rows)"
4647
:aria-label="layout.subHero.color + ' workloads'"
4748
/>
4849
<WorkloadCard
4950
v-if="layout.hero"
5051
class="state-card bento-hero"
52+
data-testid="workload-dashboard-state-card"
5153
:class="['state-card--' + layout.hero.color, 'bento-hero--' + layout.heroMode]"
5254
:body-columns="layout.heroMode === 'full' ? 3 : layout.heroMode === 'wide' ? 2 : undefined"
5355
:rows="toCardRows(layout.hero.rows)"

0 commit comments

Comments
 (0)