Fix failing e2e tests

We had e2e tests failing for the new Assignee and LabelInput components,
and due to the changes to the SeedButton.
This commit is contained in:
Sebastian Martinez
2023-12-21 14:25:15 +01:00
parent a9eefd1645
commit 851a444b5d
7 changed files with 41 additions and 49 deletions
+3 -1
View File
@@ -115,13 +115,14 @@
placeholder="Add assignee"
on:submit={addAssignee} />
<IconButton
title="discard assignee"
on:click={() => {
inputValue = "";
showInput = false;
}}>
<IconSmall name="cross" />
</IconButton>
<IconButton on:click={addAssignee}>
<IconButton title="save assignee" on:click={addAssignee}>
<IconSmall name="checkmark" />
</IconButton>
</div>
@@ -129,6 +130,7 @@
<Badge
variant="outline"
size="small"
title="add assignee"
round
on:click={() => (showInput = true)}>
<IconSmall name="plus" />
+4 -2
View File
@@ -80,7 +80,7 @@
size="small"
style="cursor: pointer;"
on:click={() => (removeToggles[label] = !removeToggles[label])}>
<div aria-label="chip" class="label">{label}</div>
<div class="label">{label}</div>
{#if removeToggles[label]}
<IconButton title="remove label">
<IconSmall name="cross" on:click={() => removeLabel(label)} />
@@ -100,13 +100,14 @@
bind:value={inputValue}
on:submit={addLabel} />
<IconButton
title="discard label"
on:click={() => {
inputValue = "";
showInput = false;
}}>
<IconSmall name="cross" />
</IconButton>
<IconButton on:click={addLabel}>
<IconButton title="save label" on:click={addLabel}>
<IconSmall name="checkmark" />
</IconButton>
</div>
@@ -114,6 +115,7 @@
<Badge
variant="outline"
size="small"
title="add labels"
round
on:click={() => (showInput = true)}>
<IconSmall name="plus"></IconSmall>